Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Prepare for STG86 GA #24958

Merged
merged 1 commit into from
Feb 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 '../'
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",

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
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/swagger/README.md
Original file line number Diff line number Diff line change
@@ -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
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
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",
@@ -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"
},

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;
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/swagger/README.md
Original file line number Diff line number Diff line change
@@ -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
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

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",
@@ -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",

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
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/swagger/README.md
Original file line number Diff line number Diff line change
@@ -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
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

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
@@ -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.
4 changes: 2 additions & 2 deletions sdk/storage/storage-queue/swagger/README.md
Original file line number Diff line number Diff line change
@@ -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