Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions BreakingChanges.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

> See the [Change Log](ChangeLog.md) for a summary of storage library changes.

## Version 0.32.0:

### Blob:
- get_blob_to_* will do an initial get request of size 32 MB. If it then finds the blob is larger than this size, it will parallelize by default.
- Block blob and page blob create_blob_from_* methods will parallelize by default.

### File:
- get_file_to_* will do an initial get request of size 32 MB. If it then finds the file is larger than this size, it will parallelize by default.
- create_file_from_* methods will parallelize by default.

## Version 0.30.0

### All:
Expand Down
4 changes: 2 additions & 2 deletions azure/storage/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
import platform

__author__ = 'Microsoft Corp. <[email protected]>'
__version__ = '0.31.0'
__version__ = '0.32.0'

# x-ms-version for storage service.
X_MS_VERSION = '2015-07-08'

# UserAgent string sample: 'Azure-Storage/0.31.0 (Python CPython 3.4.2; Windows 8)'
# UserAgent string sample: 'Azure-Storage/0.32.0 (Python CPython 3.4.2; Windows 8)'
_USER_AGENT_STRING = 'Azure-Storage/{} (Python {} {}; {} {})'.format(__version__, platform.python_implementation(), platform.python_version(), platform.system(), platform.release())

# Live ServiceClient URLs
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
# built documents.
#
# The short X.Y version.
version = '0.31.0'
version = '0.32.0'
# The full version, including alpha/beta/rc tags.
release = '0.31.0'
release = '0.32.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

setup(
name='azure-storage',
version='0.31.0',
version='0.32.0',
description='Microsoft Azure Storage Client Library for Python',
long_description=open('README.rst', 'r').read(),
license='Apache License 2.0',
Expand Down
48 changes: 25 additions & 23 deletions tests/recordings/test_append_blob.test_append_blob_from_bytes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,60 @@ interactions:
- request:
body: null
headers:
Accept-Encoding: [identity]
Connection: [keep-alive]
Content-Length: ['0']
User-Agent: [Azure-Storage/0.31.0 (Python CPython 3.4.2; Windows 8)]
User-Agent: [Azure-Storage/0.32.0 (Python CPython 3.4.3; Windows 8)]
x-ms-blob-type: [AppendBlob]
x-ms-date: ['Thu, 07 Apr 2016 21:11:40 GMT']
x-ms-client-request-id: [3d552a5c-116b-11e6-bb26-8851fb5f57fc]
x-ms-date: ['Tue, 03 May 2016 20:11:36 GMT']
x-ms-version: ['2015-07-08']
method: PUT
uri: https://storagename.blob.core.windows.net/utcontainer927f11f2/blob927f11f2
response:
body: {string: ''}
headers:
Date: ['Thu, 07 Apr 2016 21:11:39 GMT']
ETag: ['"0x8D35F293722925A"']
Last-Modified: ['Thu, 07 Apr 2016 21:11:41 GMT']
Date: ['Tue, 03 May 2016 20:11:37 GMT']
ETag: ['"0x8D3738F219899B8"']
Last-Modified: ['Tue, 03 May 2016 20:11:37 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
x-ms-request-id: [d5904ae0-0001-007f-2212-916138000000]
x-ms-request-id: [1b2f4794-0001-0048-6577-a5cd97000000]
x-ms-version: ['2015-07-08']
status: {code: 201, message: Created}
- request:
body: !!binary |
YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo=
headers:
Accept-Encoding: [identity]
Connection: [keep-alive]
Content-Length: ['26']
User-Agent: [Azure-Storage/0.31.0 (Python CPython 3.4.2; Windows 8)]
x-ms-date: ['Thu, 07 Apr 2016 21:11:41 GMT']
User-Agent: [Azure-Storage/0.32.0 (Python CPython 3.4.3; Windows 8)]
x-ms-client-request-id: [3d696940-116b-11e6-a6c8-8851fb5f57fc]
x-ms-date: ['Tue, 03 May 2016 20:11:37 GMT']
x-ms-version: ['2015-07-08']
method: PUT
uri: https://storagename.blob.core.windows.net/utcontainer927f11f2/blob927f11f2?comp=appendblock
response:
body: {string: ''}
headers:
Content-MD5: [w/zT12GS5AB9+0lsymfhOw==]
Date: ['Thu, 07 Apr 2016 21:11:40 GMT']
ETag: ['"0x8D35F2937299775"']
Last-Modified: ['Thu, 07 Apr 2016 21:11:41 GMT']
Date: ['Tue, 03 May 2016 20:11:37 GMT']
ETag: ['"0x8D3738F219EDCB4"']
Last-Modified: ['Tue, 03 May 2016 20:11:37 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
x-ms-blob-append-offset: ['0']
x-ms-blob-committed-block-count: ['1']
x-ms-request-id: [d5904b09-0001-007f-4812-916138000000]
x-ms-request-id: [1b2f47a6-0001-0048-7477-a5cd97000000]
x-ms-version: ['2015-07-08']
status: {code: 201, message: Created}
- request:
body: null
headers:
Accept-Encoding: [identity]
Connection: [keep-alive]
User-Agent: [Azure-Storage/0.31.0 (Python CPython 3.4.2; Windows 8)]
x-ms-date: ['Thu, 07 Apr 2016 21:11:41 GMT']
x-ms-range: [bytes=None-]
User-Agent: [Azure-Storage/0.32.0 (Python CPython 3.4.3; Windows 8)]
x-ms-client-request-id: [3d6f8aac-116b-11e6-9aa4-8851fb5f57fc]
x-ms-date: ['Tue, 03 May 2016 20:11:37 GMT']
x-ms-range: [bytes=0-33554431]
x-ms-version: ['2015-07-08']
method: GET
uri: https://storagename.blob.core.windows.net/utcontainer927f11f2/blob927f11f2
Expand All @@ -64,16 +64,18 @@ interactions:
headers:
Accept-Ranges: [bytes]
Content-Length: ['26']
Content-Range: [bytes 0-25/26]
Content-Type: [application/octet-stream]
Date: ['Thu, 07 Apr 2016 21:11:40 GMT']
ETag: ['"0x8D35F2937299775"']
Last-Modified: ['Thu, 07 Apr 2016 21:11:41 GMT']
Date: ['Tue, 03 May 2016 20:11:37 GMT']
ETag: ['"0x8D3738F219EDCB4"']
Last-Modified: ['Tue, 03 May 2016 20:11:37 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
x-ms-blob-committed-block-count: ['1']
x-ms-blob-type: [AppendBlob]
x-ms-lease-state: [available]
x-ms-lease-status: [unlocked]
x-ms-request-id: [d5904b20-0001-007f-5d12-916138000000]
x-ms-request-id: [1b2f47ba-0001-0048-0777-a5cd97000000]
x-ms-version: ['2015-07-08']
status: {code: 200, message: OK}
x-ms-write-protection: ['false']
status: {code: 206, message: Partial Content}
version: 1
Loading