Releases: Azure/azure-sdk-for-python
Releases · Azure/azure-sdk-for-python
azure-mgmt-compute_38.0.0b1
38.0.0b1 (2026-04-16)
Features Added
- Client
ComputeManagementClientadded methodsend_request - Model
CommunityGalleryadded propertyidentifier - Model
CommunityGalleryImageVersionadded propertyidentifier - Model
SharedGalleryadded propertyidentifier - Model
SharedGalleryImageVersionadded propertyidentifier - Model
Usageadded propertyunit - Added model
CloudError - Added enum
ComponentNames - Added enum
PassNames - Operation group
CapacityReservationsOperationsadded parameterexpandin methodlist_by_capacity_reservation_group
Breaking Changes
- All Cloud Services (classic) related operations have been removed due to the Azure Cloud Services (classic) retirement.
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
- Deleted or renamed enum
AvailabilitySetSkuTypes - Model
AvailabilitySetUpdatemoved instance variableplatform_update_domain_count,platform_fault_domain_count,virtual_machines,proximity_placement_group,statuses,scheduled_events_policyandvirtual_machine_scale_set_migration_infounder propertyproperties - Model
CapacityReservationGroupUpdatemoved instance variablecapacity_reservations,virtual_machines_associated,instance_view,sharing_profileandreservation_typeunder propertyproperties - Model
CapacityReservationUpdatemoved instance variablereservation_id,platform_fault_domain_count,virtual_machines_associated,provisioning_time,provisioning_state,instance_view,time_createdandschedule_profileunder propertyproperties - Model
DedicatedHostGroupUpdatemoved instance variableplatform_fault_domain_count,hosts,instance_view,support_automatic_placementandadditional_capabilitiesunder propertyproperties - Model
DedicatedHostUpdatemoved instance variableplatform_fault_domain,auto_replace_on_failure,host_id,virtual_machines,license_type,provisioning_time,provisioning_state,instance_viewandtime_createdunder propertyproperties - Model
DiskEncryptionSetmoved instance variableencryption_type,active_key,previous_keys,provisioning_state,rotation_to_latest_key_version_enabled,last_key_rotation_timestamp,auto_key_rotation_errorandfederated_client_idunder propertypropertieswhose type isEncryptionSetProperties - Model
GalleryApplicationUpdatemoved instance variabledescription,eula,privacy_statement_uri,release_note_uri,end_of_life_date,supported_os_typeandcustom_actionsunder propertyproperties - Model
GalleryApplicationVersionUpdatemoved instance variablepublishing_profile,safety_profile,provisioning_stateandreplication_statusunder propertyproperties - Model
GalleryImageUpdatemoved instance variabledescription,eula,privacy_statement_uri,release_note_uri,os_type,os_state,hyper_v_generation,end_of_life_date,identifier,recommended,disallowed,purchase_plan,provisioning_state,features,architectureandallow_update_imageunder propertyproperties - Model
GalleryImageVersionUpdatemoved instance variablepublishing_profile,provisioning_state,storage_profile,safety_profile,replication_status,security_profile,restoreandvalidations_profileunder propertyproperties - Model
GalleryInVMAccessControlProfileVersionmoved instance variabletarget_locations,exclude_from_latest,published_date,provisioning_state,replication_status,mode,default_accessandrulesunder propertyproperties - Model
GalleryInVMAccessControlProfileVersionUpdatemoved instance variabletarget_locations,exclude_from_latest,published_date,provisioning_state,replication_status,mode,default_accessandrulesunder propertyproperties - Model
GalleryScriptUpdatemoved instance variabledescription,eula,privacy_statement_uri,release_note_uri,end_of_life_date,supported_os_typeandprovisioning_stateunder propertyproperties - Model
GalleryScriptVersionUpdatemoved instance variablepublishing_profile,safety_profile,provisioning_stateandreplication_statusunder propertyproperties - Model
GalleryUpdatemoved instance variabledescription,identifier,provisioning_state,sharing_profile,soft_delete_policyandsharing_statusunder propertyproperties - Model
ImageUpdatemoved instance variablesource_virtual_machine,storage_profile,provisioning_stateandhyper_v_generationunder propertyproperties - Model
PirCommunityGalleryResourcemoved instance variableunique_idunder propertyidentifierwhose type isCommunityGalleryIdentifier - Model
PirSharedGalleryResourcemoved instance variableunique_idunder propertyidentifierwhose type isSharedGalleryIdentifier - Model
RestorePointCollectionUpdatemoved instance variablesource,provisioning_state,restore_point_collection_id,restore_pointsandinstant_accessunder propertyproperties - Model
SshPublicKeyUpdateResourcemoved instance variablepublic_keyunder propertyproperties - Model
VirtualMachineRunCommandUpdatemoved instance variablesource,parameters,protected_parameters,async_execution,run_as_user,run_as_password,timeout_in_seconds,output_blob_uri,error_blob_uri,output_blob_managed_identity,error_blob_managed_identity,provisioning_state,instance_viewandtreat_failure_as_deployment_failureunder propertyproperties - Model
VirtualMachineScaleSetExtensionUpdatemoved instance variableforce_update_tag,publisher,type_properties_type,type_handler_version,auto_upgrade_minor_version,enable_automatic_upgrade,settings,protected_settings,provisioning_state,provision_after_extensions,suppress_failuresandprotected_settings_from_key_vaultunder propertyproperties - Model
VirtualMachineScaleSetVMExtensionmoved instance variableforce_update_tag,publisher,type_properties_type,type_handler_version,auto_upgrade_minor_version,enable_automatic_upgrade,settings,protected_settings,provisioning_state,instance_view,suppress_failures,protected_settings_from_key_vaultandprovision_after_extensionsunder propertyproperties - Model
VirtualMachineScaleSetVMExtensionUpdatemoved instance variableforce_update_tag,publisher,type_properties_type,type_handler_version,auto_upgrade_minor_version,enable_automatic_upgrade,settings,protected_settings,suppress_failuresandprotected_settings_from_key_vaultunder propertyproperties - Model
VirtualMachineUpdatemoved instance variablehardware_profile,scheduled_events_policy,storage_profile,additional_capabilities,os_profile,network_profile,security_profile,diagnostics_profile,availability_set,virtual_machine_scale_set,proximity_placement_group,priority,eviction_policy,billing_profile,host,host_group,provisioning_state,instance_view,license_type,vm_id,extensions_time_budget,platform_fault_domain,scheduled_events_profile,user_data,capacity_reservation,application_profileandtime_createdunder propertyproperties - Model
ResourceSkuRestrictionsrenamed its instance variablevaluestovalues_property - Model
UserArtifactManagerenamed its instance variableupdatetoupdate_property - Method
VirtualMachineScaleSetVMsOperations.begin_updatereplaced positional_or_keywordif_match/if_none_matchto keyword_onlyetag/match_condition - Method
VirtualMachineScaleSetsOperations.begin_create_or_updatereplaced positional_or_keywordif_match/if_none_matchto keyword_onlyetag/match_condition - Method
VirtualMachineScaleSetsOperations.begin_updatereplaced positional_or_keywordif_match/if_none_matchto keyword_onlyetag/match_condition - Method
VirtualMachinesOperations.begin_create_or_updatereplaced positional_or_keywordif_match/if_none_matchto keyword_onlyetag/match_condition - Method
VirtualMachinesOperations.begin_updatereplaced positional_or_keywordif_match/if_none_matchto keyword_onlyetag/match_condition - Method
AvailabilitySetsOperations.list_by_subscriptionchanged its parameterexpandfrompositional_or_keywordtokeyword_only - Method
CapacityReservationGroupsOperations.getchanged its parameterexpandfrompositional_or_keywordtokeyword_only - Method
CapacityReservationGroupsOperations.list_by_resource_groupchanged its parameterexpandfrompositional_or_keywordtokeyword_only - Method
CapacityReservationGroupsOperations.list_by_subscriptionchanged its parameterexpand/resource_ids_onlyfrompositional_or_keywordtokeyword_only - Method
CapacityReservationsOperations.getchanged its parameterexpandfrompositional_or_keywordtokeyword_only - Method
DedicatedHostGroupsOperations.getchanged its parameterexpandfrompositional_or_keywordtokeyword_only - Method
DedicatedHostsOperations.getchanged its parameterexpandfrompositional_or_keywordtokeyword_only - Method
GalleriesOperations.getchanged its parameterselect/expandfrompositional_or_keywordtokeyword_only - Method
GalleryApplicationVersionsOperations.getchanged its parameterexpandfrompositional_or_keywordtokeyword_only - Method
GalleryImageVersionsOperations.getchanged its parameterexpandfrompositional_or_keywordtokeyword_only - M...
azure-keyvault-secrets_4.11.0
4.11.0 (2026-03-26)
Features Added
- Added support for service API version
2025-07-01- Added support for retrieving secrets with
out_content_type - Added the
previous_versionproperty toSecretProperties
- Added support for retrieving secrets with
Other Changes
- Key Vault API version
2025-07-01is now the default
azure-keyvault-certificates_4.11.0
4.11.0 (2026-03-27)
Features Added
- Added support for service API version
2025-07-01 - Added
urisandip_addressesproperties toSubjectAlternativeNames
Bugs Fixed
- When creating a certificate with an unknown issuer,
CertificateClient.(begin_)create_certificatenow returns a
CertificateOperationinstead ofNone - When a certificate operation's error doesn't have an inner error,
CertificateOperationErrorwill be correctly
serialized instead of raising an exception
(Azure/azure-cli #31764)
azure-ai-agentserver-responses_1.0.0b1
1.0.0b1 (2026-04-14)
Features Added
- Initial release of
azure-ai-agentserver-responses. ResponsesAgentServerHost— Starlette-based host with Responses protocol endpoints (POST /responses,GET /responses/{id},POST /responses/{id}/cancel,DELETE /responses/{id},GET /responses/{id}/input_items).TextResponse— high-level convenience for text-only responses with automatic SSE lifecycle. Accepts a plain string, sync/async callable, or async iterable via thetextparameter.ResponseEventStream— low-level builder API for emitting SSE events with full control over output items (message, function call, reasoning, file search, web search, code interpreter, image gen, MCP, custom tool).- Convenience generators (
output_item_message(),output_item_function_call(),output_item_reasoning_item()) and async streaming variants (aoutput_item_message(), etc.) for common patterns. - New convenience generators for all output item types:
output_item_image_gen_call(),output_item_structured_outputs(),output_item_computer_call(),output_item_computer_call_output(),output_item_local_shell_call(),output_item_local_shell_call_output(),output_item_function_shell_call(),output_item_function_shell_call_output(),output_item_apply_patch_call(),output_item_apply_patch_call_output(),output_item_custom_tool_call_output(),output_item_mcp_approval_request(),output_item_mcp_approval_response(),output_item_compaction(), plus async variants for all. output_item_message()andaoutput_item_message()now accept anannotationskeyword argument for attaching typedAnnotationinstances (file_path, file_citation, url_citation).- New factory methods on
ResponseEventStream:add_output_item_structured_outputs(),add_output_item_computer_call(),add_output_item_computer_call_output(),add_output_item_local_shell_call(),add_output_item_local_shell_call_output(),add_output_item_function_shell_call(),add_output_item_function_shell_call_output(),add_output_item_apply_patch_call(),add_output_item_apply_patch_call_output(),add_output_item_custom_tool_call_output(),add_output_item_mcp_approval_request(),add_output_item_mcp_approval_response(),add_output_item_compaction(). data_urlutility module (is_data_url(),decode_bytes(),try_decode_bytes(),get_media_type()) for parsing RFC 2397 data URLs in image/file inputs.IdGenerator.new_structured_output_item_id()with"fco"partition prefix.- Samples 12–16: image generation, image input, file inputs, annotations, structured outputs.
ResponseContextprovidingresponse_id, conversation history loading, input item access viaget_input_items()(returnsItemsubtypes),get_input_text()convenience for extracting text content, isolation context, and client headers.ResponsesServerOptionsfor configuring default model, SSE keep-alive, shutdown grace period, and other runtime options.- Support for all execution modes: default (synchronous), streaming (SSE), background, and streaming + background.
- Automatic SSE event replay for previously streamed responses via
?stream=true. - Cooperative cancellation via
asyncio.Eventand graceful shutdown integration. InMemoryResponseProvideras the default in-process state store.ResponseProviderProtocolandResponseStreamProviderProtocolfor custom storage implementations.- Built-in distributed tracing with OpenTelemetry integration.
azure-ai-agentserver-invocations_1.0.0b1
1.0.0b1 (2026-04-14)
Features Added
- Initial release of
azure-ai-agentserver-invocations. InvocationAgentServerHost— a Starlette-based host subclass for the invocations protocol.- Decorator-based handler registration (
@app.invoke_handler,@app.get_invocation_handler,@app.cancel_invocation_handler). - Optional
GET /invocations/{id}andPOST /invocations/{id}/cancelendpoints. GET /invocations/docs/openapi.jsonfor OpenAPI spec serving.- Invocation ID tracking and session correlation via
agent_session_idquery parameter. - Distributed tracing with GenAI semantic convention span attributes.
- W3C Baggage propagation of
invocation_idandsession_idfor cross-service correlation. - Structured logging with
invocation_idandsession_idviacontextvars. - Streaming response support with span lifecycle management.
- Cooperative mixin inheritance for multi-protocol composition.
azure-ai-agentserver-core_2.0.0b1
2.0.0b1 (2026-04-14)
This is a major architectural rewrite. The package has been redesigned as a lightweight hosting
foundation. Protocol implementations that were previously bundled in this package have moved to
dedicated protocol packages (azure-ai-agentserver-responses, azure-ai-agentserver-invocations).
See the Migration Guide
for upgrading from 1.x versions.
Breaking Changes
- Package split: All Responses API protocol types (models, handler decorators, SSE streaming)
have moved toazure-ai-agentserver-responses. All Invocations protocol types have moved to
azure-ai-agentserver-invocations. This package now contains only the shared hosting foundation. FoundryCBAgentremoved: Replaced byAgentServerHost, a Starlette subclass that IS the
ASGI app (no separate.appproperty orregister_routes()).AgentRunContextremoved: Protocol packages provide their own context types
(ResponseContextin Responses,request.statein Invocations).TracingHelperclass removed: Replaced by module-level functions (request_span,
end_span,record_error,trace_stream) for a simpler functional API.AgentLogger/get_logger()removed: Uselogging.getLogger("azure.ai.agentserver")
directly, or rely on the SDK's automatic console logging setup.ErrorResponse.create()removed: Replaced bycreate_error_response()module-level function.- Health endpoint renamed:
/healthy→/readiness. - OpenTelemetry is now a required dependency (was optional
[tracing]extras in 1.x). - Environment variables changed:
AGENT_LOG_LEVELandAGENT_GRACEFUL_SHUTDOWN_TIMEOUTare
no longer read fromConstants. Use thelog_levelandgraceful_shutdown_timeoutconstructor
parameters instead.
Features Added
AgentServerHostbase class with built-in health probe (/readiness), graceful shutdown
(configurable timeout), and Hypercorn-based ASGI serving.- Cooperative mixin inheritance for multi-protocol composition — a single server can host both
Responses and Invocations endpoints. - Automatic OpenTelemetry tracing with Azure Monitor and OTLP exporters.
configure_observabilityconstructor parameter for overridable logging + tracing setup.
ConsoleStreamHandleris attached to the root logger by default so userlogging.info()
calls are visible without any extra configuration.request_span()context manager for creating request-scoped OTel spans with GenAI semantic
convention attributes.end_span(),record_error(),flush_spans(),trace_stream()public functions for
protocol SDK tracing lifecycle.set_current_span()/detach_context()for explicit OTel context management during
streaming, ensuring child spans are correctly parented.AgentConfigdataclass for resolved configuration from environment variables (Foundry agent
name, version, project ID, session ID, etc.).create_error_response()utility for standard error envelope JSON responses.build_server_version()for constructingx-platform-serverheader segments.- HTTP access logging with configurable format via
access_logandaccess_log_format
constructor parameters.
azure-template_0.1.0b6153055
0.1.0b6153055 (2026-04-14)
Features Added
- Some feature
Breaking Changes
- Some breaking change
Bugs Fixed
- Some bug fix
Other Changes
- Some other change
azure-template_0.1.0b6148749
0.1.0b6148749 (2026-04-14)
Features Added
- Some feature
Breaking Changes
- Some breaking change
Bugs Fixed
- Some bug fix
Other Changes
- Some other change
azure-template_0.1.0b6132347
0.1.0b6132347 (2026-04-09)
Features Added
- Some feature
Breaking Changes
- Some breaking change
Bugs Fixed
- Some bug fix
Other Changes
- Some other change
azure-ai-evaluation_1.16.5
1.16.5 (2026-04-08)
Bugs Fixed
- Fixed Jinja2 Server-Side Template Injection (SSTI) vulnerability by replacing unsandboxed
jinja2.Templatewithjinja2.sandbox.SandboxedEnvironmentacross all template rendering paths (CWE-1336). - Fixed
sensitive_data_leakagerisk category producing 0% attack success rate (false negatives) in the Foundry execution path. Agent-specific tool context (e.g.,document_client_smode,email_client_smode) was stored inSeedObjective.metadatabut never propagated to the target callback, so the agent could not access the sensitive data it was supposed to leak. Context is now delivered viaprepended_conversationSeedPrompts and extracted from conversation history metadata, enabling the ACA runtime to build FunctionTool injections. - Fixed multi-turn and crescendo red team strategies producing output items identical to their baseline counterparts. The Foundry execution path was writing all strategies' conversations to a single shared JSONL file, causing each strategy to read all conversations and mislabel them. Now writes per-strategy JSONL files using PyRIT's scenario result grouping.