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-identity
1.8.0 or newer (#20698)
Avro Encoder 1.0.0b3 Changelog
Breaking Changes
auto_register_schemas
keyword in the sync and asyncAvroEncoder
constructors has been renamedauto_register
.SchemaParseError
,SchemaEncodeError
, andSchemaDecodeError
have been replaced withInvalidContentError
andInvalidSchemaError
. The errors have been added under theazure.schemaregistry.encoder.avroencoder
namespace.- The
exceptions
module inazure.schemaregistry.encoder.avroencoder
has been removed. - The
encode
method on the sync and asyncAvroEncoder
only allows subtypes of theMessageType
protocol as values to themessage_type
optional 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
BlobSasPermissions
where thetag
permission had a default value ofTrue
and therefore was being added to the SAS token by default.
Certificates 4.4.0 Changelog
Bugs Fixed
KeyType
now 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-identity
1.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
content
kwarg ofazure.core.rest.HttpRequest
from objects with aread
method #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-core
dependency to avoid inconsistent dependencies from being installed.
Event Grid 4.8.0 Changelog
Features Added
- Added new enum values to
SystemEventNames
related 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 onDocumentField
to 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_ids
tocomponent_model_ids
. - Renamed
model_count
andmodel_limit
onAccountInfo
todocument_model_count
anddocument_model_limit
.
Identity 1.9.0 Changelog
Bugs Fixed
- Added check on
content
from 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_authority
support is not available in 1.9.0.
Identity 1.10.0b1 Changelog
Features Added
- Added
validate_authority
support for msal client (#22625)
Keys 4.5.0 Changelog
Bugs Fixed
KeyType
now 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_policy
accepts a requiredpolicy
argument (#22981)- The optional
version
parameter inKeyClient.release_key
is now a keyword-only argument (#22981)- Renamed the
name
parameter inKeyClient.get_key_rotation_policy
andKeyClient.update_key_rotation_policy
tokey_name
(#22981)- Enum values in
azure-keyvault-keys
are 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-identity
1.8.0 or newer (#20698) - (From 4.5.0b1)
KeyClient
has aget_random_bytes
method 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_key
method toKeyClient
for releasing the private component of a key - Added
exportable
andrelease_policy
keyword-only arguments to key creation and import methods - Added
KeyExportEncryptionAlgorithm
enum 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 aCryptographyClient
for 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_key
to rotate a key on-demand - Added
KeyClient.update_key_rotation_policy
to update a key’s automated rotation policy - (From 4.5.0b6) Added
immutable
keyword-only argument and property toKeyReleasePolicy
to 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_guids
to 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-identity
1.8.0 or newer (#20698) - (From 4.4.0b3) Added
managed
property 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.