Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into beta (#1772)
Browse files Browse the repository at this point in the history
* Additional Performance enhancements to use provided functions rather than internal polyfill's (#1758)

* [BUG] 2.7.4-nightly.2202-03 builds have a bug where objKeys() is not returning the keys #1763 (#1764)

* Update version.json (#1767)

* [Release] Increase version to 2.7.4 (#1770)

- 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()

* [Beta] Keep version.json next as minor and resync shrinkwrap
- Fix merge issue
  • Loading branch information
MSNev committed Mar 3, 2022
1 parent a703b17 commit 17bb23e
Show file tree
Hide file tree
Showing 26 changed files with 227 additions and 182 deletions.
1 change: 1 addition & 0 deletions AISKU/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Refer to [our GitHub page](https://github.com/microsoft/applicationinsights-js)
| Version | Full Size | Raw Minified | GZip Size
|---------|-----------|--------------|-------------
| <nightly> | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/nightly/ai.2-nightly.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/nightly/ai.2-nightly.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/nightly/ai.2-nightly.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/nightly/ai.2-nightly.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.7.4: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.4.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.4.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.4.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.4.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.7.3: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.3.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.3.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.3.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.3.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.7.2: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.2.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.2.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.2.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.2.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.7.1: | [![full size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.1.js.svg?label=full%20size&color=blue)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.1.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.1.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.7.1.min.js.svg?compression=gzip&softmax=30000&max=35000)
Expand Down
2 changes: 1 addition & 1 deletion AISKU/Tests/Perf/src/AISKUPerf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class AppInsightsInitPerfTestClass {
* should update version after new release
* version with doperf(): after 2.5.6
* */
var defaultVer = "2.7.3";
var defaultVer = "2.7.4";
this.version = ver? ver:this._getQueryParameterVersion(defaultVer);
this.perfEventsBuffer = [];
this.perfEventWaitBuffer = [];
Expand Down
14 changes: 7 additions & 7 deletions AISKU/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web",
"version": "2.7.3",
"version": "2.7.4",
"description": "Microsoft Application Insights JavaScript SDK - Web",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
Expand Down Expand Up @@ -66,12 +66,12 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.1",
"@microsoft/applicationinsights-analytics-js": "2.7.3",
"@microsoft/applicationinsights-channel-js": "2.7.3",
"@microsoft/applicationinsights-common": "2.7.3",
"@microsoft/applicationinsights-core-js": "2.7.3",
"@microsoft/applicationinsights-dependencies-js": "2.7.3",
"@microsoft/applicationinsights-properties-js": "2.7.3"
"@microsoft/applicationinsights-analytics-js": "2.7.4",
"@microsoft/applicationinsights-channel-js": "2.7.4",
"@microsoft/applicationinsights-common": "2.7.4",
"@microsoft/applicationinsights-core-js": "2.7.4",
"@microsoft/applicationinsights-dependencies-js": "2.7.4",
"@microsoft/applicationinsights-properties-js": "2.7.4"
},
"license": "MIT"
}
8 changes: 4 additions & 4 deletions AISKULight/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web-basic",
"version": "2.7.3",
"version": "2.7.4",
"description": "Microsoft Application Insights Javascript SDK core and channel",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
Expand Down Expand Up @@ -49,9 +49,9 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.1",
"@microsoft/applicationinsights-common": "2.7.3",
"@microsoft/applicationinsights-channel-js": "2.7.3",
"@microsoft/applicationinsights-core-js": "2.7.3"
"@microsoft/applicationinsights-common": "2.7.4",
"@microsoft/applicationinsights-channel-js": "2.7.4",
"@microsoft/applicationinsights-core-js": "2.7.4"
},
"license": "MIT"
}
25 changes: 25 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Releases

## 2.7.4 (Feb 28th, 2022)

- 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

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

## 2.7.3 (Jan 31st, 2022)

- Updates the @microsoft/applicationinsights-shims module to 2.0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ export class SenderTests extends AITestClass {
QUnit.assert.ok(baseData.ver);
QUnit.assert.equal(2, baseData.ver);

QUnit.assert.equal("javascript:2.7.3", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
QUnit.assert.equal("javascript:2.7.4", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
}
})

Expand Down
6 changes: 3 additions & 3 deletions channels/applicationinsights-channel-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-channel-js",
"version": "2.7.3",
"version": "2.7.4",
"description": "Microsoft Application Insights JavaScript SDK Channel",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
Expand Down Expand Up @@ -47,8 +47,8 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.7.3",
"@microsoft/applicationinsights-common": "2.7.3"
"@microsoft/applicationinsights-core-js": "2.7.4",
"@microsoft/applicationinsights-common": "2.7.4"
},
"license": "MIT"
}
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function EnvelopeCreatorInit(logger: IDiagnosticLogger, telemetryItem: ITelemetr
}

export const EnvelopeCreator = {
Version: "2.7.3"
Version: "2.7.4"
};

export function DependencyEnvelopeCreator(logger: IDiagnosticLogger, telemetryItem: ITelemetryItem, customUndefinedValue?: any): IEnvelope {
Expand Down
Loading

0 comments on commit 17bb23e

Please sign in to comment.