Azure SDK for Python (May 2025)
The Azure SDK team is pleased to announce our May 2025 client library releases.
48 packages released this month.
Stable Packages (22)
-
AI Evaluation
-
App Configuration Provider
-
Core - Client - Core
-
Event Hubs
-
Identity
-
Machine Learning
-
Resource Management - API Management
-
Resource Management - Container Apps
-
Resource Management - Container Registry
-
Resource Management - Container Service
-
Resource Management - Container Service Fleet
-
Resource Management - Cosmos DB
-
Resource Management - Data Factory
-
Resource Management - Neon Postgres
-
Resource Management - NetApp Files
-
Resource Management - Recovery Services Backup
-
Resource Management - Recovery Services Site Recovery
-
Resource Management - Service Bus
-
Resource Management - Standby Pool
-
Resource Management - Storage
-
Resource Management - Workloads SAP Virtual Instance
-
Tables
Patch Updates (3)
-
App Configuration Provider
-
Azure Monitor OpenTelemetry
-
Machine Learning
Beta Packages (18)
-
AI Projects
-
Confidential Ledger
-
Cosmos DB
-
Key Vault - Security Domain
-
Resource Management - Elastic SAN
-
Resource Management - Carbonoptimization
-
Resource Management - Dependencymap
-
Resource Management - Durable Task
-
Resource Management - Lambdatesthyperexecute
-
Resource Management - Networkcloud
-
Resource Management - Portalservicescopilot
-
Resource Management - Redis Enterprise
-
Resource Management - Storage Actions
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Share
-
Storage - Queues
-
unknown
Release highlights
AI Evaluation 1.6.0 Changelog
Features Added
- New
<evaluator>.binary_aggregate
field added to evaluation result metrics. This field contains the aggregated binary evaluation results for each evaluator, providing a summary of the evaluation outcomes. - Added support for Azure Open AI evaluation via 4 new ‘grader’ classes, which serve as wrappers around Azure Open AI grader configurations. These new grader objects can be supplied to the main
evaluate
method as if they were normal callable evaluators. The new classes are: - AzureOpenAIGrader (general class for experienced users)
- AzureOpenAILabelGrader
- AzureOpenAIStringCheckGrader
- AzureOpenAITextSimilarityGrader
Breaking Changes
- In the experimental RedTeam’s scan method, the
data_only
param has been replaced withskip_evals
and if you do not want data to be uploaded, use theskip_upload
flag.
Bugs Fixed
- Fixed error in
evaluate
where data fields could not contain numeric characters. Previously, a data file with schema:"query1": "some query", "response": "some response"
throws error when passed into
evaluator_config
as{"evaluator_name": {"column_mapping": {"query": "${data.query1}", "response": "${data.response}"}},}
. Now, users may import data containing fields with numeric characters.
AI Projects 1.0.0b9 Changelog
Breaking Changes
Redesigned automatic function calls because agents retrieved by update_agent
and get_agent
do not support them. With the new design, the toolset parameter in create_agent
no longer executes toolcalls automatically during create_and_process_run
or create_stream
. To retain this behavior, call enable_auto_function_calls
without additional changes.
Features added
- Utilities to load prompt template strings and Prompty file content
- Added BingCustomSearchTool class with sample
- Added list_threads API to agents namespace
- Added image input support for agents create_message
AI Projects 1.0.0b10 Changelog
Features added
- Added
ConnectedAgentTool
class for better connected Agent support. - Added Agent tool call tracing for all tool call types when streaming with
AgentEventHandler
based event handler. - Added tracing for listing Agent run steps.
- Add a
max_retry
argument to theenable_auto_function_calls
function to cancel the run if the maximum number of retries for auto function calls is reached.
Bugs Fixed
- Fix for filtering of messages by run ID (see GitHub issue 49513).
App Configuration Provider 2.0.2 Changelog
Other Changes
- Updates telemetry for JSON usage.
App Configuration Provider 2.1.0 Changelog
Features Added
- Added AllocationId to the feature flag telemetry metadata when the feature flag has telemetry enabled.
Azure Monitor OpenTelemetry 1.6.8 Changelog
Bugs Fixed
- Pin OTel before breaking change. (#40529)
Confidential Ledger 1.2.0b1 Changelog
Features Added
- Add and manage custom roles with the
update_user_defined_role
,get_user_defined_role
anddelete_user_defined_role
methods - Add and manage ledger users with the
create_or_update_ledger_user
,delete_ledger_user
,get_ledger_user
andlist_ledger_users
methods - Add and manage programmable endpoints with the
create_user_defined_endpoint
andget_user_defined_endpoint
methods - A user can now be associated with more than one role
- Added user defined functions support for ledger API
Core - Client - Core 1.34.0 Changelog
Features Added
- Added a
set_span_error_status
method to theOpenTelemetryTracer
class. This method allows users to set the status of a span toERROR
after it has been created. #40703
Cosmos DB 4.11.0b1 Changelog
Features Added
- Added ability to set
throughput_bucket
header at the client level and for all requests. See PR 40340. - Added ability to use Filters from Logging module on Diagnostics Logging based on Http request/response related attributes. See PR 39897.
- Added ability to use
excluded_locations
on client level and document API request level. See PR 40298
Bugs Fixed
- Fixed bug where change feed requests would not respect the partition key filter. See PR 40677.
- Fixed how the environment variables in the sdk are parsed. See PR 40303.
- Fixed health check to check the first write region when it is not specified in the preferred regions. See PR 40588.
- Fixed
response_hook
not getting called for aggregate queries. See PR 40696. - Fixed bug where writes were being retried for 5xx status codes for patch and replace. See PR 40672.
Event Hubs 5.15.0 Changelog
Bugs Fixed
- Fixed a bug where service errors were incorrectly required and expected to have info/description fields.
- Fixed a bug so that the BufferedProducer ThreadPoolExecutor uses one worker per partition. (#38961)
Features Added
- Added support for geo-replication and disaster recovery-enabled Event Hubs. To learn more about geo-replication, refer to this doc. To enable geo-replication on your Dedicated Event Hubs namespace, refer to this guide.
- Added a class method
from_bytes
toEventData
to create from a message payload of bytes. (#39711)
Identity 1.22.0 Changelog
Bugs Fixed
- Fixed an issue with error handling in MSAL-based credentials when the response content is a string rather than a dictionary. (#40281)
Breaking Changes
- Previously, if a
client_id
oridentity_config
was specified inManagedIdentityCredential
for Service Fabric managed identity, which is not supported, theclient_id
(orresource_id
/object_id
specifiedidentity_config
) would be silently ignored. Now, an exception will be raised during a token request if aclient_id
oridentity_config
is specified for Service Fabric managed identity.
Key Vault - Security Domain 1.0.0b1 Changelog
Features Added
- Initial version
Machine Learning 1.26.3 Changelog
Bugs Fixed
- Updated
marshmallow
dependency to restrict versions to>=3.5,<4.0.0
ininstall_requires
to ensure compatibility.
Machine Learning 1.26.4 Changelog
Other Changes
- Restrict major version auto updates for external dependencies to ensure stability and prevent build failures for breaking changes.
Machine Learning 1.26.5 Changelog
Features Added
- Added Target storage connection for capability host.
Machine Learning 1.27.0 Changelog
Bugs Fixed
- Fix for compute Instance, disableLocalAuth property should be depend on ssh public access enabled.
- Removing Git-related properties from job properties if a PAT token is detected in the repository URL.
- Fix deployment creation for registry models
Features Added
- Added Target storage connection for capability host.
Resource Management - Elastic SAN 1.2.0b2 Changelog
Resource Management - API Management 5.0.0 Changelog
Resource Management - Carbonoptimization 1.0.0b1 Changelog
Resource Management - Container Apps 3.2.0 Changelog
Resource Management - Container Registry 13.0.0 Changelog
Resource Management - Container Registry 14.0.0 Changelog
Resource Management - Container Service 35.0.0 Changelog
Resource Management - Container Service Fleet 3.1.0 Changelog
Resource Management - Cosmos DB 9.8.0 Changelog
Resource Management - Data Factory 9.2.0 Changelog
Resource Management - Dependencymap 1.0.0b1 Changelog
Resource Management - Durable Task 1.0.0b2 Changelog
Resource Management - Lambdatesthyperexecute 1.0.0b1 Changelog
Resource Management - Neon Postgres 1.0.0 Changelog
Resource Management - NetApp Files 13.5.0 Changelog
Resource Management - Networkcloud 2.1.0b1 Changelog
Resource Management - Portalservicescopilot 1.0.0b1 Changelog
Resource Management - Recovery Services Backup 9.2.0 Changelog
Resource Management - Recovery Services Site Recovery 1.3.0 Changelog
Resource Management - Redis Enterprise 3.1.0b3 Changelog
Resource Management - Redis Enterprise 3.1.0b4 Changelog
Resource Management - Service Bus 9.0.0 Changelog
Resource Management - Standby Pool 2.0.0 Changelog
Resource Management - Storage 22.2.0 Changelog
Resource Management - Storage Actions 1.0.0b2 Changelog
Resource Management - Workloads SAP Virtual Instance 1.0.0 Changelog
Storage - Blobs 12.26.0b1 Changelog
Features Added
- Added support for service version 2025-07-05.
- Added support for OAuth authentication in
ContainerClient
’sget_container_access_policy
andset_container_access_policy
APIs. - Added support for the keyword
source_token_intent
when copying from file share to blob and authenticated viaTokenCredential
for the followingBlobClient
APIs:upload_blob_from_url
,start_copy_from_url
,stage_block_from_url
,upload_pages_from_url
, andappend_block_from_url
. - Added support for
query_blob
in the asynchronousBlobClient
.
Storage - Files Data Lake 12.21.0b1 Changelog
Features Added
- Added support for service version 2025-07-05.
- Added support for OAuth authentication in
FileSystemClient
’sget_file_system_access_policy
andset_file_system_access_policy
APIs. - Added support for progress tracking to
DataLakeFileClient
’supload_data
anddownload_file
APIs via a new optional callback,progress_hook
.
Bugs Fixed
- Fixed an issue where URL safe encoding is inconsistent between Blob and Datalake paths.
Storage - Files Share 12.22.0b1 Changelog
Features Added
- Added support for service version 2025-07-05.
- Added new
create_symbolic_link
andget_symbolic_link
APIs toShareFileClient
to create/get symbolic links to specified files and is only supported for theNFS
protocol.
Storage - Queues 12.13.0b1 Changelog
Features Added
- Added support for service version 2025-07-05.
- Added support for OAuth authentication in
QueueClient
’sget_queue_access_policy
andset_queue_access_policy
APIs.
Tables 12.7.0 Changelog
Features Added
- Added support for configuring custom audiences for
TokenCredential
authentication when initializing aTableClient
orTableServiceClient
. (#40487)
unknown 1.0.0b1 Changelog
Breaking Changes
- enable_auto_function_calls supports positional arguments instead of keyword arguments.
Bugs Fixed
- During automatic function calls for streaming, when the thread run is cancelled due to too many retry, now a cancelled event will be sent out.
- Add missing thread run id and message id on the process thread run span
Features Added
- Initial version - splits off Azure AI Agents functionality from the Azure AI Projects SDK
- Azure AI Search tool, Bing Grounding tool, and Bing Custom Search tool parameters updated
- All polling functions now support timeout keyword parameter.
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-agents==1.0.0b1
$> pip install azure-ai-evaluation==1.6.0
$> pip install azure-ai-ml==1.26.3
$> pip install azure-ai-ml==1.26.4
$> pip install azure-ai-ml==1.26.5
$> pip install azure-ai-ml==1.27.0
$> pip install azure-ai-projects==1.0.0b9
$> pip install azure-ai-projects==1.0.0b10
$> pip install azure-appconfiguration-provider==2.0.2
$> pip install azure-appconfiguration-provider==2.1.0
$> pip install azure-confidentialledger==1.2.0b1
$> pip install azure-core==1.34.0
$> pip install azure-cosmos==4.11.0b1
$> pip install azure-data-tables==12.7.0
$> pip install azure-eventhub==5.15.0
$> pip install azure-identity==1.22.0
$> pip install azure-keyvault-securitydomain==1.0.0b1
$> pip install azure-mgmt-apimanagement==5.0.0
$> pip install azure-mgmt-appcontainers==3.2.0
$> pip install azure-mgmt-carbonoptimization==1.0.0b1
$> pip install azure-mgmt-containerregistry==13.0.0
$> pip install azure-mgmt-containerregistry==14.0.0
$> pip install azure-mgmt-containerservice==35.0.0
$> pip install azure-mgmt-containerservicefleet==3.1.0
$> pip install azure-mgmt-cosmosdb==9.8.0
$> pip install azure-mgmt-datafactory==9.2.0
$> pip install azure-mgmt-dependencymap==1.0.0b1
$> pip install azure-mgmt-durabletask==1.0.0b2
$> pip install azure-mgmt-elasticsan==1.2.0b2
$> pip install azure-mgmt-lambdatesthyperexecute==1.0.0b1
$> pip install azure-mgmt-neonpostgres==1.0.0
$> pip install azure-mgmt-netapp==13.5.0
$> pip install azure-mgmt-networkcloud==2.1.0b1
$> pip install azure-mgmt-portalservicescopilot==1.0.0b1
$> pip install azure-mgmt-recoveryservicesbackup==9.2.0
$> pip install azure-mgmt-recoveryservicessiterecovery==1.3.0
$> pip install azure-mgmt-redisenterprise==3.1.0b3
$> pip install azure-mgmt-redisenterprise==3.1.0b4
$> pip install azure-mgmt-servicebus==9.0.0
$> pip install azure-mgmt-standbypool==2.0.0
$> pip install azure-mgmt-storage==22.2.0
$> pip install azure-mgmt-storageactions==1.0.0b2
$> pip install azure-mgmt-workloadssapvirtualinstance==1.0.0
$> pip install azure-monitor-opentelemetry==1.6.8
$> pip install azure-storage-blob==12.26.0b1
$> pip install azure-storage-file-datalake==12.21.0b1
$> pip install azure-storage-file-share==12.22.0b1
$> pip install azure-storage-queue==12.13.0b1
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.