Skip to content

Commit

Permalink
[Storage]Bump version for STG93 GA release (#29647)
Browse files Browse the repository at this point in the history
### 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)
  • Loading branch information
EmmaZhu committed May 13, 2024
1 parent af16841 commit 575f036
Show file tree
Hide file tree
Showing 29 changed files with 65 additions and 72 deletions.
37 changes: 19 additions & 18 deletions eng/pipelines/templates/jobs/live.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,24 +143,25 @@ jobs:
workingDirectory: $(Build.SourcesDirectory)/eng/tools/eng-package-utils
displayName: "Get package path"
- pwsh: |
Start-Process "node" -ArgumentList "launch.js run start-browser-relay" -NoNewWindow -WorkingDirectory "$(Build.SourcesDirectory)/common/tools/dev-tool"
for ($i = 0; $i -lt 10; $i++) {
try {
Invoke-WebRequest -Uri "http://localhost:4895/health" | Out-Null
exit 0
} catch {
Write-Warning "Failed to successfully connect to browser credential relay. Retrying..."
Start-Sleep 6
}
}
Write-Error "Could not connect to browser credential relay."
exit 1
displayName: "Start browser credential relay"
condition: and(succeeded(), eq(variables['TestType'], 'browser'))
env:
TEST_MODE: "live"
${{ insert }}: ${{ parameters.EnvVars }}
# Failed to start it, and storage/stable branch doesn't require this for browser testing.
# - pwsh: |
# Start-Process "node" -ArgumentList "launch.js run start-browser-relay" -NoNewWindow -WorkingDirectory "$(Build.SourcesDirectory)/common/tools/dev-tool"
# for ($i = 0; $i -lt 10; $i++) {
# try {
# Invoke-WebRequest -Uri "http://localhost:4895/health" | Out-Null
# exit 0
# } catch {
# Write-Warning "Failed to successfully connect to browser credential relay. Retrying..."
# Start-Sleep 6
# }
# }
# Write-Error "Could not connect to browser credential relay."
# exit 1
# displayName: "Start browser credential relay"
# condition: and(succeeded(), eq(variables['TestType'], 'browser'))
# env:
# TEST_MODE: "live"
# ${{ insert }}: ${{ parameters.EnvVars }}

- template: ../steps/use-node-test-version.yml

Expand Down
8 changes: 2 additions & 6 deletions sdk/storage/storage-blob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Release History

## 12.18.0-beta.2 (Unreleased)
## 12.18.0 (2024-05-11)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Includes all features released in 12.18.0-beta.1.

## 12.18.0-beta.1 (2024-04-18)

Expand Down
2 changes: 1 addition & 1 deletion 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.18.0-beta.2",
"version": "12.18.0",
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
"main": "./dist/index.js",
"module": "./dist-esm/storage-blob/src/index.js",
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-blob/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.18.0-beta.2";
export const SDK_VERSION: string = "12.18.0";
export const SERVICE_VERSION: string = "2024-05-04";

export const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB
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 @@ -20,7 +20,7 @@ disable-async-iterators: true
add-credentials: false
use-extension:
"@autorest/typescript": "6.0.0-dev.20210218.1"
package-version: 12.18.0-beta.2
package-version: 12.18.0
```

## Customizations for Track 2 Generator
Expand Down
2 changes: 2 additions & 0 deletions sdk/storage/storage-blob/test/blobclient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -755,11 +755,13 @@ describe("BlobClient", () => {
const sanitizedQuery = URLQuery.parse(sanitizedActualUrl.getQuery()!);
sanitizedQuery.set("sig", undefined);
sanitizedActualUrl.setQuery(sanitizedQuery.toString());
sanitizedActualUrl.setPort("");

const sanitizedExpectedUrl = URLBuilder.parse(blobClient.url);
const sanitizedQuery2 = URLQuery.parse(sanitizedActualUrl.getQuery()!);
sanitizedQuery2.set("sig", undefined);
sanitizedExpectedUrl.setQuery(sanitizedQuery.toString());
sanitizedActualUrl.setPort("");

assert.strictEqual(
sanitizedActualUrl.toString(),
Expand Down
4 changes: 4 additions & 0 deletions sdk/storage/storage-blob/test/blobclientpollers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ describe("BlobClient beginCopyFromURL Poller", () => {
const sanitizedQuery = URLQuery.parse(sanitizedActualUrl.getQuery()!);
sanitizedQuery.set("sig", undefined);
sanitizedActualUrl.setQuery(sanitizedQuery.toString());
sanitizedActualUrl.setPort("");

const sanitizedExpectedUrl = URLBuilder.parse(blobClient.url);
const sanitizedQuery2 = URLQuery.parse(sanitizedActualUrl.getQuery()!);
sanitizedQuery2.set("sig", undefined);
sanitizedExpectedUrl.setQuery(sanitizedQuery.toString());
sanitizedExpectedUrl.setPort("");

assert.strictEqual(
sanitizedActualUrl.toString(),
Expand Down Expand Up @@ -113,11 +115,13 @@ describe("BlobClient beginCopyFromURL Poller", () => {
const sanitizedQuery = URLQuery.parse(sanitizedActualUrl.getQuery()!);
sanitizedQuery.set("sig", undefined);
sanitizedActualUrl.setQuery(sanitizedQuery.toString());
sanitizedActualUrl.setPort("");

const sanitizedExpectedUrl = URLBuilder.parse(blobClient.url);
const sanitizedQuery2 = URLQuery.parse(sanitizedActualUrl.getQuery()!);
sanitizedQuery2.set("sig", undefined);
sanitizedExpectedUrl.setQuery(sanitizedQuery.toString());
sanitizedExpectedUrl.setPort("");

assert.strictEqual(
sanitizedActualUrl.toString(),
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-blob/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
trigger: none

stages:
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
PackageName: "@azure/storage-blob"
ServiceDirectory: storage
Expand Down
8 changes: 2 additions & 6 deletions sdk/storage/storage-file-datalake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Release History

## 12.17.0-beta.2 (Unreleased)
## 12.17.0 (2024-05-11)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Includes all features released in 12.17.0.

## 12.17.0-beta.1 (2024-04-18)

Expand Down
4 changes: 2 additions & 2 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.17.0-beta.2",
"version": "12.17.0",
"description": "Microsoft Azure Storage SDK for JavaScript - DataLake",
"sdk-type": "client",
"main": "./dist/index.js",
Expand Down Expand Up @@ -122,7 +122,7 @@
"@azure/core-paging": "^1.1.1",
"@azure/core-tracing": "1.0.0-preview.13",
"@azure/logger": "^1.0.0",
"@azure/storage-blob": "^12.18.0-beta.1",
"@azure/storage-blob": "^12.18.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.17.0-beta.2";
export const SDK_VERSION: string = "12.17.0";
export const SERVICE_VERSION: string = "2024-05-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 @@ -20,7 +20,7 @@ disable-async-iterators: true
add-credentials: false
use-extension:
"@autorest/typescript": "6.0.0-dev.20210223.1"
package-version: 12.17.0-beta.2
package-version: 12.17.0
```

## Customizations for Track 2 Generator
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-file-datalake/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
trigger: none

stages:
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
PackageName: "@azure/storage-file-datalake"
ServiceDirectory: storage
Expand Down
8 changes: 2 additions & 6 deletions sdk/storage/storage-file-share/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Release History

## 12.18.1-beta.2 (Unreleased)
## 12.18.1 (2024-05-11)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Includes all features released in 12.18.1-beta.1.

## 12.18.1-beta.1 (2024-04-18)

Expand Down
2 changes: 1 addition & 1 deletion 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.18.1-beta.2",
"version": "12.18.1",
"description": "Microsoft Azure Storage SDK for JavaScript - File",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
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.18.1-beta.2";
export const SDK_VERSION: string = "12.18.1";
export const SERVICE_VERSION: string = "2024-05-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 @@ -20,7 +20,7 @@ disable-async-iterators: true
add-credentials: false
use-extension:
"@autorest/typescript": "6.0.0-dev.20210218.1"
package-version: 12.18.1-beta.2
package-version: 12.18.1
```

## Customizations for Track 2 Generator
Expand Down
2 changes: 2 additions & 0 deletions sdk/storage/storage-file-share/test/fileclient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,13 @@ describe("FileClient", () => {
const sanitizedQuery = URLQuery.parse(sanitizedActualUrl.getQuery()!);
sanitizedQuery.set("sig", undefined);
sanitizedActualUrl.setQuery(sanitizedQuery.toString());
sanitizedActualUrl.setPort("");

const sanitizedExpectedUrl = URLBuilder.parse(fileClient.url);
const sanitizedQuery2 = URLQuery.parse(sanitizedActualUrl.getQuery()!);
sanitizedQuery2.set("sig", undefined);
sanitizedExpectedUrl.setQuery(sanitizedQuery.toString());
sanitizedExpectedUrl.setPort("");

assert.strictEqual(
sanitizedActualUrl.toString(),
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-file-share/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
trigger: none

stages:
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
PackageName: "@azure/storage-file-share"
ServiceDirectory: storage
Expand Down
8 changes: 2 additions & 6 deletions sdk/storage/storage-queue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Release History

## 12.16.1 (Unreleased)
## 12.17.0 (2024-05-11)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added support for service version 2024-05-04.

## 12.16.0 (2023-11-09)

Expand Down
2 changes: 1 addition & 1 deletion 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.16.1",
"version": "12.17.0",
"description": "Microsoft Azure Storage SDK for JavaScript - Queue",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand Down

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

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-queue/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.16.1";
export const SERVICE_VERSION: string = "2023-11-03";
export const SDK_VERSION: string = "12.17.0";
export const SERVICE_VERSION: string = "2024-05-04";

/**
* The OAuth scope to use with Azure Storage.
Expand Down
6 changes: 3 additions & 3 deletions sdk/storage/storage-queue/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ disable-async-iterators: true
add-credentials: false
use-extension:
"@autorest/typescript": "6.0.0-dev.20210218.1"
package-version: 12.16.1
package-version: 12.17.0
```

## Customizations for Track 2 Generator
Expand Down Expand Up @@ -226,13 +226,13 @@ directive:
$["x-ms-client-name"] = "queueAnalyticsLogging"
```

### Update service version from "2018-03-28" to "2023-11-03"
### Update service version from "2018-03-28" to "2024-05-04"

```yaml
directive:
- from: swagger-document
where: $.parameters.ApiVersionParameter
transform: $.enum = [ "2023-11-03" ];
transform: $.enum = [ "2024-05-04" ];
```

### Rename AccessPolicy start -> startsOn
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-queue/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
trigger: none

stages:
- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
extends:
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
PackageName: "@azure/storage-queue"
ServiceDirectory: storage
Expand Down

0 comments on commit 575f036

Please sign in to comment.