Skip to content

Commit

Permalink
[Main][Release] Increase version to 3.0.4 (#2176)
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuniu-ms authored Oct 20, 2023
1 parent d0f2a35 commit e535c94
Show file tree
Hide file tree
Showing 36 changed files with 406 additions and 396 deletions.
2 changes: 2 additions & 0 deletions AISKU/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ See [Breaking Changes](https://microsoft.github.io/ApplicationInsights-JS/upgrad
| Version | Full Size | Raw Minified | GZip Size
|---------|-----------|--------------|-------------
| [<nightly3>](https://github.com/microsoft/ApplicationInsights-JS/tree/main/AISKU) | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/nightly/ai.3-nightly3.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/nightly/ai.3-nightly3.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/nightly/ai.3-nightly3.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/nightly/ai.3-nightly3.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 3.0.4: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.4.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.4.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.4.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.4.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 3.0.3: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.3.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.3.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.3.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.3.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 3.0.2: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.2.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.2.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.2.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.2.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 3.0.1: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.1.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.1.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.1.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.1.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 3.0.0: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.0.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.0.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.0.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.3.0.0.min.js.svg?compression=gzip&softmax=30000&max=35000)
Expand Down
2 changes: 1 addition & 1 deletion AISKU/Tests/Perf/src/AISKUPerf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class AppInsightsInitPerfTestClass {
* should update version after new release
* version with doperf(): after 2.5.6
* */
var defaultVer = "3.0.3";
var defaultVer = "3.0.4";
this.version = ver? ver:this._getQueryParameterVersion(defaultVer);
this.perfEventsBuffer = [];
this.perfEventWaitBuffer = [];
Expand Down
2 changes: 1 addition & 1 deletion AISKU/Tests/Unit/src/AISKUSize.Tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class AISKUSizeCheck extends AITestClass {
private readonly MAX_BUNDLE_DEFLATE_SIZE = 54;
private readonly rawFilePath = "../dist/es5/applicationinsights-web.min.js";
// Automatically updated by version scripts
private readonly currentVer = "3.0.3";
private readonly currentVer = "3.0.4";
private readonly prodFilePath = `../browser/es5/ai.${this.currentVer[0]}.min.js`;

public testInitialize() {
Expand Down
2 changes: 1 addition & 1 deletion AISKU/Tests/Unit/src/CdnPackaging.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const enum CdnFormat {

export class CdnPackagingChecks extends AITestClass {
// Automatically updated by version scripts
private readonly currentVer = "3.0.3";
private readonly currentVer = "3.0.4";

public testInitialize() {
}
Expand Down
6 changes: 3 additions & 3 deletions AISKU/Tests/es6-module-type-check/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@microsoft/applicationinsights-test-module-type-check",
"author": "Microsoft Application Insights Team and Contributors",
"version": "3.0.3",
"version": "3.0.4",
"description": "Microsoft Application Insights ES6 Module and Type check Example",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"keywords": [
Expand Down Expand Up @@ -32,7 +32,7 @@
"tslib": "*"
},
"dependencies": {
"@microsoft/applicationinsights-common": "3.0.3",
"@microsoft/applicationinsights-web": "3.0.3"
"@microsoft/applicationinsights-common": "3.0.4",
"@microsoft/applicationinsights-web": "3.0.4"
}
}
16 changes: 8 additions & 8 deletions AISKU/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web",
"version": "3.0.3",
"version": "3.0.4",
"description": "Microsoft Application Insights JavaScript SDK - Web",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
Expand Down Expand Up @@ -63,13 +63,13 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^2.0.2",
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/applicationinsights-analytics-js": "3.0.3",
"@microsoft/applicationinsights-channel-js": "3.0.3",
"@microsoft/applicationinsights-cfgsync-js": "3.0.3",
"@microsoft/applicationinsights-common": "3.0.3",
"@microsoft/applicationinsights-core-js": "3.0.3",
"@microsoft/applicationinsights-dependencies-js": "3.0.3",
"@microsoft/applicationinsights-properties-js": "3.0.3",
"@microsoft/applicationinsights-analytics-js": "3.0.4",
"@microsoft/applicationinsights-channel-js": "3.0.4",
"@microsoft/applicationinsights-cfgsync-js": "3.0.4",
"@microsoft/applicationinsights-common": "3.0.4",
"@microsoft/applicationinsights-core-js": "3.0.4",
"@microsoft/applicationinsights-dependencies-js": "3.0.4",
"@microsoft/applicationinsights-properties-js": "3.0.4",
"@nevware21/ts-utils": ">= 0.10.1 < 2.x",
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
},
Expand Down
2 changes: 1 addition & 1 deletion AISKULight/Tests/Unit/src/AISKULightSize.Tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class AISKULightSizeCheck extends AITestClass {
private readonly MAX_RAW_DEFLATE_SIZE = 33;
private readonly MAX_BUNDLE_DEFLATE_SIZE = 33;
private readonly rawFilePath = "../dist/es5/applicationinsights-web-basic.min.js";
private readonly currentVer = "3.0.3";
private readonly currentVer = "3.0.4";
private readonly prodFilePath = `../browser/es5/aib.${this.currentVer[0]}.min.js`;

public testInitialize() {
Expand Down
8 changes: 4 additions & 4 deletions AISKULight/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web-basic",
"version": "3.0.3",
"version": "3.0.4",
"description": "Microsoft Application Insights Javascript SDK core and channel",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
Expand Down Expand Up @@ -55,9 +55,9 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^2.0.2",
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/applicationinsights-common": "3.0.3",
"@microsoft/applicationinsights-channel-js": "3.0.3",
"@microsoft/applicationinsights-core-js": "3.0.3",
"@microsoft/applicationinsights-common": "3.0.4",
"@microsoft/applicationinsights-channel-js": "3.0.4",
"@microsoft/applicationinsights-core-js": "3.0.4",
"@nevware21/ts-utils": ">= 0.10.1 < 2.x",
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
},
Expand Down
20 changes: 20 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

> Note: ES3/IE8 compatibility will be removed in the future v3.x.x releases (scheduled for mid-late 2022), so if you need to retain ES3 compatibility you will need to remain on the 2.x.x versions of the SDK or your runtime will need install polyfill's to your ES3 environment before loading / initializing the SDK.
## 3.0.4 (Oct 16th, 2023)

### Changelog

- CfgSyncPlugin improvment
- #2166 [main] correct throttle configdefault setting in aisku
- #2168 [Main][Task]24499167: add cfgSync plugin doc
- #2171 [main] test aisku config could correctly merge new config fetch from cdn
- #2175 [main] Update Service Notifications to not send message twice

- #2160 [Main] Include Config sync in publish group
- #2165 [main] use proper URL for tracking when fetch is passed an empty string
- #2169 [Main][Task]24499172: add throttle manager doc
- #2170 [Main][Task]24499174: Add service notification doc
- #2173 Add Issue state reporting script
- #2174 [main] remove double slash for endPointUrl
- #2177 [Main]Set CfgSync version to 3.0.3
- #2178 [main] use helper func to get window
- #2183 [main] fix startTime timestamp

## 3.0.3 (Sep 20th, 2023)

### Changelog
Expand Down
4 changes: 2 additions & 2 deletions channels/1ds-post-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/1ds-post-js",
"version": "4.0.2",
"version": "4.0.3",
"description": "Microsoft Application Insights JavaScript SDK - 1ds-post-channel-js",
"author": "Microsoft Application Insights Team",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
Expand All @@ -27,7 +27,7 @@
"dependencies": {
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/dynamicproto-js": "^2.0.2",
"@microsoft/1ds-core-js": "4.0.2",
"@microsoft/1ds-core-js": "4.0.3",
"@nevware21/ts-utils": ">= 0.10.1 < 2.x",
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ export class SenderTests extends AITestClass {
QUnit.assert.ok(baseData.ver);
QUnit.assert.equal(2, baseData.ver);

QUnit.assert.equal("javascript:3.0.3", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
QUnit.assert.equal("javascript:3.0.4", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
}
})

Expand Down
6 changes: 3 additions & 3 deletions channels/applicationinsights-channel-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-channel-js",
"version": "3.0.3",
"version": "3.0.4",
"description": "Microsoft Application Insights JavaScript SDK Channel",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
Expand Down Expand Up @@ -51,8 +51,8 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^2.0.2",
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/applicationinsights-core-js": "3.0.3",
"@microsoft/applicationinsights-common": "3.0.3",
"@microsoft/applicationinsights-core-js": "3.0.4",
"@microsoft/applicationinsights-common": "3.0.4",
"@nevware21/ts-utils": ">= 0.10.1 < 2.x",
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
},
Expand Down
6 changes: 3 additions & 3 deletions channels/tee-channel-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-teechannel-js",
"version": "3.0.3",
"version": "3.0.4",
"description": "Microsoft Application Insights JavaScript SDK Tee Channel",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
Expand Down Expand Up @@ -52,8 +52,8 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^2.0.2",
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/applicationinsights-core-js": "3.0.3",
"@microsoft/applicationinsights-common": "3.0.3",
"@microsoft/applicationinsights-core-js": "3.0.4",
"@microsoft/applicationinsights-common": "3.0.4",
"@nevware21/ts-utils": ">= 0.10.1 < 2.x",
"@nevware21/ts-async": ">= 0.3.0 < 2.x"
},
Expand Down
Loading

0 comments on commit e535c94

Please sign in to comment.