[Release][Core] Increase version to 2.7.0 (#1663)

[Release][React] Increase version to 3.2.0
[Release][ReactNative] Increase version to 2.4.0
- Remove unused actions
This commit is contained in:
Nev 2021-09-08 11:09:38 -07:00 коммит произвёл GitHub
Родитель fcef0e0464
Коммит a5b6e05d04
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
25 изменённых файлов: 1170 добавлений и 1050 удалений

33
.github/workflows/react.yml поставляемый
Просмотреть файл

@ -1,33 +0,0 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: React CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
defaults:
run:
shell: bash
working-directory: extensions/applicationinsights-react-js
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# - run: npm install
# - run: npm run build --if-present
# - run: npm test

37
.github/workflows/reactnative.yml поставляемый
Просмотреть файл

@ -1,37 +0,0 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: React Native CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# - name: Install root dependencies
# run: npm install
# - name: Install ReactNative plugin dependencies
# working-directory: extensions/applicationinsights-react-native
# run: npm install
# - name: Build ReactNative plugin
# working-directory: extensions/applicationinsights-react-native
# run: npm run build --if-present
# - name: Run tests for ReactNative plugin
# working-directory: extensions/applicationinsights-react-native
# run: npm test

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights JavaScript SDK - Web",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -65,15 +65,12 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-analytics-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-channel-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0-beta.1",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-dependencies-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-properties-js": "2.7.0-beta.1"
"@microsoft/applicationinsights-analytics-js": "2.7.0",
"@microsoft/applicationinsights-channel-js": "2.7.0",
"@microsoft/applicationinsights-common": "2.7.0",
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-dependencies-js": "2.7.0",
"@microsoft/applicationinsights-properties-js": "2.7.0"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-web-basic",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights Javascript SDK core and channel",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -45,12 +45,9 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-common": "2.7.0-beta.1",
"@microsoft/applicationinsights-channel-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1"
"@microsoft/applicationinsights-common": "2.7.0",
"@microsoft/applicationinsights-channel-js": "2.7.0",
"@microsoft/applicationinsights-core-js": "2.7.0"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -1,16 +1,41 @@
# Releases
## 2.7.0 (General Release -- Not Yet Released)
## 2.7.0 (Sept 7th, 2021)
___Major change___: Upgrades build environment to TypeScript 4.x
[2.7.0-beta.1 Milestone](https://github.com/microsoft/ApplicationInsights-JS/)milestone/54
___Major change___: Upgrades build environment to TypeScript __4.x__
- No known breaking, configuration or definition changes
## Changelog
- #1640 [BUG] enableAjaxErrorStatusText: false (which is the default setting) does not turn off logging error response body
- #1642 trackEvent() doesn't allow replacing the iKey
- #1647 [BUG] customProperties parameter missing from trackException function
- #1648 Update error reporting when a plugin throws an exception
- #1650 [DebugPlugin] Add an option to disable DebugPlugin processTelemetry logging
- #1653 Some requests are returning a CORB error for responses containing text content type
- The warning is only being reported via the sendBeacon request, therefore not loss of events
- Changes the 'unload' operations to try and use fetch with keepalive if available, fallsback to sendBeacon()
- Also attempts to send as manay events as possible via sendBeacon, when the payload size is > 64kb
- #1656 [BUG] 'Cannot use 'in' operator to search for 'ver' in Timeout', name: 'TypeError'}
- #1660 [BUG] ITelemetryTrace parentId cannot be set to undefined
Includes: [2.7.0-beta.1 Milestone](https://github.com/microsoft/ApplicationInsights-JS/milestone/54)
- #1171 ___Update to TypeScript 4.x___
- #1526 [TypeScript Compile Error] Property 'sessionManager' does not exist on type 'ITelemetryContext'
- #1627 Add sesId to allow access to sessionManager session info
- #1471 Convert undefined to blank in customDimensions?
- #1630 Convert undefined custom properties to empty string
- #1585 ai_user cookie not present after re-enabling the cookie
- #1561 How to enrich dependencies logs with context at the beginning of api call?
- #1624 Provide a way to enrich dependencies logs with context at the beginning of api call
- #1633 Add GitHub Automated Lock closed issue action
### New feature (may be release after primary release - out of band)
- #617 Add performance.mark and performance.measure for performance browser tool integration
### 2.7.0-beta.1 (August 24th, 2021)
### <span style='color:blue'>2.7.0-beta.1</span> (August 24th, 2021)
- #1171 ___Update to TypeScript 4.x___
- #1526 [TypeScript Compile Error] Property 'sessionManager' does not exist on type 'ITelemetryContext'
@ -22,11 +47,11 @@ ___Major change___: Upgrades build environment to TypeScript 4.x
- #1624 Provide a way to enrich dependencies logs with context at the beginning of api call
- #1633 Add GitHub Automated Lock closed issue action
### Update React plugin to v3.2.0-beta.1
### Update React plugin to <span style='color:blue'>v3.2.0-beta.1</span>
- Update Core dependency to v2.7.0-beta.1 Core changes
### Update React Native plugin to v2.4.0-beta.1
### Update React Native plugin to <span style='color:blue'>v2.4.0-beta.1</span>
- Update Core dependency to v2.7.0-beta.1 Core changes

Просмотреть файл

@ -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.0-beta.1", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
QUnit.assert.equal("javascript:2.7.0", appInsightsEnvelope.tags["ai.internal.sdkVersion"]);
}
})

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-channel-js",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights JavaScript SDK Channel",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -48,11 +48,8 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0-beta.1"
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-common": "2.7.0"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -174,7 +174,7 @@ function EnvelopeCreatorInit(logger: IDiagnosticLogger, telemetryItem: ITelemetr
}
export const EnvelopeCreator = {
Version: "2.7.0-beta.1"
Version: "2.7.0"
};
export function DependencyEnvelopeCreator(logger: IDiagnosticLogger, telemetryItem: ITelemetryItem, customUndefinedValue?: any): IEnvelope {

1896
common/config/rush/npm-shrinkwrap.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-analytics-js",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights JavaScript SDK - Web Analytics",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -26,8 +26,8 @@
"@microsoft/ai-test-framework": "0.0.1",
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
"@microsoft/applicationinsights-rollup-es3": "1.1.3",
"@microsoft/applicationinsights-properties-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-channel-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-properties-js": "2.7.0",
"@microsoft/applicationinsights-channel-js": "2.7.0",
"@microsoft/api-extractor": "^7.18.1",
"typescript": "^4.3.4",
"tslib": "^2.0.0",
@ -54,11 +54,8 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0-beta.1"
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-common": "2.7.0"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -54,7 +54,7 @@ function _getReason(error: any) {
}
export class ApplicationInsights extends BaseTelemetryPlugin implements IAppInsights, IAppInsightsInternal {
public static Version = "2.7.0-beta.1"; // Not currently used anywhere
public static Version = "2.7.0"; // Not currently used anywhere
public static getDefaultConfig(config?: IConfig): IConfig {
if (!config) {

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-clickanalytics-js",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights Click Analytics extension",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -45,16 +45,13 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0-beta.1",
"@microsoft/applicationinsights-properties-js": "2.7.0-beta.1"
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-common": "2.7.0",
"@microsoft/applicationinsights-properties-js": "2.7.0"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/master/extensions/applicationinsights-clickanalytics-js"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -27,7 +27,7 @@ export { BehaviorMapValidator, BehaviorValueValidator, BehaviorEnumValidator }
export class ClickAnalyticsPlugin extends BaseTelemetryPlugin {
public identifier: string = 'ClickAnalyticsPlugin';
public priority: number = 181;
public static Version = "2.7.0-beta.1";
public static Version = "2.7.0";
private _config: IClickAnalyticsConfiguration;
private pageAction: PageAction;
private _autoCaptureHandler: IAutoCaptureHandler;

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-debugplugin-js",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -47,12 +47,9 @@
},
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-common": "2.7.0-beta.1",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0",
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-shims": "2.0.0"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-dependencies-js",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights XHR dependencies plugin",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -51,11 +51,8 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0-beta.1"
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-common": "2.7.0"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-perfmarkmeasure-js",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights Performance Mark and Measure Manager plugin",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -49,10 +49,7 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1"
"@microsoft/applicationinsights-core-js": "2.7.0"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-properties-js",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights properties (Part A) plugin",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -52,11 +52,8 @@
"dependencies": {
"@microsoft/dynamicproto-js": "^1.1.4",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0-beta.1"
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-common": "2.7.0"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -4,7 +4,7 @@
import { IInternal } from '@microsoft/applicationinsights-common';
import { ITelemetryConfig } from '../Interfaces/ITelemetryConfig';
const Version = "2.7.0-beta.1";
const Version = "2.7.0";
export class Internal implements IInternal {

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-react-js",
"version": "3.2.0-beta.1",
"version": "3.2.0",
"description": "Microsoft Application Insights React plugin",
"main": "dist/applicationinsights-react-js.js",
"module": "dist-esm/applicationinsights-react-js.js",
@ -57,8 +57,8 @@
},
"dependencies": {
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0-beta.1",
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-common": "2.7.0",
"@microsoft/dynamicproto-js": "^1.1.4",
"history": "^4.10.1"
},
@ -66,8 +66,5 @@
"tslib": "*",
"react": "^17.0.1"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-react-native",
"version": "2.4.0-beta.1",
"version": "2.4.0",
"description": "Microsoft Application Insights React Native Plugin",
"main": "dist-esm/index.js",
"types": "types/index.d.ts",
@ -54,8 +54,8 @@
"uglify-js": "^3.11.0"
},
"dependencies": {
"@microsoft/applicationinsights-common": "2.7.0-beta.1",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-common": "2.7.0",
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/dynamicproto-js": "^1.1.4"
},
@ -64,8 +64,5 @@
"react-native": "*",
"react-native-device-info": "^5.2.1"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "@microsoft/applicationinsights-web",
"description": "Microsoft Application Insights JavaScript SDK",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"keywords": [
"browser performance monitoring",
"script errors",
@ -59,8 +59,5 @@
"connect": "^3.7.0",
"puppeteer": "^10.1.0",
"chromium": "^3.0.2"
},
"publishConfig": {
"tag": "beta"
}
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@microsoft/applicationinsights-common",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights Common JavaScript Library",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"author": "Microsoft Application Insights Team",
@ -47,11 +47,8 @@
},
"dependencies": {
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/applicationinsights-core-js": "2.7.0-beta.1",
"@microsoft/applicationinsights-core-js": "2.7.0",
"@microsoft/dynamicproto-js": "^1.1.4"
},
"license": "MIT",
"publishConfig": {
"tag": "beta"
}
"license": "MIT"
}

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "@microsoft/applicationinsights-core-js",
"author": "Microsoft Application Insights Team",
"version": "2.7.0-beta.1",
"version": "2.7.0",
"description": "Microsoft Application Insights Core Javascript SDK",
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
"keywords": [
@ -63,8 +63,5 @@
"dependencies": {
"@microsoft/applicationinsights-shims": "2.0.0",
"@microsoft/dynamicproto-js": "^1.1.4"
},
"publishConfig": {
"tag": "beta"
}
}

Просмотреть файл

@ -38,6 +38,7 @@ function showHelp() {
console.log(" -bld ###### - Append the provided build number to the version (x.y.z => x.y.z-[prerel].######) [prerel] defaults to dev if not defined");
console.log(" -pre ###### - Set the pre-release to the provided value (x.y.z => x.y.z-[prerel])");
console.log(" -react - Update only the react packages")
console.log(" -reactNative - Update only the react native packages")
console.log(" -test - Scan all of the package.json files and log the changes, but DON'T update the files");
}

Просмотреть файл

@ -1,59 +1,59 @@
{
"description": "The release value identifies the base version that will be applied via the tools/release-tools/setVersion.js",
"usage": "When creating a new release you should update this value directly or via the eg. 'npm run setVersion -- 3.2.0' or 'npm run setVersion -- -patch' or 'npm run setVersion -- -minor'",
"release": "2.7.0-beta.1",
"release": "2.7.0",
"pkgs": {
"@microsoft/applicationinsights-web": {
"package": "package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-web-basic": {
"package": "AISKULight/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-channel-js": {
"package": "channels/applicationinsights-channel-js/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-analytics-js": {
"package": "extensions/applicationinsights-analytics-js/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-clickanalytics-js": {
"package": "extensions/applicationinsights-clickanalytics-js/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-debugplugin-js": {
"package": "extensions/applicationinsights-debugplugin-js/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-dependencies-js": {
"package": "extensions/applicationinsights-dependencies-js/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-perfmarkmeasure-js": {
"package": "extensions/applicationinsights-perfmarkmeasure-js/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-properties-js": {
"package": "extensions/applicationinsights-properties-js/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-common": {
"package": "shared/AppInsightsCommon/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-core-js": {
"package": "shared/AppInsightsCore/package.json",
"release": "2.7.0-beta.1"
"release": "2.7.0"
},
"@microsoft/applicationinsights-react-js": {
"package": "extensions/applicationinsights-react-js/package.json",
"release": "3.2.0-beta.1"
"release": "3.2.0"
},
"@microsoft/applicationinsights-react-native": {
"package": "extensions/applicationinsights-react-native/package.json",
"release": "2.4.0-beta.1"
"release": "2.4.0"
}
}
}