The Azure SDK team is pleased to announce our February 2022 client library releases.

GA

  • Container Registry

  • Core

  • Resource Management - Application Insights

  • Resource Management - Compute

  • Resource Management - IoT Hub

  • Resource Management - Resources

  • Resource Management - Subscription

  • Resource Management - Web

  • Service Bus

Updates

  • Resource Management - Compute

Beta

  • Anomaly Detector

  • Cognitive Search

  • Communication Phone Numbers

  • Cosmos DB

  • Document Translation

  • Event Hubs

  • Form Recognizer

  • Identity

  • IoT Device Update

  • Key Vault - Administration

  • Key Vault - Certificates

  • Key Vault - Keys

  • Key Vault - Secrets

  • Question Answering

  • Resource Management - Log Analytics

  • Schema Registry - Avro

  • Storage - Blobs

  • Storage - Files Shares

Installation Instructions

To install the latest beta version of the packages, copy and paste the following commands into a terminal:

$> pip install azure-ai-anomalydetector==3.0.0b5
$> pip install azure-ai-formrecognizer==3.2.0b3
$> pip install azure-ai-language-questionanswering==1.1.0b1
$> pip install azure-ai-translation-document==1.0.0b6
$> pip install azure-communication-phonenumbers==1.1.0b1
$> pip install azure-containerregistry==1.0.0
$> pip install azure-core==1.22.1
$> pip install azure-cosmos==4.3.0b2
$> pip install azure-eventhub==5.8.0a2
$> pip install azure-eventhub==5.9.0b1
$> pip install azure-identity==1.8.0b1
$> pip install azure-iot-deviceupdate==1.0.0b2
$> pip install azure-keyvault-administration==4.1.0b3
$> pip install azure-keyvault-certificates==4.4.0b3
$> pip install azure-keyvault-keys==4.5.0b6
$> pip install azure-keyvault-secrets==4.4.0b3
$> pip install azure-mgmt-applicationinsights==2.1.0
$> pip install azure-mgmt-compute==24.0.1
$> pip install azure-mgmt-compute==25.0.0
$> pip install azure-mgmt-iothub==2.2.0
$> pip install azure-mgmt-loganalytics==13.0.0b1
$> pip install azure-mgmt-resource==20.1.0
$> pip install azure-mgmt-subscription==3.0.0
$> pip install azure-mgmt-web==6.1.0
$> pip install azure-schemaregistry-avroencoder==1.0.0b1
$> pip install azure-search-documents==11.3.0b7
$> pip install azure-servicebus==7.6.0
$> pip install azure-storage-blob==12.10.0b3
$> pip install azure-storage-file-share==12.7.0b2

Feedback

If you have a bug or feature request for one of the libraries, please post an issue to GitHub.

Release highlights

Anomaly Detector 3.0.0b5 Changelog

  • Fix release issues

Cognitive Search 11.3.0b7 Changelog

Features Added

  • Added models: AzureMachineLearningSkill

Communication Phone Numbers 1.1.0b1 Changelog

Features Added

  • Adds support for API verion 2022-01-11-preview2

Container Registry 1.0.0 Changelog

Breaking Changes

  • Renamed the property size of ArtifactManifestProperties to size_in_bytes.
  • Renamed TagOrder to ArtifactTagOrder.
  • Renamed ManifestOrder to ArtifactManifestOrder.

Features Added

  • Supported passing the rest api version via ContainerRegistryClient.

Core 1.22.1 Changelog

Bugs Fixed

  • Add response body to string representation of HttpResponseError if we’re not able to parse out information #22302
  • Raise AttributeError when calling azure.core.pipeline.transport.__bases__ #22469

Features Added

  • Add support for final-state-via LRO option in core. #22713

Cosmos DB 4.3.0b2 Changelog

Features Added

  • Added support for split-proof queries for the sync client

Document Translation 1.0.0b6 Changelog

Other Changes

  • Python 2.7 is no longer supported. Please use Python version 3.6 or later.

Event Hubs 5.8.0a2 Changelog

Features Added

  • Added support for async EventHubProducerClient and EventHubConsumerClient.

Breaking changes

  • The following features have been temporarily pulled out of async EventHubProducerClient and EventHubConsumerClient which will be added back in future previews as we work towards a stable release:
  • Passing the following keyword arguments to the constructors and from_connection_string methods of the EventHubProducerClient and EventHubConsumerClient is not supported: transport_type, http_proxy, custom_endpoint_address, and connection_verify.

Event Hubs 5.9.0b1 Changelog

Features Added

  • The classmethod from_message_data has been added to EventData for interoperability with the Schema Registry Avro Encoder library, and takes data and content_type as positional parameters.

Form Recognizer 3.2.0b3 Changelog

Breaking Changes

  • Added new required parameter build_mode to begin_build_model().
  • Some models that previously returned float for currency related fields may now return a CurrencyValue. TIP: Use get_model() to see updated prebuilt model schemas.

Features Added

  • Added new CurrencyValue model to represent the amount and currency symbol values found in documents.
  • Added DocumentBuildMode enum with values template and neural. These enum values can be passed in for the build_mode parameter in begin_build_model().
  • Added api_version and tags properties on ModelOperation, ModelOperationInfo, DocumentModel, DocumentModelInfo.
  • Added build_mode property on DocTypeInfo.
  • Added a tags keyword argument to begin_build_model(), begin_create_composed_model(), and get_copy_authorization().
  • Added languages property on AnalyzeResult.
  • Added model DocumentLanguage that includes information about the detected languages found in a document.
  • Added sample_analyze_read.py and sample_analyze_read_async.py under the v3.2-beta samples directory. These samples use the new prebuilt-read model added by the service.
  • Added sample_analyze_tax_us_w2.py and sample_analyze_tax_us_w2_async.py under the v3.2-beta samples directory. These samples use the new prebuilt-tax.us.w2 model added by the service.

Bugs Fixed

  • Default the percent_completed property to 0 when not returned with model operation information.

Identity 1.8.0b1 Changelog

Features Added

  • Added validate_authority support for msal client #22625
  • Added resource_id support for user-assigned managed identity #22329
  • Added ClientAssertionCredential support #22328

IoT Device Update 1.0.0b2 Changelog

Breaking Changes

  • Removed all models
  • Removed DeploymentsOperations
  • Removed UpdateOperations
  • Dropped support for Python2.7(https://github.com/Azure/azure-sdk-for-python#disclaimer)
  • Parameter account_endpoint of DeviceUpdateClient is renamed to endpoint
  • Renamed client.updates to client.device_update
  • Removed client.devices
  • Removed client.deployments
  • Renamed UpdatesOperations.get_update to DeviceUpdateOperations.get_update
  • Renamed UpdatesOperations.delete_update to DeviceUpdateOperations.begin_delete_update
  • Renamed UpdatesOperations.get_providers to DeviceUpdateOperations.list_providers
  • Renamed UpdatesOperations.get_names to DeviceUpdateOperations.list_names
  • Renamed UpdatesOperations.get_versions to DeviceUpdateOperations.list_versions
  • Renamed UpdatesOperations.get_file to DeviceUpdateOperations.get_file
  • Renamed UpdatesOperations.get_files to DeviceUpdateOperations.list_files
  • Renamed UpdatesOperations.get_operation to DeviceUpdateOperations.get_operation
  • Renamed UpdatesOperations.get_operations to DeviceUpdateOperations.list_operations
  • Renamed DevicesOperations.get_all_device_classes to DeviceManagementOperations.list_device_classes
  • Renamed DevicesOperations.get_device_class to DeviceManagementOperations.get_device_class
  • Renamed DevicesOperations.get_device_class_device_ids to DeviceManagementOperations.
  • Renamed DevicesOperations.list_devices to DeviceManagementOperations.list_devices
  • Renamed DevicesOperations.list_devices to DeviceManagementOperations.
  • Renamed DevicesOperations.get_all_device_tags to DeviceManagementOperations.list_device_tags
  • Renamed DevicesOperations.get_all_groups to DeviceManagementOperations.list_groups
  • Renamed DevicesOperations.get_group to DeviceManagementOperations.get_group
  • Renamed DevicesOperations.create_or_update_group to DeviceManagementOperations.create_or_update_group
  • Renamed DevicesOperations.delete_group to DeviceManagementOperations.delete_group
  • Renamed DevicesOperations.get_group_update_compliance to DeviceManagementOperations.get_group_update_compliance
  • Renamed DevicesOperations.get_group_best_updates to DeviceManagementOperations.list_best_updates_for_group
  • Renamed DeploymentsOperations.get_deployment_status to DeviceManagementOperations.get_deployment_status
  • Renamed DeploymentsOperations.create_or_update_deployment to DeviceManagementOperations.create_or_update_deployment
  • Renamed DeploymentsOperations.delete_deployment to DeviceManagementOperations.delete_deployment
  • Renamed DeploymentsOperations.get_deployment_devices to DeviceManagementOperations.list_deployment_devices

Features Added

  • Added DeviceManagementOperations
  • Added DeviceUpdateOperations
  • Added operation send_request to send customized http request conveniently
  • Added client.device_management

Key Vault - Administration 4.1.0b3 Changelog

Other Changes

  • Python 2.7 is no longer supported. Please use Python version 3.6 or later.
  • Updated minimum azure-core version to 1.20.0
  • (From 4.1.0b2) To support multi-tenant authentication, get_token calls during challenge authentication requests now pass in a tenant_id keyword argument (#20698)

Key Vault - Certificates 4.4.0b3 Changelog

Other Changes

  • Python 2.7 is no longer supported. Please use Python version 3.6 or later.
  • (From 4.4.0b2) To support multi-tenant authentication, get_token calls during challenge authentication requests now pass in a tenant_id keyword argument (#20698)

Key Vault - Keys 4.5.0b6 Changelog

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.

  • Renamed the required argument data in KeyReleasePolicy’s constructor to encoded_policy

Features Added

  • Added immutable keyword-only argument and property to KeyReleasePolicy to support immutable release policies. Once a release policy is marked as immutable, it can no longer be modified.

Key Vault - Secrets 4.4.0b3 Changelog

Features Added

  • Added managed property to SecretProperties

Question Answering 1.1.0b1 Changelog

Features Added

  • Added QuestionAnsweringProjectsClient for managing Qna projects. Performing project operations such as create, delete, export, and import project, as well as knowledge sources operations such as adding or listing knowledge sources, Qnas, and synonyms.

Resource Management - Application Insights 2.1.0 Changelog

Resource Management - Compute 24.0.1 Changelog

Resource Management - Compute 25.0.0 Changelog

Resource Management - IoT Hub 2.2.0 Changelog

Resource Management - Log Analytics 13.0.0b1 Changelog

Resource Management - Resources 20.1.0 Changelog

Resource Management - Subscription 3.0.0 Changelog

Resource Management - Web 6.1.0 Changelog

Schema Registry - Avro 1.0.0b1 Changelog

Features Added

  • This package is meant to replace the azure-schemaregistry-avroserializer.
  • APIs have been updated to allow for encoding directly to and decoding from message type objects, where the data value is the Avro encoded payload.
  • The content type of the message will hold the schema ID and record format indicator.

Service Bus 7.6.0 Changelog

Features Added

  • Introduce ServiceBusMessageState enum that can assume the values of active, scheduled or deferred.
  • Add state property in ServiceBusReceivedMessage.

Storage - Blobs 12.10.0b3 Changelog

Bugs Fixed

  • Update azure-core dependency to avoid inconsistent dependencies from being installed.

Features Added

  • Added support for service version 2021-04-10.
  • Added support for find_blobs_by_tags() on a container.
  • Added support for Find (f) container SAS permission.

Storage - Files Shares 12.7.0b2 Changelog

Bugs Fixed

  • Update azure-core dependency to avoid inconsistent dependencies from being installed.
  • Fixed a bug, that was introuced in the previous beta release, where generate_account_sas() was not generating the proper SAS signature.

Features Added

  • Added support for service version 2021-04-10.
  • Added support for rename_directory() and rename_file().
  • Added support for Create (c) SAS permission for Share SAS.

Latest Releases

View all the latest versions of Python packages here.