Skip to content

Commit

Permalink
Merge pull request #958 from microsoft/marwolff/release-2.1.0
Browse files Browse the repository at this point in the history
^minor: bump to 2.1.0
  • Loading branch information
hectorhdzg authored Jul 5, 2019
2 parents 0702088 + 63e380d commit 0666cc2
Show file tree
Hide file tree
Showing 16 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ Most configuration fields are named such that they can be defaulted to falsey. A
| appId | null | AppId is used for the correlation between AJAX dependencies happening on the client-side with the server-side requests. When Beacon API is enabled, it cannot be used automatically, but can be set manually in the configuration. Default is null |
| enableCorsCorrelation | false | If true, the SDK will add two headers ('Request-Id' and 'Request-Context') to all CORS requests tocorrelate outgoing AJAX dependencies with corresponding requests on the server side. Default is false |
| namePrefix | undefined | An optional value that will be used as name postfix for localStorage and cookie name.
<!-- | enableAutoRouteTracking | false | Automatically track route changes in Single Page Applications (SPA). If true, each route change will send a new Pageview to Application Insights. Hash route changes changes (`example.com/foo#bar`) are also recorded as new page views. -->
| enableAutoRouteTracking | false | Automatically track route changes in Single Page Applications (SPA). If true, each route change will send a new Pageview to Application Insights. Hash route changes changes (`example.com/foo#bar`) are also recorded as new page views.

## Single Page Applications

By default, this SDK will **not** handle state based route changing that occurs in single page applications unless you use a plugin designed for your frontend framework (Angular, React, Vue, etc). <!-- To enable enable automatic route change tracking for your single page application, you can add `enableAutoRouteTracking: true` to the setup configuration. -->
By default, this SDK will **not** handle state based route changing that occurs in single page applications. To enable enable automatic route change tracking for your single page application, you can add `enableAutoRouteTracking: true` to your setup configuration.

Currently, we support a separate [React plugin](#available-extensions-for-the-sdk) which you can initialize with this SDK. It will also accomplish route change tracking for you, as well as collect [other React specific telemetry](./vNext/extensions/applicationinsights-react-js).
```
Expand Down
14 changes: 7 additions & 7 deletions vNext/AISKU/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web",
"version": "2.0.1",
"version": "2.1.0",
"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 @@ -44,12 +44,12 @@
"grunt-tslint": "^5.0.2"
},
"dependencies": {
"@microsoft/applicationinsights-analytics-js": "2.0.1",
"@microsoft/applicationinsights-channel-js": "2.0.1",
"@microsoft/applicationinsights-common": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.0.1",
"@microsoft/applicationinsights-dependencies-js": "2.0.1",
"@microsoft/applicationinsights-properties-js": "2.0.1"
"@microsoft/applicationinsights-analytics-js": "2.1.0",
"@microsoft/applicationinsights-channel-js": "2.1.0",
"@microsoft/applicationinsights-common": "2.1.0",
"@microsoft/applicationinsights-core-js": "2.1.0",
"@microsoft/applicationinsights-dependencies-js": "2.1.0",
"@microsoft/applicationinsights-properties-js": "2.1.0"
},
"peerDependencies": {
"tslib": "^1.9.3"
Expand Down
2 changes: 1 addition & 1 deletion vNext/AISKU/src/Initialization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class Initialization implements IApplicationInsights {
// ensure instrumentationKey is specified
if (config && !config.instrumentationKey) {
config = <any>snippet;
ApplicationInsights.Version = "2.0.1"; // Not currently used anywhere
ApplicationInsights.Version = "2.1.0"; // Not currently used anywhere
}

this.appInsights = new ApplicationInsights();
Expand Down
8 changes: 4 additions & 4 deletions vNext/AISKULight/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web-basic",
"version": "2.0.1",
"version": "2.1.0",
"description": "Microsoft Application Insights Javascript SDK core and channel",
"main": "dist/applicationinsights-web-basic.js",
"module": "dist-esm/index.js",
Expand All @@ -22,9 +22,9 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-common": "2.0.1",
"@microsoft/applicationinsights-channel-js": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.0.1"
"@microsoft/applicationinsights-common": "2.1.0",
"@microsoft/applicationinsights-channel-js": "2.1.0",
"@microsoft/applicationinsights-core-js": "2.1.0"
},
"peerDependencies": {
"tslib": "^1.9.3"
Expand Down
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.0.1"}],
tags: [{"ai.internal.sdkVersion": "javascript:2.1.0"}],
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.0.1", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
Assert.equal("javascript:2.1.0", 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.0.1", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
Assert.equal("javascript:2.1.0", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);

}
})
Expand Down
6 changes: 3 additions & 3 deletions vNext/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.0.1",
"version": "2.1.0",
"description": "Microsoft Application Insights JavaScript SDK Channel",
"main": "dist/applicationinsights-channel-js.js",
"module": "dist-esm/applicationinsights-channel-js.js",
Expand Down Expand Up @@ -28,8 +28,8 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.0.1",
"@microsoft/applicationinsights-common": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.1.0",
"@microsoft/applicationinsights-common": "2.1.0",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const baseType: string = "baseType";
const baseData: string = "baseData";

export abstract class EnvelopeCreator {
public static Version = "2.0.1";
public static Version = "2.1.0";
protected _logger: IDiagnosticLogger;

abstract Create(logger: IDiagnosticLogger, telemetryItem: ITelemetryItem): IEnvelope;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-analytics-js",
"version": "2.0.1",
"version": "2.1.0",
"description": "Microsoft Application Insights Javascript SDK apis",
"main": "dist/applicationinsights-analytics-js.js",
"module": "dist-esm/applicationinsights-analytics-js.js",
Expand All @@ -17,7 +17,7 @@
"test": "grunt aitests"
},
"devDependencies": {
"@microsoft/applicationinsights-properties-js": "2.0.1",
"@microsoft/applicationinsights-properties-js": "2.1.0",
"typescript": "2.5.3",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
Expand All @@ -29,8 +29,8 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.0.1",
"@microsoft/applicationinsights-common": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.1.0",
"@microsoft/applicationinsights-common": "2.1.0",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import * as properties from "@microsoft/applicationinsights-properties-js";
const durationProperty: string = "duration";

export class ApplicationInsights implements IAppInsights, ITelemetryPlugin, IAppInsightsInternal {
public static Version = "2.0.1"; // Not currently used anywhere
public static Version = "2.1.0"; // Not currently used anywhere
public initialize: (config: IConfiguration, core: IAppInsightsCore, extensions: IPlugin[]) => void;
public identifier: string = "ApplicationInsightsAnalytics"; // do not change name or priority
public priority: number = 180; // take from reserved priority range 100- 200
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-dependencies-js",
"version": "2.0.1",
"version": "2.1.0",
"description": "Microsoft Application Insights XHR dependencies plugin",
"main": "dist/applicationinsights-dependencies-js.js",
"module": "dist-esm/applicationinsights-dependencies-js.js",
Expand Down Expand Up @@ -28,8 +28,8 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.0.1",
"@microsoft/applicationinsights-common": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.1.0",
"@microsoft/applicationinsights-common": "2.1.0",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-properties-js",
"version": "2.0.1",
"version": "2.1.0",
"description": "Microsoft Application Insights properties (Part A) plugin",
"main": "dist/applicationinsights-properties-js.js",
"module": "dist-esm/applicationinsights-properties-js.js",
Expand Down Expand Up @@ -28,8 +28,8 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.0.1",
"@microsoft/applicationinsights-common": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.1.0",
"@microsoft/applicationinsights-common": "2.1.0",
"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.0.1";
const Version = "2.1.0";

export class Internal implements IInternal {

Expand Down
6 changes: 3 additions & 3 deletions vNext/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.0.2",
"version": "2.1.0",
"description": "Microsoft Application Insights React plugin",
"main": "dist/applicationinsights-react-js.js",
"module": "dist-esm/applicationinsights-react-js.js",
Expand Down Expand Up @@ -38,8 +38,8 @@
"typescript": "2.5.3"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.0.1",
"@microsoft/applicationinsights-common": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.1.0",
"@microsoft/applicationinsights-common": "2.1.0",
"tslib": "^1.9.3",
"react": "^16.8.6",
"history": "^4.9.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-react-native",
"version": "1.0.2",
"version": "1.0.3",
"description": "Microsoft Application Insights React Native Plugin",
"main": "dist-esm/index.js",
"types": "dist-esm/index.d.ts",
Expand Down Expand Up @@ -31,8 +31,8 @@
},
"dependencies": {
"react-native-device-info": "^2.0.2",
"@microsoft/applicationinsights-core-js": "^2.0.1",
"@microsoft/applicationinsights-common": "^2.0.1",
"@microsoft/applicationinsights-core-js": "^2.1.0",
"@microsoft/applicationinsights-common": "^2.1.0",
"tslib": "^1.9.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions vNext/shared/AppInsightsCommon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-common",
"version": "2.0.1",
"version": "2.1.0",
"description": "Microsoft Application Insights Common JavaScript Library",
"main": "./dist/applicationinsights-common.js",
"module": "./dist-esm/applicationinsights-common.js",
Expand Down Expand Up @@ -30,7 +30,7 @@
"rollup": "^0.66.0"
},
"dependencies": {
"@microsoft/applicationinsights-core-js": "2.0.1",
"@microsoft/applicationinsights-core-js": "2.1.0",
"tslib": "^1.9.3"
},
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion vNext/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.0.1",
"version": "2.1.0",
"description": "Microsoft Application Insights Core Javascript SDK",
"keywords": [
"azure",
Expand Down

0 comments on commit 0666cc2

Please sign in to comment.