From b4d9324472fe18ffea1aa0b1ce6f636b71398bfc Mon Sep 17 00:00:00 2001 From: Nev <54870357+MSNev@users.noreply.github.com> Date: Tue, 30 Mar 2021 12:16:00 -0700 Subject: [PATCH] [Release][Core] Increase version to v2.6.1 (#1519) - [BUG] v2.6.0 is not re-hydrating the automatic session id correctly for each request #1518 --- AISKU/package.json | 14 ++-- AISKULight/package.json | 8 +- RELEASES.md | 7 ++ .../Tests/Sender.tests.ts | 2 +- .../package.json | 6 +- .../src/EnvelopeCreator.ts | 2 +- common/config/rush/npm-shrinkwrap.json | 84 +++++++++---------- .../package.json | 8 +- .../src/JavaScriptSDK/ApplicationInsights.ts | 2 +- .../package.json | 8 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../src/Context/Internal.ts | 2 +- .../src/Context/Session.ts | 5 +- shared/AppInsightsCommon/package.json | 4 +- shared/AppInsightsCore/package.json | 2 +- 17 files changed, 89 insertions(+), 83 deletions(-) diff --git a/AISKU/package.json b/AISKU/package.json index 347d6806..a2339f50 100644 --- a/AISKU/package.json +++ b/AISKU/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-web", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights JavaScript SDK - Web", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -61,12 +61,12 @@ "dependencies": { "@microsoft/dynamicproto-js": "^1.1.1", "@microsoft/applicationinsights-shims" : "1.0.3", - "@microsoft/applicationinsights-analytics-js": "2.6.0", - "@microsoft/applicationinsights-channel-js": "2.6.0", - "@microsoft/applicationinsights-common": "2.6.0", - "@microsoft/applicationinsights-core-js": "2.6.0", - "@microsoft/applicationinsights-dependencies-js": "2.6.0", - "@microsoft/applicationinsights-properties-js": "2.6.0" + "@microsoft/applicationinsights-analytics-js": "2.6.1", + "@microsoft/applicationinsights-channel-js": "2.6.1", + "@microsoft/applicationinsights-common": "2.6.1", + "@microsoft/applicationinsights-core-js": "2.6.1", + "@microsoft/applicationinsights-dependencies-js": "2.6.1", + "@microsoft/applicationinsights-properties-js": "2.6.1" }, "license": "MIT" } diff --git a/AISKULight/package.json b/AISKULight/package.json index ac81514a..6371c7f0 100644 --- a/AISKULight/package.json +++ b/AISKULight/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-web-basic", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights Javascript SDK core and channel", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -38,9 +38,9 @@ "dependencies": { "@microsoft/dynamicproto-js": "^1.1.1", "@microsoft/applicationinsights-shims" : "1.0.3", - "@microsoft/applicationinsights-common": "2.6.0", - "@microsoft/applicationinsights-channel-js": "2.6.0", - "@microsoft/applicationinsights-core-js": "2.6.0" + "@microsoft/applicationinsights-common": "2.6.1", + "@microsoft/applicationinsights-channel-js": "2.6.1", + "@microsoft/applicationinsights-core-js": "2.6.1" }, "peerDependencies": { }, diff --git a/RELEASES.md b/RELEASES.md index 85f9b7b2..1d0e1333 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,12 @@ # Releases +## 2.6.1 (Hotfix - March 30th, 2021) + +### Changelog + +- #1518 P1 - [BUG] v2.6.0 is not re-hydrating the automatic session id correctly for each request +- #1512 Expose the getCookieMgr() on the snippet proxy and analytics web instances + ## 2.6.0 (March 23rd, 2021) ### Version bump is due to the following major changes diff --git a/channels/applicationinsights-channel-js/Tests/Sender.tests.ts b/channels/applicationinsights-channel-js/Tests/Sender.tests.ts index a3ddf162..a4ae8784 100644 --- a/channels/applicationinsights-channel-js/Tests/Sender.tests.ts +++ b/channels/applicationinsights-channel-js/Tests/Sender.tests.ts @@ -379,7 +379,7 @@ export class SenderTests extends TestClass { QUnit.assert.ok(baseData.ver); QUnit.assert.equal(2, baseData.ver); - QUnit.assert.equal("javascript:2.6.0", appInsightsEnvelope.tags["ai.internal.sdkVersion"]); + QUnit.assert.equal("javascript:2.6.1", appInsightsEnvelope.tags["ai.internal.sdkVersion"]); } }) diff --git a/channels/applicationinsights-channel-js/package.json b/channels/applicationinsights-channel-js/package.json index 0b4af401..eefcf753 100644 --- a/channels/applicationinsights-channel-js/package.json +++ b/channels/applicationinsights-channel-js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-channel-js", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights JavaScript SDK Channel", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -43,8 +43,8 @@ "dependencies": { "@microsoft/dynamicproto-js": "^1.1.1", "@microsoft/applicationinsights-shims" : "1.0.3", - "@microsoft/applicationinsights-core-js": "2.6.0", - "@microsoft/applicationinsights-common": "2.6.0" + "@microsoft/applicationinsights-core-js": "2.6.1", + "@microsoft/applicationinsights-common": "2.6.1" }, "license": "MIT" } diff --git a/channels/applicationinsights-channel-js/src/EnvelopeCreator.ts b/channels/applicationinsights-channel-js/src/EnvelopeCreator.ts index cd8a1d72..95510866 100644 --- a/channels/applicationinsights-channel-js/src/EnvelopeCreator.ts +++ b/channels/applicationinsights-channel-js/src/EnvelopeCreator.ts @@ -23,7 +23,7 @@ function _setValueIf(target:T, field:keyof T, value:any) { } export abstract class EnvelopeCreator { - public static Version = "2.6.0"; + public static Version = "2.6.1"; protected static extractPropsAndMeasurements(data: { [key: string]: any }, properties: { [key: string]: any }, measurements: { [key: string]: any }) { if (!isNullOrUndefined(data)) { diff --git a/common/config/rush/npm-shrinkwrap.json b/common/config/rush/npm-shrinkwrap.json index dc52961f..3c8af707 100644 --- a/common/config/rush/npm-shrinkwrap.json +++ b/common/config/rush/npm-shrinkwrap.json @@ -261,9 +261,9 @@ } }, "node_modules/@rollup/plugin-replace": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-2.4.1.tgz", - "integrity": "sha512-XwC1oK5rrtRJ0tn1ioLHS6OV5JTluJF7QE1J/q1hN3bquwjnVxjtMyY9iCnoyH9DQbf92CxajB3o98wZbP3oAQ==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz", + "integrity": "sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==", "dependencies": { "@rollup/pluginutils": "^3.1.0", "magic-string": "^0.25.7" @@ -319,7 +319,7 @@ "node_modules/@rush-temp/applicationinsights-analytics-js": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-analytics-js.tgz", - "integrity": "sha512-zXKW+Kxl1bcZsN1clAGI1uJSQxLG50nKlTdaamegipjO36kzvYp2eijkRRmNIXXkkoCUgSxF71uzSoalxpe8pw==", + "integrity": "sha512-OxMO4WPk36/qDooV6cLtuFh/3VDJ5XgkqkWPdLNLFZ49oerLM6WjD5eKdmAy3HKAi2Qz6VML2p4q2dRrgTdbkQ==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -343,7 +343,7 @@ "node_modules/@rush-temp/applicationinsights-channel-js": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-channel-js.tgz", - "integrity": "sha512-TuY+PlvHNrwkFFj/r4A1cxeZnK5ievcCzB++lhaf9qETpVY4gDYmB9pS2kDWHsH5NKPjcL+G4zPIE+hS37zgAw==", + "integrity": "sha512-vYQ6rp659jcHfG3pjjCkN+3SjnCVX6yy80rWiTHF3rJRbljYv9T1cKIwL3yMX648Izb7+BHwuXx7Zma/fa77Ng==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -369,7 +369,7 @@ "node_modules/@rush-temp/applicationinsights-clickanalytics-js": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-clickanalytics-js.tgz", - "integrity": "sha512-G0t+wG/gWpGTgJT+U9DBZM5Jd4oDZsAFyP+0aUmobawGubIDELAm0FkTNFr6PvS6ztQuchPIq/xsn9sf8J3aug==", + "integrity": "sha512-F/qquAth7cf2nQlSz6Ral5PEhRw4BoPJKJc+obipE6uECa+xQAwBNmnHnEAXn85YboKrFCN9rtZ9S7uEFwSF3g==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -391,7 +391,7 @@ "node_modules/@rush-temp/applicationinsights-common": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-common.tgz", - "integrity": "sha512-PtyJGNbEyehVwmO33ZOv2vELaplsXGQTP3E03pWwR1Z3ynayylfB3rkm6mPatlco8XDICLhsW/OOUh1QrXmY9A==", + "integrity": "sha512-FA4jfOgCdQJlYPJi8DrHLTo8VXPauNQN5f4eMN6njAzH9CENJT2ESmNRa+j+bCgSB5cHOyO1xtLzRAxPQi/W+g==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -435,7 +435,7 @@ "node_modules/@rush-temp/applicationinsights-debugplugin-js": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-debugplugin-js.tgz", - "integrity": "sha512-S+1Y2nf2t8UYny6nwS30lDMpYZeJhA5mu91A21HglOLaexvLSP29a4gDUTuhkmkcfWJ6E0KKOIvLzctI1ipevA==", + "integrity": "sha512-54muE9HgDuGjcQZSGccIyQ9BgUnPFzuDlT9k9mvI7VJ5U0AjHfstUZ5UcNX79sShPxxO9y67CyNU4zwysou3zA==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -457,7 +457,7 @@ "node_modules/@rush-temp/applicationinsights-dependencies-js": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-dependencies-js.tgz", - "integrity": "sha512-wdnUWBlIxeawx5bAlO79SfckWlHJVBx9OQ+Hz6eZLrtiG3CsET6LLXNg682qV69DXE4u97rDjzVmiN+E4bcTBw==", + "integrity": "sha512-WLquiV4az+IRVQjn5iNTZxnMzAIogZZx7YJTRa7be8kRD3dvrEiBgNWie6LXPMdLQnGDicD9WzNkkaxHePyWMA==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -479,7 +479,7 @@ "node_modules/@rush-temp/applicationinsights-properties-js": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-properties-js.tgz", - "integrity": "sha512-CT/MVDqJVps2SDi0ZvXSzRdQLCwxbAs9YjmYR/cLDxSPHa8JZ1d0hl7gzuIp3iddIDPfbc4Y5X3Ty69gui4Guw==", + "integrity": "sha512-WPbL7pKQwua+G4qdzhyUjsfSOxN08E+ix8g3FIQnHpANpoanAyAgM9Bxcz8yBTKamSvE2WQQC+jV0doXLO7DVQ==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -562,7 +562,7 @@ "node_modules/@rush-temp/applicationinsights-web": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-web.tgz", - "integrity": "sha512-WR8DhZGYLiIImT1UzC0eVgXSRs+eARsTtNSHWT40E/5xVLe9xmzcEzgegEWUX3f5Y8XIcjSBqyzTyE3AVSmKKw==", + "integrity": "sha512-trCKRtRTXsqZckW3U1b/XR0DvsaNbd2YAqMYXP7vRbS3qHlqXO0MJhgmVxZ0UXnDyX1OIJqyfflCUfvg7VBucQ==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -593,7 +593,7 @@ "node_modules/@rush-temp/applicationinsights-web-basic": { "version": "0.0.0", "resolved": "file:projects/applicationinsights-web-basic.tgz", - "integrity": "sha512-F+9vgWSDScXbrahs6x43+kZr0MbtO0zN2plp5W9J3UvnGZqYgq27N+Fc/HY9J55X8FWoneGRke4gRIfOx4sLkw==", + "integrity": "sha512-zYOyqDm+GSYZhbOebbUT/ei8/5M1YB5ERNIIVBqZtW5PiT0UtcFvV64O9C/dEEzDmSuMF2ebOSHk65MtTRXkBQ==", "dependencies": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -4278,9 +4278,9 @@ } }, "node_modules/rollup": { - "version": "2.42.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.42.3.tgz", - "integrity": "sha512-JjaT9WaUS5vmjy6xUrnPOskjkQg2cN4WSACNCwbOvBz8VDmbiKVdmTFUoMPRqTud0tsex8Xy9/boLbDW9HKD1w==", + "version": "2.44.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.44.0.tgz", + "integrity": "sha512-rGSF4pLwvuaH/x4nAS+zP6UNn5YUDWf/TeEU5IoXSZKBbKRNTCI3qMnYXKZgrC0D2KzS2baiOZt1OlqhMu5rnQ==", "bin": { "rollup": "dist/bin/rollup" }, @@ -4391,9 +4391,9 @@ "integrity": "sha512-gh7LagmKMkthQZo0q9qrDSWy+ISYnCUhOUW6IyRQIMGdg8Os/uMfChTDO17DYzxKmNIDx/h6+yfBj34QYALycw==" }, "node_modules/semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", "dependencies": { "lru-cache": "^6.0.0" }, @@ -5228,9 +5228,9 @@ "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==" }, "node_modules/uglify-js": { - "version": "3.13.2", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.2.tgz", - "integrity": "sha512-SbMu4D2Vo95LMC/MetNaso1194M1htEA+JrqE9Hk+G2DhI+itfS9TRu9ZKeCahLDNa/J3n4MqUJ/fOHMzQpRWw==", + "version": "3.13.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.3.tgz", + "integrity": "sha512-otIc7O9LyxpUcQoXzj2hL4LPWKklO6LJWoJUzNa8A17Xgi4fOeDC8FBDOLHnC/Slo1CQgsZMcM6as0M76BZaig==", "bin": { "uglifyjs": "bin/uglifyjs" }, @@ -5659,9 +5659,9 @@ } }, "@rollup/plugin-replace": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-2.4.1.tgz", - "integrity": "sha512-XwC1oK5rrtRJ0tn1ioLHS6OV5JTluJF7QE1J/q1hN3bquwjnVxjtMyY9iCnoyH9DQbf92CxajB3o98wZbP3oAQ==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz", + "integrity": "sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==", "requires": { "@rollup/pluginutils": "^3.1.0", "magic-string": "^0.25.7" @@ -5708,7 +5708,7 @@ }, "@rush-temp/applicationinsights-analytics-js": { "version": "file:projects\\applicationinsights-analytics-js.tgz", - "integrity": "sha512-zXKW+Kxl1bcZsN1clAGI1uJSQxLG50nKlTdaamegipjO36kzvYp2eijkRRmNIXXkkoCUgSxF71uzSoalxpe8pw==", + "integrity": "sha512-OxMO4WPk36/qDooV6cLtuFh/3VDJ5XgkqkWPdLNLFZ49oerLM6WjD5eKdmAy3HKAi2Qz6VML2p4q2dRrgTdbkQ==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -5731,7 +5731,7 @@ }, "@rush-temp/applicationinsights-channel-js": { "version": "file:projects\\applicationinsights-channel-js.tgz", - "integrity": "sha512-TuY+PlvHNrwkFFj/r4A1cxeZnK5ievcCzB++lhaf9qETpVY4gDYmB9pS2kDWHsH5NKPjcL+G4zPIE+hS37zgAw==", + "integrity": "sha512-vYQ6rp659jcHfG3pjjCkN+3SjnCVX6yy80rWiTHF3rJRbljYv9T1cKIwL3yMX648Izb7+BHwuXx7Zma/fa77Ng==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -5756,7 +5756,7 @@ }, "@rush-temp/applicationinsights-clickanalytics-js": { "version": "file:projects\\applicationinsights-clickanalytics-js.tgz", - "integrity": "sha512-G0t+wG/gWpGTgJT+U9DBZM5Jd4oDZsAFyP+0aUmobawGubIDELAm0FkTNFr6PvS6ztQuchPIq/xsn9sf8J3aug==", + "integrity": "sha512-F/qquAth7cf2nQlSz6Ral5PEhRw4BoPJKJc+obipE6uECa+xQAwBNmnHnEAXn85YboKrFCN9rtZ9S7uEFwSF3g==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -5777,7 +5777,7 @@ }, "@rush-temp/applicationinsights-common": { "version": "file:projects\\applicationinsights-common.tgz", - "integrity": "sha512-PtyJGNbEyehVwmO33ZOv2vELaplsXGQTP3E03pWwR1Z3ynayylfB3rkm6mPatlco8XDICLhsW/OOUh1QrXmY9A==", + "integrity": "sha512-FA4jfOgCdQJlYPJi8DrHLTo8VXPauNQN5f4eMN6njAzH9CENJT2ESmNRa+j+bCgSB5cHOyO1xtLzRAxPQi/W+g==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -5819,7 +5819,7 @@ }, "@rush-temp/applicationinsights-debugplugin-js": { "version": "file:projects\\applicationinsights-debugplugin-js.tgz", - "integrity": "sha512-S+1Y2nf2t8UYny6nwS30lDMpYZeJhA5mu91A21HglOLaexvLSP29a4gDUTuhkmkcfWJ6E0KKOIvLzctI1ipevA==", + "integrity": "sha512-54muE9HgDuGjcQZSGccIyQ9BgUnPFzuDlT9k9mvI7VJ5U0AjHfstUZ5UcNX79sShPxxO9y67CyNU4zwysou3zA==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -5840,7 +5840,7 @@ }, "@rush-temp/applicationinsights-dependencies-js": { "version": "file:projects\\applicationinsights-dependencies-js.tgz", - "integrity": "sha512-wdnUWBlIxeawx5bAlO79SfckWlHJVBx9OQ+Hz6eZLrtiG3CsET6LLXNg682qV69DXE4u97rDjzVmiN+E4bcTBw==", + "integrity": "sha512-WLquiV4az+IRVQjn5iNTZxnMzAIogZZx7YJTRa7be8kRD3dvrEiBgNWie6LXPMdLQnGDicD9WzNkkaxHePyWMA==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -5861,7 +5861,7 @@ }, "@rush-temp/applicationinsights-properties-js": { "version": "file:projects\\applicationinsights-properties-js.tgz", - "integrity": "sha512-CT/MVDqJVps2SDi0ZvXSzRdQLCwxbAs9YjmYR/cLDxSPHa8JZ1d0hl7gzuIp3iddIDPfbc4Y5X3Ty69gui4Guw==", + "integrity": "sha512-WPbL7pKQwua+G4qdzhyUjsfSOxN08E+ix8g3FIQnHpANpoanAyAgM9Bxcz8yBTKamSvE2WQQC+jV0doXLO7DVQ==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -5940,7 +5940,7 @@ }, "@rush-temp/applicationinsights-web": { "version": "file:projects\\applicationinsights-web.tgz", - "integrity": "sha512-WR8DhZGYLiIImT1UzC0eVgXSRs+eARsTtNSHWT40E/5xVLe9xmzcEzgegEWUX3f5Y8XIcjSBqyzTyE3AVSmKKw==", + "integrity": "sha512-trCKRtRTXsqZckW3U1b/XR0DvsaNbd2YAqMYXP7vRbS3qHlqXO0MJhgmVxZ0UXnDyX1OIJqyfflCUfvg7VBucQ==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -5970,7 +5970,7 @@ }, "@rush-temp/applicationinsights-web-basic": { "version": "file:projects\\applicationinsights-web-basic.tgz", - "integrity": "sha512-F+9vgWSDScXbrahs6x43+kZr0MbtO0zN2plp5W9J3UvnGZqYgq27N+Fc/HY9J55X8FWoneGRke4gRIfOx4sLkw==", + "integrity": "sha512-zYOyqDm+GSYZhbOebbUT/ei8/5M1YB5ERNIIVBqZtW5PiT0UtcFvV64O9C/dEEzDmSuMF2ebOSHk65MtTRXkBQ==", "requires": { "@microsoft/api-extractor": "^7.9.11", "@microsoft/dynamicproto-js": "^1.1.1", @@ -8834,9 +8834,9 @@ } }, "rollup": { - "version": "2.42.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.42.3.tgz", - "integrity": "sha512-JjaT9WaUS5vmjy6xUrnPOskjkQg2cN4WSACNCwbOvBz8VDmbiKVdmTFUoMPRqTud0tsex8Xy9/boLbDW9HKD1w==", + "version": "2.44.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.44.0.tgz", + "integrity": "sha512-rGSF4pLwvuaH/x4nAS+zP6UNn5YUDWf/TeEU5IoXSZKBbKRNTCI3qMnYXKZgrC0D2KzS2baiOZt1OlqhMu5rnQ==", "requires": { "fsevents": "~2.3.1" }, @@ -8918,9 +8918,9 @@ "integrity": "sha512-gh7LagmKMkthQZo0q9qrDSWy+ISYnCUhOUW6IyRQIMGdg8Os/uMfChTDO17DYzxKmNIDx/h6+yfBj34QYALycw==" }, "semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", "requires": { "lru-cache": "^6.0.0" } @@ -9560,9 +9560,9 @@ } }, "uglify-js": { - "version": "3.13.2", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.2.tgz", - "integrity": "sha512-SbMu4D2Vo95LMC/MetNaso1194M1htEA+JrqE9Hk+G2DhI+itfS9TRu9ZKeCahLDNa/J3n4MqUJ/fOHMzQpRWw==" + "version": "3.13.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.3.tgz", + "integrity": "sha512-otIc7O9LyxpUcQoXzj2hL4LPWKklO6LJWoJUzNa8A17Xgi4fOeDC8FBDOLHnC/Slo1CQgsZMcM6as0M76BZaig==" }, "unc-path-regex": { "version": "0.1.2", diff --git a/extensions/applicationinsights-analytics-js/package.json b/extensions/applicationinsights-analytics-js/package.json index ade6ef28..a2bcf307 100644 --- a/extensions/applicationinsights-analytics-js/package.json +++ b/extensions/applicationinsights-analytics-js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-analytics-js", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights JavaScript SDK - Web Analytics", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -24,7 +24,7 @@ "@microsoft/ai-test-framework": "0.0.1", "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0", "@microsoft/applicationinsights-rollup-es3" : "1.1.3", - "@microsoft/applicationinsights-properties-js": "2.6.0", + "@microsoft/applicationinsights-properties-js": "2.6.1", "@microsoft/api-extractor" : "^7.9.11", "typescript": "2.5.3", "globby": "^11.0.0", @@ -45,8 +45,8 @@ "dependencies": { "@microsoft/dynamicproto-js": "^1.1.1", "@microsoft/applicationinsights-shims" : "1.0.3", - "@microsoft/applicationinsights-core-js": "2.6.0", - "@microsoft/applicationinsights-common": "2.6.0" + "@microsoft/applicationinsights-core-js": "2.6.1", + "@microsoft/applicationinsights-common": "2.6.1" }, "license": "MIT" } diff --git a/extensions/applicationinsights-analytics-js/src/JavaScriptSDK/ApplicationInsights.ts b/extensions/applicationinsights-analytics-js/src/JavaScriptSDK/ApplicationInsights.ts index a0102d70..f0c44a18 100644 --- a/extensions/applicationinsights-analytics-js/src/JavaScriptSDK/ApplicationInsights.ts +++ b/extensions/applicationinsights-analytics-js/src/JavaScriptSDK/ApplicationInsights.ts @@ -52,7 +52,7 @@ function _formatMessage(message: any) { } export class ApplicationInsights extends BaseTelemetryPlugin implements IAppInsights, IAppInsightsInternal { - public static Version = "2.6.0"; // Not currently used anywhere + public static Version = "2.6.1"; // Not currently used anywhere public static getDefaultConfig(config?: IConfig): IConfig { if (!config) { diff --git a/extensions/applicationinsights-clickanalytics-js/package.json b/extensions/applicationinsights-clickanalytics-js/package.json index 8845f1f2..2d7b1f30 100644 --- a/extensions/applicationinsights-clickanalytics-js/package.json +++ b/extensions/applicationinsights-clickanalytics-js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-clickanalytics-js", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights Click Analytics extension", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -19,7 +19,7 @@ "devDependencies": { "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0", "@microsoft/applicationinsights-rollup-es3": "1.1.3", - "@microsoft/applicationinsights-properties-js": "2.6.0", + "@microsoft/applicationinsights-properties-js": "2.6.1", "@microsoft/api-extractor" : "^7.9.11", "typescript": "2.5.3", "globby": "^11.0.0", @@ -38,8 +38,8 @@ "dependencies": { "@microsoft/dynamicproto-js": "^1.1.1", "@microsoft/applicationinsights-shims": "1.0.3", - "@microsoft/applicationinsights-core-js": "2.6.0", - "@microsoft/applicationinsights-common": "2.6.0" + "@microsoft/applicationinsights-core-js": "2.6.1", + "@microsoft/applicationinsights-common": "2.6.1" }, "repository": { "type": "git", diff --git a/extensions/applicationinsights-debugplugin-js/package.json b/extensions/applicationinsights-debugplugin-js/package.json index e707615a..77504bdd 100644 --- a/extensions/applicationinsights-debugplugin-js/package.json +++ b/extensions/applicationinsights-debugplugin-js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-debugplugin-js", - "version": "2.6.0-beta", + "version": "2.6.1-beta", "description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -40,8 +40,8 @@ }, "dependencies": { "@microsoft/dynamicproto-js": "^1.1.1", - "@microsoft/applicationinsights-common": "2.6.0", - "@microsoft/applicationinsights-core-js": "2.6.0", + "@microsoft/applicationinsights-common": "2.6.1", + "@microsoft/applicationinsights-core-js": "2.6.1", "@microsoft/applicationinsights-shims": "1.0.3" }, "license": "MIT" diff --git a/extensions/applicationinsights-dependencies-js/package.json b/extensions/applicationinsights-dependencies-js/package.json index 2d7e961c..98fa55fe 100644 --- a/extensions/applicationinsights-dependencies-js/package.json +++ b/extensions/applicationinsights-dependencies-js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-dependencies-js", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights XHR dependencies plugin", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -41,8 +41,8 @@ "dependencies": { "@microsoft/dynamicproto-js": "^1.1.1", "@microsoft/applicationinsights-shims" : "1.0.3", - "@microsoft/applicationinsights-core-js": "2.6.0", - "@microsoft/applicationinsights-common": "2.6.0" + "@microsoft/applicationinsights-core-js": "2.6.1", + "@microsoft/applicationinsights-common": "2.6.1" }, "license": "MIT" } diff --git a/extensions/applicationinsights-properties-js/package.json b/extensions/applicationinsights-properties-js/package.json index 8a8bc42e..130efa50 100644 --- a/extensions/applicationinsights-properties-js/package.json +++ b/extensions/applicationinsights-properties-js/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-properties-js", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights properties (Part A) plugin", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -41,8 +41,8 @@ "dependencies": { "@microsoft/dynamicproto-js": "^1.1.1", "@microsoft/applicationinsights-shims" : "1.0.3", - "@microsoft/applicationinsights-core-js": "2.6.0", - "@microsoft/applicationinsights-common": "2.6.0" + "@microsoft/applicationinsights-core-js": "2.6.1", + "@microsoft/applicationinsights-common": "2.6.1" }, "license": "MIT" } diff --git a/extensions/applicationinsights-properties-js/src/Context/Internal.ts b/extensions/applicationinsights-properties-js/src/Context/Internal.ts index eadebb9e..46daada3 100644 --- a/extensions/applicationinsights-properties-js/src/Context/Internal.ts +++ b/extensions/applicationinsights-properties-js/src/Context/Internal.ts @@ -4,7 +4,7 @@ import { IInternal } from '@microsoft/applicationinsights-common'; import { ITelemetryConfig } from '../Interfaces/ITelemetryConfig'; -const Version = "2.6.0"; +const Version = "2.6.1"; export class Internal implements IInternal { diff --git a/extensions/applicationinsights-properties-js/src/Context/Session.ts b/extensions/applicationinsights-properties-js/src/Context/Session.ts index 719cb21e..4830df41 100644 --- a/extensions/applicationinsights-properties-js/src/Context/Session.ts +++ b/extensions/applicationinsights-properties-js/src/Context/Session.ts @@ -169,9 +169,8 @@ export class _SessionManager { _logger.throwInternal(LoggingSeverity.WARNING, _InternalMessageId.SessionRenewalDateIsZero, "AI session renewal date is 0" + sessionReset); - } else if (session.id) { - // If we don't have an id then considered it to be expired - // Only assign the values if everything looks good + } else if (tokens[0]) { + // Everything looks valid so set the values session.id = tokens[0]; session.acquisitionDate = acqMs; session.renewalDate = renewalMs; diff --git a/shared/AppInsightsCommon/package.json b/shared/AppInsightsCommon/package.json index e4e2ef88..fe7751c4 100644 --- a/shared/AppInsightsCommon/package.json +++ b/shared/AppInsightsCommon/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/applicationinsights-common", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights Common JavaScript Library", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "author": "Microsoft Application Insights Team", @@ -38,7 +38,7 @@ }, "dependencies": { "@microsoft/applicationinsights-shims" : "1.0.3", - "@microsoft/applicationinsights-core-js": "2.6.0", + "@microsoft/applicationinsights-core-js": "2.6.1", "@microsoft/dynamicproto-js": "^1.1.1" }, "license": "MIT" diff --git a/shared/AppInsightsCore/package.json b/shared/AppInsightsCore/package.json index 68bf1efa..087f9ad9 100644 --- a/shared/AppInsightsCore/package.json +++ b/shared/AppInsightsCore/package.json @@ -1,7 +1,7 @@ { "name": "@microsoft/applicationinsights-core-js", "author": "Microsoft Application Insights Team", - "version": "2.6.0", + "version": "2.6.1", "description": "Microsoft Application Insights Core Javascript SDK", "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme", "keywords": [