From d030b2b06a7803fc367f75231635ff988c18f12c Mon Sep 17 00:00:00 2001 From: siyuniu-ms <123212536+siyuniu-ms@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:34:16 -0700 Subject: [PATCH] update to 15.3.0 (#175) --- README.md | 1 + RELEASES.md | 14 ++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- .../package.json | 2 +- .../package.json | 4 ++-- 6 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 789933c..7992166 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ Additionally, as part of this change the existing v3.x extension has been moved | Version | Application Insights | Angular | Branch |---------|-----------------------|----------------------|----------- +| 15.3.0 | ^3.3.0 | peer: ^15.2.9 | [main](https://github.com/microsoft/applicationinsights-angularplugin-js) | 15.2.0 | ^3.2.0 | peer: ^15.2.9 | [main](https://github.com/microsoft/applicationinsights-angularplugin-js) | 15.1.2 | ^3.1.2 | peer: ^15.2.9 | [main](https://github.com/microsoft/applicationinsights-angularplugin-js) | ~~15.1.1~~ (deprecated) | ^3.1.1 | peer: ^15.2.9 | [main](https://github.com/microsoft/applicationinsights-angularplugin-js) diff --git a/RELEASES.md b/RELEASES.md index 388447f..bf294df 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,19 @@ # Releases +## 15.3.0 (July 2nd, 2024) + +### Changelog + +- #172 [pre-release] update application insights to 3.3.0 + - Adds support to internally defer initialization completion of the SDK while waiting for the connectionString, instrumentationKey or endpointURL to be resolved via a Promise. + - During this period the SDK will not send any telemetry, and it will be internally batched if the promise(s) never resolve then the telemetry will be dropped. +- 170 cleanup the sample angular application +- 171 Bump braces from 3.0.2 to 3.0.3 + +### Potential breaking change (from @microsoft/applicationInsights-web v3.3.0) + +This release contains a potential break change due to enhancing the definition of the [IConfiguration](https://github.com/microsoft/ApplicationInsights-JS/blob/main/shared/AppInsightsCore/src/JavaScriptSDK.Interfaces/IConfiguration.ts) to support Promise types for the connectionString, instrumentationKey and endpointURL; any extension that relies on these base interfaces will VERY likely cause TypeScript to fail with potential warnings about the types being different. + ## 15.2.0 (May 6th, 2024) - #168 [pre-release] update application insights to 3.2.0 diff --git a/package-lock.json b/package-lock.json index 53d8125..733e515 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@microsoft/applicationinsights-angularplugin-js", - "version": "15.2.0", + "version": "15.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@microsoft/applicationinsights-angularplugin-js", - "version": "15.2.0", + "version": "15.3.0", "license": "MIT", "dependencies": { "@microsoft/applicationinsights-common": "^3.3.0", diff --git a/package.json b/package.json index b4a8387..adc08b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-angularplugin-js", - "version": "15.2.0", + "version": "15.3.0", "description": "Microsoft Application Insights Angular plugin", "main": "dist/bundles/microsoft-applicationinsights-angularplugin-js.umd.js", "module": "dist/fesm2015/microsoft-applicationinsights-angularplugin-js.js", diff --git a/projects/applicationinsights-angularplugin-js/package.json b/projects/applicationinsights-angularplugin-js/package.json index 96e8928..c5facd7 100644 --- a/projects/applicationinsights-angularplugin-js/package.json +++ b/projects/applicationinsights-angularplugin-js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-angularplugin-js", - "version": "15.2.0", + "version": "15.3.0", "description": "Microsoft Application Insights Angular plugin", "author": "Microsoft Application Insights Team", "license": "MIT", diff --git a/sample/applicationinsights-angularplugin-sample/package.json b/sample/applicationinsights-angularplugin-sample/package.json index fe556f0..e1fd51e 100644 --- a/sample/applicationinsights-angularplugin-sample/package.json +++ b/sample/applicationinsights-angularplugin-sample/package.json @@ -1,6 +1,6 @@ { "name": "applicationinsights-angularplugin-sample", - "version": "0.2.0", + "version": "0.3.0", "description": "Microsoft Applicationinsights Angularplugin Sample App", "author": "Microsoft Application Insights Team", "license": "MIT", @@ -31,7 +31,7 @@ "@angular/platform-browser": "^15.2.9", "@angular/platform-browser-dynamic": "^15.2.9", "@angular/router": "^15.2.9", - "@microsoft/applicationinsights-angularplugin-js": "^15.1.0", + "@microsoft/applicationinsights-angularplugin-js": "^15.3.0", "@microsoft/applicationinsights-web": "^3.3.0", "angular-in-memory-web-api": "~0.15.0", "rxjs": "~7.5.0",