Skip to content

Commit

Permalink
[Storage]Bump package version, upgrade @azure/core-tracing dependency (
Browse files Browse the repository at this point in the history
…#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 <jeremy.ymeng@gmail.com>
  • Loading branch information
EmmaZhu and jeremymeng authored Jul 22, 2024
1 parent 4516e1b commit fb7ab94
Show file tree
Hide file tree
Showing 22 changed files with 36 additions and 42 deletions.
1 change: 1 addition & 0 deletions eng/pipelines/templates/jobs/live.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions sdk/storage/storage-blob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-blob/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sdk/storage/storage-blob/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions sdk/storage/storage-file-datalake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions sdk/storage/storage-file-datalake/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions sdk/storage/storage-file-share/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions sdk/storage/storage-file-share/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -121,15 +121,15 @@
"@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",
"events": "^3.0.0",
"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",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions sdk/storage/storage-queue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-queue/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -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";

/**
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions sdk/storage/test-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
},
"variables": {
"storageApiVersion": "2022-05-01",
"storageApiVersion": "2023-01-01",
"location": "[resourceGroup().location]",
"accountName": "[parameters('baseName')]",
"datalakeAccountName": "[concat('dl', parameters('baseName'))]",
Expand All @@ -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')]",
Expand Down Expand Up @@ -280,7 +280,8 @@
"supportsHttpsTrafficOnly": true,
"encryption": "[variables('encryption')]",
"accessTier": "Hot",
"minimumTlsVersion": "TLS1_2"
"minimumTlsVersion": "TLS1_2",
"allowBlobPublicAccess": true
},
"resources": [
{
Expand Down

0 comments on commit fb7ab94

Please sign in to comment.