github Azure/azure-sdk-for-python v0.10.0

latest releases: azure-mgmt-hybridcompute_9.1.0b1, azure-appconfiguration-provider_2.0.0b3, azure-ai-ml_1.22.1...
9 years ago

IMPORTANT CHANGE THAT AFFECTS STORAGE USERS (BLOB, QUEUE, TABLE):

The library now targets x-ms-version '2014-02-14' of the storage REST API.
Previous version of the library targeted '2012-02-12'.

The upgrade to this new version causes some breaking changes for Python SDK users:

  • Metrics for blob, queue, table service properties, which used to be accessed
    with the 'metrics' field are now accessed via 'hour_metrics' and 'minute_metrics'.
    Note that a backwards compatible 'metrics' property was added to redirect access
    to 'hour_metrics'.
  • Url is no longer returned from list_containers, list_blobs, list_queues.
    For blob, you can use the utility function make_blob_url as an alternate
    way to get a URL.

See MSDN documentation for details on REST API changes
in '2013-08-15': https://msdn.microsoft.com/en-us/library/azure/dn592124.aspx
in '2014-02-14': https://msdn.microsoft.com/en-us/library/azure/dd894041.aspx

The other changes in this release are:

  • Performance improvements in xml deserialization of storage and service bus
    Table storage query_entities is ~25X faster for the maximum of 1000 entities
  • Ability to upload and download blobs using multiple connections, along with
    retries when a chunk upload/download failure occurs
    Controlled via the max_connections, max_retries, retry_wait parameters
  • Use get_certificate_from_publish_settings to get a .pem certificate from
    your azure publish settings file
  • Ability to adjust the global http timeout
  • Service bus event hub support (create/update/delete hubs + send events)
  • Documentation for API Reference is now available at
    http://azure-sdk-for-python.readthedocs.org/en/documentation/index.html
  • Fixes for bugs:
    #237 Ability to use multiple connections to upload blob chunks in parallel
    #254 Improve performance of table storage (and more?)
    #258 Support authenticating with azureProfile like in CLI tools
    #259 Unicode error is raised instead of actual error
    #263 Change description name
    #268 delete_deployment does not pass comp=media to delete disks
    #271 Update current_name so that multiple parameters with the same name...
    #270 Documentation for capture_vm_image is incorrect
    #273 Unicode error with utf-8 encoding value
    #276 Service Mgmt - Reserved IP create/delete are async
    #280 add support for setting IdleTimeoutInMinutes on load balanced endpoint
    #288 InvalidHeaderValue on BlobService example
    #294 Upload of large files is too slow
    #304 Unable to upload large size files to Azure Page Blob

Thank you to lmazuel, rhaps0dy, timfpark, gaellbn, moutai, edevil, rjschwei and
okaram for their contributions.

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.