Skip to content

Releases: Azure/azure-sdk-for-python

azure-mgmt-compute_38.0.0b1

17 Apr 07:59
f1d5c8d

Choose a tag to compare

Pre-release

38.0.0b1 (2026-04-16)

Features Added

  • Client ComputeManagementClient added method send_request
  • Model CommunityGallery added property identifier
  • Model CommunityGalleryImageVersion added property identifier
  • Model SharedGallery added property identifier
  • Model SharedGalleryImageVersion added property identifier
  • Model Usage added property unit
  • Added model CloudError
  • Added enum ComponentNames
  • Added enum PassNames
  • Operation group CapacityReservationsOperations added parameter expand in method list_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 AvailabilitySetUpdate moved instance variable platform_update_domain_count, platform_fault_domain_count, virtual_machines, proximity_placement_group, statuses, scheduled_events_policy and virtual_machine_scale_set_migration_info under property properties
  • Model CapacityReservationGroupUpdate moved instance variable capacity_reservations, virtual_machines_associated, instance_view, sharing_profile and reservation_type under property properties
  • Model CapacityReservationUpdate moved instance variable reservation_id, platform_fault_domain_count, virtual_machines_associated, provisioning_time, provisioning_state, instance_view, time_created and schedule_profile under property properties
  • Model DedicatedHostGroupUpdate moved instance variable platform_fault_domain_count, hosts, instance_view, support_automatic_placement and additional_capabilities under property properties
  • Model DedicatedHostUpdate moved instance variable platform_fault_domain, auto_replace_on_failure, host_id, virtual_machines, license_type, provisioning_time, provisioning_state, instance_view and time_created under property properties
  • Model DiskEncryptionSet moved instance variable encryption_type, active_key, previous_keys, provisioning_state, rotation_to_latest_key_version_enabled, last_key_rotation_timestamp, auto_key_rotation_error and federated_client_id under property properties whose type is EncryptionSetProperties
  • Model GalleryApplicationUpdate moved instance variable description, eula, privacy_statement_uri, release_note_uri, end_of_life_date, supported_os_type and custom_actions under property properties
  • Model GalleryApplicationVersionUpdate moved instance variable publishing_profile, safety_profile, provisioning_state and replication_status under property properties
  • Model GalleryImageUpdate moved instance variable description, 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, architecture and allow_update_image under property properties
  • Model GalleryImageVersionUpdate moved instance variable publishing_profile, provisioning_state, storage_profile, safety_profile, replication_status, security_profile, restore and validations_profile under property properties
  • Model GalleryInVMAccessControlProfileVersion moved instance variable target_locations, exclude_from_latest, published_date, provisioning_state, replication_status, mode, default_access and rules under property properties
  • Model GalleryInVMAccessControlProfileVersionUpdate moved instance variable target_locations, exclude_from_latest, published_date, provisioning_state, replication_status, mode, default_access and rules under property properties
  • Model GalleryScriptUpdate moved instance variable description, eula, privacy_statement_uri, release_note_uri, end_of_life_date, supported_os_type and provisioning_state under property properties
  • Model GalleryScriptVersionUpdate moved instance variable publishing_profile, safety_profile, provisioning_state and replication_status under property properties
  • Model GalleryUpdate moved instance variable description, identifier, provisioning_state, sharing_profile, soft_delete_policy and sharing_status under property properties
  • Model ImageUpdate moved instance variable source_virtual_machine, storage_profile, provisioning_state and hyper_v_generation under property properties
  • Model PirCommunityGalleryResource moved instance variable unique_id under property identifier whose type is CommunityGalleryIdentifier
  • Model PirSharedGalleryResource moved instance variable unique_id under property identifier whose type is SharedGalleryIdentifier
  • Model RestorePointCollectionUpdate moved instance variable source, provisioning_state, restore_point_collection_id, restore_points and instant_access under property properties
  • Model SshPublicKeyUpdateResource moved instance variable public_key under property properties
  • Model VirtualMachineRunCommandUpdate moved instance variable source, 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_view and treat_failure_as_deployment_failure under property properties
  • Model VirtualMachineScaleSetExtensionUpdate moved instance variable force_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_failures and protected_settings_from_key_vault under property properties
  • Model VirtualMachineScaleSetVMExtension moved instance variable force_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_vault and provision_after_extensions under property properties
  • Model VirtualMachineScaleSetVMExtensionUpdate moved instance variable force_update_tag, publisher, type_properties_type, type_handler_version, auto_upgrade_minor_version, enable_automatic_upgrade, settings, protected_settings, suppress_failures and protected_settings_from_key_vault under property properties
  • Model VirtualMachineUpdate moved instance variable hardware_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_profile and time_created under property properties
  • Model ResourceSkuRestrictions renamed its instance variable values to values_property
  • Model UserArtifactManage renamed its instance variable update to update_property
  • Method VirtualMachineScaleSetVMsOperations.begin_update replaced positional_or_keyword if_match/if_none_match to keyword_only etag/match_condition
  • Method VirtualMachineScaleSetsOperations.begin_create_or_update replaced positional_or_keyword if_match/if_none_match to keyword_only etag/match_condition
  • Method VirtualMachineScaleSetsOperations.begin_update replaced positional_or_keyword if_match/if_none_match to keyword_only etag/match_condition
  • Method VirtualMachinesOperations.begin_create_or_update replaced positional_or_keyword if_match/if_none_match to keyword_only etag/match_condition
  • Method VirtualMachinesOperations.begin_update replaced positional_or_keyword if_match/if_none_match to keyword_only etag/match_condition
  • Method AvailabilitySetsOperations.list_by_subscription changed its parameter expand from positional_or_keyword to keyword_only
  • Method CapacityReservationGroupsOperations.get changed its parameter expand from positional_or_keyword to keyword_only
  • Method CapacityReservationGroupsOperations.list_by_resource_group changed its parameter expand from positional_or_keyword to keyword_only
  • Method CapacityReservationGroupsOperations.list_by_subscription changed its parameter expand/resource_ids_only from positional_or_keyword to keyword_only
  • Method CapacityReservationsOperations.get changed its parameter expand from positional_or_keyword to keyword_only
  • Method DedicatedHostGroupsOperations.get changed its parameter expand from positional_or_keyword to keyword_only
  • Method DedicatedHostsOperations.get changed its parameter expand from positional_or_keyword to keyword_only
  • Method GalleriesOperations.get changed its parameter select/expand from positional_or_keyword to keyword_only
  • Method GalleryApplicationVersionsOperations.get changed its parameter expand from positional_or_keyword to keyword_only
  • Method GalleryImageVersionsOperations.get changed its parameter expand from positional_or_keyword to keyword_only
  • M...
Read more

azure-keyvault-secrets_4.11.0

17 Apr 00:43
5f7e04e

Choose a tag to compare

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_version property to SecretProperties

Other Changes

  • Key Vault API version 2025-07-01 is now the default

azure-keyvault-certificates_4.11.0

17 Apr 17:17
5f7e04e

Choose a tag to compare

4.11.0 (2026-03-27)

Features Added

  • Added support for service API version 2025-07-01
  • Added uris and ip_addresses properties to SubjectAlternativeNames

Bugs Fixed

  • When creating a certificate with an unknown issuer, CertificateClient.(begin_)create_certificate now returns a
    CertificateOperation instead of None
  • When a certificate operation's error doesn't have an inner error, CertificateOperationError will be correctly
    serialized instead of raising an exception
    (Azure/azure-cli #31764)

azure-ai-agentserver-responses_1.0.0b1

15 Apr 19:29
a529fa5

Choose a tag to compare

Pre-release

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 the text parameter.
  • 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() and aoutput_item_message() now accept an annotations keyword argument for attaching typed Annotation instances (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_url utility 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.
  • ResponseContext providing response_id, conversation history loading, input item access via get_input_items() (returns Item subtypes), get_input_text() convenience for extracting text content, isolation context, and client headers.
  • ResponsesServerOptions for 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.Event and graceful shutdown integration.
  • InMemoryResponseProvider as the default in-process state store.
  • ResponseProviderProtocol and ResponseStreamProviderProtocol for custom storage implementations.
  • Built-in distributed tracing with OpenTelemetry integration.

azure-ai-agentserver-invocations_1.0.0b1

15 Apr 19:30
a529fa5

Choose a tag to compare

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} and POST /invocations/{id}/cancel endpoints.
  • GET /invocations/docs/openapi.json for OpenAPI spec serving.
  • Invocation ID tracking and session correlation via agent_session_id query parameter.
  • Distributed tracing with GenAI semantic convention span attributes.
  • W3C Baggage propagation of invocation_id and session_id for cross-service correlation.
  • Structured logging with invocation_id and session_id via contextvars.
  • Streaming response support with span lifecycle management.
  • Cooperative mixin inheritance for multi-protocol composition.

azure-ai-agentserver-core_2.0.0b1

15 Apr 19:05
a529fa5

Choose a tag to compare

Pre-release

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 to azure-ai-agentserver-responses. All Invocations protocol types have moved to
    azure-ai-agentserver-invocations. This package now contains only the shared hosting foundation.
  • FoundryCBAgent removed: Replaced by AgentServerHost, a Starlette subclass that IS the
    ASGI app (no separate .app property or register_routes()).
  • AgentRunContext removed: Protocol packages provide their own context types
    (ResponseContext in Responses, request.state in Invocations).
  • TracingHelper class removed: Replaced by module-level functions (request_span,
    end_span, record_error, trace_stream) for a simpler functional API.
  • AgentLogger / get_logger() removed: Use logging.getLogger("azure.ai.agentserver")
    directly, or rely on the SDK's automatic console logging setup.
  • ErrorResponse.create() removed: Replaced by create_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_LEVEL and AGENT_GRACEFUL_SHUTDOWN_TIMEOUT are
    no longer read from Constants. Use the log_level and graceful_shutdown_timeout constructor
    parameters instead.

Features Added

  • AgentServerHost base 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_observability constructor parameter for overridable logging + tracing setup.
    Console StreamHandler is attached to the root logger by default so user logging.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.
  • AgentConfig dataclass 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 constructing x-platform-server header segments.
  • HTTP access logging with configurable format via access_log and access_log_format
    constructor parameters.

azure-template_0.1.0b6153055

14 Apr 19:07

Choose a tag to compare

Pre-release

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

14 Apr 17:09

Choose a tag to compare

Pre-release

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

09 Apr 18:47

Choose a tag to compare

Pre-release

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

09 Apr 13:25

Choose a tag to compare

1.16.5 (2026-04-08)

Bugs Fixed

  • Fixed Jinja2 Server-Side Template Injection (SSTI) vulnerability by replacing unsandboxed jinja2.Template with jinja2.sandbox.SandboxedEnvironment across all template rendering paths (CWE-1336).
  • Fixed sensitive_data_leakage risk 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 in SeedObjective.metadata but never propagated to the target callback, so the agent could not access the sensitive data it was supposed to leak. Context is now delivered via prepended_conversation SeedPrompts 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.