Skip to content

Commit

Permalink
[Release] Increase to version 2.5.6 (#1315)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSNev committed Jul 6, 2020
1 parent ac0cb83 commit 692f6fb
Show file tree
Hide file tree
Showing 29 changed files with 149 additions and 93 deletions.
25 changes: 24 additions & 1 deletion AISKU/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,29 @@
[![Build Status](https://travis-ci.org/microsoft/ApplicationInsights-JS.svg?branch=master)](https://travis-ci.org/microsoft/ApplicationInsights-JS)
[![npm version](https://badge.fury.io/js/%40microsoft%2Fapplicationinsights-web.svg)](https://badge.fury.io/js/%40microsoft%2Fapplicationinsights-web)


Application Insights SDK is a package that combines commonly used packages for Web scenarios.
Refer to [our GitHub page](https://github.com/microsoft/applicationinsights-js) for more details on getting started.

## CDN Version Release Summary (with Size tracking)

| Version | Full Size | Raw Minified | GZip Size
|---------|-----------|--------------|-------------
| 2.5.6: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.6.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.6.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.6.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.5.5: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.5.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.5.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.5.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.5.4: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.4.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.4.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.4.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.5.3: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.3.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.3.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.3.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.5.2: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.2.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.2.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.5.2.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.5.0 - 2.5.1 | Not Deployed to CDN | |
| 2.4.4: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.4.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.4.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.4.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.4.3: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.3.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.3.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.3.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.4.2: | Not Deployed to CDN
| 2.4.1: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.1.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.1.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.4.1.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.4.0: | Not Deployed to CDN
| 2.3.1: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.3.1.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.3.1.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.3.1.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.3.0: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.3.0.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.3.0.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.3.0.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.2.2: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.2.2.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.2.2.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.2.2.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.2.1: | Not Deployed to CDN
| 2.2.0: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.2.0.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.2.0.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.2.0.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.1.0: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.1.0.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.1.0.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.1.0.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.0.1: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.0.1.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.0.1.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.0.1.min.js.svg?compression=gzip&softmax=30000&max=35000)
| 2.0.0: | ![full size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.0.0.js.svg?label=full%20size&color=blue)| ![minified size size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.0.0.min.js.svg?label=minified%20size&color=darkorchid) | ![gzip size](https://img.badgesize.io/https://az416426.vo.msecnd.net/scripts/b/ai.2.0.0.min.js.svg?compression=gzip&softmax=30000&max=35000)
18 changes: 9 additions & 9 deletions AISKU/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web",
"version": "2.5.5",
"version": "2.5.6",
"description": "Microsoft Application Insights Javascript SDK API 1.0 beta",
"main": "dist/applicationinsights-web.js",
"module": "dist-esm/applicationinsights-web.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"nightwatch:done": "curl http://localhost:8000/_done"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.1.1",
"@microsoft/applicationinsights-rollup-es3" : "1.1.2",
"chromedriver": "^2.45.0",
"finalhandler": "^1.1.1",
"grunt": "1.0.1",
Expand All @@ -51,13 +51,13 @@
},
"dependencies": {
"@microsoft/dynamicproto-js": "^0.5.2",
"@microsoft/applicationinsights-shims" : "1.0.0",
"@microsoft/applicationinsights-analytics-js": "2.5.5",
"@microsoft/applicationinsights-channel-js": "2.5.5",
"@microsoft/applicationinsights-common": "2.5.5",
"@microsoft/applicationinsights-core-js": "2.5.5",
"@microsoft/applicationinsights-dependencies-js": "2.5.5",
"@microsoft/applicationinsights-properties-js": "2.5.5"
"@microsoft/applicationinsights-shims" : "1.0.1",
"@microsoft/applicationinsights-analytics-js": "2.5.6",
"@microsoft/applicationinsights-channel-js": "2.5.6",
"@microsoft/applicationinsights-common": "2.5.6",
"@microsoft/applicationinsights-core-js": "2.5.6",
"@microsoft/applicationinsights-dependencies-js": "2.5.6",
"@microsoft/applicationinsights-properties-js": "2.5.6"
},
"license": "MIT"
}
12 changes: 6 additions & 6 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.5.5",
"version": "2.5.6",
"description": "Microsoft Application Insights Javascript SDK core and channel",
"main": "dist/applicationinsights-web-basic.js",
"module": "dist-esm/index.js",
Expand All @@ -14,7 +14,7 @@
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.1.1",
"@microsoft/applicationinsights-rollup-es3" : "1.1.2",
"grunt": "1.0.1",
"globby": "^11.0.0",
"rollup-plugin-node-resolve": "^3.4.0",
Expand All @@ -28,10 +28,10 @@
},
"dependencies": {
"@microsoft/dynamicproto-js": "^0.5.2",
"@microsoft/applicationinsights-shims" : "1.0.0",
"@microsoft/applicationinsights-common": "2.5.5",
"@microsoft/applicationinsights-channel-js": "2.5.5",
"@microsoft/applicationinsights-core-js": "2.5.5"
"@microsoft/applicationinsights-shims" : "1.0.1",
"@microsoft/applicationinsights-common": "2.5.6",
"@microsoft/applicationinsights-channel-js": "2.5.6",
"@microsoft/applicationinsights-core-js": "2.5.6"
},
"peerDependencies": {
},
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ Most configuration fields are named such that they can be defaulted to falsey. A
| disableDataLossAnalysis | true | If false, internal telemetry sender buffers will be checked at startup for items not yet sent. |
| disableCorrelationHeaders | false | If false, the SDK will add two headers ('Request-Id' and 'Request-Context') to all dependency requests to correlate them with corresponding requests on the server side. Default is false. |
| correlationHeaderExcludedDomains | | Disable correlation headers for specific domains |
| correlationHeaderExcludePatterns | | Disable correlation headers using regular expressions |
| correlationHeaderDomains | | Enable correlation headers for specific domains |
| disableFlushOnBeforeUnload | false | Default false. If true, flush method will not be called when onBeforeUnload event triggers |
| enableSessionStorageBuffer | true | Default true. If true, the buffer with all unsent telemetry is stored in session storage. The buffer is restored on page load |
Expand Down
50 changes: 43 additions & 7 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,42 @@
# Releases

## 2.5.5
## 2.5.6 (Jul 6th, 2020)

### New (Beta) extension applicationinsights-debugplugin-js

- Created the initial extension to help developers understand, track, visualize and fix issues with events
- This extension injects a UI onto your page 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 address in the next few months (releases) as we build out the module. We had not originally 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.

## 2.5.5 (Jun 2nd, 2020)

### Updated React plugin to v3.0.0

Expand Down Expand Up @@ -30,7 +66,7 @@
- #1249 Identify whether the script is being consumed via the CDN or NPM package
- Several minor documentation updates

## 2.5.4
## 2.5.4 (Apr 7th, 2020)

### Changelog

Expand All @@ -44,27 +80,27 @@
- #1221 npm @microsoft/applicationinsights-web: license information missing in package.json
- #1191 [BUG] ICustomProperties does not support setting values

## 2.5.3
## 2.5.3 (Mar 25th, 2020)

### Changelog

- #1224 [BUG] When running in IE7/8 the app insights doesn't initialize and gets stuck in a loop (long running script)

## 2.5.2
## 2.5.2 (Mar 11th, 2020)

### Changelog

- #1217 [BUG] App Insights fails when the XHR object is not extensible (or frozen)
- #1186 [BUG] App Insights initialization setting 'enableAjaxErrorStatusText is not working #1218

## 2.5.1
## 2.5.1 (Mar 9th, 2020)

### Changelog

- #1210 [BUG] Typescript error when using @microsoft/applicationinsights-web 2.5.0 and "noImplicitAny"/"strict" option
- #1207 [BUG] The latest version 2.4.4 cannot connect front-end with back-end on the Application Map on Application Insights

## 2.5.0
## 2.5.0 (Mar 9th, 2020)

### Changelog

Expand Down Expand Up @@ -93,7 +129,7 @@ Configuration options
This has been enabled by default in the updated version.
It can be disabled by adding the ```disableExceptionCollection``` config value with a value of true.

## 2.4.4
## 2.4.4 (Feb 5th, 2020)

### Changelog

Expand Down
2 changes: 1 addition & 1 deletion SPO/AppInsightsExtensionSolutionSample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "gulp test"
},
"dependencies": {
"@microsoft/applicationinsights-web": "^2.5.5",
"@microsoft/applicationinsights-web": "^2.5.6",
"@microsoft/decorators": "1.10.0",
"@microsoft/sp-application-base": "1.10.0",
"@microsoft/sp-core-library": "1.10.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ export class SenderTests extends TestClass {
Assert.ok(baseData.ver);
Assert.equal(2, baseData.ver);

Assert.equal("javascript:2.5.5", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
Assert.equal("javascript:2.5.6", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
}
})

Expand Down
10 changes: 5 additions & 5 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.5.5",
"version": "2.5.6",
"description": "Microsoft Application Insights JavaScript SDK Channel",
"main": "dist/applicationinsights-channel-js.js",
"module": "dist-esm/applicationinsights-channel-js.js",
Expand All @@ -16,7 +16,7 @@
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.1.1",
"@microsoft/applicationinsights-rollup-es3" : "1.1.2",
"grunt": "1.0.1",
"grunt-contrib-qunit": "2.0.0",
"grunt-contrib-uglify": "3.1.0",
Expand All @@ -31,9 +31,9 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-shims" : "1.0.0",
"@microsoft/applicationinsights-core-js": "2.5.5",
"@microsoft/applicationinsights-common": "2.5.5"
"@microsoft/applicationinsights-shims" : "1.0.1",
"@microsoft/applicationinsights-core-js": "2.5.6",
"@microsoft/applicationinsights-common": "2.5.6"
},
"license": "MIT"
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const baseType: string = "baseType";
const baseData: string = "baseData";

export abstract class EnvelopeCreator {
public static Version = "2.5.5";
public static Version = "2.5.6";

protected static extractPropsAndMeasurements(data: { [key: string]: any }, properties: { [key: string]: any }, measurements: { [key: string]: any }) {
if (!CoreUtils.isNullOrUndefined(data)) {
Expand Down
8 changes: 4 additions & 4 deletions common/config/rush/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions extensions/applicationinsights-analytics-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-analytics-js",
"version": "2.5.5",
"version": "2.5.6",
"description": "Microsoft Application Insights Javascript SDK apis",
"main": "dist/applicationinsights-analytics-js.js",
"module": "dist-esm/applicationinsights-analytics-js.js",
Expand All @@ -18,8 +18,8 @@
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.1.1",
"@microsoft/applicationinsights-properties-js": "2.5.5",
"@microsoft/applicationinsights-rollup-es3" : "1.1.2",
"@microsoft/applicationinsights-properties-js": "2.5.6",
"typescript": "2.5.3",
"globby": "^11.0.0",
"rollup-plugin-node-resolve": "^3.4.0",
Expand All @@ -35,9 +35,9 @@
},
"dependencies": {
"@microsoft/dynamicproto-js": "^0.5.2",
"@microsoft/applicationinsights-shims" : "1.0.0",
"@microsoft/applicationinsights-core-js": "2.5.5",
"@microsoft/applicationinsights-common": "2.5.5"
"@microsoft/applicationinsights-shims" : "1.0.1",
"@microsoft/applicationinsights-core-js": "2.5.6",
"@microsoft/applicationinsights-common": "2.5.6"
},
"license": "MIT"
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function _dispatchEvent(target:EventTarget, evnt: Event) {
}

export class ApplicationInsights extends BaseTelemetryPlugin implements IAppInsights, IAppInsightsInternal {
public static Version = "2.5.5"; // Not currently used anywhere
public static Version = "2.5.6"; // Not currently used anywhere

public static getDefaultConfig(config?: IConfig): IConfig {
if (!config) {
Expand Down
Loading

0 comments on commit 692f6fb

Please sign in to comment.