Skip to content

Commit

Permalink
[Storage]Upgrade storage SDK versions for features GA (#26463)
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 authored Jul 12, 2023
1 parent 2cff0a3 commit f8c44c5
Show file tree
Hide file tree
Showing 21 changed files with 43 additions and 29 deletions.
6 changes: 6 additions & 0 deletions sdk/storage/storage-blob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 12.15.0 (2023-07-12)

### Features Added

- Includes all features released in 12.15.0.

## 12.15.0-beta.1 (2023-05-31)

### Features Added
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.15.0-beta.1",
"version": "12.15.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.15.0-beta.1";
export const SDK_VERSION: string = "12.15.0";
export const SERVICE_VERSION: string = "2023-01-03";

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.15.0-beta.1
package-version: 12.15.0
```
## Customizations for Track 2 Generator
Expand Down
6 changes: 6 additions & 0 deletions sdk/storage/storage-file-datalake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 12.14.0 (2023-07-12)

### Features Added

- Includes all features released in 12.14.0-beta.1.

## 12.14.0-beta.1 (2023-05-31)

### Features Added
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.14.0-beta.1",
"version": "12.14.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.15.0-beta.1",
"@azure/storage-blob": "^12.15.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.14.0-beta.1";
export const SDK_VERSION: string = "12.14.0";
export const SERVICE_VERSION: string = "2023-01-03";

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.14.0-beta.1
package-version: 12.14.0
```
## Customizations for Track 2 Generator
Expand Down
6 changes: 6 additions & 0 deletions sdk/storage/storage-file-share/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 12.15.0 (2023-07-12)

### Features Added

- Includes all features released in 12.15.0.

## 12.15.0-beta.1 (2023-05-31)

### Features Added
Expand Down
4 changes: 2 additions & 2 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.15.0-beta.1",
"version": "12.15.0",
"description": "Microsoft Azure Storage SDK for JavaScript - File",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand Down Expand Up @@ -132,7 +132,7 @@
"tslib": "^2.2.0"
},
"devDependencies": {
"@azure/storage-blob": "^12.15.0-beta.1",
"@azure/storage-blob": "^12.15.0",
"@azure/dev-tool": "^1.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/identity": "^2.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.15.0-beta.1";
export const SDK_VERSION: string = "12.15.0";
export const SERVICE_VERSION: string = "2023-01-03";

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.15.0-beta.1
package-version: 12.15.0
```
## Customizations for Track 2 Generator
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.13.1 (Unreleased)
## 12.14.0 (2023-07-12)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added support for service version 2023-01-03.

## 12.13.0 (2023-04-13)

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.13.1",
"version": "12.14.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.13.1";
export const SERVICE_VERSION: string = "2022-11-02";
export const SDK_VERSION: string = "12.14.0";
export const SERVICE_VERSION: string = "2023-01-03";

/**
* 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.13.1
package-version: 12.14.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 "2022-11-02"
### Update service version from "2018-03-28" to "2023-01-03"
```yaml
directive:
- from: swagger-document
where: $.parameters.ApiVersionParameter
transform: $.enum = [ "2022-11-02" ];
transform: $.enum = [ "2023-01-03" ];
```
### Rename AccessPolicy start -> startsOn
Expand Down

0 comments on commit f8c44c5

Please sign in to comment.