Azure SDK for Python (May 2024)
The Azure SDK team is pleased to announce our May 2024 client library releases.
43 packages released this month.
Stable Packages (18)
-
Communication Call Automation
-
Communication Rooms
-
Resource Management - Dev Center
-
Resource Management - Compute
-
Resource Management - Container Service
-
Resource Management - Content Delivery Network
-
Resource Management - Data Factory
-
Resource Management - Front Door
-
Resource Management - Healthcare APIs
-
Resource Management - Recovery Services
-
Resource Management - Recovery Services Backup
-
Resource Management - Resources
-
Resource Management - Support
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Share
-
Storage - Queues
-
unknown
Patch Updates (3)
-
Azure Monitor OpenTelemetry
-
Resource Management - Resources
-
Service Bus
Beta Packages (21)
-
Azure AI Search
-
Communication JobRouter
-
Communication Network Traversal
-
Event Grid
-
Machine Learning
-
OpenTelemetry Exporter
-
Resource Management - Confidential Ledger
-
Resource Management - Deviceregistry
-
Resource Management - Event Grid
-
Resource Management - Hybrid Compute
-
Resource Management - Large Instance
-
Resource Management - Largeinstance
-
Resource Management - PostgreSQL
-
Resource Management - Quota
-
Resource Management - Self Help
-
Resource Management - Standbypool
-
Storage - Blobs
-
Storage - Blobs Changefeed
-
Storage - Files Data Lake
-
Storage - Files Share
-
Storage - Queues
Release highlights
Azure AI Search 11.6.0b4 Changelog
Bugs Fixed
- Fixed the bug that SearchClient failed when both answer count and answer threshold applied.
Features Added
- Added new models:
azure.search.documents.models.HybridCountAndFacetModeazure.search.documents.models.HybridSearchazure.search.documents.models.SearchScoreThresholdazure.search.documents.models.VectorSimilarityThresholdazure.search.documents.models.VectorThresholdazure.search.documents.models.VectorThresholdKindazure.search.documents.models.VectorizableImageBinaryQueryazure.search.documents.models.VectorizableImageUrlQueryazure.search.documents.indexes.models.AIServicesVisionParametersazure.search.documents.indexes.models.AIServicesVisionVectorizerazure.search.documents.indexes.models.AIStudioModelCatalogNameazure.search.documents.indexes.models.AzureMachineLearningParametersazure.search.documents.indexes.models.AzureMachineLearningVectorizerazure.search.documents.indexes.models.AzureOpenAIModelNameazure.search.documents.indexes.models.VectorEncodingFormatazure.search.documents.indexes.models.VisionVectorizeSkill- Added
hybrid_searchsupport forSearchClient.searchmethod. - Updated default API version to
2024-05-01-preview.
Azure Monitor OpenTelemetry 1.4.1 Changelog
Features Added
- Enable sampling for attach (#35218)
Communication Call Automation 1.2.0 Changelog
Features Added
- Support for Bring Your Own Storage recording option
- Support for PauseOnStart recording option
- Support for Recording state change with new recording kind’s
Communication JobRouter 1.1.0b1 Changelog
Features Added
JobRouterClientupsert_worker- keyword argument
max_concurrent_offers: Optional[int]added. RouterWorker- Add
max_concurrent_offers
Communication Network Traversal 1.1.0b2 Changelog
Breaking Changes
- Please note, this package is no longer being maintained after 03/31/2024.
Features Added
- Added the ability specify the API version by an optional
api_versionkeyword parameter.
Communication Rooms 1.1.0 Changelog
Features Added
- Added support for a new communication identifier
MicrosoftTeamsAppIdentifier.
Event Grid 4.20.0b2 Changelog
Bugs Fixed
- Fixed serialization issues with CloudEvent and CNCF Cloud Event
Machine Learning 1.16.0b1 Changelog
Features Added
- Add experimental support for working with Promptflow evaluators:
ml_client.evaluators. - Many changes to the Connection entity class and its associated operations.
- Workspace Connection
list,get, andcreate_or_updateoperations now include an optionalpopulate_secretsinput, which causes the operations to try making a secondary call to fill in the returned connections’ credential info if possible. Only works with api key-based credentials for now. - Many workspace connection subtypes added. The full list of subclasses is now:
AzureBlobStoreConnectionAzureBlobStoreConnectionMicrosoftOneLakeConnectionAzureOpenAIConnectionAzureAIServicesConnectionAzureAISearchConnectionAzureContentSafetyConnectionAzureSpeechServicesConnectionAPIKeyConnectionOpenAIConnectionSerpConnectionServerlessConnection- Many workspace connections only accept api keys or entra ids for credentials. Since Entra IDs require not inputs, these have been refactored to not required a full credential object. Instead they only accept an api_key as a top-level input, and default to an entra credential otherwise. Their YAML schemas have been similarly altered.
- Client-side credential-type validation added for some workspace connection types.
- Added new credential type:
AadCredentialConfiguration - Renamed WorkspaceHub class as Hub.
- Added Project entity class and YAML support.
- Project and Hub operations supported by workspace operations.
- workspace list operation supports type filtering.
- Add support for Microsoft Entra token (
aad_token) auth ininvokeandget-credentialsoperations. - Add experimental support for working with indexes:
ml_client.indexes
Breaking Changes
- WorkspaceConnection and subclasses renamed to just Connection
- Removed WorkspaceHubConfig entity, and renamed WorkspaceHub to Hub.
- workspace_hub input of Workspace class hidden, renamed to hub_id, and re-surfaced in child class Project.
- Removed Workspace Hub Operations from ML Client.
OpenTelemetry Exporter 1.0.0b25 Changelog
Features Added
- Enable sampling for attach (#35218)
Resource Management - Dev Center 1.1.0 Changelog
Resource Management - Compute 31.0.0 Changelog
Resource Management - Confidential Ledger 2.0.0b4 Changelog
Resource Management - Container Service 30.0.0 Changelog
Resource Management - Content Delivery Network 13.1.0 Changelog
Resource Management - Data Factory 7.0.0 Changelog
Resource Management - Data Factory 7.1.0 Changelog
Resource Management - Deviceregistry 1.0.0b1 Changelog
Resource Management - Event Grid 10.3.0b4 Changelog
Resource Management - Front Door 1.2.0 Changelog
Resource Management - Healthcare APIs 2.1.0 Changelog
Resource Management - Hybrid Compute 9.0.0b2 Changelog
Resource Management - Large Instance 1.0.0b2 Changelog
Resource Management - Largeinstance 1.0.0b1 Changelog
Resource Management - PostgreSQL 10.2.0b16 Changelog
Resource Management - Quota 2.0.0b1 Changelog
Resource Management - Recovery Services 3.0.0 Changelog
Resource Management - Recovery Services Backup 9.1.0 Changelog
Resource Management - Resources 23.1.0 Changelog
Resource Management - Resources 23.1.1 Changelog
Resource Management - Self Help 2.0.0b3 Changelog
Resource Management - Standbypool 1.0.0b1 Changelog
Resource Management - Support 7.0.0 Changelog
Service Bus 7.12.2 Changelog
Bugs Fixed
- Fixed a bug where WebsocketConnectionClosedException was not being caught when receiving with AmqpOverWebsocket (34859)
- Fixed incorrect dependency on typing-extensions (34869, thanks @YaroBear).
Storage - Blobs 12.20.0b1 Changelog
Features Added
- Added support for service version 2024-05-04.
- The
servicesparameter has been added to thegenerate_account_sasAPI, which enables the ability to generate SAS tokens to be used with multiple services. By default, the SAS token service scope will default to the current service.
Bugs Fixed
- Bumped dependency of
typing-extensionsto>=4.6.0to avoid potentialTypeErrorwithtyping.TypeVaron Python 3.12. - Fixed an issue where authentication errors could raise
AttributeErrorinstead ofClientAuthenticationErrorwhen using async OAuth credentials. - Fixed a typing issue which incorrectly typed the
readintoAPI. The correct input type isIO[bytes]. - Fixed a typo in the initialization of
completion_timefor theCopyPropertiesmodel. - Fixed a couple of issues with
upload_blobwhen using Iterators/Generators as the data input.
Storage - Blobs 12.20.0 Changelog
Features Added
- Stable release of features from 12.20.0b1
Storage - Blobs Changefeed 12.0.0b5 Changelog
This version and all future versions will require Python 3.8+. Python 3.6 and 3.7 are no longer supported.
Other Changes
- Bumped dependency of
azure-storage-blobto the latest stable release (12.19.0).
Storage - Files Data Lake 12.15.0b1 Changelog
Features Added
- Added support for service version 2024-05-04.
- The
servicesparameter has been added to thegenerate_account_sasAPI, which enables the ability to generate SAS tokens to be used with multiple services. By default, the SAS token service scope will default to the current service.
Bugs Fixed
- Bumped dependency of
typing-extensionsto>=4.6.0to avoid potentialTypeErrorwithtyping.TypeVaron Python 3.12. - Fixed an issue where authentication errors could raise
AttributeErrorinstead ofClientAuthenticationErrorwhen using async OAuth credentials.
Storage - Files Data Lake 12.15.0 Changelog
Features Added
- Stable release of features from 12.15.0b1
Storage - Files Share 12.16.0b1 Changelog
Features Added
- Added
existsmethod toShareFileClientto check if a file exists. - Added support for service version 2024-05-04.
- The
servicesparameter has been added to thegenerate_account_sasAPI, which enables the ability to generate SAS tokens to be used with multiple services. By default, the SAS token service scope will default to the current service.
Bugs Fixed
- Fixed an issue where the
ShareDirectoryClientreturned byget_subdirectory_clientwith aShareDirectoryClientpointing to the root of the file share would raise anInvalidResourceNameon any operations. - Bumped dependency of
typing-extensionsto>=4.6.0to avoid potentialTypeErrorwithtyping.TypeVaron Python 3.12. - Fixed an issue where authentication errors could raise
AttributeErrorinstead ofClientAuthenticationErrorwhen using async OAuth credentials. - Fixed an issue where parameter
delete_snapshotstodelete_shareAPI did not support all possible enums. This change makesdelete_snapshotsnow accept string literals ‘include’ and ‘include-leased’. - Fixed an issue where specifying datetime objects with less than 7 digits of precision as input could incorrectly raise
InvalidHeaderValuedue to improper precision parsing.
Storage - Files Share 12.16.0 Changelog
Features Added
- Stable release of features from 12.16.0b1
Storage - Queues 12.10.0b1 Changelog
Features Added
- The
servicesparameter has been added to thegenerate_account_sasAPI, which enables the ability to generate SAS tokens to be used with multiple services. By default, the SAS token service scope will default to the current service.
Bugs Fixed
- Bumped dependency of
typing-extensionsto>=4.6.0to avoid potentialTypeErrorwithtyping.TypeVaron Python 3.12. - Fixed an issue where authentication errors could raise
AttributeErrorinstead ofClientAuthenticationErrorwhen using async OAuth credentials.
Storage - Queues 12.10.0 Changelog
Features Added
- Stable release of features from 12.10.0b1
unknown 1.1.0 Changelog
Features Added
- Add Async API with same name of Sync API
- Add api
is_connected
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-ml==1.16.0b1
$> pip install azure-communication-callautomation==1.2.0
$> pip install azure-communication-jobrouter==1.1.0b1
$> pip install azure-communication-networktraversal==1.1.0b2
$> pip install azure-communication-rooms==1.1.0
$> pip install azure-eventgrid==4.20.0b2
$> pip install azure-messaging-webpubsubclient==1.1.0
$> pip install azure-mgmt-azurelargeinstance==1.0.0b2
$> pip install azure-mgmt-cdn==13.1.0
$> pip install azure-mgmt-compute==31.0.0
$> pip install azure-mgmt-confidentialledger==2.0.0b4
$> pip install azure-mgmt-containerservice==30.0.0
$> pip install azure-mgmt-datafactory==7.0.0
$> pip install azure-mgmt-datafactory==7.1.0
$> pip install azure-mgmt-devcenter==1.1.0
$> pip install azure-mgmt-deviceregistry==1.0.0b1
$> pip install azure-mgmt-eventgrid==10.3.0b4
$> pip install azure-mgmt-frontdoor==1.2.0
$> pip install azure-mgmt-healthcareapis==2.1.0
$> pip install azure-mgmt-hybridcompute==9.0.0b2
$> pip install azure-mgmt-largeinstance==1.0.0b1
$> pip install azure-mgmt-quota==2.0.0b1
$> pip install azure-mgmt-rdbms==10.2.0b16
$> pip install azure-mgmt-recoveryservices==3.0.0
$> pip install azure-mgmt-recoveryservicesbackup==9.1.0
$> pip install azure-mgmt-resource==23.1.0
$> pip install azure-mgmt-resource==23.1.1
$> pip install azure-mgmt-selfhelp==2.0.0b3
$> pip install azure-mgmt-standbypool==1.0.0b1
$> pip install azure-mgmt-support==7.0.0
$> pip install azure-monitor-opentelemetry==1.4.1
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b25
$> pip install azure-search-documents==11.6.0b4
$> pip install azure-servicebus==7.12.2
$> pip install azure-storage-blob==12.20.0b1
$> pip install azure-storage-blob==12.20.0
$> pip install azure-storage-blob-changefeed==12.0.0b5
$> pip install azure-storage-file-datalake==12.15.0b1
$> pip install azure-storage-file-datalake==12.15.0
$> pip install azure-storage-file-share==12.16.0b1
$> pip install azure-storage-file-share==12.16.0
$> pip install azure-storage-queue==12.10.0b1
$> pip install azure-storage-queue==12.10.0
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.