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.HybridCountAndFacetMode
azure.search.documents.models.HybridSearch
azure.search.documents.models.SearchScoreThreshold
azure.search.documents.models.VectorSimilarityThreshold
azure.search.documents.models.VectorThreshold
azure.search.documents.models.VectorThresholdKind
azure.search.documents.models.VectorizableImageBinaryQuery
azure.search.documents.models.VectorizableImageUrlQuery
azure.search.documents.indexes.models.AIServicesVisionParameters
azure.search.documents.indexes.models.AIServicesVisionVectorizer
azure.search.documents.indexes.models.AIStudioModelCatalogName
azure.search.documents.indexes.models.AzureMachineLearningParameters
azure.search.documents.indexes.models.AzureMachineLearningVectorizer
azure.search.documents.indexes.models.AzureOpenAIModelName
azure.search.documents.indexes.models.VectorEncodingFormat
azure.search.documents.indexes.models.VisionVectorizeSkill
- Added
hybrid_search
support forSearchClient.search
method. - 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
JobRouterClient
upsert_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_version
keyword 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_update
operations now include an optionalpopulate_secrets
input, 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:
AzureBlobStoreConnection
AzureBlobStoreConnection
MicrosoftOneLakeConnection
AzureOpenAIConnection
AzureAIServicesConnection
AzureAISearchConnection
AzureContentSafetyConnection
AzureSpeechServicesConnection
APIKeyConnection
OpenAIConnection
SerpConnection
ServerlessConnection
- 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 ininvoke
andget-credentials
operations. - 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
services
parameter has been added to thegenerate_account_sas
API, 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-extensions
to>=4.6.0
to avoid potentialTypeError
withtyping.TypeVar
on Python 3.12. - Fixed an issue where authentication errors could raise
AttributeError
instead ofClientAuthenticationError
when using async OAuth credentials. - Fixed a typing issue which incorrectly typed the
readinto
API. The correct input type isIO[bytes]
. - Fixed a typo in the initialization of
completion_time
for theCopyProperties
model. - Fixed a couple of issues with
upload_blob
when 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-blob
to 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
services
parameter has been added to thegenerate_account_sas
API, 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-extensions
to>=4.6.0
to avoid potentialTypeError
withtyping.TypeVar
on Python 3.12. - Fixed an issue where authentication errors could raise
AttributeError
instead ofClientAuthenticationError
when 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
exists
method toShareFileClient
to check if a file exists. - Added support for service version 2024-05-04.
- The
services
parameter has been added to thegenerate_account_sas
API, 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
ShareDirectoryClient
returned byget_subdirectory_client
with aShareDirectoryClient
pointing to the root of the file share would raise anInvalidResourceName
on any operations. - Bumped dependency of
typing-extensions
to>=4.6.0
to avoid potentialTypeError
withtyping.TypeVar
on Python 3.12. - Fixed an issue where authentication errors could raise
AttributeError
instead ofClientAuthenticationError
when using async OAuth credentials. - Fixed an issue where parameter
delete_snapshots
todelete_share
API did not support all possible enums. This change makesdelete_snapshots
now 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
InvalidHeaderValue
due 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
services
parameter has been added to thegenerate_account_sas
API, 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-extensions
to>=4.6.0
to avoid potentialTypeError
withtyping.TypeVar
on Python 3.12. - Fixed an issue where authentication errors could raise
AttributeError
instead ofClientAuthenticationError
when 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.