From fb7ab94e61197de8d0be74d2c8a028628274f5f4 Mon Sep 17 00:00:00 2001 From: EmmaZhu-MSFT Date: Mon, 22 Jul 2024 08:54:44 -0700 Subject: [PATCH] [Storage]Bump package version, upgrade @azure/core-tracing dependency (#30437) ### Packages impacted by this PR ### Issues associated with this PR ### Describe the problem that is addressed by this PR ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ ### Provide a list of related PRs _(if any)_ ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [ ] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary) --------- Co-authored-by: Jeremy Meng --- eng/pipelines/templates/jobs/live.tests.yml | 1 + sdk/storage/storage-blob/CHANGELOG.md | 6 ++---- sdk/storage/storage-blob/package.json | 4 ++-- .../storage-blob/src/generated/src/storageClient.ts | 2 +- sdk/storage/storage-blob/src/utils/constants.ts | 4 ++-- sdk/storage/storage-blob/swagger/README.md | 2 +- sdk/storage/storage-file-datalake/CHANGELOG.md | 6 ++---- sdk/storage/storage-file-datalake/package.json | 6 +++--- .../src/generated/src/storageClient.ts | 2 +- sdk/storage/storage-file-datalake/src/utils/constants.ts | 2 +- sdk/storage/storage-file-datalake/swagger/README.md | 2 +- sdk/storage/storage-file-share/CHANGELOG.md | 6 ++---- sdk/storage/storage-file-share/package.json | 6 +++--- .../storage-file-share/src/generated/src/storageClient.ts | 2 +- sdk/storage/storage-file-share/src/utils/constants.ts | 2 +- sdk/storage/storage-file-share/swagger/README.md | 2 +- sdk/storage/storage-queue/CHANGELOG.md | 6 ++---- sdk/storage/storage-queue/package.json | 4 ++-- .../storage-queue/src/generated/src/storageClient.ts | 2 +- sdk/storage/storage-queue/src/utils/constants.ts | 2 +- sdk/storage/storage-queue/swagger/README.md | 2 +- sdk/storage/test-resources.json | 7 ++++--- 22 files changed, 36 insertions(+), 42 deletions(-) diff --git a/eng/pipelines/templates/jobs/live.tests.yml b/eng/pipelines/templates/jobs/live.tests.yml index ff6dd8a0d636..a4e23d3ecad0 100644 --- a/eng/pipelines/templates/jobs/live.tests.yml +++ b/eng/pipelines/templates/jobs/live.tests.yml @@ -224,6 +224,7 @@ jobs: $account = (Get-AzContext).Account $env:AZURESUBSCRIPTION_CLIENT_ID = $account.Id $env:AZURESUBSCRIPTION_TENANT_ID = $account.Tenants + Update-AzConfig -DisplayBreakingChangeWarning $false node ../../../common/scripts/install-run-rushx.js integration-test:$(TestType) exit $LASTEXITCODE diff --git a/sdk/storage/storage-blob/CHANGELOG.md b/sdk/storage/storage-blob/CHANGELOG.md index 86c6f237d38c..ead1862b06cd 100644 --- a/sdk/storage/storage-blob/CHANGELOG.md +++ b/sdk/storage/storage-blob/CHANGELOG.md @@ -1,17 +1,15 @@ # Release History -## 12.24.0-beta.2 (Unreleased) +## 12.24.0 (2024-07-18) ### Features Added -### Breaking Changes +- Includes all features released in 12.24.0-beta.1. ### Bugs Fixed - Correct content-length header with request body length. (#30138) -### Other Changes - ## 12.24.0-beta.1 (2024-06-13) ### Features Added diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 9d460db4e655..236bf4f119cf 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-blob", "sdk-type": "client", - "version": "12.24.0-beta.2", + "version": "12.24.0", "description": "Microsoft Azure Storage SDK for JavaScript - Blob", "main": "./dist/index.js", "module": "./dist-esm/storage-blob/src/index.js", @@ -131,7 +131,7 @@ "@azure/core-lro": "^2.2.0", "@azure/core-paging": "^1.1.1", "@azure/core-rest-pipeline": "^1.10.1", - "@azure/core-tracing": "^1.0.0", + "@azure/core-tracing": "^1.1.2", "@azure/core-util": "^1.6.1", "@azure/core-xml": "^1.3.2", "@azure/logger": "^1.0.0", diff --git a/sdk/storage/storage-blob/src/generated/src/storageClient.ts b/sdk/storage/storage-blob/src/generated/src/storageClient.ts index 284a5d35ebbd..fc815cf1cc03 100644 --- a/sdk/storage/storage-blob/src/generated/src/storageClient.ts +++ b/sdk/storage/storage-blob/src/generated/src/storageClient.ts @@ -48,7 +48,7 @@ export class StorageClient extends coreHttpCompat.ExtendedServiceClient { requestContentType: "application/json; charset=utf-8", }; - const packageDetails = `azsdk-js-azure-storage-blob/12.24.0-beta.1`; + const packageDetails = `azsdk-js-azure-storage-blob/12.24.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/storage/storage-blob/src/utils/constants.ts b/sdk/storage/storage-blob/src/utils/constants.ts index 766ad9a76c94..9c2933fae615 100644 --- a/sdk/storage/storage-blob/src/utils/constants.ts +++ b/sdk/storage/storage-blob/src/utils/constants.ts @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.24.0-beta.2"; -export const SERVICE_VERSION: string = "2024-05-04"; +export const SDK_VERSION: string = "12.24.0"; +export const SERVICE_VERSION: string = "2024-08-04"; export const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB export const BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES: number = 4000 * 1024 * 1024; // 4000MB diff --git a/sdk/storage/storage-blob/swagger/README.md b/sdk/storage/storage-blob/swagger/README.md index 2453757dc747..987f6bc474cb 100644 --- a/sdk/storage/storage-blob/swagger/README.md +++ b/sdk/storage/storage-blob/swagger/README.md @@ -21,7 +21,7 @@ add-credentials: false core-http-compat-mode: true use-extension: "@autorest/typescript": "latest" -package-version: 12.24.0-beta.2 +package-version: 12.24.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-file-datalake/CHANGELOG.md b/sdk/storage/storage-file-datalake/CHANGELOG.md index a8fba4ba89f3..63934bfc8bae 100644 --- a/sdk/storage/storage-file-datalake/CHANGELOG.md +++ b/sdk/storage/storage-file-datalake/CHANGELOG.md @@ -1,17 +1,15 @@ # Release History -## 12.23.0-beta.2 (Unreleased) +## 12.23.0 (2024-07-18) ### Features Added -### Breaking Changes +- Includes all features released in 12.23.0-beta.1. ### Bugs Fixed - Correct content-length header with request body length. (#30138) -### Other Changes - ## 12.23.0-beta.1 (2024-06-13) ### Features Added diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 3c3338380b5c..6cfe06fa0f8d 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -1,6 +1,6 @@ { "name": "@azure/storage-file-datalake", - "version": "12.23.0-beta.2", + "version": "12.23.0", "description": "Microsoft Azure Storage SDK for JavaScript - DataLake", "sdk-type": "client", "main": "./dist/index.js", @@ -120,11 +120,11 @@ "@azure/core-http-compat": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-rest-pipeline": "^1.10.1", - "@azure/core-tracing": "^1.0.0", + "@azure/core-tracing": "^1.1.2", "@azure/core-xml": "^1.3.2", "@azure/core-util": "^1.1.1", "@azure/logger": "^1.0.0", - "@azure/storage-blob": "^12.24.0-beta.1", + "@azure/storage-blob": "^12.24.0", "events": "^3.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/storage/storage-file-datalake/src/generated/src/storageClient.ts b/sdk/storage/storage-file-datalake/src/generated/src/storageClient.ts index 96f97582d2fe..eb53b570b4af 100644 --- a/sdk/storage/storage-file-datalake/src/generated/src/storageClient.ts +++ b/sdk/storage/storage-file-datalake/src/generated/src/storageClient.ts @@ -44,7 +44,7 @@ export class StorageClient extends coreHttpCompat.ExtendedServiceClient { requestContentType: "application/json; charset=utf-8" }; - const packageDetails = `azsdk-js-azure-storage-datalake/12.23.0-beta.1`; + const packageDetails = `azsdk-js-azure-storage-datalake/12.23.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/storage/storage-file-datalake/src/utils/constants.ts b/sdk/storage/storage-file-datalake/src/utils/constants.ts index 2343ccd05338..15f96d47bbf3 100644 --- a/sdk/storage/storage-file-datalake/src/utils/constants.ts +++ b/sdk/storage/storage-file-datalake/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.23.0-beta.2"; +export const SDK_VERSION: string = "12.23.0"; export const SERVICE_VERSION: string = "2024-08-04"; export const KB: number = 1024; diff --git a/sdk/storage/storage-file-datalake/swagger/README.md b/sdk/storage/storage-file-datalake/swagger/README.md index 98cd833663f9..09846882bdf4 100644 --- a/sdk/storage/storage-file-datalake/swagger/README.md +++ b/sdk/storage/storage-file-datalake/swagger/README.md @@ -21,7 +21,7 @@ core-http-compat-mode: true add-credentials: false use-extension: "@autorest/typescript": "6.0.0" -package-version: 12.23.0-beta.2 +package-version: 12.23.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-file-share/CHANGELOG.md b/sdk/storage/storage-file-share/CHANGELOG.md index 786d1aded35a..c81347853dc2 100644 --- a/sdk/storage/storage-file-share/CHANGELOG.md +++ b/sdk/storage/storage-file-share/CHANGELOG.md @@ -1,17 +1,15 @@ # Release History -## 12.24.0-beta.2 (Unreleased) +## 12.24.0 (2024-07-18) ### Features Added -### Breaking Changes +- Includes all features released in 12.24.0-beta.1. ### Bugs Fixed - Correct content-length header with request body length. (#30138) -### Other Changes - ## 12.24.0-beta.1 (2024-06-13) ### Features Added diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index 403d656077a2..8c1b01e6f86f 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-file-share", "sdk-type": "client", - "version": "12.24.0-beta.2", + "version": "12.24.0", "description": "Microsoft Azure Storage SDK for JavaScript - File", "main": "./dist/index.js", "module": "./dist-esm/storage-file-share/src/index.js", @@ -121,7 +121,7 @@ "@azure/core-http-compat": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-rest-pipeline": "^1.10.1", - "@azure/core-tracing": "^1.0.0", + "@azure/core-tracing": "^1.1.2", "@azure/core-util": "^1.6.1", "@azure/core-xml": "^1.3.2", "@azure/logger": "^1.0.0", @@ -129,7 +129,7 @@ "tslib": "^2.2.0" }, "devDependencies": { - "@azure/storage-blob": "^12.23.0", + "@azure/storage-blob": "^12.24.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", diff --git a/sdk/storage/storage-file-share/src/generated/src/storageClient.ts b/sdk/storage/storage-file-share/src/generated/src/storageClient.ts index 1724800d89fe..e8bde2810375 100644 --- a/sdk/storage/storage-file-share/src/generated/src/storageClient.ts +++ b/sdk/storage/storage-file-share/src/generated/src/storageClient.ts @@ -35,7 +35,7 @@ export class StorageClient extends coreHttpCompat.ExtendedServiceClient { requestContentType: "application/json; charset=utf-8" }; - const packageDetails = `azsdk-js-azure-storage-file-share/12.24.0-beta.1`; + const packageDetails = `azsdk-js-azure-storage-file-share/12.24.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/storage/storage-file-share/src/utils/constants.ts b/sdk/storage/storage-file-share/src/utils/constants.ts index 1ace71a751c5..15880b08bfc6 100644 --- a/sdk/storage/storage-file-share/src/utils/constants.ts +++ b/sdk/storage/storage-file-share/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.24.0-beta.2"; +export const SDK_VERSION: string = "12.24.0"; export const SERVICE_VERSION: string = "2024-08-04"; export const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB diff --git a/sdk/storage/storage-file-share/swagger/README.md b/sdk/storage/storage-file-share/swagger/README.md index 90dd6ac4c96a..48ba348e941d 100644 --- a/sdk/storage/storage-file-share/swagger/README.md +++ b/sdk/storage/storage-file-share/swagger/README.md @@ -21,7 +21,7 @@ add-credentials: false core-http-compat-mode: true use-extension: "@autorest/typescript": "6.0.2" -package-version: 12.24.0-beta.2 +package-version: 12.24.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-queue/CHANGELOG.md b/sdk/storage/storage-queue/CHANGELOG.md index 930e8df15bcc..ea820fb0f1c5 100644 --- a/sdk/storage/storage-queue/CHANGELOG.md +++ b/sdk/storage/storage-queue/CHANGELOG.md @@ -1,17 +1,15 @@ # Release History -## 12.23.0-beta.2 (Unreleased) +## 12.23.0 (2024-07-18) ### Features Added -### Breaking Changes +- Includes all features released in 12.23.0-beta.1. ### Bugs Fixed - Correct content-length header with request body length. (#30138) -### Other Changes - ## 12.23.0-beta.1 (2024-06-13) ### Features Added diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index 9d52d3c91ac3..39860e298bd8 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-queue", "sdk-type": "client", - "version": "12.23.0-beta.2", + "version": "12.23.0", "description": "Microsoft Azure Storage SDK for JavaScript - Queue", "main": "./dist/index.js", "module": "./dist-esm/storage-queue/src/index.js", @@ -116,7 +116,7 @@ "@azure/core-http-compat": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-rest-pipeline": "^1.10.1", - "@azure/core-tracing": "^1.0.0", + "@azure/core-tracing": "^1.1.2", "@azure/core-util": "^1.6.1", "@azure/core-xml": "^1.3.2", "@azure/logger": "^1.0.0", diff --git a/sdk/storage/storage-queue/src/generated/src/storageClient.ts b/sdk/storage/storage-queue/src/generated/src/storageClient.ts index d7ff2c36f1ad..124fce86e1f0 100644 --- a/sdk/storage/storage-queue/src/generated/src/storageClient.ts +++ b/sdk/storage/storage-queue/src/generated/src/storageClient.ts @@ -39,7 +39,7 @@ export class StorageClient extends coreHttpCompat.ExtendedServiceClient { requestContentType: "application/json; charset=utf-8" }; - const packageDetails = `azsdk-js-azure-storage-queue/12.23.0-beta.1`; + const packageDetails = `azsdk-js-azure-storage-queue/12.23.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` diff --git a/sdk/storage/storage-queue/src/utils/constants.ts b/sdk/storage/storage-queue/src/utils/constants.ts index c3eb6b845c27..8dfeb222f52e 100644 --- a/sdk/storage/storage-queue/src/utils/constants.ts +++ b/sdk/storage/storage-queue/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.23.0-beta.2"; +export const SDK_VERSION: string = "12.23.0"; export const SERVICE_VERSION: string = "2024-08-04"; /** diff --git a/sdk/storage/storage-queue/swagger/README.md b/sdk/storage/storage-queue/swagger/README.md index 255c74fdbacc..1b4da8046066 100644 --- a/sdk/storage/storage-queue/swagger/README.md +++ b/sdk/storage/storage-queue/swagger/README.md @@ -21,7 +21,7 @@ add-credentials: false core-http-compat-mode: true use-extension: "@autorest/typescript": "6.0.3" -package-version: 12.23.0-beta.2 +package-version: 12.23.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/test-resources.json b/sdk/storage/test-resources.json index 20ffb50bb586..14aece9791ad 100644 --- a/sdk/storage/test-resources.json +++ b/sdk/storage/test-resources.json @@ -31,7 +31,7 @@ } }, "variables": { - "storageApiVersion": "2022-05-01", + "storageApiVersion": "2023-01-01", "location": "[resourceGroup().location]", "accountName": "[parameters('baseName')]", "datalakeAccountName": "[concat('dl', parameters('baseName'))]", @@ -51,7 +51,7 @@ "keyToSign": "key2", "signedExpiry": "[dateTimeAdd(parameters('baseTime'), 'PT2H')]" }, - "authorizationApiVersion": "2018-01-01-preview", + "authorizationApiVersion": "2022-04-01", "blobDataContributorRoleId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/ba92f5b4-2d11-453d-a403-e96b0029c9fe')]", "blobDataOwnerRoleId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/b7e6dc6d-f1e8-4753-8033-0f276bb0955b')]", "fileDataPrivilegedContributorRoleId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/69566ab7-960f-475b-8e7c-b3118f30c6bd')]", @@ -280,7 +280,8 @@ "supportsHttpsTrafficOnly": true, "encryption": "[variables('encryption')]", "accessTier": "Hot", - "minimumTlsVersion": "TLS1_2" + "minimumTlsVersion": "TLS1_2", + "allowBlobPublicAccess": true }, "resources": [ {