Skip to content

Commit

Permalink
[Storage] Prepare for STG86 GA (#24958)
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 Feb 23, 2023
1 parent a5d5554 commit 342f222
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 26 deletions.
4 changes: 3 additions & 1 deletion sdk/storage/storage-blob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Release History

## 12.13.0 (Unreleased)
## 12.13.0 (2023-02-23)

### Features Added

- Includes all features released in 12.13.0-beta.1.
- Added BlobDownloadHeaders.createdOn property for interface BlobClient.Download().

### Bugs Fixed

- Fixed an issue of getting 403 error for file or directory name with './' or '../'
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.13.0-beta.1",
"version": "12.13.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.13.0-beta.1";
export const SDK_VERSION: string = "12.13.0";
export const SERVICE_VERSION: string = "2021-12-02";

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.13.0-beta.1
package-version: 12.13.0
```
## Customizations for Track 2 Generator
Expand Down
3 changes: 2 additions & 1 deletion sdk/storage/storage-file-datalake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Release History

## 12.12.0 (Unreleased)
## 12.12.0 (2023-02-23)

### Features Added

- Includes all features released in 12.12.0-beta.1.
- Added FileReadHeaders.CreatedOn property for interface DataLakeFileClient.read().

### Bugs Fixed
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.12.0-beta.1",
"version": "12.12.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.13.0-beta.1",
"@azure/storage-blob": "^12.13.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.12.0-beta.1";
export const SDK_VERSION: string = "12.12.0";
export const SERVICE_VERSION: string = "2021-12-02";

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

## 12.13.0 (Unreleased)
## 12.13.0 (2023-02-23)

### Features Added
- Includes all features released in 12.13.0-beta.1.

### Bugs Fixed

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.13.0-beta.1",
"version": "12.13.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.12.0",
"@azure/storage-blob": "^12.13.0",
"@azure/dev-tool": "^1.0.0",
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/test-utils": "^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-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.13.0-beta.1";
export const SDK_VERSION: string = "12.13.0";
export const SERVICE_VERSION: string = "2021-12-02";

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.13.0-beta.1
package-version: 12.13.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,12 +1,10 @@
# Release History

## 12.12.0 (Unreleased)
## 12.12.0 (2023-02-23)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added support for service version 2021-12-02.

### Other Changes

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.

2 changes: 1 addition & 1 deletion sdk/storage/storage-queue/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT license.

export const SDK_VERSION: string = "12.12.0";
export const SERVICE_VERSION: string = "2021-10-04";
export const SERVICE_VERSION: string = "2021-12-02";

/**
* The OAuth scope to use with Azure Storage.
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-queue/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,13 @@ directive:
$["x-ms-client-name"] = "queueAnalyticsLogging"
```
### Update service version from "2018-03-28" to "2021-10-04"
### Update service version from "2018-03-28" to "2021-12-02"
```yaml
directive:
- from: swagger-document
where: $.parameters.ApiVersionParameter
transform: $.enum = [ "2021-10-04" ];
transform: $.enum = [ "2021-12-02" ];
```
### Rename AccessPolicy start -> startsOn
Expand Down

0 comments on commit 342f222

Please sign in to comment.