Skip to content

Commit

Permalink
[storage][blob] blob versioning (#7886)
Browse files Browse the repository at this point in the history
* blob versioning

* support 'bv' SAS

* add response headers to getProperties & api-extract

* fix comments

* add versionId to getBlob response headers

* fix broken undelete test

* undo 'add snapshot to options'

* replace withVersionId() with getURLWithVersionId()

* Revert "replace withVersionId() with getURLWithVersionId()"

This reverts commit eb1d90d.

* hide the versionId option in convenience layer

* add more tests

* fix comments

* change version to preview

* fix merge error

Co-authored-by: Lin Jian <[email protected]>
  • Loading branch information
ljian3377 and Lin Jian authored Jun 12, 2020
1 parent 0bf0b40 commit b1e01e4
Show file tree
Hide file tree
Showing 62 changed files with 7,644 additions and 230 deletions.
74 changes: 69 additions & 5 deletions common/config/rush/pnpm-lock.yaml

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

3 changes: 2 additions & 1 deletion sdk/storage/storage-blob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Release History

## 12.2.0 (2020.06)
## 12.2.0-preview.1 (2020.06)

- Supported quick query. Added a new API `BlockBlobClient.query()`.
- Added support for blob versioning.

## 12.1.2 (2020.05)

Expand Down
3 changes: 2 additions & 1 deletion sdk/storage/storage-blob/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ module.exports = function(config) {
"MD_ACCOUNT_NAME",
"MD_ACCOUNT_SAS",
"ENCRYPTION_SCOPE_1",
"ENCRYPTION_SCOPE_2"
"ENCRYPTION_SCOPE_2",
"BLOB_VERSIONING_ENABLED",
],

// test results reporter to use
Expand Down
4 changes: 2 additions & 2 deletions 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.1.2",
"version": "12.2.0-preview.1",
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
"main": "./dist/index.js",
"module": "./dist-esm/storage-blob/src/index.js",
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.1.2 [email protected]/[email protected]",
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.2.0-preview.1 [email protected]/[email protected]",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && npm run build:es6 && cross-env ONLY_NODE=true rollup -c 2>&1 && npm run build:prep-samples",
Expand Down

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

Loading

0 comments on commit b1e01e4

Please sign in to comment.