Skip to content

Commit

Permalink
Bunp Versions to AppInsights to 2.4.2 and rollup plugins to 1.1.0 (#1178
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MSNev committed Jan 31, 2020
1 parent e25abd7 commit 79e4473
Show file tree
Hide file tree
Showing 16 changed files with 61 additions and 51 deletions.
16 changes: 8 additions & 8 deletions AISKU/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web",
"version": "2.4.1",
"version": "2.4.2",
"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.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"chromedriver": "^2.45.0",
"finalhandler": "^1.1.1",
"grunt": "1.0.1",
Expand All @@ -49,12 +49,12 @@
"typescript": "2.5.3"
},
"dependencies": {
"@microsoft/applicationinsights-analytics-js": "2.4.1",
"@microsoft/applicationinsights-channel-js": "2.4.1",
"@microsoft/applicationinsights-common": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.1",
"@microsoft/applicationinsights-dependencies-js": "2.4.1",
"@microsoft/applicationinsights-properties-js": "2.4.1",
"@microsoft/applicationinsights-analytics-js": "2.4.2",
"@microsoft/applicationinsights-channel-js": "2.4.2",
"@microsoft/applicationinsights-common": "2.4.2",
"@microsoft/applicationinsights-core-js": "2.4.2",
"@microsoft/applicationinsights-dependencies-js": "2.4.2",
"@microsoft/applicationinsights-properties-js": "2.4.2",
"tslib": "^1.9.3"
}
}
10 changes: 5 additions & 5 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.4.1",
"version": "2.4.2",
"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.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"grunt": "1.0.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
Expand All @@ -26,9 +26,9 @@
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@microsoft/applicationinsights-common": "2.4.1",
"@microsoft/applicationinsights-channel-js": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.1"
"@microsoft/applicationinsights-common": "2.4.2",
"@microsoft/applicationinsights-channel-js": "2.4.2",
"@microsoft/applicationinsights-core-js": "2.4.2"
},
"peerDependencies": {
"tslib": "^1.9.3"
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
# Releases

## 2.4.2

### ES3 Support

An additional conversion was required for ES3 support as TypeScript was adding a getter for embedding a constant enum into the Common class.

### Changelog

- #1177 Add additional checks and polyfil for TypeScript get translations for constants

## v 2.4.1...2.4.0

### ES3 Support (Complete)
### ES3 Support

With this release the source files can be loaded in an ES3 environment (IE7/8) and send requests to the server. As part of this change you will now receive requests from users using an older browser, prior to this version users using an ES3 base browser will (most likely) have been getting a javascript error, which would have caused no data to be sent.

Expand Down
6 changes: 3 additions & 3 deletions channels/applicationinsights-channel-js/Tests/Sender.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export class SenderTests extends TestClass {
}

},
tags: [{"ai.internal.sdkVersion": "javascript:2.4.1"}],
tags: [{"ai.internal.sdkVersion": "javascript:2.4.2"}],
data: {
"property1": "val1",
"measurement1": 50.0,
Expand Down Expand Up @@ -305,7 +305,7 @@ export class SenderTests extends TestClass {
Assert.equal("d041d2e5fa834b4f9eee41ac163bf402", appInsightsEnvelope.tags["ai.session.id"]);
Assert.equal("browser", appInsightsEnvelope.tags["ai.device.id"]);
Assert.equal("Browser", appInsightsEnvelope.tags["ai.device.type"]);
Assert.equal("javascript:2.4.1", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
Assert.equal("javascript:2.4.2", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);

// Assert name
Assert.ok(appInsightsEnvelope.name);
Expand Down Expand Up @@ -375,7 +375,7 @@ export class SenderTests extends TestClass {
Assert.ok(baseData.ver);
Assert.equal(2, baseData.ver);

Assert.equal("javascript:2.4.1", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
Assert.equal("javascript:2.4.2", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);

}
})
Expand Down
8 changes: 4 additions & 4 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.4.1",
"version": "2.4.2",
"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.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"grunt": "1.0.1",
"grunt-contrib-qunit": "2.0.0",
"grunt-contrib-uglify": "3.1.0",
Expand All @@ -31,8 +31,8 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.4.1",
"@microsoft/applicationinsights-common": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.2",
"@microsoft/applicationinsights-common": "2.4.2",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
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.4.1";
public static Version = "2.4.2";

protected static extractPropsAndMeasurements(data: { [key: string]: any }, properties: { [key: string]: any }, measurements: { [key: string]: any }) {
if (!CoreUtils.isNullOrUndefined(data)) {
Expand Down
10 changes: 5 additions & 5 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.4.1",
"version": "2.4.2",
"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.0.0",
"@microsoft/applicationinsights-properties-js": "2.4.1",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"@microsoft/applicationinsights-properties-js": "2.4.2",
"typescript": "2.5.3",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
Expand All @@ -33,8 +33,8 @@
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.4.1",
"@microsoft/applicationinsights-common": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.2",
"@microsoft/applicationinsights-common": "2.4.2",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function _dispatchEvent(target:EventTarget, evnt: Event) {
}

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

public static getDefaultConfig(config?: IConfig): IConfig {
if (!config) {
Expand Down
8 changes: 4 additions & 4 deletions extensions/applicationinsights-angular-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-angular-js",
"version": "2.4.1",
"version": "2.4.2",
"description": "Microsoft Application Insights Angular plugin",
"main": "dist/applicationinsights-angular-js.js",
"module": "dist-esm/applicationinsights-angular-js.js",
Expand All @@ -18,7 +18,7 @@
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"@angular/core": "~8.1.2",
"@angular/router": "~8.1.2",
"grunt": "1.0.1",
Expand All @@ -38,8 +38,8 @@
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@microsoft/applicationinsights-common": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.1",
"@microsoft/applicationinsights-common": "2.4.2",
"@microsoft/applicationinsights-core-js": "2.4.2",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
8 changes: 4 additions & 4 deletions extensions/applicationinsights-dependencies-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-dependencies-js",
"version": "2.4.1",
"version": "2.4.2",
"description": "Microsoft Application Insights XHR dependencies plugin",
"main": "dist/applicationinsights-dependencies-js.js",
"module": "dist-esm/applicationinsights-dependencies-js.js",
Expand All @@ -18,7 +18,7 @@
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"typescript": "2.5.3",
"grunt": "1.0.1",
"grunt-contrib-qunit": "2.0.0",
Expand All @@ -32,8 +32,8 @@
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.4.1",
"@microsoft/applicationinsights-common": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.2",
"@microsoft/applicationinsights-common": "2.4.2",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
8 changes: 4 additions & 4 deletions extensions/applicationinsights-properties-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-properties-js",
"version": "2.4.1",
"version": "2.4.2",
"description": "Microsoft Application Insights properties (Part A) plugin",
"main": "dist/applicationinsights-properties-js.js",
"module": "dist-esm/applicationinsights-properties-js.js",
Expand All @@ -18,7 +18,7 @@
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"typescript": "2.5.3",
"grunt": "1.0.1",
"grunt-contrib-qunit": "2.0.0",
Expand All @@ -32,8 +32,8 @@
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.4.1",
"@microsoft/applicationinsights-common": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.2",
"@microsoft/applicationinsights-common": "2.4.2",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { IInternal } from '@microsoft/applicationinsights-common';
import { ITelemetryConfig } from '../Interfaces/ITelemetryConfig';

const Version = "2.4.1";
const Version = "2.4.2";

export class Internal implements IInternal {

Expand Down
8 changes: 4 additions & 4 deletions extensions/applicationinsights-react-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-react-js",
"version": "2.4.1",
"version": "2.4.2",
"description": "Microsoft Application Insights React plugin",
"main": "dist/applicationinsights-react-js.js",
"module": "dist-esm/applicationinsights-react-js.js",
Expand All @@ -19,7 +19,7 @@
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"@types/node": "11.13.2",
"@types/enzyme": "3.1.8",
"@types/history": "4.7.2",
Expand All @@ -42,8 +42,8 @@
"tslint-config-prettier": "^1.18.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.4.1",
"@microsoft/applicationinsights-common": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.2",
"@microsoft/applicationinsights-common": "2.4.2",
"tslib": "^1.9.3",
"react": "^16.8.6",
"history": "^4.9.0"
Expand Down
6 changes: 3 additions & 3 deletions shared/AppInsightsCommon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-common",
"version": "2.4.1",
"version": "2.4.2",
"description": "Microsoft Application Insights Common JavaScript Library",
"main": "./dist/applicationinsights-common.js",
"module": "./dist-esm/applicationinsights-common.js",
Expand All @@ -18,7 +18,7 @@
"lint": "tslint -p tsconfig.json"
},
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"grunt": "1.0.1",
"grunt-contrib-qunit": "2.0.0",
"grunt-contrib-uglify": "3.1.0",
Expand All @@ -33,7 +33,7 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.4.1",
"@microsoft/applicationinsights-core-js": "2.4.2",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
4 changes: 2 additions & 2 deletions shared/AppInsightsCore/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@microsoft/applicationinsights-core-js",
"author": "Microsoft Corporation",
"version": "2.4.1",
"version": "2.4.2",
"description": "Microsoft Application Insights Core Javascript SDK",
"keywords": [
"azure",
Expand Down Expand Up @@ -30,7 +30,7 @@
"license": "MIT",
"sideEffects": false,
"devDependencies": {
"@microsoft/applicationinsights-rollup-es3" : "1.0.0",
"@microsoft/applicationinsights-rollup-es3" : "1.1.0",
"grunt": "1.0.1",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-qunit": "2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tools/rollup-es3/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@microsoft/applicationinsights-rollup-es3",
"author": "Microsoft Corporation",
"version": "1.0.0",
"version": "1.1.0",
"description": "Microsoft Application Insights JavaScript SDK - Rollup Plugin for ES3 support",
"keywords": [
"azure",
Expand Down

0 comments on commit 79e4473

Please sign in to comment.