Skip to content

Commit

Permalink
Upgrade core v2 dep to ^1.0.3 (Azure#15318)
Browse files Browse the repository at this point in the history
* [Text Analytics] Upgrade core v2 dep to ^1.0.3

* update all other packages

* remove exception
  • Loading branch information
deyaaeldeen authored May 19, 2021
1 parent 0c10b51 commit 6968df5
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 22 deletions.
51 changes: 39 additions & 12 deletions common/config/rush/common-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@
// when there is a new beta version which is being maintained in the repo.
// Remove "^12.4.1" when the storage-blob releases a stable version.
// Add a new entry in case a new version is being tested through the perf tests (Example: "12.2.0").
"@azure/storage-blob": ["^12.4.1"],
"@azure/ms-rest-js": ["^2.0.0"],
"@azure/storage-blob": [
"^12.4.1"
],
"@azure/ms-rest-js": [
"^2.0.0"
],
/**
* For example, allow some projects to use an older TypeScript compiler
* (in addition to whatever "usual" version is being used by other projects in the repo):
Expand All @@ -55,25 +59,48 @@
// "~2.4.0"
// ]
// Following is required to allow for backward compatibility with Event Processor Host Track 1
"@azure/event-hubs": ["^2.1.4"],
"@opentelemetry/api": ["^0.18.1"],
"@azure/event-hubs": [
"^2.1.4"
],
"@opentelemetry/api": [
"^0.18.1"
],
// Monitor: Allow node 10 types until Timeout / Timer conflict is resolved in OpenTelemetry repo
// TODO: remove when released https://github.com/open-telemetry/opentelemetry-js/pull/1352
// eslint v7.15 needs node v10.12
"@types/node": ["^10.0.0", "^10.12.0"],
"@types/node": [
"^10.0.0",
"^10.12.0"
],
// @azure/test-utils-perfstress should depend on lowest version of @azure/core-http for maximum compatibility, allowing test
// projects to choose a higher version if desired.
"@azure/core-http": ["^1.0.0"],
"@azure/core-http": [
"^1.0.0"
],
// @azure/container-registry is using the beta.1 version for CAE support
"@azure/core-rest-pipeline": ["1.1.0-beta.1"],
"@azure/core-rest-pipeline": [
"1.1.0-beta.1"
],
// @azure/event-processor-host is on a much lower major version
"@azure/ms-rest-nodeauth": ["^0.9.2"],
"@azure/ms-rest-nodeauth": [
"^0.9.2"
],
// Idenity is moving from v1 to v2. Moving all packages to v2 is going to take a bit of time, in the mean time we could use v2 on the perf-identity tests.
"@azure/identity": ["2.0.0-beta.3", "^1.1.0"],
"@azure/identity": [
"2.0.0-beta.3",
"^1.1.0"
],
// App Config uses keyvault-secrets in a sample, switch to latest once the preview becomes GA
"@azure/keyvault-secrets": ["^4.1.0", "^4.2.0-beta.4"],
"@azure/keyvault-secrets": [
"^4.1.0",
"^4.2.0-beta.4"
],
// Issue #14771 tracks updating to these versions
"@microsoft/api-extractor": ["7.13.2"],
"prettier": ["2.2.1"]
"@microsoft/api-extractor": [
"7.13.2"
],
"prettier": [
"2.2.1"
]
}
}
2 changes: 1 addition & 1 deletion sdk/core/core-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"@azure/abort-controller": "^1.0.0",
"@azure/core-asynciterator-polyfill": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/core-tracing": "1.0.0-preview.11",
"tslib": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmosdb/cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
},
"dependencies": {
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"debug": "^4.1.1",
"fast-json-stable-stringify": "^2.0.0",
"jsbi": "^3.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"dependencies": {
"@azure/core-auth": "^1.3.0",
"@azure-rest/core-client": "1.0.0-beta.2",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/logger": "^1.0.0",
"tslib": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/eventgrid/eventgrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"dependencies": {
"@azure/core-auth": "^1.3.0",
"@azure/core-client": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/core-tracing": "1.0.0-preview.11",
"@azure/logger": "^1.0.0",
"tslib": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/purview/purview-catalog-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"dependencies": {
"@azure/core-auth": "^1.3.0",
"@azure-rest/core-client": "1.0.0-beta.2",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/logger": "^1.0.0",
"tslib": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/purview/purview-scanning-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"dependencies": {
"@azure/core-auth": "^1.3.0",
"@azure-rest/core-client": "1.0.0-beta.2",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/logger": "^1.0.0",
"tslib": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/perf-tests/storage-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"license": "ISC",
"dependencies": {
"@azure/core-http": "^1.2.0",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/storage-blob": "^12.6.0-beta.1",
"@azure/test-utils-perfstress": "^1.0.0",
"dotenv": "^8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"tslib": "^2.0.0"
},
"devDependencies": {
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/dev-tool": "^1.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/identity": "2.0.0-beta.3",
Expand Down
2 changes: 1 addition & 1 deletion sdk/tables/data-tables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"dependencies": {
"@azure/core-client": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/core-paging": "^1.1.1",
"@azure/core-xml": "1.0.0-beta.1",
"@azure/logger": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion sdk/textanalytics/ai-text-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@azure/core-asynciterator-polyfill": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-client": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.0",
"@azure/core-rest-pipeline": "^1.0.3",
"@azure/core-lro": "^1.0.2",
"@azure/core-paging": "^1.1.1",
"@azure/core-tracing": "1.0.0-preview.11",
Expand Down

0 comments on commit 6968df5

Please sign in to comment.