Potential Breaking Changes (from @microsoft/applicationinsights-web v3.4.1)
This release bumps the Application Insights dependency from ^3.3.10 to ^3.4.1. The 3.4.x release of Application Insights includes significant changes that may affect your application. Please review the following before upgrading.
This version is NOT supported on any eariler versions of Application Insights.
Package Deprecation
The following packages have been merged into @microsoft/applicationinsights-core-js and are now deprecated. They continue to be published as backward-compatible shims (re-exporting from Core) so existing code will not break, but you should migrate to importing from @microsoft/applicationinsights-core-js directly:
@microsoft/applicationinsights-common— All exports have been merged into@microsoft/applicationinsights-core-js. The package is now a compatibility shim. See the Migration Guide for details. This package will be removed in a future major release (4.0.0).@microsoft/1ds-core-js— All exports have been merged into@microsoft/applicationinsights-core-js. See the 1DS Core Migration Guide for migration steps. This package will be removed in a future major release (4.0.0).
Interface Changes
- The
IDistributedTraceContextinterface has been significantly expanded to include W3C trace state management capabilities, which may affect custom telemetry processors that interact with distributed tracing context. - The
TelemetryTraceclass has been removed. ThetelemetryTraceproperty is now an adapter to the existingcore.getTraceCtx()value and is marked as deprecated. - The internal
ajaxRecordclass has been removed from@microsoft/applicationinsights-dependencies-jsand replaced with theIAjaxRecordDatainterface. - The
flushmethod parameter was renamed fromasynctoisAsyncin theIChannelControlsinterface.
Significant New Features in Application Insights 3.4.1
- W3C Trace State support with new distributed tracing modes (
AI_AND_W3C_TRACE,W3C_TRACE) - OpenTelemetry integration preparation with foundational interfaces
- Enhanced cookie management with in-memory caching when cookies are disabled
For full details see the Application Insights JS 3.4.1 release notes.
Changelog
- Update to Application Insights ^3.4.1
- #123 v3.0.2 (next: ITelemetryPluginChain | ITelemetryPlugin) => void' is not assignable to type '(next: ITelemetryPlugin | ITelemetryPluginChain) => void'
- #238 Bump flatted from 3.2.9 to 3.4.2
- #240 Bump lodash in /sample/applicationinsights-angularplugin-sample
- #241 Bump lodash from 4.17.21 to 4.18.1
- #226 Fix vulnerable dependencies
- #212 Bump on-headers and compression
- Update dependency overrides to address known security vulnerabilities (tar, serialize-javascript, basic-ftp)
Application Insights Full Changelog: microsoft/ApplicationInsights-JS@3.3.11...3.4.1
What's Changed
- Bump on-headers and compression in /sample/applicationinsights-angularplugin-sample by @dependabot[bot] in #212
- Fix vulnerable dependencies by @hectorhdzg in #226
- Bump lodash from 4.17.21 to 4.18.1 by @dependabot[bot] in #241
- Bump lodash from 4.17.21 to 4.18.1 in /sample/applicationinsights-angularplugin-sample by @dependabot[bot] in #240
- Bump flatted from 3.2.9 to 3.4.2 by @dependabot[bot] in #238
- Bump basic-ftp from 5.0.5 to 5.2.0 by @dependabot[bot] in #230
- Bump rollup from 3.29.4 to 3.30.0 by @dependabot[bot] in #231
- [Release] Increase version to 15.4.0 (using Application Insights 3.4.1) by @MSNev in #248
New Contributors
- @hectorhdzg made their first contribution in #226
Full Changelog: 15.3.8...15.4.0