Azure SDK for Python (April 2022)
The Azure SDK team is pleased to announce our April 2022 client library releases.
33 packages released this month.
Stable Packages (20)
-
Administration
-
Blobs
-
Certificates
-
Event Grid
-
Identity
-
Keys
-
Resource Management - Application Insights
-
Resource Management - Azure Stack HCI
-
Resource Management - Cognitive Services
-
Resource Management - Container Service
-
Resource Management - Content Delivery Network
-
Resource Management - Healthcare APIs
-
Resource Management - Kubernetes Configuration
-
Resource Management - Media Services
-
Resource Management - Monitor
-
Resource Management - NetApp
-
Resource Management - Resources
-
Resource Management - SignalR
-
Resource Management - Storage
-
Secrets
Patch Updates (1)
- Core - Client - Core
Beta Packages (10)
-
Avro Encoder
-
Communication Network Traversal
-
Cosmos DB
-
Digital Twins Core
-
Event Grid
-
Form Recognizer
-
Identity
-
Purview Catalog
-
Resource Management - Log Analytics
-
Resource Management - Security Insight
Release highlights
Administration 4.1.0 Changelog
Features Added
- Key Vault API version 7.3 is now the default
- Added support for multi-tenant authentication when using
azure-identity1.8.0 or newer (#20698)
Avro Encoder 1.0.0b3 Changelog
Breaking Changes
auto_register_schemaskeyword in the sync and asyncAvroEncoderconstructors has been renamedauto_register.SchemaParseError,SchemaEncodeError, andSchemaDecodeErrorhave been replaced withInvalidContentErrorandInvalidSchemaError. The errors have been added under theazure.schemaregistry.encoder.avroencodernamespace.- The
exceptionsmodule inazure.schemaregistry.encoder.avroencoderhas been removed. - The
encodemethod on the sync and asyncAvroEncoderonly allows subtypes of theMessageTypeprotocol as values to themessage_typeoptional parameter, rather than any callable that has the method signature(content: bytes, content_type: str, **kwargs: Any). - The number of hits/misses, in addition to number of entries, for the schema/schema ID caches will be logged at an info level when a new entry is added.
Blobs 12.11.0 Changelog
Bugs Fixed
- Fixed a bug in
BlobSasPermissionswhere thetagpermission had a default value ofTrueand therefore was being added to the SAS token by default.
Certificates 4.4.0 Changelog
Bugs Fixed
KeyTypenow ignores casing during declaration, which resolves a scenario where Key Vault keys created with non-standard casing could not be fetched with the SDK (#22797)
Features Added
- Key Vault API version 7.3 is now the default
- Added support for multi-tenant authentication when using
azure-identity1.8.0 or newer (#20698)
Communication Network Traversal 1.1.0b1 Changelog
Breaking Changes
- Making User, RouteType and Ttl part of the options parameter
- getRelayConfiguration can be called without parameters or passing the GetRelayConfigurationOptions parameter
Features Added
- Adding optional parameter to GetRelayConfiguration to choose credential Time-To-Live in seconds of max 48 hours. The default value will be used if given value exceeds it.
Core - Client - Core 1.23.1 Changelog
Bugs Fixed
- Allow stream inputs to the
contentkwarg ofazure.core.rest.HttpRequestfrom objects with areadmethod #23578
Cosmos DB 4.3.0b4 Changelog
Features Added
- Added support for AAD authentication for the async client.
- Added support for AAD authentication for the sync client.
Digital Twins Core 1.2.0b1 Changelog
Bugs Fixed
- Update
azure-coredependency to avoid inconsistent dependencies from being installed.
Event Grid 4.8.0 Changelog
Features Added
- Added new enum values to
SystemEventNamesrelated to health care APIs.
Event Grid 4.9.0b1 Changelog
Features Added
- Added support for publishing events to a channel.
Form Recognizer 3.2.0b4 Changelog
Bugs Fixed
- Fixed
to_dict()andfrom_dict()methods onDocumentFieldto support converting lists, dictionaries, and CurrenyValue field types to and from a dictionary.
Breaking Changes
- Renamed
begin_copy_model()tobegin_copy_model_to(). - In
begin_create_composed_model(), renamed required parametermodel_idstocomponent_model_ids. - Renamed
model_countandmodel_limitonAccountInfotodocument_model_countanddocument_model_limit.
Identity 1.9.0 Changelog
Bugs Fixed
- Added check on
contentfrom msal response. (#23483) - Fixed the issue that async OBO credential does not refresh correctly. (#21981)
Features Added
- Added PII logging if logging.DEBUG is enabled. (#23203)
Breaking Changes
validate_authoritysupport is not available in 1.9.0.
Identity 1.10.0b1 Changelog
Features Added
- Added
validate_authoritysupport for msal client (#22625)
Keys 4.5.0 Changelog
Bugs Fixed
KeyTypenow ignores casing during declaration, which resolves a scenario where Key Vault keys created with non-standard casing could not be fetched with the SDK (#22797)
Breaking Changes
These changes do not impact the API of stable versions such as 4.4.0. Only code written against a beta version such as 4.5.0b1 may be affected.
KeyClient.update_key_rotation_policyaccepts a requiredpolicyargument (#22981)- The optional
versionparameter inKeyClient.release_keyis now a keyword-only argument (#22981)- Renamed the
nameparameter inKeyClient.get_key_rotation_policyandKeyClient.update_key_rotation_policytokey_name(#22981)- Enum values in
azure-keyvault-keysare now uniformly lower-cased (#22981)
Features Added
- Key Vault API version 7.3 is now the default
- Added support for multi-tenant authentication when using
azure-identity1.8.0 or newer (#20698) - (From 4.5.0b1)
KeyClienthas aget_random_bytesmethod for getting a requested number of random bytes from a managed HSM - (From 4.5.0b2) Added support for secure key release from a Managed HSM (#19588)
- Added
release_keymethod toKeyClientfor releasing the private component of a key - Added
exportableandrelease_policykeyword-only arguments to key creation and import methods - Added
KeyExportEncryptionAlgorithmenum for specifying an encryption algorithm to be used in key release - (From 4.5.0b4) Added
KeyClient.get_cryptography_client, which provides a simple way to create aCryptographyClientfor a key, given its name and optionally a version (#20621) - (From 4.5.0b4) Added support for automated and on-demand key rotation in Azure Key Vault (#19840)
- Added
KeyClient.rotate_keyto rotate a key on-demand - Added
KeyClient.update_key_rotation_policyto update a key’s automated rotation policy - (From 4.5.0b6) Added
immutablekeyword-only argument and property toKeyReleasePolicyto support immutable release policies. Once a release policy is marked as immutable, it can no longer be modified.
Purview Catalog 1.0.0b3 Changelog
Bugs Fixed
- Fix
delete_by_guidsto get rid of bad request error #22487
Resource Management - Application Insights 3.0.0 Changelog
Resource Management - Azure Stack HCI 6.1.0 Changelog
Resource Management - Cognitive Services 13.1.0 Changelog
Resource Management - Container Service 18.0.0 Changelog
Resource Management - Content Delivery Network 12.0.0 Changelog
Resource Management - Healthcare APIs 1.1.0 Changelog
Resource Management - Kubernetes Configuration 2.0.0 Changelog
Resource Management - Log Analytics 13.0.0b4 Changelog
Resource Management - Log Analytics 13.0.0b3 Changelog
Resource Management - Media Services 9.0.0 Changelog
Resource Management - Monitor 3.1.0 Changelog
Resource Management - NetApp 7.0.0 Changelog
Resource Management - Resources 21.0.0 Changelog
Resource Management - Security Insight 1.0.0b2 Changelog
Resource Management - SignalR 1.1.0 Changelog
Resource Management - Storage 20.0.0 Changelog
Secrets 4.4.0 Changelog
Features Added
- Key Vault API version 7.3 is now the default
- Added support for multi-tenant authentication when using
azure-identity1.8.0 or newer (#20698) - (From 4.4.0b3) Added
managedproperty to SecretProperties
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-formrecognizer==3.2.0b4
$> pip install azure-communication-networktraversal==1.1.0b1
$> pip install azure-core==1.23.1
$> pip install azure-cosmos==4.3.0b4
$> pip install azure-digitaltwins-core==1.2.0b1
$> pip install azure-eventgrid==4.8.0
$> pip install azure-eventgrid==4.9.0b1
$> pip install azure-identity==1.9.0
$> pip install azure-identity==1.10.0b1
$> pip install azure-keyvault-administration==4.1.0
$> pip install azure-keyvault-certificates==4.4.0
$> pip install azure-keyvault-keys==4.5.0
$> pip install azure-keyvault-secrets==4.4.0
$> pip install azure-mgmt-applicationinsights==3.0.0
$> pip install azure-mgmt-azurestackhci==6.1.0
$> pip install azure-mgmt-cdn==12.0.0
$> pip install azure-mgmt-cognitiveservices==13.1.0
$> pip install azure-mgmt-containerservice==18.0.0
$> pip install azure-mgmt-healthcareapis==1.1.0
$> pip install azure-mgmt-kubernetesconfiguration==2.0.0
$> pip install azure-mgmt-loganalytics==13.0.0b4
$> pip install azure-mgmt-loganalytics==13.0.0b3
$> pip install azure-mgmt-media==9.0.0
$> pip install azure-mgmt-monitor==3.1.0
$> pip install azure-mgmt-netapp==7.0.0
$> pip install azure-mgmt-resource==21.0.0
$> pip install azure-mgmt-securityinsight==1.0.0b2
$> pip install azure-mgmt-signalr==1.1.0
$> pip install azure-mgmt-storage==20.0.0
$> pip install azure-purview-catalog==1.0.0b3
$> pip install azure-schemaregistry-avroencoder==1.0.0b3
$> pip install azure-storage-blob==12.11.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.