The Azure SDK team is pleased to make available the October 2019 client library preview release. This represents the first release of the ground-up rewrite of the client libraries to ensure consistency, idiomatic design, and excellent developer experience and productivity. This preview release includes new client libraries for Azure Cosmos, Identity, Key Vault (certificates, keys and secrets), Event Hubs, and Storage (blob, files and queues).
To install the latest preview version of the packages, copy and paste the following commands into a terminal:
pip install --pre azure-cosmos pip install --pre azure-eventhub pip install --pre azure-eventhub-checkpointstoreblob-aio pip install --pre azure-keyvault-certificates pip install --pre azure-keyvault-keys pip install --pre azure-keyvault-secrets pip install --pre azure-storage-blob pip install --pre azure-storage-file pip install --pre azure-storage-queue pip install --pre azure-appconfiguration pip install --pre azure-identity
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Detailed change logs are linked to in the Quick Links below. Here are some critical call outs.
- Added support for a
timeoutkeyword argument to all operations to specify an absolute timeout in seconds within which the operation must be completed. If the timeout value is exceeded, a
azure.cosmos.errors.CosmosClientTimeoutErrorwill be raised.
- Added a new
ConnectionRetryPolicyto manage retry behaviour during HTTP connection errors, along with constructor and per-operation keyword arguments to configure retry behavior.
- Added support for tracing (issue #7153).
- Added new boolean type parameter
- Added new property
last_enqueued_event_propertiesof EventHubConsumer which contains
- Removed support for IoT Hub direct connection. EventHubs compatible connection string of an IotHub can be used to create EventHubClient and read properties or events from an IoT Hub.
- Removed support for sending EventData to IoT Hub.
- Removed parameter exception in method
close()of EventHubConsumer and EventHubProcuer.
- Restructured the
Secretmodels. For more specific details, see the respective certificate, key, and secret changelogs.
- Both async and sync versions of
create_certificatereturn pollers now that poll on the certificate’s successful creation
- Added batching support in blobs.
- Added support to set rehydrate priority in blobs.
- Breaking changes in
PermissionModelsfor blobs, queues and files.
- Modified several methods in blobs to use more keyworrd-only arguments.
- Other breaking changes in blobs, queues and files.
AuthorizationCodeCredentialauthenticates with a previously obtained authorization code. See Azure Active Directory’s authorization code documentation for more information about this authentication flow.
- Multi-cloud support: client credentials accept the authority of an Azure Active
Directory authentication endpoint as an
authoritykeyword argument. Known authorities are defined in
azure.identity.KnownAuthorities. The default authority is for Azure Public Cloud,
See Nov Release