ApplicationInsights-JS

Microsoft Application Insights SDK for JavaScript

MIT License

Downloads
22.8M
Stars
649
Committers
96

Bot releases are hidden (Show)

ApplicationInsights-JS - 2.8.1

Published by MSNev over 2 years ago

  • Updates React Plugin to v3.3.1 (with v2.8.1 as dependency) -- using React 17
  • Updates React Native Plugin to 2.5.1 (with v2.8.1 as dependency)
  • Updates Chrome Debug Extension to 0.3.0

This patch release restores TypeScript 3.x support for the Sdk.

Changelog

  • #1807 [BUG] Angular project doesn't build after install latest version v.2.8.0
  • #1810 v2.8.0 has incompatible TypeScript 3.x type declaration
  • #1812 [BUG] Browser exceptions are no longer automatically tracked after 2.8.0
  • #1814 [BUG]SPFx React project doesn't build after latest version of @microsoft/application-insights-core-js v.2.8.0 got published

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.8.0...2.8.1

ApplicationInsights-JS - 2.8.0

Published by MSNev over 2 years ago

  • Updates React Plugin to v3.3.0 (with v2.8.0 as dependency) -- using React 17
  • Updates React Native Plugin to 2.5.0 (with v2.8.9 as dependency)
  • Updates Chrome Debug Extension to 0.3.0

Potential Breaking Change

  • fetch Ajax tracking was also been change to be on by default from this version moving forward, if you are running in an environment without fetch support and you are using an incompatible polyfill (that doesn't identify itself as a polyfill) or the SDK you start seeing recursive or duplicate (fetch and XHR requests) being reported you WILL need to add disableFetchTracking with a value of true to your configuration to disable this functionality.
  • TypeScript 4.x required for some typings from the core EnumHelperFuncs.d.ts

Significant changes

This release adds support for the SDK to

  • TelemetryInitializers have been moved to BaseCore so they are now available as part of all Sku's and not just those using the analytics plugin (@microsoft/applicationinsights-analytics-js) using the appInsights.addTelemetryInitializer(...)
  • Web Events (addEventHandler) now support "event namespaces" (similar to jQuery) to enable the removing of events by just specifying the namespace and new specific eventOn(...) and eventOff(...) API's.
  • Fully unload, removing all internal event handlers (may be re-initialized) via the appInsights.unload(...) function.
  • Dynamically add a plugin to an already initialized SDK (optionally replacing an existing) via new appInsights.addPlugin(...) function
  • New helper to get any plugin from an initialized SDK via appInsights.getPlugin("...identifier...")
  • Dynamically remove a plugin via the appInsights.getPlugin("...identifier..").remove()
  • Enable / Disable any plugin (even if the plugin doesn't support disabling itself) via appInsights.getPlugin("...identifier...").setEnabled(true/false)
  • The standard name from the analytics plugin @microsoft/applicationinsights-analytics-js has been renamed and is now exported as AnalyticsPlugin, for backward compatibility it is also exported as it's previous name ApplicationInsights, if you are using it directly it is recommended that you update to use the new exported name.

While this release contains a substantial amount of additional functionality and code, there has also been significant minification efforts (which also drove some of the SDK naming) to keep the minified code around the same size. We intend to keep working on additional improvements to attempt to bring the size changes down further. However, the minification improvements do generally cause a lower level of GZip compression most because of the removal of duplicate names. The main readme for the AISKU has a table of the CDN base SKU sizes, as the CDN version includes all public API's (older versions for backward compatibility and newer smaller versions) when using NPM you should see smaller sizes than those shown.

Note:
Due to the above changes required to support the above, there may be some minor TypeScript Type compatibility warnings when you attempt to use components from v2.8.0 with older SDK's (forward compatibility), backward compatibility, using Core v2.8.0 with older components is supported and v2.8.0 is completely backward compatible. This is due to some API's now support both older (for back compat) and new enhanced arguments, we have attempted to keep these changes to a minimum.
If you are getting typing errors such as "Argument of type 'XXXXX' os not assignable to parameter of type 'YYYY'", please ensure that you are using all v2.8.0 components and raise an issue if this does not resolve you issue. As a work around casting to work around this warning should not cause any issues.

Due to the size of this change, the above date is the NPM release date and CDN deployment will be over an extended period.

Changelog - RELEASES.md

Changelog

  • Task 13064945: Enable the option to remove all "added" SDK event listeners as part of calling teardown()
    • Partial, foundational support for #1427 Dynamically updating config (for extensions in my case)
  • #1773 [BUG] IConfig and IConfiguration define different configuration "names" for the cookie manager config
  • #1779 Allow including custom properties in useTrackMetric
  • #1791 Merge remote-tracking branch upstream/beta into master
    • Update version update script to support default "next" release version (major/minor) not just patch (#1756)
    • Additional Performance enhancements to use provided functions rather than internal polyfill's (#1758)
    • Enable GitHub Actions on [beta] branch
    • Beta Part 1: Part of Mega Dynamic Load/Unload support (#1766)
      • Refactor TelemetryPluginChain ready to start supporting load/unload
      • Move TelemetryInitializer to BaseCore
      • add getPlugin (will be used for remove)
      • Address Channel flush issue
    • Additional Performance enhancements to use provided functions rather than internal polyfill's (#1758)
    • Beta Part 2: Part of Mega Dynamic Load/Unload support (#1768)
      • Add Event Namespace support
      • Minification of constant values
      • Add part of the unload functionality (required for unified teardown() functionality)
    • Beta Part 3: Part of Mega Dynamic Load/Unload support (#1780)
      • Add Core SDK Unload support
    • Fix telemetry chain for null and undefined
    • Beta Part 4: Part of Mega Dynamic Load/Unload support (#1781)
      • Fix function typing issues
      • Update Analytics Extension to start supporting teardown / unload (more tests required)
      • Adds namespace option to instrumentation hooks (for debugging teardown issues)
      • Update AITest Class to log and optionally assert events and hooks that have not been removed
      • Add Update callback when plugins are added / removed (will be extended for config updates)
      • Some minor minification improvements
    • Add missing enum definition
    • Update Sender tests
    • Beta Part 5: Part of Mega Dynamic Load/Unload support (#1782)
      • Add Missing Exports
      • AnalyticsPlugin: Implement teardown and initial test validation
      • Dependencies Plugin: Implement teardown and initial test validation
      • Add flush() to IAppInsightsCore
    • AI Beta: Minor bug fixes and additional debug info (#1787)
    • Lint fixes: Enable Automatic formatting fixes (#1788)
    • Beta Part 6: Part of Mega Dynamic Load/Unload support (#1782) (#1789)
      • Add basic minimal unload / teardown support to all remaining components
      • Update rollup cleanup dependencies
    • Beta: Component Governance Updates to address known dependency issues (#1790)
  • #1793 Master Minification Improvements
  • #1796 Minification - Change to only use const enums internally
  • #1798 More Common Minification Updates
  • #1468 Enable fetch automatic dependency tracking by default
  • #1805 Finalize and Update the processTelemetry helper functions

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.4...2.8.0

ApplicationInsights-JS - 2.7.4

Published by MSNev over 2 years ago

  • Updates React Plugin to v3.2.4 (with v2.7.4 as dependency)
  • Updates React Native Plugin to 2.4.4 (with v2.7.4 as dependency)
  • Updates Chrome Debug Extension to 0.2.4

This release is primarily a performance improvement release where we will now use any built in (or provided polyfill) function
over the internal polyfills for

  • String trim()
  • String endsWith()
  • String startsWith()
  • Additional Date toISOString()
  • Array isArray()
  • Array indexOf()
  • Array map()
  • Array reduce()
  • Object freeze()
  • Object seal()

Changelog - RELEASES.md

  • #1754 update react plugin readme
  • #1758 Additional Performance enhancements to use provided functions rather than internal polyfill's

What's Changed

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.3...2.7.4

ApplicationInsights-JS - 2.7.3

Published by MSNev over 2 years ago

  • Updates the @microsoft/applicationinsights-shims module to 2.0.1
  • Updates React Plugin to v3.2.3 (with v2.7.3 as dependency)
  • Updates React Native Plugin to 2.4.3 (with v2.7.3 as dependency)
  • Updates Chrome Debug Extension to 0.2.3

ChangeLog - RELEASES.md

  • #1735 [BUG] Dependency tracking is disabled when using an Embedded IE browser control
  • #1736 [BUG] New Fetch keepAlive support can cause duplicate events to be sent during unload processing
  • #1745 [Documentation] Document the deployed Module formats and release process
  • #1746 [Documentation] Update AISku Size tracking
  • #1744 Address CodeQL issues from https://github.com/microsoft/ApplicationInights-JS/security/code-scanning
  • Update to Rush 5.61.3 and NPM 8.4.0
  • #1750 [Performance] Use the Date.toISOString() native function if it exists
  • #1753 [Performance] Cache the result of the getGlobal() to reduce the number of typeof expressions

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.0...2.7.3

ApplicationInsights-JS - 2.7.2

Published by MSNev almost 3 years ago

ChangeLog - RELEASES.md

Issues

  • #1729 [BUG] Addition of stdDev metric support has broken custom metric reporting from #1680
  • #1727 [BUG] Cannot track exception from service worker
  • #1731 Component Governance - Upgrade to npm v8.1.4

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.1...2.7.2

ApplicationInsights-JS - 2.7.1

Published by MSNev almost 3 years ago

ChangeLog - RELEASES.md

What's Changed

New Contributors

Full Changelog: https://github.com/microsoft/ApplicationInsights-JS/compare/2.7.0...2.7.1

ApplicationInsights-JS - 2.7.0

Published by MSNev about 3 years ago

Major change: Upgrades build environment to TypeScript 4.x

  • No known breaking, configuration or definition changes

Changelog

  • #1640 [BUG] enableAjaxErrorStatusText: false (which is the default setting) does not turn off logging error response body
  • #1642 trackEvent() doesn't allow replacing the iKey
  • #1647 [BUG] customProperties parameter missing from trackException function
  • #1648 Update error reporting when a plugin throws an exception
  • #1650 [DebugPlugin] Add an option to disable DebugPlugin processTelemetry logging
  • #1653 Some requests are returning a CORB error for responses containing text content type
    • The warning is only being reported via the sendBeacon request, therefore not loss of events
    • Changes the 'unload' operations to try and use fetch with keepalive if available, fallsback to sendBeacon()
    • Also attempts to send as manay events as possible via sendBeacon, when the payload size is > 64kb
  • #1656 [BUG] 'Cannot use 'in' operator to search for 'ver' in Timeout', name: 'TypeError'}​​​​​
  • #1660 [BUG] ITelemetryTrace parentId cannot be set to undefined

Includes: 2.7.0-beta.1 Milestone

  • #1171 Update to TypeScript 4.x
  • #1526 [TypeScript Compile Error] Property 'sessionManager' does not exist on type 'ITelemetryContext'
    • #1627 Add sesId to allow access to sessionManager session info
  • #1471 Convert undefined to blank in customDimensions?
    • #1630 Convert undefined custom properties to empty string
  • #1585 ai_user cookie not present after re-enabling the cookie
  • #1561 How to enrich dependencies logs with context at the beginning of api call?
    • #1624 Provide a way to enrich dependencies logs with context at the beginning of api call
  • #1633 Add GitHub Automated Lock closed issue action
ApplicationInsights-JS - 2.7.0-beta.1

Published by MSNev about 3 years ago

Changelog

  • #617 Add performance.mark and performance.measure for performance browser tool integration
  • #1171 Update to TypeScript 4.x
  • #1526 [TypeScript Compile Error] Property 'sessionManager' does not exist on type 'ITelemetryContext'
    • #1627 Add sesId to allow access to sessionManager session info
  • #1471 Convert undefined to blank in customDimensions?
    • #1630 Convert undefined custom properties to empty string
  • #1585 ai_user cookie not present after reenabling the cookie
  • #1561 How to enrich dependencies logs with context at the beginning of api call?
    • #1624 Provide a way to enrich dependencies logs with context at the beginning of api call
  • #1633 Add GitHub Automated Lock closed issue action

Update React plugin to v3.2.0-beta.1

  • Update Core dependency to v2.7.0-beta.1 Core changes

Update React Native plugin to v2.4.0-beta.1

  • Update Core dependency to v2.7.0-beta.1 Core changes
ApplicationInsights-JS - 2.6.5

Published by MSNev about 3 years ago

Changelog

  • #1608 [BUG] empty messages for unhandled promise rejections
  • #1610 [BUG] error logging an error--need to null-check reason
  • #1621 [Task] Create and publish Sub Resource Integrity (SRI) hashes for the generated scripts
  • #1607 Remove AngularPlugin code from master and direct to new repo and angularplugin-legacy branch
  • #1606 Split Tests into Unit / Perf and update all active tests to use common test project
  • #1613 Update Dependencies
  • #1617 Add Stale Issue / PR GitHub Action
ApplicationInsights-JS - 2.6.4

Published by MSNev over 3 years ago

Changelog

  • #1567 [BUG] Unit of "PageVisitTime" is well hidden
  • #1579 Add 307 Redirect Response
  • #1580 [BUG] URL without host fails in CanIncludeCorrelationHeader
  • #1586 [BUG] namePrefix is not getting assigned to ai_user Cookie
    • #1587 ai_user cookie should use userCookiePostfix for user cookie storage
  • #1590 Task 9901543: Remediate security vulnerabilities (Build Dependencies)
  • #1596 Apply the eslint fixes (from Component Governance policy Checks)
  • #1597 [BUG] The Pointer Events for the DebugPlugin are getting blocked
  • #1599 Add visibilitychange event to the set of events tracked for triggering page unload
  • #1602 [BUG] DebugPlugin - helpers.js:334 Uncaught TypeError: Cannot convert a Symbol value to a string
  • #1472 [Enhancement] Add config to exclude a specific request auto tracking
  • #1446 [FEATURE REQUEST] Ability to stop requests being tracked for array of domains
ApplicationInsights-JS - 2.6.3

Published by MSNev over 3 years ago

Changelog

  • #1268 Investigate and add a sender that uses fetch when XMLHttpRequest is not available
  • #1545 Cannot modify the request headers and cookies when using a custom endpoint
  • #1546 [Typings] Update the TypeScript typings to identify the readonly properties/fields and dynamic values of the snippet
  • #1541 ITelemetryContext.user is sometimes null - setAuthenticatedUserContext throws
  • #1569 [BUG] Authorization header included when enableRequestHeaderTracking is enabled
    • As part of this change the ["Authorization", "X-API-Key", "WWW-Authenticate"] headers will NO longer be logged when enableRequestHeaderTracking is enabled, if you want these headers to be sent to AzureMonitor you will need to override the default ignoreHeaders config which excludes them (See the Configuration settings).
  • #1558 [BUG] Durations reported as zero (00:00:00.000) in Angular SPA for router changes
  • #363 Script error: Browser exception message not providing information type and method
  • #1568 Add VSCode specific exclusions
  • #1572 Task 9901543: Remediate security vulnerabilities
ApplicationInsights-JS - 2.6.2

Published by MSNev over 3 years ago

Changelog

  • #1536 Update DynamicProto version 1.1.2 (Fixes IE7 mode issue originally reported in #1534)
  • #1280 Investigate removing the globals __extends() and __assign() populated by applicationinsights-shims
  • #1523 Remove exposing global instances of __extends() and __assign() and update sideEffects usage (by removing globals)
  • #1538 [BUG] Telemetry Buffer Getting Cleared in Offline Mode - Online Status Incorrectly Initialized in Offline Listener
  • #1528 [BUG] correlationHeaderExcludePatterns is not honored in Ajax calls
  • #1516 [BUG] App insight library will flush telemetry using beforeUnload event but this event is cancellable
  • #1509 [BUG] Investigate changing the sideEffects: false to list only the files that include the shims module from the all AI modules so that webpack can evaluate correctly
  • #1517 [BUG] addHousekeepingBeforeUnload should also be listening to the 'unload' event
  • #1524 [BUG] Config items are not functional for current snippet disableFlushOnBeforeUnload, disableFlushOnBeforeUnload and maybe others
  • #1440 [BUG] PageViewPerformanceManager.populatePageViewPerformanceEvent() is always returning zero for the network time
  • #1393 [BUG] enableAutoRouteTracking should also update the Operation Name with the hashroute
  • [BUG] Add test coverage for #1518
  • #1510 Update PageView operation name to include the hash
  • #1522 add click plugin version to sdkversion tag
  • #1535 add click plugin js to cdn
ApplicationInsights-JS - 2.6.1

Published by MSNev over 3 years ago

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
ApplicationInsights-JS - 2.6.0

Published by MSNev over 3 years ago

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
ApplicationInsights-JS - 2.5.11

Published by MSNev over 3 years ago

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
ApplicationInsights-JS - 2.5.10

Published by MSNev almost 4 years ago

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
ApplicationInsights-JS - 2.5.9

Published by MSNev about 4 years ago

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
ApplicationInsights-JS - 2.5.8

Published by MSNev about 4 years ago

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

ApplicationInsights-JS - 2.5.7

Published by MSNev about 4 years ago

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
ApplicationInsights-JS - 2.5.6

Published by MSNev over 4 years ago

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.