Azure SDK for Python (April 2024)
The Azure SDK team is pleased to announce our April 2024 client library releases.
50 packages released this month.
Stable Packages (21)
-
App Configuration
-
Azure Monitor OpenTelemetry
-
Communication Chat
-
Cosmos DB
-
Event Grid
-
Identity
-
Identity Broker
-
Machine Learning
-
Monitor Query
-
Resource Management - Batch
-
Resource Management - Communication
-
Resource Management - Compute
-
Resource Management - Confluent
-
Resource Management - Container Service Fleet
-
Resource Management - Data Factory
-
Resource Management - IoT Firmware Defense
-
Resource Management - Mobile Network
-
Resource Management - NetApp Files
-
Resource Management - New Relic Observability
-
Resource Management - Sphere
-
azure-communication-messages
Patch Updates (4)
-
Event Hubs
-
Form Recognizer
-
Resource Management - API Management
-
Service Bus
Beta Packages (22)
-
AI Generative
-
AI Resources
-
App Configuration
-
Azure AI Search
-
Communication Phone Numbers
-
Document Intelligence
-
Event Grid
-
OpenTelemetry Exporter
-
Resource Management - Azure AI Search
-
Resource Management - Container Apps
-
Resource Management - Cosmos DB
-
Resource Management - Cosmos DB for PostgreSQL
-
Resource Management - HDInsight Containers
-
Resource Management - Nginx
-
Resource Management - Notification Hubs
-
Resource Management - Quantum
-
Resource Management - SQL
-
Resource Management - Service Linker
-
Resource Management - Storageactions
-
Resource Management - Support
-
Resource Management - Workloadssapvirtualinstance
-
unknown
Release highlights
AI Generative 1.0.0b8 Changelog
Other Changes
- Bug fixes
AI Resources 1.0.0b8 Changelog
Features Added
- Connections LIST operation now supports returning data connections via new optional flag: include_data_connections.
- Connections have read-only support for 3 new connection types: gen 2, data lake, and azure blob.
Bugs Fixed
- Connections docstrings now discuss scope field.
App Configuration 1.6.0b1 Changelog
Bugs Fixed
- Fixed a bug in consuming “etag” value in sync operation
set_configuration_setting()
.
Features Added
- Exposed
send_request()
method in each client to send custom requests using the client’s existing pipeline. - Supported to get page ETag while iterating
list_configuration_setting()
result by page.
App Configuration 1.6.0b2 Changelog
Bugs Fixed
- Changed invalid default value
None
toFalse
for propertyenabled
inFeatureFlagConfigurationSetting
. - Fixed the issue that
description
,display_name
and other customer fields are missing when de/serializingFeatureFlagConfigurationSetting
objects.
App Configuration 1.6.0 Changelog
Bugs Fixed
- Fixed a bug in consuming “etag” value in sync operation
set_configuration_setting()
. - Changed invalid default value
None
toFalse
for propertyenabled
inFeatureFlagConfigurationSetting
. - Fixed the issue that
description
,display_name
and other customer fields are missing when de/serializingFeatureFlagConfigurationSetting
objects.
Features Added
- Exposed
send_request()
method in each client to send custom requests using the client’s existing pipeline. - Supported to get page ETag while iterating
list_configuration_setting()
result by page.
Azure AI Search 11.6.0b3 Changelog
Features Added
- Added
IndexerExecutionEnvironment
,IndexingMode
,LineEnding
,NativeBlobSoftDeleteDeletionDetectionPolicy
,ScalarQuantizationCompressionConfiguration
,ScalarQuantizationParameters
,SearchServiceCounters
,SearchServiceLimits
,SearchServiceStatistics
,VectorSearchCompressionConfiguration
&VectorSearchCompressionTargetDataType
. - Added
stored
inSearchField
.
Azure Monitor OpenTelemetry 1.4.0 Changelog
Features Added
Communication Chat 1.3.0 Changelog
Features Added
- Updated
chat_attachment.attachment_type
to include typefile
to support ACS users to recieve files shared by Teams user. - Added support for a new communication identifier
MicrosoftTeamsAppIdentifier
.
Communication Phone Numbers 1.2.0b2 Changelog
Features Added
- Add support for number lookup
- Format only can be returned for no cost
- Additional number details can be returned for a cost
Cosmos DB 4.6.0 Changelog
Features Added
- GA release of hierarchical partitioning, index metrics and transactional batch.
Bugs Fixed
- Keyword arguments were not being passed down for
create_container_if_not_exists()
methods. See PR 34286.
Document Intelligence 1.0.0b3 Changelog
Other Changes
- Changed the default polling interval from 5s to 1s.
Event Grid 4.18.0 Changelog
Features Added
- Added new enum values to
SystemEventNames
related to Azure Api Center.
Event Grid 4.19.0 Changelog
Bugs Fixed
- Fixed a bug where the Api Version was being hardcoded to
2018-01-01
on any request sent to the service.
Features Added
- Added new enum values to
SystemEventNames
related to Azure Communication Services.
Event Grid 4.20.0b1 Changelog
Breaking Changes
- Removed the
AcknowledgeOptions
,ReleaseOptions
,RejectOptions
, andRenewLockOptions
models.lock_tokens
can now be specified as akwarg
on the operation. - Renamed
publish_cloud_events
tosend
.
Features Added
- This is a Beta of the EventGridClient
- EventGridClient
send
can be used for both Event Grid Namespace Resources and Event Grid Basic Resources. - Added a kwarg
level
in the EventGridClient constructor. The default value isStandard
which creates a client for an Event Grid Namespace Resource.
Event Hubs 5.11.7 Changelog
Bugs Fixed
- Fixed a bug where using
EventHubProducerClient
in buffered mode could potentially drop a buffered message without actually sending it. (#34712)
Form Recognizer 3.3.3 Changelog
Other Changes
- Added support for Python 3.12.
- Python 3.7 is no longer supported. Please use Python version 3.8 or later.
- Changed the default polling interval from 5s to 1s.
Identity 1.16.0 Changelog
Other Changes
- For IMDS requests in
ManagedIdentityCredential
, the retry backoff factor was reduced from 2 to 0.8 in order to avoid excessive retry delays and improve responsiveness. Users can customize this setting with theretry_backoff_factor
parameter:ManagedIdentityCredential(retry_backoff_factor=2)
. (#35070)
Identity Broker 1.1.0 Changelog
Features Added
InteractiveBrowserBrokerCredential
now supports ause_default_broker_account
property to enable the use of the currently logged in operating system account for authentication rather than prompting for a credential.- Added
enable_support_logging
as a keyword argument toInteractiveBrowserBrokerCredential
. This allows additional support logging which may contain PII.
Machine Learning 1.14.0 Changelog
Features Added
- Remove
experimental
tag forml_client.jobs.validate
. - Workspace Connection has new read-only subclass: AzureBlobStoreWorkspaceConnectionSchema.
- Workspace Connection supports 2 new types under main class: gen 2 and azure_one_lake.
- Workspace Connection LIST operation can return data connections via new optional flag: include_data_connections.
Bugs Fixed
- Fix pipeline job
outputs
not load correctly whencomponent: <local-file>
exists in pipeline job yaml. - Workspace ListKey operation serialization issue fixed.
- Workspace Diagnose result now can be print in to Json format.
Machine Learning 1.15.0 Changelog
Other Changes
- The following classes will still be able to be imported from
azure.ai.ml
, but the import is deprecated and emits a warning. Instead, please import them fromazure.ai.ml.entities
. AmlTokenConfiguration
ManagedIdentityConfiguration
UserIdentityConfiguration
- The following classes will still be able to be imported from
azure.ai.ml.entities
, but the import is deprecated and emits a warning. Instead, please import them fromazure.ai.ml.sweep
. Choice
Uniform
LogUniform
QLogUniform
QUniform
QLogNormal
QNormal
LogNormal
Normal
Randint
Monitor Query 1.3.0 Changelog
Breaking Changes
- The following changes are breaking against the previous preview release (i.e.
1.3.0b2
/1.3.0b1
): MetricsBatchQueryClient
has been renamed toMetricsClient
. (#33958)- Reordered the arguments for the async
MetricsClient
constructor so thatendpoint
is now the first positional argument. (#33752) - Positional arguments in
MetricsClient.query_resources
are now required keyword-only arguments. (#33958) - The
resource_uris
argument inMetricsClient.query_resources
has been renamed toresource_ids
. (#34760)
Features Added
- Added
roll_up_by
keyword argument toMetricsClient.query_resources
to support rolling up metrics by dimension. (#33752)
OpenTelemetry Exporter 1.0.0b24 Changelog
Breaking Changes
- Rename Statbeat environments variables to use
APPLICATIONINSIGHTS_*
(#34742)
Features Added
- Add live metrics collection of requests/dependencies/exceptions (#34673)
- Add live metrics collection of cpu time/process memory (#34735)
- Add live metrics collection feature detection to statsbeat (#34752)
Bugs Fixed
- Reduce vm metadata service timeout to 200ms (#35039)
Resource Management - API Management 4.0.1 Changelog
Resource Management - Azure AI Search 9.2.0b1 Changelog
Resource Management - Batch 17.3.0 Changelog
Resource Management - Communication 2.1.0 Changelog
Resource Management - Compute 30.6.0 Changelog
Resource Management - Confluent 2.1.0 Changelog
Resource Management - Container Apps 3.1.0b1 Changelog
Resource Management - Container Service Fleet 1.1.0 Changelog
Resource Management - Cosmos DB 10.0.0b3 Changelog
Resource Management - Cosmos DB for PostgreSQL 1.1.0b1 Changelog
Resource Management - Data Factory 6.1.0 Changelog
Resource Management - HDInsight Containers 1.0.0b2 Changelog
Resource Management - IoT Firmware Defense 1.0.0 Changelog
Resource Management - Mobile Network 3.2.0 Changelog
Resource Management - NetApp Files 12.0.0 Changelog
Resource Management - New Relic Observability 1.1.0 Changelog
Resource Management - Nginx 3.1.0b1 Changelog
Resource Management - Notification Hubs 8.1.0b2 Changelog
Resource Management - Quantum 1.0.0b5 Changelog
Resource Management - SQL 4.0.0b16 Changelog
Resource Management - Service Linker 1.2.0b2 Changelog
Resource Management - Sphere 1.0.0 Changelog
Resource Management - Storageactions 1.0.0b1 Changelog
Resource Management - Support 6.1.0b3 Changelog
Resource Management - Workloadssapvirtualinstance 1.0.0b1 Changelog
Service Bus 7.12.1 Changelog
Bugs Fixed
- Fixed a bug where the client was not retrying when a connection drop happened (34786)
- Fixed a bug where the client would not handle a role instance swap on the service correctly (34820)
azure-communication-messages 1.0.0 Changelog
Features Added
- Using
NotificationMessagesClient
- Send Text messages
- Send Template messages
- Send Media messages
- Using
MessageTemplateClient
- Get list of all WhatsApp templates.
unknown 1.0.0b1 Changelog
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-documentintelligence==1.0.0b3
$> pip install azure-ai-formrecognizer==3.3.3
$> pip install azure-ai-generative==1.0.0b8
$> pip install azure-ai-ml==1.14.0
$> pip install azure-ai-ml==1.15.0
$> pip install azure-ai-resources==1.0.0b8
$> pip install azure-appconfiguration==1.6.0b1
$> pip install azure-appconfiguration==1.6.0b2
$> pip install azure-appconfiguration==1.6.0
$> pip install azure-communication-chat==1.3.0
$> pip install azure-communication-messages==1.0.0
$> pip install azure-communication-phonenumbers==1.2.0b2
$> pip install azure-cosmos==4.6.0
$> pip install azure-eventgrid==4.18.0
$> pip install azure-eventgrid==4.19.0
$> pip install azure-eventgrid==4.20.0b1
$> pip install azure-eventhub==5.11.7
$> pip install azure-identity==1.16.0
$> pip install azure-identity-broker==1.1.0
$> pip install azure-mgmt-apimanagement==4.0.1
$> pip install azure-mgmt-appcontainers==3.1.0b1
$> pip install azure-mgmt-batch==17.3.0
$> pip install azure-mgmt-communication==2.1.0
$> pip install azure-mgmt-compute==30.6.0
$> pip install azure-mgmt-confluent==2.1.0
$> pip install azure-mgmt-containerservicefleet==1.1.0
$> pip install azure-mgmt-cosmosdb==10.0.0b3
$> pip install azure-mgmt-cosmosdbforpostgresql==1.1.0b1
$> pip install azure-mgmt-datafactory==6.1.0
$> pip install azure-mgmt-hdinsightcontainers==1.0.0b2
$> pip install azure-mgmt-iotfirmwaredefense==1.0.0
$> pip install azure-mgmt-migrationdiscoverysap==1.0.0b1
$> pip install azure-mgmt-mobilenetwork==3.2.0
$> pip install azure-mgmt-netapp==12.0.0
$> pip install azure-mgmt-newrelicobservability==1.1.0
$> pip install azure-mgmt-nginx==3.1.0b1
$> pip install azure-mgmt-notificationhubs==8.1.0b2
$> pip install azure-mgmt-quantum==1.0.0b5
$> pip install azure-mgmt-search==9.2.0b1
$> pip install azure-mgmt-servicelinker==1.2.0b2
$> pip install azure-mgmt-sphere==1.0.0
$> pip install azure-mgmt-sql==4.0.0b16
$> pip install azure-mgmt-storageactions==1.0.0b1
$> pip install azure-mgmt-support==6.1.0b3
$> pip install azure-mgmt-workloadssapvirtualinstance==1.0.0b1
$> pip install azure-monitor-opentelemetry==1.4.0
$> pip install azure-monitor-opentelemetry-exporter==1.0.0b24
$> pip install azure-monitor-query==1.3.0
$> pip install azure-search-documents==11.6.0b3
$> pip install azure-servicebus==7.12.1
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.