Skip to content

Commit

Permalink
Storage Preview 4 release (#7527)
Browse files Browse the repository at this point in the history
* Update msrest and regenerate swagger. (#7308)

* Update msrest and regenerate swagger.

* override to get green CI.

* Fix to have no content type when request body is empty (#7343)

* Correct return types for list_secrets, _versions (#7268)

* More useful exceptions for Key Vault errors (#7086)

* Fix to have no content type when request body is empty

* [Blob] Set tier and rehydrate (#7269)

* [BlockBlob][Tier]Add BlobTier Support For CopyBlob/PutBlob/PutBlockList

* [BlockBlob][Tier]Add Recordings for Standard BlobTier Support

* [BlockBlob][Rehydrate]Enable Rehydrate Priority for Copy/SetTier

* [BlockBlob][Rehydrate]Recordings for Rehydrate Priority for Copy/SetTier

* [Blob] Echo client (#7350)

* [EchoClientId]Verify Client Request ID in Response Same as in Request

* [BlockBlob][Rehydrate]Fix Recordings

* Refactor max_connections to max_concurrency (#7531)

* Rename max_connections to max_concurrency

* Other non breaking changes

* comment changes

* Use generated version as constant API version (#7547)

* Re-recording from #7555 (#7585)

* Storage batch API (#7387)

* delete_blobs POC

* Storage POC WIP

* Storage POC async

* Storage WIP

* Storage clean-up

* Storage options

* Autorest remark

* Use config option

* SetBlobTier WIP

* Working and tested delete_blobs + options

* Set standard tier with tests

* Adapt tests for playback mode

* Move batch_send to common mixin

* Python 2.7 compat

* Fix snapshot bug

* Re-record

* Pass kwargs to batch

* Clean x-ms-client-request-id from body if multipart response

* remove duplicated comp=tier

* Disable batch tests on Python 2.7

* pylint

* Batch ChangeLog (#7593)

* [Storage Blob] Regenerate Swagger (#7572)

* Regenerate Swagger

* small fix

* adjusts literalincludes for msft docs (#7599)

* Download sparse blob (#7555)

* [PageBlob]Optimize Download Sparse File

* Breaking Changes - Permission models (#7517)

* Rename Permission related models to SasPermissions

* Rewrite Permission Models

* refactor tests

* some tests

* comment changes

* remove length checks

* QueuePermissions

* File Permissions

* blobs minor tweaks

* minor fix

* pylint fix

* pylint

* Fix batch docstrings (#7600)

* Fix batch docstrings

* pylint

* [Rename]rename max_connections to max_concurrency (#7606)

* small edits to lease client docs (#7550)

* small edits to lease client docs

* whitespace

* Setup identity for unified pipelines. (#7578)

* Setup keyvault for unified pipelines. (#7579)

* Setup eventhubs for publishing via unified pipelines. (#7580)

* Setup eventhubs for publishing via unified pipelines.

* Fixed missing punctuation.

* Setup cosmos for release via unified pipelines. (#7581)

* bump CI

* Manual network september (#7576)

* generated files

* adding 2019-07-01

* history and version

* rerun tests

* updated version

* removed subscription id from tests

* rerun tests again

* replaced subscription id

* [AutoPR] reservations/resource-manager (#7569)

* [AutoPR reservations/resource-manager] [Hub Generated] Review request for Microsoft.Capacity to add version preview/2019-04-01 (#7251)

* Generated from f19a2e5b7f384018b74b21b7b8b8782d95b456f9

fixed x-ms-enum value

* Generated from 2f56008117d578bec6cc8b8c832926f45a0fe52e

fixed catalog definition

* Generated from cac978330e8c7b9583812a735cfeac97fb267056

reverted breaking operation id change

* added version and history

* [AutoPR] sql/resource-manager (#7535)

* Generated from 9402dbf3fb3d5fffcb80f501b1fc857ff97ab723 (#7329)

Fixing PR validation errors

* regenerated

* history and version

* Setup app configuration with unified pipelines. (#7582)

* [AutoPR] resources/resource-manager (#7549)

* regenerated

* updated history and version

* updated date

* Correct import_key parameter type (#7590)

* add doc for tracing (#7616)

* Add a from_blob_url method (#7567)

* Add a from_blob_url method

* Update tests

* Recordings - common blob

* Revert "Recordings - common blob"

This reverts commit ad07f34c25f7662cbaed8b33ac05a1a6f6270dae.

* comment changes

* undo get_client changes

* redo recordings

* from_container_url

* fix tests

* tests fix for container url

* pylint fix

* Fix some docstring

* docstrings

* Doc imprvment for Storage (#7601)

* Docstring improvement

* File docstring

* Queue docstrings

* More doc fixes

* More doc fixes

* Revert "small edits to lease client docs (#7550)" (#7631)

This reverts commit ed20b58.

* kwarg-ify methods (#7611)

* changeset1

* changeset-2

* changeset-3

* changeset-4

* minor fix

* some final tweaks

* pylint

* minor fixes

* max_concurrency

* lease_id

* pylint

* fix

* [Storage] Consolidate offset and range parameters (#7598)

* Updated blob sync tests

* Offset refactor APIS (#19)

* rename to offset and length

* fix

* more changes

* Updated blob sync tests

* Temp block async tests

* Fix upload page behaviour

* Fix clear page behaviour

* Update from_url offset behaviour

* Update page ranges

* Fix download blob behaviour

* Some cleanup

* Fixed page size

* More test fixes

* Some more fixes

* Fixed page tests

* Fixed encryption tests

* Fix common test

* append anf page blob async

* some more test fixes

* Fix live tests

* more changes async

* Fix sparse blob test

* Last tests

* update docstrings

* pylint

* Some Final tweaks (#7653)

* Some final tweaks

* comments

* Fix live tests (#7665)

* fix live tests

* oops

* few changes
  • Loading branch information
Rakshith Bhyravabhotla authored and zezha-msft committed Oct 8, 2019
1 parent a7805e7 commit e2266eb
Show file tree
Hide file tree
Showing 539 changed files with 195,665 additions and 44,543 deletions.
44 changes: 0 additions & 44 deletions doc/sphinx/ref/azure.storage.blob.aio.rst
Original file line number Diff line number Diff line change
@@ -1,50 +1,6 @@
azure.storage.blob.aio package
==============================

Submodules
----------

azure.storage.blob.aio.blob\_client\_async module
-------------------------------------------------

.. automodule:: azure.storage.blob.aio.blob_client_async
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.aio.blob\_service\_client\_async module
----------------------------------------------------------

.. automodule:: azure.storage.blob.aio.blob_service_client_async
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.aio.container\_client\_async module
------------------------------------------------------

.. automodule:: azure.storage.blob.aio.container_client_async
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.aio.lease\_async module
------------------------------------------

.. automodule:: azure.storage.blob.aio.lease_async
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.aio.models module
------------------------------------

.. automodule:: azure.storage.blob.aio.models
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

Expand Down
51 changes: 0 additions & 51 deletions doc/sphinx/ref/azure.storage.blob.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,57 +8,6 @@ Subpackages

azure.storage.blob.aio

Submodules
----------

azure.storage.blob.blob\_client module
--------------------------------------

.. automodule:: azure.storage.blob.blob_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.blob\_service\_client module
-----------------------------------------------

.. automodule:: azure.storage.blob.blob_service_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.container\_client module
-------------------------------------------

.. automodule:: azure.storage.blob.container_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.lease module
-------------------------------

.. automodule:: azure.storage.blob.lease
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.models module
--------------------------------

.. automodule:: azure.storage.blob.models
:members:
:undoc-members:
:show-inheritance:

azure.storage.blob.version module
---------------------------------

.. automodule:: azure.storage.blob.version
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------
Expand Down
43 changes: 0 additions & 43 deletions doc/sphinx/ref/azure.storage.file.aio.rst
Original file line number Diff line number Diff line change
@@ -1,49 +1,6 @@
azure.storage.file.aio package
==============================

Submodules
----------

azure.storage.file.aio.directory\_client\_async module
------------------------------------------------------

.. automodule:: azure.storage.file.aio.directory_client_async
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.aio.file\_client\_async module
-------------------------------------------------

.. automodule:: azure.storage.file.aio.file_client_async
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.aio.file\_service\_client\_async module
----------------------------------------------------------

.. automodule:: azure.storage.file.aio.file_service_client_async
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.aio.models module
------------------------------------

.. automodule:: azure.storage.file.aio.models
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.aio.share\_client\_async module
--------------------------------------------------

.. automodule:: azure.storage.file.aio.share_client_async
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------
Expand Down
51 changes: 0 additions & 51 deletions doc/sphinx/ref/azure.storage.file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,57 +8,6 @@ Subpackages

azure.storage.file.aio

Submodules
----------

azure.storage.file.directory\_client module
-------------------------------------------

.. automodule:: azure.storage.file.directory_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.file\_client module
--------------------------------------

.. automodule:: azure.storage.file.file_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.file\_service\_client module
-----------------------------------------------

.. automodule:: azure.storage.file.file_service_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.models module
--------------------------------

.. automodule:: azure.storage.file.models
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.share\_client module
---------------------------------------

.. automodule:: azure.storage.file.share_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.file.version module
---------------------------------

.. automodule:: azure.storage.file.version
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------
Expand Down
27 changes: 0 additions & 27 deletions doc/sphinx/ref/azure.storage.queue.aio.rst
Original file line number Diff line number Diff line change
@@ -1,33 +1,6 @@
azure.storage.queue.aio package
===============================

Submodules
----------

azure.storage.queue.aio.models module
-------------------------------------

.. automodule:: azure.storage.queue.aio.models
:members:
:undoc-members:
:show-inheritance:

azure.storage.queue.aio.queue\_client\_async module
---------------------------------------------------

.. automodule:: azure.storage.queue.aio.queue_client_async
:members:
:undoc-members:
:show-inheritance:

azure.storage.queue.aio.queue\_service\_client\_async module
------------------------------------------------------------

.. automodule:: azure.storage.queue.aio.queue_service_client_async
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------
Expand Down
35 changes: 0 additions & 35 deletions doc/sphinx/ref/azure.storage.queue.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,41 +8,6 @@ Subpackages

azure.storage.queue.aio

Submodules
----------

azure.storage.queue.models module
---------------------------------

.. automodule:: azure.storage.queue.models
:members:
:undoc-members:
:show-inheritance:

azure.storage.queue.queue\_client module
----------------------------------------

.. automodule:: azure.storage.queue.queue_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.queue.queue\_service\_client module
-------------------------------------------------

.. automodule:: azure.storage.queue.queue_service_client
:members:
:undoc-members:
:show-inheritance:

azure.storage.queue.version module
----------------------------------

.. automodule:: azure.storage.queue.version
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------
Expand Down
50 changes: 50 additions & 0 deletions sdk/storage/azure-storage-blob/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,56 @@
# Change Log azure-storage-blob


## 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)
- 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
library requiring azure-core 1.0.0b1 or azure-core 1.0.0b2, you must explicitly install
the specific version of azure-core as well. For example:

`pip install azure-core==1.0.0b2 azure-storage-blob==12.0.0b2`

## Version 12.0.0b3:

**New features**
Expand Down
Loading

0 comments on commit e2266eb

Please sign in to comment.