Skip to content

Commit add2d20

Browse files
authored
[Release] Increase version to 4.4.0 (Using ApplicationInsights 3.4.1) (#84)
1 parent 3363df0 commit add2d20

10 files changed

Lines changed: 972 additions & 723 deletions

File tree

.aiAutoMinify.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@
99
"SendRequestReason",
1010
"TelemetryUnloadReason",
1111
"TelemetryUpdateReason",
12-
"GetExtCfgMergeType"
13-
]
14-
},
15-
"@microsoft/applicationinsights-perfmarkmeasure-js": {
16-
"constEnums": []
17-
},
18-
"@microsoft/applicationinsights-common": {
19-
"constEnums": [
12+
"GetExtCfgMergeType",
2013
"eStorageType",
2114
"FieldType",
2215
"eDistributedTracingModes",
@@ -28,6 +21,9 @@
2821
"DataSanitizerValues"
2922
]
3023
},
24+
"@microsoft/applicationinsights-perfmarkmeasure-js": {
25+
"constEnums": []
26+
},
3127
"@microsoft/applicationinsights-properties-js": {
3228
"constEnums": []
3329
},

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ any previously configured value.
135135

136136
| Version | Application Insights | React Native | Branch
137137
|---------|-----------------------|----------------------|-----------
138+
| 4.4.0 | ^3.4.1 | *<br/>dev:^0.69.9 | [main](https://github.com/microsoft/applicationinsights-react-native)
138139
| 4.3.8 | ^3.3.10 | *<br/>dev:^0.69.9 | [main](https://github.com/microsoft/applicationinsights-react-native)
139140
| 4.3.7 | ^3.3.9 | *<br/>dev:^0.69.9 | [main](https://github.com/microsoft/applicationinsights-react-native)
140141
| 4.3.6 | ^3.3.6 | *<br/>dev:^0.69.9 | [main](https://github.com/microsoft/applicationinsights-react-native)
@@ -152,7 +153,7 @@ any previously configured value.
152153
| 4.0.1 | ^3.0.3 | *<br/>dev:^0.69.9 | [main](https://github.com/microsoft/applicationinsights-react-native)
153154
| 4.0.0 | ^3.0.2 | *<br/>dev:^0.69.9 | [main](https://github.com/microsoft/applicationinsights-react-native)
154155
| 3.0.3 | ^2.8.14 | *<br/>dev:^0.69.9 | [release3.x](https://github.com/microsoft/applicationinsights-react-native/tree/release3.x)
155-
| 3.0.2 | ^2.8.12 | *<br/>dev:^0.69.9 | [main](https://github.com/microsoft/applicationinsights-react-native)
156+
| 3.0.2 | ^2.8.14 | *<br/>dev:^0.69.9 | [main](https://github.com/microsoft/applicationinsights-react-native)
156157
| 3.0.1 | ^2.8.10 | *<br/>dev:^0.69.8 | [main](https://github.com/microsoft/applicationinsights-react-native)
157158
| 3.0.0 | ^2.8.5 | *<br/>dev:^0.69.3 | [main](https://github.com/microsoft/applicationinsights-react-native)
158159
| 2.5.6 | ^2.8.5 | *<br/>dev:^0.68.0 | [main](https://github.com/microsoft/applicationinsights-react-native) <-- First release from this repo

RELEASES.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# Releases
22

3+
## 4.4.0 (April 8th, 2026)
4+
5+
### Potential Breaking Changes (from @microsoft/applicationinsights-web v3.4.1)
6+
7+
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.
8+
9+
This version is NOT supported on any earlier versions of Application Insights.
10+
11+
#### Package Deprecation
12+
13+
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:
14+
15+
- **`@microsoft/applicationinsights-common`** — All exports have been merged into `@microsoft/applicationinsights-core-js`. The package is now a compatibility shim. See the [Migration Guide](https://github.com/microsoft/ApplicationInsights-JS/blob/main/docs/upgrade/MergeCommonToCore.md) for details. This package will be removed in a future major release (4.0.0).
16+
- **`@microsoft/1ds-core-js`** — All exports have been merged into `@microsoft/applicationinsights-core-js`. See the [1DS Core Migration Guide](https://github.com/microsoft/ApplicationInsights-JS/blob/main/shared/1ds-core-js/README.md) for migration steps. This package will be removed in a future major release (4.0.0).
17+
18+
#### Interface Changes
19+
20+
- The `IDistributedTraceContext` interface has been significantly expanded to include W3C trace state management capabilities, which may affect custom telemetry processors that interact with distributed tracing context.
21+
- The `TelemetryTrace` class has been removed. The `telemetryTrace` property is now an adapter to the existing `core.getTraceCtx()` value and is marked as deprecated.
22+
- The internal `ajaxRecord` class has been removed from `@microsoft/applicationinsights-dependencies-js` and replaced with the `IAjaxRecordData` interface.
23+
- The `flush` method parameter was renamed from `async` to `isAsync` in the `IChannelControls` interface.
24+
25+
#### Significant New Features in Application Insights 3.4.1
26+
27+
- W3C Trace State support with new distributed tracing modes (`AI_AND_W3C_TRACE`, `W3C_TRACE`)
28+
- OpenTelemetry integration preparation with foundational interfaces
29+
- Enhanced cookie management with in-memory caching when cookies are disabled
30+
31+
For full details see the [Application Insights JS 3.4.1 release notes](https://github.com/microsoft/ApplicationInsights-JS/blob/main/RELEASES.md#341-april-7th-2026).
32+
33+
### Changelog
34+
35+
- Update to Application Insights ^3.4.1
36+
- Migrate imports from `@microsoft/applicationinsights-common` to `@microsoft/applicationinsights-core-js`
37+
- Remove `@microsoft/applicationinsights-common` as a direct dependency
38+
- Update dependency overrides to address known security vulnerabilities (tar, serialize-javascript, basic-ftp)
39+
40+
**Application Insights Full Changelog**: https://github.com/microsoft/ApplicationInsights-JS/compare/3.3.11...3.4.1
41+
342
## 4.3.8 (Sept 24th, 2025)
443

544
### Changelog

applicationinsights-react-native/Tests/UnitTests.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
// Load Core
3939
modules.add("@microsoft/applicationinsights-core-js", "./node_modules/@microsoft/applicationinsights-core-js/browser/es5/applicationinsights-core-js");
4040

41-
// Load Common
42-
modules.add("@microsoft/applicationinsights-common", "./node_modules/@microsoft/applicationinsights-common/browser/es5/applicationinsights-common");
43-
4441
modules.add("react-native");
4542

4643
// Load React native device info

applicationinsights-react-native/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/applicationinsights-react-native",
3-
"version": "4.3.8",
3+
"version": "4.4.0",
44
"description": "Microsoft Application Insights React Native Plugin",
55
"main": "dist-esm/index.js",
66
"exports": {
@@ -80,15 +80,16 @@
8080
"@types/node": "24.0.14"
8181
},
8282
"dependencies": {
83-
"@microsoft/applicationinsights-common": "^3.3.10",
84-
"@microsoft/applicationinsights-core-js": "^3.3.10",
83+
"@microsoft/applicationinsights-core-js": "^3.4.1",
8584
"@microsoft/applicationinsights-shims": "^3.0.1",
8685
"@microsoft/dynamicproto-js": "^2.0.3",
8786
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
8887
},
8988
"overrides": {
90-
"form-data": "^2.5.4",
91-
"tar": "^7.5.3"
89+
"basic-ftp": ">=5.2.0",
90+
"form-data": "^2.5.5",
91+
"tar": "^7.5.13",
92+
"minimatch": "^3.1.4"
9293
},
9394
"peerDependencies": {
9495
"tslib": "*",

applicationinsights-react-native/src/ReactNativeManualDevicePlugin.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
// Licensed under the MIT License.
33

44
import dynamicProto from "@microsoft/dynamicproto-js";
5-
import {
6-
AnalyticsPluginIdentifier, IAppInsights, IDevice, IExceptionTelemetry, eSeverityLevel
7-
} from "@microsoft/applicationinsights-common";
85
import {
96
BaseTelemetryPlugin, IAppInsightsCore, IConfigDefaults, IPlugin, IProcessTelemetryContext, IProcessTelemetryUnloadContext, ITelemetryItem,
107
ITelemetryPlugin, ITelemetryUnloadState, _eInternalMessageId, _throwInternal, _warnToConsole, arrForEach, dumpObj, eLoggingSeverity,
11-
getExceptionName, onConfigChange
8+
getExceptionName, onConfigChange,
9+
AnalyticsPluginIdentifier, IAppInsights, IDevice, IExceptionTelemetry, eSeverityLevel
1210
} from "@microsoft/applicationinsights-core-js";
1311
import { getGlobal, strShimUndefined } from "@microsoft/applicationinsights-shims";
1412
import { INativeDevice, IReactNativePluginConfig } from "./Interfaces";

0 commit comments

Comments
 (0)