Azure SDK for Python (September 2021)
The Azure SDK team is pleased to announce our September 2021 client library releases.
GA
-
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
Updates
-
Identity
-
Service Bus
Beta
-
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
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.
Release highlights
Cognitive Search 11.3.0b3 Changelog
Features Added
- Added new models:
azure.search.documents.models.Captions
azure.search.documents.models.CaptionResult
azure.search.documents.indexes.models.CustomEntityLookupSkillLanguage
azure.search.documents.indexes.models.EntityRecognitionSkillVersion
azure.search.documents.indexes.models.LexicalNormalizerName
azure.search.documents.indexes.models.PIIDetectionSkill
azure.search.documents.indexes.models.PIIDetectionSkillMaskingMode
azure.search.documents.indexes.models.SearchIndexerCache
azure.search.documents.indexes.models.SearchIndexerDataIdentity
azure.search.documents.indexes.models.SearchIndexerDataNoneIdentity
azure.search.documents.indexes.models.SearchIndexerDataUserAssignedIdentity
azure.search.documents.indexes.models.SentimentSkillVersion
- Added
normalizer_name
property toAnalyzeTextOptions
model.
Breaking Changes
- Removed:
azure.search.documents.indexes.models.SentimentSkillV3
azure.search.documents.indexes.models.EntityRecognitionSkillV3
- Renamed:
SearchField.normalizer
renamed toSearchField.normalizer_name
.
Communication Chat 1.1.0b1 Changelog
Added
- Added support to add
metadata
formessage
- Added support to add
sender_display_name
forChatThreadClient.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_scopes
keyword. - Added
audience
keyword, 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.datetime
objects in ISO 8601 format, conforming to RFC 3339’s specification. #20190- We now use
azure.core.serialization.AzureJSONEncoder
to serializejson
input toazure.core.rest.HttpRequest
.
Bugs Fixed
- The behaviour of the headers returned in
azure.core.rest
responses 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_statuses
has been renamed tolist_translation_statuses
- Changed:
list_all_document_statuses
has been renamed tolist_document_statuses
- Changed:
TranslationStatus
propertydocuments_cancelled_count
has been renamed todocuments_canceled_count
- Changed:
FileFormat
has been renamed toDocumentTranslationFileFormat
- Changed: Operation statuses
Cancelled
andCancelling
have been renamed toCanceled
andCanceling
, respectively.
Bugs Fixed
- The operation
id
underdetails
of 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.0b2
which 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
CertificateCredential
accepts certificates in PKCS12 format (#13540)OnBehalfOfCredential
supports the on-behalf-of authentication flow for accessing resources on behalf of users (#19308)DefaultAzureCredential
allows 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_statistics
andinclude_visualization
args can now work together.
Features Added
- Added additional
display_description
attribute to theMetric
type. - Added a
MetricClass
enum to provide the class of a metric. - Added a
metric_class
attribute to theMetricDefinition
type. - Added a
MetricNamespaceClassification
enum to support thenamespace_classification
attribute onMetricNamespace
type. - Added a
MetricUnit
enum to describe the unit of the metric.
Breaking Changes
- Rename
batch_query
toquery_batch
. - Rename
LogsBatchQueryRequest
toLogsBatchQuery
. include_render
is now renamed toinclude_visualization
in the query API.LogsQueryResult
now returnsvisualization
instead ofrender
.start_time
,duration
andend_time
are now replaced with a single param calledtimespan
resourceregion
is renamed toresource_region
in the MetricResult type.top
is renamed tomax_results
in the metric’squery
API.metric_namespace_name
is renamed tofully_qualified_namespace
is_dimension_required
is renamed todimension_required
interval
andtime_grain
are renamed togranularity
orderby
is renamed toorder_by
LogsQueryResult
now returnsdatetime
objects for a time values.LogsBatchQuery
doesn’t accept arequest_id
anymore.MetricsMetadataValues
is removed. A dictionary is used instead.time_stamp
is renamed totimestamp
inMetricValue
type.AggregationType
is renamed toMetricAggregationType
.- Removed
LogsBatchResultError
type. LogsQueryResultTable
is named toLogsTable
LogsTableColumn
is now removed. Column labels are strings instead.start_time
inlist_metric_namespaces
API is now a datetime.- The order of params in
LogsBatchQuery
is changed. Also,headers
is no longer accepted. timespan
is now a required keyword-only argument in logs APIs.- batch api now returns a list of
LogsQueryResult
objects.
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
ServiceBusClient
to automatically discard spawnedServiceBusSender
orServiceBusReceiver
from its handler set when no strong reference to the sender or receiver exists anymore. - Reduced CPU load of
azure.servicebus.AutoLockRenewer
during lock renewal.
Latest Releases
View all the latest versions of Python packages here.