Skip to content

Releases: microsoft/ApplicationInsights-JS

2.7.3

01 Feb 02:31
2724b2a
Compare
Choose a tag to compare
  • 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: 2.7.0...2.7.3

2.7.2

08 Dec 18:14
7f88c46
Compare
Choose a tag to compare

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

  • Karlie/refactor ai SKU test and add PerfTest by @Karlie-777 in #1707
  • Address Security issues identified by internal component governance services by @MSNev in #1715
  • TelemetryViewer: Add Chrome debug extension to master by @MSNev in #1713
  • Update Chrome Debug Extension setActiveVersion script to expect 2 files by @MSNev in #1718
  • Fix setActiveVersion script for unversion deployment of release with a pre release tag by @MSNev in #1719
  • [Chrome-ext] Update nightly download link and add version check by @MSNev in #1720
  • add configuration for account.microsoft.com by @techtor in #1725
  • Update README.md by @KevBrown-MSFT in #1728
  • [BUG] Cannot track exception from service worker #1727 by @MSNev in #1732
  • [BUG] Addition of stdDev metric support has broken custom metric reporting from #1680 #1729 by @MSNev in #1730
  • Component Governance - Upgrade to npm v8.1.4 by @MSNev in #1731
  • [Release] Increase version to 2.7.2 by @MSNev in #1733

New Contributors

Full Changelog: 2.7.1...2.7.2

2.7.1

04 Nov 19:39
91ee603
Compare
Choose a tag to compare

ChangeLog - RELEASES.md

What's Changed

  • Update Release script to provide better automated creation of nightly builds by @MSNev in #1664
  • Update Perf Mark and Measure documentation and some exports by @MSNev in #1666
  • Enable EsLint auto fixing rules for extra-semicolons, dangling commas and tailing spaces by @MSNev in #1669
  • Refactor publishing script to combine shared content and support separate nightly container. by @MSNev in #1677
  • expose internal log poller by @kryalama in #1674
  • Update publishing list scripts to support new containers by @MSNev in #1682
  • [BUG] When using Multiple instances of AI only the first instance is correctly reporting ajax events #1655 by @MSNev in #1686
  • Add support to optionally configure the events used for detecting and handling when page unload and flushing occurs #1683 by @MSNev in #1684
  • Update AISKU Readme with missed published versions by @MSNev in #1685
  • Enable "Pause" and "Resume" of sending of messages #1093 by @MSNev in #1688
  • Enable some more automatic eslint fixes by @MSNev in #1690
  • [BUG] Field 'ai.operation.name' on type 'ContextTagKeys' is too long Expected: 1024 characters #1692 by @MSNev in #1693
  • [BUG] Multiple errors are getting thrown and swallowed during initialization when no instrumentation Key is provided #1691 by @MSNev in #1695
  • Governance Updates -- update used dependencies by @MSNev in #1694
  • Update package.json to include the repository by @v-gjy in #1696
  • add trackTrace and expose analytics extension to react plugin by @kryalama in #1697
  • DiagnosticLogger: Fix typo in defining the console function by @MSNev in #1699
  • fix readme traceID generate method by @Karlie-777 in #1687
  • [BUG] trackMetric does not track stdDev nor sum #1680 by @MSNev in #1701
  • [Release] Increase version to 2.7.1 by @MSNev in #1708

New Contributors

Full Changelog: 2.7.0...2.7.1

2.7.0

08 Sep 19:50
a5b6e05
Compare
Choose a tag to compare

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

2.7.0-beta.1

24 Aug 15:45
6596e4e
Compare
Choose a tag to compare

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

2.6.5

03 Aug 23:05
5623842
Compare
Choose a tag to compare

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

2.6.4

07 Jul 20:57
7e5282f
Compare
Choose a tag to compare

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

2.6.3

08 Jun 20:54
a356fc0
Compare
Choose a tag to compare

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

2.6.2

23 Apr 00:57
4a92b25
Compare
Choose a tag to compare

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

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