Azure SDK for Python (September 2021)
The Azure SDK team is pleased to announce our September 2021 client library releases.
33 packages released this month.
Stable Packages (14)
-
Core
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - Cost Management
-
Resource Management - Data Migration
-
Resource Management - IoT Hub
-
Resource Management - KeyVault
-
Resource Management - NetApp
-
Resource Management - Rdbms
-
Resource Management - Relay
-
Resource Management - Resources
-
Resource Management - Service Bus
-
Resource Management - Service Fabric
-
Resource Management - Web
Patch Updates (2)
-
Identity
-
Service Bus
Beta Packages (16)
-
Cognitive Search
-
Communication Chat
-
Communication Network Traversal
-
Container Registry
-
Document Translation
-
Event Hubs - Schema Registry
-
Event Hubs - Schema Registry Avro Serializer
-
Identity
-
Key Vault - Administration
-
Key Vault - Certificates
-
Key Vault - Keys
-
Key Vault - Secrets
-
Monitor Query
-
Resource Management - Healthcare APIs
-
Resource Management - Policy Insights
-
Resource Management - Synapse
Release highlights
Cognitive Search 11.3.0b3 Changelog
Features Added
- Added new models:
azure.search.documents.models.Captionsazure.search.documents.models.CaptionResultazure.search.documents.indexes.models.CustomEntityLookupSkillLanguageazure.search.documents.indexes.models.EntityRecognitionSkillVersionazure.search.documents.indexes.models.LexicalNormalizerNameazure.search.documents.indexes.models.PIIDetectionSkillazure.search.documents.indexes.models.PIIDetectionSkillMaskingModeazure.search.documents.indexes.models.SearchIndexerCacheazure.search.documents.indexes.models.SearchIndexerDataIdentityazure.search.documents.indexes.models.SearchIndexerDataNoneIdentityazure.search.documents.indexes.models.SearchIndexerDataUserAssignedIdentityazure.search.documents.indexes.models.SentimentSkillVersion- Added
normalizer_nameproperty toAnalyzeTextOptionsmodel.
Breaking Changes
- Removed:
azure.search.documents.indexes.models.SentimentSkillV3azure.search.documents.indexes.models.EntityRecognitionSkillV3- Renamed:
SearchField.normalizerrenamed toSearchField.normalizer_name.
Communication Chat 1.1.0b1 Changelog
Added
- Added support to add
metadataformessage - Added support to add
sender_display_nameforChatThreadClient.send_typing_notification
Communication Network Traversal 1.0.0b1 Changelog
- Preview release of
azure-communication-networktraversal.
The first preview of the Azure Communication Relay Client has the following features:
- get a Relay Configuration by creating a CommunicationRelayClient
Added
- Added CommunicationRelayClient in preview.
- Added CommunicationRelayClient.get_relay_configuration in preview.
Container Registry 1.0.0b6 Changelog
Breaking Changes
- Removed
credential_scopeskeyword. - Added
audiencekeyword, which allows customers to select from available audiences or provide their own audience string. This keyword is required when creating a client.
Core 1.18.0 Changelog
Features Added
azure.core.serialization.AzureJSONEncoder(introduced in 1.17.0) serializesdatetime.datetimeobjects in ISO 8601 format, conforming to RFC 3339’s specification. #20190- We now use
azure.core.serialization.AzureJSONEncoderto serializejsoninput toazure.core.rest.HttpRequest.
Bugs Fixed
- The behaviour of the headers returned in
azure.core.restresponses now aligns across sync and async. Items can now be checked case-insensitively and without raising an error for format.
Document Translation 1.0.0b5 Changelog
Breaking Changes
- Changed:
list_all_translation_statuseshas been renamed tolist_translation_statuses - Changed:
list_all_document_statuseshas been renamed tolist_document_statuses - Changed:
TranslationStatuspropertydocuments_cancelled_counthas been renamed todocuments_canceled_count - Changed:
FileFormathas been renamed toDocumentTranslationFileFormat - Changed: Operation statuses
CancelledandCancellinghave been renamed toCanceledandCanceling, respectively.
Bugs Fixed
- The operation
idunderdetailsof the poller object now populates correctly.
Event Hubs - Schema Registry 1.0.0b2 Changelog
Features Added
- Support caching of registered schemas and send requests to the service only if the cache does not have the looked-up schema/schema ID.
Event Hubs - Schema Registry Avro Serializer 1.0.0b2 Changelog
Features Added
- Depends on
azure-schemaregistry==1.0.0b2which supports client-level caching.
Identity 1.6.1 Changelog
Other Changes
- Persistent cache implementations are now loaded on demand, enabling workarounds when importing transitive dependencies such as pywin32 fails (#19989)
Identity 1.7.0b4 Changelog
Features Added
CertificateCredentialaccepts certificates in PKCS12 format (#13540)OnBehalfOfCredentialsupports the on-behalf-of authentication flow for accessing resources on behalf of users (#19308)DefaultAzureCredentialallows specifying the client ID of interactive browser via keyword argumentinteractive_browser_client_id(#20487)
Key Vault - Administration 4.1.0b1 Changelog
Features Added
- Key Vault API version 7.3-preview is now the default
Key Vault - Certificates 4.4.0b1 Changelog
Features Added
- Key Vault API version 7.3-preview is now the default
Key Vault - Keys 4.5.0b3 Changelog
Other Changes
- Updated type hints to fix mypy errors (#19158)
Key Vault - Secrets 4.4.0b1 Changelog
Features Added
- Key Vault API version 7.3-preview is now the default
Monitor Query 1.0.0b4 Changelog
Bugs Fixed
include_statisticsandinclude_visualizationargs can now work together.
Features Added
- Added additional
display_descriptionattribute to theMetrictype. - Added a
MetricClassenum to provide the class of a metric. - Added a
metric_classattribute to theMetricDefinitiontype. - Added a
MetricNamespaceClassificationenum to support thenamespace_classificationattribute onMetricNamespacetype. - Added a
MetricUnitenum to describe the unit of the metric.
Breaking Changes
- Rename
batch_querytoquery_batch. - Rename
LogsBatchQueryRequesttoLogsBatchQuery. include_renderis now renamed toinclude_visualizationin the query API.LogsQueryResultnow returnsvisualizationinstead ofrender.start_time,durationandend_timeare now replaced with a single param calledtimespanresourceregionis renamed toresource_regionin the MetricResult type.topis renamed tomax_resultsin the metric’squeryAPI.metric_namespace_nameis renamed tofully_qualified_namespaceis_dimension_requiredis renamed todimension_requiredintervalandtime_grainare renamed togranularityorderbyis renamed toorder_byLogsQueryResultnow returnsdatetimeobjects for a time values.LogsBatchQuerydoesn’t accept arequest_idanymore.MetricsMetadataValuesis removed. A dictionary is used instead.time_stampis renamed totimestampinMetricValuetype.AggregationTypeis renamed toMetricAggregationType.- Removed
LogsBatchResultErrortype. LogsQueryResultTableis named toLogsTableLogsTableColumnis now removed. Column labels are strings instead.start_timeinlist_metric_namespacesAPI is now a datetime.- The order of params in
LogsBatchQueryis changed. Also,headersis no longer accepted. timespanis now a required keyword-only argument in logs APIs.- batch api now returns a list of
LogsQueryResultobjects.
Resource Management - Compute 23.0.0 Changelog
Resource Management - Container Service 16.2.0 Changelog
Resource Management - Cost Management 3.0.0 Changelog
Resource Management - Data Migration 10.0.0 Changelog
Resource Management - Healthcare APIs 1.1.0b1 Changelog
Resource Management - IoT Hub 2.1.0 Changelog
Resource Management - KeyVault 9.1.0 Changelog
Resource Management - NetApp 5.0.0 Changelog
Resource Management - Policy Insights 1.1.0b1 Changelog
Resource Management - Rdbms 9.1.0 Changelog
Resource Management - Relay 1.1.0 Changelog
Resource Management - Resources 20.0.0 Changelog
Resource Management - Service Bus 7.0.0 Changelog
Resource Management - Service Fabric 2.0.0 Changelog
Resource Management - Synapse 2.1.0b1 Changelog
Resource Management - Web 5.0.0 Changelog
Service Bus 7.3.3 Changelog
Bugs Fixed
- Improved memory usage of
ServiceBusClientto automatically discard spawnedServiceBusSenderorServiceBusReceiverfrom its handler set when no strong reference to the sender or receiver exists anymore. - Reduced CPU load of
azure.servicebus.AutoLockRenewerduring lock renewal.
Latest Releases
View all the latest versions of Python packages here.
Installation Instructions
To install the latest beta version of the packages, copy and paste the following commands into a terminal:
$> pip install azure-ai-translation-document==1.0.0b5
$> pip install azure-communication-chat==1.1.0b1
$> pip install azure-communication-networktraversal==1.0.0b1
$> pip install azure-containerregistry==1.0.0b6
$> pip install azure-core==1.18.0
$> pip install azure-identity==1.6.1
$> pip install azure-identity==1.7.0b4
$> pip install azure-keyvault-administration==4.1.0b1
$> pip install azure-keyvault-certificates==4.4.0b1
$> pip install azure-keyvault-keys==4.5.0b3
$> pip install azure-keyvault-secrets==4.4.0b1
$> pip install azure-mgmt-compute==23.0.0
$> pip install azure-mgmt-containerservice==16.2.0
$> pip install azure-mgmt-costmanagement==3.0.0
$> pip install azure-mgmt-datamigration==10.0.0
$> pip install azure-mgmt-healthcareapis==1.1.0b1
$> pip install azure-mgmt-iothub==2.1.0
$> pip install azure-mgmt-keyvault==9.1.0
$> pip install azure-mgmt-netapp==5.0.0
$> pip install azure-mgmt-policyinsights==1.1.0b1
$> pip install azure-mgmt-rdbms==9.1.0
$> pip install azure-mgmt-relay==1.1.0
$> pip install azure-mgmt-resource==20.0.0
$> pip install azure-mgmt-servicebus==7.0.0
$> pip install azure-mgmt-servicefabric==2.0.0
$> pip install azure-mgmt-synapse==2.1.0b1
$> pip install azure-mgmt-web==5.0.0
$> pip install azure-monitor-query==1.0.0b4
$> pip install azure-schemaregistry==1.0.0b2
$> pip install azure-schemaregistry-avroserializer==1.0.0b2
$> pip install azure-search-documents==11.3.0b3
$> pip install azure-servicebus==7.3.3
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.