Skip to content

Commit

Permalink
Storage stg84 features (#22773)
Browse files Browse the repository at this point in the history
* Add feature append with flush.

* Add support for encryption scope for datalake service.

* Resolve comments.

* Resolve pnpm-lock

* Resolve pnpm-lock
  • Loading branch information
EmmaZhu authored Aug 11, 2022
1 parent 37aacfd commit 900347d
Show file tree
Hide file tree
Showing 57 changed files with 4,859 additions and 1,232 deletions.
2,268 changes: 1,080 additions & 1,188 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

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.11.1 (Unreleased)
## 12.12.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added support for service version 2021-10-04.

## 12.11.0 (2022-07-08)

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.11.1",
"version": "12.12.0-beta.1",
"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.

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.11.1";
export const SERVICE_VERSION: string = "2021-08-06";
export const SDK_VERSION: string = "12.12.0-beta.1";
export const SERVICE_VERSION: string = "2021-10-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
6 changes: 3 additions & 3 deletions 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.11.1
package-version: 12.12.0-beta.1
```
## Customizations for Track 2 Generator
Expand Down Expand Up @@ -1362,13 +1362,13 @@ directive:
$["x-ms-enum"]["modelAsString"] = true;
```

### Update service version from "2021-04-10" to "2021-08-06"
### Update service version from "2021-04-10" to "2021-10-04"

```yaml
directive:
- from: swagger-document
where: $.parameters.ApiVersionParameter
transform: $.enum = [ "2021-08-06" ];
transform: $.enum = [ "2021-10-04" ];
```

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2Fstorage-blob%2Fswagger%2FREADME.png)
11 changes: 5 additions & 6 deletions sdk/storage/storage-file-datalake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Release History

## 12.10.1 (Unreleased)
## 12.11.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Added support for service version 2021-10-04.
- Added support for flush parameter to DataLakeFileClient.append().
- Added support for encryption scopes.
- Added support for encryption scope SAS.

## 12.10.0 (2022-07-08)

Expand Down
1 change: 1 addition & 0 deletions sdk/storage/storage-file-datalake/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ module.exports = function (config) {
envPreprocessor: [
"DFS_ACCOUNT_NAME",
"DFS_ACCOUNT_SAS",
"ENCRYPTION_SCOPE",
"TEST_MODE",
"DFS_ACCOUNT_TOKEN",
"DFS_SOFT_DELETE_ACCOUNT_NAME",
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.10.1",
"version": "12.11.0-beta.1",
"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.11.0",
"@azure/storage-blob": "^12.12.0-beta.1",
"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.

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

Loading

0 comments on commit 900347d

Please sign in to comment.