[Release][Core] - Increase to version 2.5.10 (#1425)
This commit is contained in:
Родитель
28a6ed4524
Коммит
6ffa1bf934
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-web",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights Javascript SDK API 1.0 beta",
|
||||
"main": "dist/applicationinsights-web.js",
|
||||
"module": "dist-esm/applicationinsights-web.js",
|
||||
|
@ -52,12 +52,12 @@
|
|||
"dependencies": {
|
||||
"@microsoft/dynamicproto-js": "^1.1.0",
|
||||
"@microsoft/applicationinsights-shims" : "1.0.3",
|
||||
"@microsoft/applicationinsights-analytics-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-channel-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-common": "2.5.9",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-dependencies-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-properties-js": "2.5.9"
|
||||
"@microsoft/applicationinsights-analytics-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-channel-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-common": "2.5.10",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-dependencies-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-properties-js": "2.5.10"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-web-basic",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights Javascript SDK core and channel",
|
||||
"main": "dist/applicationinsights-web-basic.js",
|
||||
"module": "dist-esm/index.js",
|
||||
|
@ -29,9 +29,9 @@
|
|||
"dependencies": {
|
||||
"@microsoft/dynamicproto-js": "^1.1.0",
|
||||
"@microsoft/applicationinsights-shims" : "1.0.3",
|
||||
"@microsoft/applicationinsights-common": "2.5.9",
|
||||
"@microsoft/applicationinsights-channel-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.9"
|
||||
"@microsoft/applicationinsights-common": "2.5.10",
|
||||
"@microsoft/applicationinsights-channel-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
},
|
||||
|
|
22
RELEASES.md
22
RELEASES.md
|
@ -1,6 +1,26 @@
|
|||
# Releases
|
||||
|
||||
## 2.5.9 (September 5th, 2020)
|
||||
## 2.5.10 (November 16th, 2020)
|
||||
|
||||
### New extension @microsoft/applicationinsights-clickanalytics-js
|
||||
|
||||
Provides the ability to gather telemetry in Web pages to automatic track clicks using data meta tags.
|
||||
|
||||
### Changelog
|
||||
|
||||
- #1420 Fix issues with for..in usage with prototype extension libraries like ember.js and prototype.js
|
||||
- #1417 Adding nuspec for new Snippet nuget package
|
||||
- #1415 Update Publishing scripts to allow different container names -- replaces the cdn switch #1415
|
||||
- #1411 [BUG] - License file link is invalid #1411
|
||||
- #1410 Remove mention of resolution in Device Information
|
||||
- #1408 Update publish scripts to support a sub-container
|
||||
- #1409 Initial release of new Click Analytics Plugin
|
||||
- #1407 Adding logger during core constructor
|
||||
- #1403 [Feature Request] Snippet - Add an easier way to inject queue items as part of the snippet config (version 5 of snippet)
|
||||
- #1402 [BUG] "ReferenceError: method is not defined" from 2.5.5+
|
||||
- #420 CDN endpoint
|
||||
|
||||
## 2.5.9 (October 5th, 2020)
|
||||
|
||||
### Changelog
|
||||
|
||||
|
|
|
@ -379,7 +379,7 @@ export class SenderTests extends TestClass {
|
|||
QUnit.assert.ok(baseData.ver);
|
||||
QUnit.assert.equal(2, baseData.ver);
|
||||
|
||||
QUnit.assert.equal("javascript:2.5.9", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
|
||||
QUnit.assert.equal("javascript:2.5.10", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-channel-js",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights JavaScript SDK Channel",
|
||||
"main": "dist/applicationinsights-channel-js.js",
|
||||
"module": "dist-esm/applicationinsights-channel-js.js",
|
||||
|
@ -38,8 +38,8 @@
|
|||
"dependencies": {
|
||||
"@microsoft/dynamicproto-js": "^1.1.0",
|
||||
"@microsoft/applicationinsights-shims" : "1.0.3",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-common": "2.5.9"
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-common": "2.5.10"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ function _setValueIf<T>(target:T, field:keyof T, value:any) {
|
|||
}
|
||||
|
||||
export abstract class EnvelopeCreator {
|
||||
public static Version = "2.5.9";
|
||||
public static Version = "2.5.10";
|
||||
|
||||
protected static extractPropsAndMeasurements(data: { [key: string]: any }, properties: { [key: string]: any }, measurements: { [key: string]: any }) {
|
||||
if (!isNullOrUndefined(data)) {
|
||||
|
|
|
@ -64,6 +64,11 @@
|
|||
"from": "projects\\applicationinsights-channel-js.tgz",
|
||||
"resolved": "file:projects\\applicationinsights-channel-js.tgz"
|
||||
},
|
||||
"@rush-temp/applicationinsights-clickanalytics-js": {
|
||||
"version": "0.0.0",
|
||||
"from": "projects\\applicationinsights-clickanalytics-js.tgz",
|
||||
"resolved": "file:projects\\applicationinsights-clickanalytics-js.tgz"
|
||||
},
|
||||
"@rush-temp/applicationinsights-common": {
|
||||
"version": "0.0.0",
|
||||
"from": "projects\\applicationinsights-common.tgz",
|
||||
|
@ -150,9 +155,9 @@
|
|||
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz"
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "14.14.6",
|
||||
"version": "14.14.7",
|
||||
"from": "@types/node@*",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.6.tgz"
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.7.tgz"
|
||||
},
|
||||
"@types/qunit": {
|
||||
"version": "2.9.6",
|
||||
|
@ -1284,9 +1289,9 @@
|
|||
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz"
|
||||
},
|
||||
"is-core-module": {
|
||||
"version": "2.0.0",
|
||||
"from": "is-core-module@^2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.0.0.tgz"
|
||||
"version": "2.1.0",
|
||||
"from": "is-core-module@^2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz"
|
||||
},
|
||||
"is-data-descriptor": {
|
||||
"version": "0.1.4",
|
||||
|
@ -1624,9 +1629,9 @@
|
|||
}
|
||||
},
|
||||
"node-watch": {
|
||||
"version": "0.6.4",
|
||||
"from": "node-watch@0.6.4",
|
||||
"resolved": "https://registry.npmjs.org/node-watch/-/node-watch-0.6.4.tgz"
|
||||
"version": "0.7.0",
|
||||
"from": "node-watch@0.7.0",
|
||||
"resolved": "https://registry.npmjs.org/node-watch/-/node-watch-0.7.0.tgz"
|
||||
},
|
||||
"nopt": {
|
||||
"version": "3.0.6",
|
||||
|
@ -1855,14 +1860,14 @@
|
|||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz"
|
||||
},
|
||||
"qunit": {
|
||||
"version": "2.11.3",
|
||||
"version": "2.12.0",
|
||||
"from": "qunit@^2.9.1",
|
||||
"resolved": "https://registry.npmjs.org/qunit/-/qunit-2.11.3.tgz",
|
||||
"resolved": "https://registry.npmjs.org/qunit/-/qunit-2.12.0.tgz",
|
||||
"dependencies": {
|
||||
"commander": {
|
||||
"version": "6.0.0",
|
||||
"from": "commander@6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-6.0.0.tgz"
|
||||
"version": "6.2.0",
|
||||
"from": "commander@6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1982,9 +1987,9 @@
|
|||
"resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz"
|
||||
},
|
||||
"resolve": {
|
||||
"version": "1.18.1",
|
||||
"version": "1.19.0",
|
||||
"from": "resolve@^1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.18.1.tgz"
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz"
|
||||
},
|
||||
"resolve-url": {
|
||||
"version": "0.2.1",
|
||||
|
@ -2071,9 +2076,9 @@
|
|||
"resolved": "https://registry.npmjs.org/rollup-plugin-uglify/-/rollup-plugin-uglify-6.0.4.tgz",
|
||||
"dependencies": {
|
||||
"uglify-js": {
|
||||
"version": "3.11.5",
|
||||
"version": "3.11.6",
|
||||
"from": "uglify-js@^3.4.9",
|
||||
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.5.tgz"
|
||||
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.6.tgz"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-analytics-js",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights Javascript SDK apis",
|
||||
"main": "dist/applicationinsights-analytics-js.js",
|
||||
"module": "dist-esm/applicationinsights-analytics-js.js",
|
||||
|
@ -19,7 +19,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/applicationinsights-rollup-es3" : "1.1.3",
|
||||
"@microsoft/applicationinsights-properties-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-properties-js": "2.5.10",
|
||||
"typescript": "2.5.3",
|
||||
"globby": "^11.0.0",
|
||||
"rollup-plugin-node-resolve": "^3.4.0",
|
||||
|
@ -36,8 +36,8 @@
|
|||
"dependencies": {
|
||||
"@microsoft/dynamicproto-js": "^1.1.0",
|
||||
"@microsoft/applicationinsights-shims" : "1.0.3",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-common": "2.5.9"
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-common": "2.5.10"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ function _dispatchEvent(target:EventTarget, evnt: Event) {
|
|||
}
|
||||
|
||||
export class ApplicationInsights extends BaseTelemetryPlugin implements IAppInsights, IAppInsightsInternal {
|
||||
public static Version = "2.5.9"; // Not currently used anywhere
|
||||
public static Version = "2.5.10"; // Not currently used anywhere
|
||||
|
||||
public static getDefaultConfig(config?: IConfig): IConfig {
|
||||
if (!config) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-clickanalytics-js",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights Click Analytics extension",
|
||||
"main": "dist/applicationinsights-clickanalytics-js.js",
|
||||
"module": "dist-esm/applicationinsights-clickanalytics-js.js",
|
||||
|
@ -15,7 +15,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
|
||||
"@microsoft/applicationinsights-properties-js": "2.5.8",
|
||||
"@microsoft/applicationinsights-properties-js": "2.5.10",
|
||||
"typescript": "2.5.3",
|
||||
"globby": "^11.0.0",
|
||||
"rollup-plugin-node-resolve": "^3.4.0",
|
||||
|
@ -31,9 +31,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@microsoft/dynamicproto-js": "^1.0.0",
|
||||
"@microsoft/applicationinsights-shims": "1.0.2",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.8",
|
||||
"@microsoft/applicationinsights-common": "2.5.8"
|
||||
"@microsoft/applicationinsights-shims": "1.0.3",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-common": "2.5.10"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-debugplugin-js",
|
||||
"version": "2.5.9-beta",
|
||||
"version": "2.5.10-beta",
|
||||
"description": "Microsoft Application Insights Javascript SDK apis",
|
||||
"main": "dist/applicationinsights-debugplugin-js.js",
|
||||
"module": "dist-esm/applicationinsights-debugplugin-js.js",
|
||||
|
@ -33,8 +33,8 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@microsoft/dynamicproto-js": "^1.1.0",
|
||||
"@microsoft/applicationinsights-common": "2.5.9",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-common": "2.5.10",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-shims": "1.0.3"
|
||||
},
|
||||
"license": "MIT"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-dependencies-js",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights XHR dependencies plugin",
|
||||
"main": "dist/applicationinsights-dependencies-js.js",
|
||||
"module": "dist-esm/applicationinsights-dependencies-js.js",
|
||||
|
@ -35,8 +35,8 @@
|
|||
"dependencies": {
|
||||
"@microsoft/dynamicproto-js": "^1.1.0",
|
||||
"@microsoft/applicationinsights-shims" : "1.0.3",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-common": "2.5.9"
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-common": "2.5.10"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-properties-js",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights properties (Part A) plugin",
|
||||
"main": "dist/applicationinsights-properties-js.js",
|
||||
"module": "dist-esm/applicationinsights-properties-js.js",
|
||||
|
@ -33,8 +33,8 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@microsoft/applicationinsights-shims" : "1.0.3",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.9",
|
||||
"@microsoft/applicationinsights-common": "2.5.9"
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10",
|
||||
"@microsoft/applicationinsights-common": "2.5.10"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import { IInternal } from '@microsoft/applicationinsights-common';
|
||||
import { ITelemetryConfig } from '../Interfaces/ITelemetryConfig';
|
||||
|
||||
const Version = "2.5.9";
|
||||
const Version = "2.5.10";
|
||||
|
||||
export class Internal implements IInternal {
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ import {
|
|||
LoggingSeverity,
|
||||
_InternalMessageId,
|
||||
BaseTelemetryPlugin,
|
||||
IProcessTelemetryContext,
|
||||
objForEachKey
|
||||
IProcessTelemetryContext//,
|
||||
// objForEachKey
|
||||
} from '@microsoft/applicationinsights-core-js';
|
||||
import { ConfigurationManager, IDevice, IExceptionTelemetry, IAppInsights, SeverityLevel, AnalyticsPluginIdentifier } from '@microsoft/applicationinsights-common';
|
||||
import DeviceInfo from 'react-native-device-info';
|
||||
|
@ -21,6 +21,24 @@ import DeviceInfo from 'react-native-device-info';
|
|||
import { INativeDevice, IReactNativePluginConfig } from './Interfaces';
|
||||
import dynamicProto from '@microsoft/dynamicproto-js';
|
||||
|
||||
|
||||
/**
|
||||
* This is a helper function for the equivalent of arForEach(objKeys(target), callbackFn), this is a
|
||||
* performance optimization to avoid the creation of a new array for large objects
|
||||
* @param target The target object to find and process the keys
|
||||
* @param callbackfn The function to call with the details
|
||||
*/
|
||||
export function objForEachKey(target: any, callbackfn: (name: string, value: any) => void) {
|
||||
if (target && CoreUtils.isObject(target)) {
|
||||
for (let prop in target) {
|
||||
if (CoreUtils.hasOwnProperty(target, prop)) {
|
||||
callbackfn.call(target, prop, target[prop]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export class ReactNativePlugin extends BaseTelemetryPlugin {
|
||||
|
||||
identifier: string = 'AppInsightsReactNativePlugin';
|
||||
|
|
|
@ -46,6 +46,11 @@
|
|||
"projectFolder": "extensions/applicationinsights-analytics-js",
|
||||
"shouldPublish": true
|
||||
},
|
||||
{
|
||||
"packageName": "@microsoft/applicationinsights-clickanalytics-js",
|
||||
"projectFolder": "extensions/applicationinsights-clickanalytics-js",
|
||||
"shouldPublish": true
|
||||
},
|
||||
{
|
||||
"packageName": "@microsoft/applicationinsights-channel-js",
|
||||
"projectFolder": "channels/applicationinsights-channel-js",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-common",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights Common JavaScript Library",
|
||||
"main": "./dist/applicationinsights-common.js",
|
||||
"module": "./dist-esm/applicationinsights-common.js",
|
||||
|
@ -34,7 +34,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@microsoft/applicationinsights-shims" : "1.0.3",
|
||||
"@microsoft/applicationinsights-core-js": "2.5.9"
|
||||
"@microsoft/applicationinsights-core-js": "2.5.10"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@microsoft/applicationinsights-core-js",
|
||||
"author": "Microsoft Corporation",
|
||||
"version": "2.5.9",
|
||||
"version": "2.5.10",
|
||||
"description": "Microsoft Application Insights Core Javascript SDK",
|
||||
"keywords": [
|
||||
"azure",
|
||||
|
|
Загрузка…
Ссылка в новой задаче