Skip to content

Releases: microsoft/ApplicationInsights-JS

2.6.1

30 Mar 20:06
b4d9324
Compare
Choose a tag to compare

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

24 Mar 00:09
e3d0f8d
Compare
Choose a tag to compare

Version bump is due to the following major changes

A large amount of Tree-Shaking improvements have been included in this version, please see the recommendations you may need to apply to your code to take complete advantage of these changes to reduce the overall module sizes (when using NPM packages)

Also includes major changes to the cookie management, please see the readme cookie configuration section and cookie handling changes.

Changelog

  • General Performance improvements / optimizations
  • #1059 Enable W3C distributed tracing on by default with backward compatibility
  • #1076 Multiple Treeshaking enhancements, see recommendations
  • #1091 Enable cookie support after the SDK has been initialized
  • #1125 Disable Cookies
  • #1276 [BUG] Does not work with Closure Compiler (possible fix, now generates applicationinsights-web.d.ts (This version is namespaced) and applicationinsights-web.rollup.d.ts in the dist folder
  • #1434 Ability to specify cookie Path so that AI works behind App Gateway
  • #1473 [BUG] New dts gneration doesn't work when the environment doesn't have powershell (introduced for #1276)
  • #1474 Add initial stamp endpoint redirection logic
  • #1478 [Bug] Ajax tracking for XHR and fetch is not always setting the start time correctly
  • #1496 [BUG] applicationinsights-web npm package does not have types or a types folder.
  • #1498 [BUG][ES6] TypeError: xxx is not a function or TypeError: DynamicProto [XXXX] is not in class heirarchy of [Object] #28
  • #1503 [BUG] New Perf tests are randomly failing when the build environment is busy (tests added as part of #1076 and #1091)
  • Some documentation updates

2.5.11

21 Jan 23:43
dfe9435
Compare
Choose a tag to compare

Changelog

  • #1452 [BUG] v2.5.10 Snippet Initialization fails to redirect proxied functions -- causing terminal exception

Update Click Analytics plugin to v2.5.11

  • Update Core dependency to ^2.5.11 Core changes
  • #1441 [BUG] Fix issues based on pageName,clickevent name and improved the way we collect useful telemetry data
    Updated Docs

2.5.10

18 Nov 20:48
4ab54ac
Compare
Choose a tag to compare

Changelog

  • #1420 Fix issues with for..in usage with prototype extension libraries like ember.js and prototype.js
  • #1417 Adding nuspec for new Snippet nuget package
  • #1415 Update Publishing scripts to allow different container names -- replaces the cdn switch #1415
  • #1411 [BUG] - License file link is invalid #1411
  • #1410 Remove mention of resolution in Device Information
  • #1408 Update publish scripts to support a sub-container
  • #1409 Initial release of new Click Analytics Plugin
  • #1407 Adding logger during core constructor
  • #1403 [Feature Request] Snippet - Add an easier way to inject queue items as part of the snippet config (version 5 of snippet)
  • #1402 [BUG] "ReferenceError: method is not defined" from 2.5.5+
  • #420 CDN endpoint

New extension @microsoft/applicationinsights-clickanalytics-js

Provides the ability to gather telemetry in Web pages to automatic track clicks using data meta tags.

Update React plugin to v3.0.5

  • Update Core dependency to ^2.5.10 Core changes

Update React Native plugin to v2.2.9

  • Update Core dependency to ^2.5.10 Core changes

2.5.9

07 Oct 22:03
27627e0
Compare
Choose a tag to compare

Changelog

  • #1395 Update publishing scripts to support automation
  • #1391 Increase the randomness and size of the sessionId (newId())
  • #1390 using older version of types/cheerio dependecy
  • #1389 take out SPO support
  • #1388 Bump shims version for React, React-Native and Angular to latest.
  • #1384 Add sideEffects field to applicationinsights-shims package.json
    • Use updated Shims module (v1.0.2)
  • #1381 [BUG] NPM package for @microsoft/applicationinsights-angularplugin-js does not have a dist folder
  • #1377 [BUG] Session storage buffers being initialized though configured not to use
  • #1375 Make AI JS SDK for with NativeScript-Angular
    • Use updated Shims module (v1.0.1)
  • #1374 indexof is wrongly cased
  • #1365 correlationHeaderExcludePatterns added to IConfig
  • #1364 [BUG] PerfManager and NotificationManager are not exported in AISKU
  • #1363 [BUG] correlationHeaderExcludePatterns missing from types
  • #1361 Debug plugin readme changes
  • #1359 Add trackMetric method for Angular plugin
  • #1358 Add snippet setup for SPO extension solution and update README

New Package applicationinsights-shims v1.0.3

  • #1384 Add sideEffects field to applicationinsights-shims package.json
  • #1375 Make AI JS SDK for with NativeScript-Angular

Update React plugin to v3.0.4

  • Update Core dependency to ^2.5.9 Core changes

Update React Native plugin to v2.2.8

  • Update Core dependency to ^2.5.9 Core changes

2.5.8

28 Aug 22:42
5bd0032
Compare
Choose a tag to compare

Changelog

  • #1350 [BUG] The new IPerfEvent is using Date.now() which is not supported in an ES3 environment
  • #1349 Update angular plugin track pageview logic and test
  • #1343 [BUG] IPerfManager interface - the create() function is defined to return an IPerfEvent and not an IPerfEvent?
  • #1340 Instrumentation Key validation
  • #1018 Error Mismatched anonymous define() module
    • #1352 add .cjs.js and .cjs.min.js

Update applicationinsights-rollup-es3 to v1.1.3

  • #1350 [BUG] The new IPerfEvent is using Date.now() which is not supported in an ES3 environment
    • Added additional checks for Date.now() and Performance Api perf.now()

Update React plugin to v3.0.3

  • Update Core dependency to ^2.5.8 Core changes

Update React Native plugin to v2.2.7

  • Update Core dependency to ^2.5.8 Core changes

Published initial AngularPlugin-JS to NPM

2.5.7

06 Aug 21:32
509df92
Compare
Choose a tag to compare

Changelog

  • #1335 Add Performance / Testing support
    • Added IPerfManager and IPerfEvent interfaces to allow performance review / monitoring of the internal operations
  • #1334 [BUG] Getting XMLHttpRequest and XDomainRequest is not defined errors for gatsby environment
  • #1333 [BUG] DebugPlugin various updates
  • #1331 AppInsightsCore: Enable setting NotificationManager during initialization
    • #1076 Refactor code to provide better tree shaking and minification of generated code
    • Updated Sender and support classes to move all private properties and methods into constructor closure
  • #1328 applicationinsights-debugplugin-js: fixed various issues and updating to beta-2
  • #1323 Add Retry as a SendRequestReason
  • #1324[BUG] Type 'ReactNativePlugin' is not assignable to type 'ITelemetryPlugin'
    • Refactored the Plugin to extend BaseTelemetryPlugin (part of the #1076 work)
  • #1321 [BUG] @microsoft/applicationinsights-web fails to initialize with latest version
  • #1319 fix incorrect references to configuration parameter names
  • #1316 Update dependency version of DynamicProto
    • Move all private properties and methods into constructor closure
    • #1316 Update dependency version of DynamicProto

Updated React plugin to v3.0.2

  • Update Core dependency to ^2.5.7 Core changes
  • #1335 Add Performance / Testing support
    • Added IPerfManager and IPerfEvent interfaces to allow performance review / monitoring of the internal operations

Updated React Native plugin to v2.2.6

  • Update Core dependency to ^2.5.7 Core changes
  • #1335 Add Performance / Testing support
    • Added IPerfManager and IPerfEvent interfaces to allow performance review / monitoring of the internal operations
  • #1324 [BUG] Type 'ReactNativePlugin' is not assignable to type 'ITelemetryPlugin'
    • Refactored the Plugin to extend BaseTelemetryPlugin (part of the #1076 work)
  • #1076 Refactor code to provide better tree shaking and minification of generated code
    • Move all private properties and methods into constructor closure
    • #1316 Update dependency version of DynamicProto

2.5.6

06 Jul 21:21
692f6fb
Compare
Choose a tag to compare

New (Beta) extension applicationinsights-debugplugin-js

  • Created the initial extension to help developers understand, track, visualize and fix issues with events.
  • This extension injects UI objects onto your page and details for the component is available at https://github.com/microsoft/ApplicationInsights-JS/tree/master/extensions/applicationinsights-debugplugin-js
  • This is a beta release so the UI, config etc are not yet complete, feedback for features, suggestions or changes are welcome -- please create an Issue
  • The detailed view is still under construction and contains known bugs, these will be addressed in the next few months (releases) as we build out the module. We originally had not planed to have any detailed view as part of this initial beta release.

Changelog

  • #1311 Allow the generated modules to extend the namespace defined by "name" in rollup config -- rather than always replace.
    • Changes the way the "Microsoft.ApplicationInsights" is defined for each module to all modules to be added to the same namespace
  • #1309 When using prototype js the SessionStorage become corrupted causing requests internal exceptions
  • #1303 Task 7027291: Investigate CDN Configuration to support custom domain (automate CDN deployment scripts)
  • #1299 Releasing core queue as soon as possible (fixes lost events from page load immediate unload with no additional events)
  • #1297 Created initial applicationinsights-debugplugin-js
  • #1289 [Documentation] doc: SPO set up instruction
  • #1286 [Documentation] Update JS SDK Snippet documentation with bug fixes (new v4 snippet)
  • #1283 [BUG] (Snippet v3) AppInsights stub methods captured incorrect method names in the closure
  • #1262 [BUG] Custom properties added with addTelemetryInitializer are ignored for exceptions
  • #1245 React Native - AI (Internal): 19 message: "Could not add handler for beforeunload and pagehide"
    • Add isReactNative() function for detecting the runtime environment
  • #1095 Add an Error Boundary to the React plugin
  • #1089 Blocking certain URIs/Patterns from fetch tracking (patch included)
    • Added new config 'correlationHeaderExcludePatterns' to allow disabling correlation headers using regular expressions

Updated React plugin to v3.0.1

  • #1311 Allow the generated modules to extend the namespace defined by "name" in rollup config -- rather than always replace.
    • Changes the way the "Microsoft.ApplicationInsights" is defined for each module to all modules to be added to the same namespace

Update applicationinsights-rollup-es3 to v1.1.2

  • #1311 Allow the generated modules to extend the namespace defined by "name" in rollup config -- rather than always replace.

2.5.5

02 Jun 18:35
f57b449
Compare
Choose a tag to compare

Updated React plugin to v3.0.0

  • Updated to TypeScript 3.x
  • Removed React plugin from main rush pipeline
  • #991 Don't work with React HOOKS
    • #1120 Introducing React Hooks for AppInsights #1120

New Package applicationinsights-shims v1.0.0

  • Created to remove dependency on TSLib as v 1.13.0 has introduced build breaks
    • provides internal implementation of __extends() and __assign() when no pre-existing version is present

Changelog

  • #1278 Add optional 'eventsSendRequest' notification to NotificationManager
  • #1269 TsLib v1.13.0 has breaking change (Remove dependency on TSLib)
    • Added new package 'applicationinsights-shims@1.0.0'
  • Removed React plugin from main rush pipeline
  • #991 Don't work with React HOOKS
    • #1120 Introducing React Hooks for AppInsights #1120
  • #1274 Fix for withAITracking wrapping functional components.
  • Using crypto to generate GUIDs when available (Make GUID more random)
  • #1260 [BUG] Can't include Correlation Header on IE can fail
  • #1258 Update snippet to support reporting script load failures
  • #1251 [BUG] ajax.ts is using string trim() which is not supported on IE7/8
  • #1249 Identify whether the script is being consumed via the CDN or NPM package
  • Several minor documentation updates

2.5.4

07 Apr 22:27
0d65659
Compare
Choose a tag to compare

Changelog

  • #1242 Upgrading the tslib dependency to 1.11.1
  • #1233 [BUG] Duplicate React dependency
  • #1232 [BUG] window.appInsights.properties is marked private
    • Fix issue by always exposing window.appInsights.context
  • #1240 [BUG] Telemetry correlation headers are not included for all fetch requests
  • #1229 [BUG] Unable to include telemetry correlation headers
  • #1227 SPFX - undefinedundefined is not defined
  • #1221 npm @microsoft/applicationinsights-web: license information missing in package.json
  • #1191 [BUG] ICustomProperties does not support setting values