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

Some Final tweaks #7653

Merged
merged 2 commits into from
Oct 7, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
32 changes: 32 additions & 0 deletions sdk/storage/azure-storage-blob/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,44 @@

## Version 12.0.0b4:

**Breaking changes**

- Permission models.
- `AccountPermissions`, `BlobPermissions` and `ContainerPermissions` have been renamed to
`AccountSasPermissions`, `BlobSasPermissions` and `ContainerSasPermissions` respectively.
- enum-like list parameters have been removed from all three of them.
- `__add__` and `__or__` methods are removed.
- `max_connections` is now renamed to `max_concurrency`.
- `ContainerClient` now accepts only `account_url` with a mandatory string param `container_name`.
To use a container_url, the method `from_container_url` must be used.
- `BlobClient` now accepts only `account_url` with mandatory string params `container_name` and
`blob_name`. To use a blob_url, the method `from_blob_url` must be used.
- Some parameters have become keyword only, rather than positional. Some examples include:
- `loop`
- `max_concurrency`
- `validate_content`
- `timeout` etc.
- APIs now take in `offset` and `length` instead of `range_start` and `range_end` consistently.
`length` is the number of bytes to take in starting from the `offset`. The APIs that have been
changed include:
- `get_page_ranges`
- `upload_page`
- `upload_pages_from_url`
- `clear_page`
- `append_block_from_url`
- `block_id` is not optional in `BlobBlock` model.

**New features**

- Add support for delete_blobs API to ContainerClient (Python 3 only)
- Add support for set_standard_blob_tier_blobs to ContainerClient (Python 3 only)
- Add support for set_premium_page_blob_tier_blobs to ContainerClient (Python 3 only)

Copy link
Contributor

@xiafu-msft xiafu-msft Oct 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Added support to set rehydrate blob priority for Block Blob, including Set Standard Blob Tier/Copy Blob APIs
  • Added blob tier support for Block Blob, including Upload Blob/Commit Block List/Copy Blob APIs.

**Fixes and improvements**
- Downloading page blobs now take advantage of their sparseness.
- The `length` param in `download_blob` now takes the number of bytes to take in starting from the `offset`
instead of a harde set end value.

**Dependency updates**
- Adopted [azure-core](https://pypi.org/project/azure-core/) 1.0.0b4
- If you later want to revert to previous versions of azure-storage-blob, or another Azure SDK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "12.0.0b4"
VERSION = "12.0.0b5"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too soon no? You want this ChangeLog to be the b4 one

10 changes: 10 additions & 0 deletions sdk/storage/azure-storage-file/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log azure-storage-file

## Version 12.0.0b4:

**Breaking changes**

- Permission models.
- `AccountPermissions`, `SharePermissions` and `FilePermissions` have been renamed to
`AccountSasPermissions`, `ShareSasPermissions` and `FileSasPermissions` respectively.
- enum-like list parameters have been removed from all three of them.
- `__add__` and `__or__` methods are removed.
- `max_connections` is now renamed to `max_concurrency`.

## Version 12.0.0b3:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = '12.0.0b4'
VERSION = '12.0.0b5'
10 changes: 10 additions & 0 deletions sdk/storage/azure-storage-queue/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log azure-storage-queue

## Version 12.0.0b4:

**Breaking changes**

- Permission models.
- `AccountPermissions`, `QueuePermissions` have been renamed to
`AccountSasPermissions`, `QueueSasPermissions` respectively.
- enum-like list parameters have been removed from both of them.
- `__add__` and `__or__` methods are removed.
- `max_connections` is now renamed to `max_concurrency`.

## Version 12.0.0b3:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "12.0.0b4"
VERSION = "12.0.0b5"