4.4 KiB
title | layout | date | tags | sidebar | repository |
---|---|---|---|---|---|
Azure SDK for Python (January 2020) | post | 2020-01-13 | python | releases_sidebar | azure/azure-sdk-for-python |
The Azure SDK team is pleased to make available the January 2020 client library GA release. This GA release includes new and updated client libraries for App Configuration, Identity, Key Vault (keys, secrets and certificates), Event Hubs and Storage (Blobs, Queues, and File share). Some of the libraries are released as preview such as Text Analytics, and Storage Datalake.
This release includes the following:
GA
- App Configuration
- Event Hubs
- Storage (Blobs, Queues, File Shares)
- Key Vault (Certificates, Secrets, Keys)
- Identity
Preview
- Text Analytics
- Storage (Data Lake)
Installation Instructions
To install the latest preview version of the packages, copy and paste the following commands into a terminal:
pip install azure-appconfiguration
pip install --pre azure-eventhub
pip install --pre azure-eventhub-checkpointstoreblob-aio
pip install azure-storage-blob
pip install --pre azure-storage-file-datalake
pip install --pre azure-storage-file-share
pip install azure-storage-queue
pip install azure-keyvault-certificates
pip install azure-keyvault-keys
pip install azure-keyvault-secrets
pip install azure-identity
pip install --pre azure-ai-textanalytics
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Changelog
Detailed change logs are linked to in the Quick Links below. Here are some critical call outs.
App Configuration
- Add AAD auth support
Event Hubs
- Added support for tracing (issue #7153).
- Added new boolean type parameter
track_last_enqueued_event_properties
in methodEventHubClient.create_consumer()
. - Added new property
last_enqueued_event_properties
of EventHubConsumer which containssequence_number
,offset
,enqueued_time
andretrieval_time information
. - Removed support for IoT Hub direct connection. EventHubs compatible connection string of an IoT Hub 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.
Storage
- The first preview for azure-storage-file-datalake has been released to allow accessing Azure Storage data with DataLake semantics when hierarchical namespace is enabled
azure.storage.file
is nowazure.storage.fileshare
.- The package is renamed from
azure-storage-file
toazure-storage-file-share
along with renamed client modules.
- The package is renamed from
- New API for stream download responses for blobs and files. This object is no longer iterable.
- Client and model modules are now internal.
- Changed optional params to keyword only in queues and files.
enqueue_message
is now calledsend_message
in queues.- Other breaking changes like renaming
LeaseClient
in blobs toBlobLeaseClient
.
Key Vault (Keys, Secrets, and Certificates)
- GA release of certificates
Identity
- An async credential's transport session can be closed by using the credential as an async context manager (
async with
) or calling itsclose
method
Text Analytics
- The first preview with new API design for the azure-ai-textanalytics client library
- New APIs include
recognize_linked_entities
andrecognize_pii_entities
, and an improved version ofanalyze_sentiment
- New underlying REST pipeline implementation based on the
azure-core
library - Authentication with subscription key or Azure Active Directory supported
- Module-level, single text operations provided for performing analysis on a single string
- Asynchronous API operations added under
azure.ai.textanalytics.aio
- New input types allow user to provide a list of strings as the input documents
- Responses now consist of a heterogeneous list of results and document errors returned in the order of the provided documents
- Keyword argument
model_version
can be used to specify the model version used to analyze documents - Keyword arguments
default_country_hint
anddefault_language
allow users to specify the defaults at client instantiation
Latest Releases
View all the latest versions of Python packages [here][python-latest-releases].
{% include refs.md %}