Skip to content

Releases: microsoft/ApplicationInsights-JS

2.5.3

25 Mar 17:47
97df5b4
Compare
Choose a tag to compare

Changelog

  • #1224 [BUG] When running in IE7/8 the app insights doesn't initialize and gets stuck in a loop (long running script)

2.5.2

11 Mar 19:18
8af3e15
Compare
Choose a tag to compare

Changelog

  • #1217 [BUG] App Insights fails when the XHR object is not extensible (or frozen)
  • #1186 [BUG] App Insights initialization setting 'enableAjaxErrorStatusText is not working #1218

2.5.1

10 Mar 06:06
168c6e2
Compare
Choose a tag to compare

2.5.1

Changelog

  • #1210 [BUG] Typescript error when using @microsoft/applicationinsights-web 2.5.0 and "noImplicitAny"/"strict" option
  • #1207 [BUG] The latest version 2.4.4 cannot connect front-end with back-end on the Application Map on Application Insights

2.5.0

Changelog

  • #1204 When a fetch polyfill is installed there reporting endpoint is also causing events to be sent
  • #1202 ai_user and ai_session cookies not set #1203
  • #1201 add to auto track exceptions in react native plugin
  • #1199 Build is breaking when you do a "rush update --full --purge --recheck" due to tslib v1.11.0 update
  • #1194 XHR/Fetch enhancement - add additional telemetry from window.performance #1195
  • #1193 add sanitizer for operationName
  • #1189 Add the option to specify the refUri with stopTrackPage #1190
  • #1186 App Insights initialization setting 'enableAjaxErrorStatusText' is not working #1187

XHR/Fetch enhancement

Adds additional performance data derived from the window.performance.getEntries() for the fetch or XHR request.

Configuration options

Name Default Description
enableAjaxPerfTracking false Default false. Flag to enable looking up and including additional browser window.performance timings in the reported ajax (XHR and fetch) reported metrics.
maxAjaxPerfLookupAttempts 3 Defaults to 3. The maximum number of times to look for the window.performance timings (if available), this is required as not all browsers populate the window.performance before reporting the end of the XHR request and for fetch requests this is added after its complete.
ajaxPerfLookupDelay 25 Defaults to 25ms. The amount of time to wait before re-attempting to find the windows.performance timings for an ajax request, time is in milliseconds and is passed directly to setTimeout().

Auto track exception React Native Plugin

This has been enabled by default in the updated version.
It can be disabled by adding the disableExceptionCollection config value with a value of true.

2.4.4

05 Feb 20:36
7d60cd6
Compare
Choose a tag to compare

Changelog

  • #1182 Fix error TS2430: Interface 'Window' incorrectly extends interface 'WindowEventHandlers'
  • #1185 Rollback namespace overwrite change

2.4.3

01 Feb 03:46
b5a3652
Compare
Choose a tag to compare

Changelog

  • Syntax error tools/rollup-es3/src/es3/Es3Tokens.ts #1179

2.4.2

31 Jan 22:36
79e4473
Compare
Choose a tag to compare

ES3 Support

An additional conversion was required for ES3 support as TypeScript was adding a getter for embedding a constant enum into the Common class.

Changelog

  • #1177 Add additional checks and polyfil for TypeScript get translations for constants

2.4.1

30 Jan 19:30
d64849d
Compare
Choose a tag to compare

v 2.4.1...2.4.0

ES3 Support (Complete)

With this release the source files can be loaded in an ES3 environment (IE7/8) and send requests to the server. As part of this change you will now receive requests from users using an older browser, prior to this version users using an ES3 base browser will (most likely) have been getting a javascript error, which would have caused no data to be sent.

Enable support for reusing plugins in multiple instances of AppInsights #1132

We have added upport to enable reusing the same plugin in different instances of AppInsights, owned by the same application (but using different Instrumentation keys) is required so that they can reuse a single Plugin instance for all instances.

This changes introduces a new IProcessTelemetryContext interface that is passed to the processTelemetry() method so that the plugins can use the current request context for the event rather than the context during initialization.

To assist with creating plugins we have also introduced a base class that you can use for creating new plugins BaseTelemetryPlugin, details are included on the Readme

Changelog

  • #1175 [BUG] Typescript build with 2.4.0 breaks #1173
  • #1174 Legacy Manage SameSite Cookie Settings #1126
  • #1172 Update SameSite logic to handle UserAgents that don't support the attribute
  • #1169 Fixup Rollup ES3 plugin package.json
  • #1167 Add better support for referencing global objects from a window and web workers
  • #1164 add null check for sessionManager
  • #1162 [BUG]AppInsights not working in IE7 #1142
  • #1161 include response error data
  • #1159 Export Common Telemetry classes in Snippet
  • #1157 fix: only change SameSite when secure
  • #1154 Queue events when track is called and not all extensions are initialized
  • #1153 Do not clean telemetryInitializers during initialization
  • #1150 Remove interface code from API reference and link
  • #1135 fix: dont block corr on empty location host
  • #1133 Enable support for reusing plugins in multiple instances of AppInsights #1132
  • #1129 fix: console logging not honoring setting
  • #1122 fix anchor link
  • #1116 Move tslib to sku dependencies
  • #1113 [Enhancement] AI is not catching all "Unload" dom events #1080
  • #1070 Added support for logging unhandled promise rejections (#1013)

Legacy 1.0.21

  • #1174 Legacy Manage SameSite Cookie Settings #1126 (UserAgent checks for unsupported SameSite issues)

2.4.0-beta

30 Jan 19:52
d018496
Compare
Choose a tag to compare
2.4.0-beta Pre-release
Pre-release
Bump version to 2.4.0-beta (#1145)

2.3.1

07 Nov 23:39
8d7fd1e
Compare
Choose a tag to compare

Changelog

  • #1102 Enable support for IE8
  • #1096 Add extra window nullchecks for non-browser environments
  • #1105 Fix issue where operation name is overwritten

2.3.0

17 Oct 23:13
b3d82fe
Compare
Choose a tag to compare

2.2.4...2.3.0