Skip to content

Releases: Azure/azure-sdk-for-python

azure-mgmt-maintenance_2.2.0b3

21 May 08:23
74086a6

Choose a tag to compare

Pre-release

2.2.0b3 (2026-05-21)

Features Added

  • Client MaintenanceManagementClient added parameter cloud_setting in method __init__
  • Client MaintenanceManagementClient added method send_request
  • Model Operation added property action_type
  • Added enum ActionType
  • Added model MaintenanceWindow
  • Added enum Origin
  • Added model ProxyResource

Breaking Changes

Other Changes

  • Deleted model ListApplyUpdate/ListConfigurationAssignmentsResult/ListMaintenanceConfigurationsResult/ListUpdatesResult which actually were not used by SDK users

azure-mgmt-hybridkubernetes_2.0.0b1

21 May 06:59
c218255

Choose a tag to compare

Pre-release

2.0.0b1 (2026-05-20)

Features Added

  • Client ConnectedKubernetesClient added method send_request
  • Model ConnectedCluster added property kind
  • Enum ConnectivityStatus added member AGENT_NOT_INSTALLED
  • Model HybridConnectionConfig added property relay_tid
  • Model HybridConnectionConfig added property relay_type
  • Model Operation added property is_data_action
  • Model Operation added property origin
  • Model Operation added property action_type
  • Model Resource added property system_data
  • Model TrackedResource added property system_data
  • Added model AadProfile
  • Added enum ActionType
  • Added model AgentError
  • Added model ArcAgentProfile
  • Added model ArcAgentryConfigurations
  • Added enum AutoUpgradeOptions
  • Added enum AzureHybridBenefit
  • Added enum ConnectedClusterKind
  • Added model ConnectedClusterPatchProperties
  • Added model Gateway
  • Added model OidcIssuerProfile
  • Added enum Origin
  • Added enum PrivateLinkState
  • Added model SecurityProfile
  • Added model SecurityProfileWorkloadIdentity
  • Added model SystemComponent

Breaking Changes

  • Model SystemData renamed type of property last_modified_by_type from LastModifiedByType to CreatedByType
  • Operation group ConnectedClusterOperations renamed method begin_create to begin_create_or_replace
  • Operation group ConnectedClusterOperations renamed method update to begin_update_async

Other Changes

  • Deleted model ConnectedClusterList/OperationList which actually were not used by SDK users

azure-ai-agentserver-responses_1.0.0b6

21 May 22:41
d6f84be

Choose a tag to compare

Pre-release

1.0.0b6 (2026-05-21)

Features Added

  • Error source classification headers: All HTTP error responses now include x-platform-error-source with a value of user, platform, or upstream to indicate which component caused the error. Client validation errors (400/404) are classified as user, Foundry storage infrastructure errors (transport failures, 5xx) as platform, and developer handler exceptions as upstream. Platform errors additionally include x-platform-error-detail with truncated exception details (max 2048 characters) for diagnostics. Matches the container image specification §8 error source classification.

Breaking Changes

  • Removed the automatic invoke_agent server span that was created on each response creation request. Trace context propagation is now handled by the core TraceContextMiddleware, and user-created spans inside handlers are correctly parented without framework-generated spans.
  • Removed _safe_set_attrs, _wrap_streaming_response, and _classify_error_code internal helpers (no longer needed without framework-level span management).
  • Removed OTel error tagging attributes (azure.ai.agentserver.responses.error.code, azure.ai.agentserver.responses.error.message) that were set on the framework span.

Bugs Fixed

  • Removed ContentDecodePolicy from the FoundryStorageProvider HTTP pipeline. The policy eagerly decoded every response body as JSON and crashed with UnicodeDecodeError when the storage backend (or an intermediary gateway/load-balancer) returned a non-UTF-8 body — for example a gzip-compressed payload, an HTML error page, or a transport-corrupted response. The crash propagated up before our error-classification code could see the response, masking the underlying status with a generic decode error. Our serializers and error-extraction helpers already call http_resp.text() lazily with defensive error handling, so the eager decode policy was never needed.

Other Changes

  • Platform header name constants (e.g. x-platform-error-source, x-platform-error-detail) are now imported from azure-ai-agentserver-core (_platform_headers module). Error source classification helpers remain internal to this package.
  • Simplified request handling: baggage entries (response_id, conversation_id, streaming, x-request-id) are still set on each request, but span creation and lifecycle management are left to downstream frameworks.

azure-ai-agentserver-invocations_1.0.0b4

21 May 22:41
d6f84be

Choose a tag to compare

1.0.0b4 (2026-05-21)

Features Added

  • Error source classification headers: All HTTP error responses now include x-platform-error-source with a value of user, platform, or upstream to indicate which component caused the error. Developer handler exceptions and missing handler registrations are classified as upstream. Exceptions tagged with the platform error tag are classified as platform and additionally include x-platform-error-detail with truncated exception details (max 2048 characters) for diagnostics.
  • WebSocket protocol support — InvocationAgentServerHost now hosts /invocations_ws alongside POST /invocations. Register the handler with the new @app.ws_handler decorator. The route is registered lazily on first decoration, so hosts without a registered handler return HTTP 404.
  • WebSocket Ping/Pong keep-alive — disabled by default; enable by setting the WS_KEEPALIVE_INTERVAL env var (auto-injected by AgentService into hosted-agent containers; surfaced on app.config.ws_ping_interval in azure-ai-agentserver-core>=2.0.0b4). 0 (or unset) disables keep-alive. Wired through to Hypercorn's websocket_ping_interval by AgentServerHost._build_hypercorn_config.
  • WebSocket telemetry — structured close-event log line carrying azure.ai.agentserver.invocations_ws.session_id, close_code, and duration_ms (via the standard logging extra dict). Session ID honours the FOUNDRY_AGENT_SESSION_ID env var for HTTP/WS correlation.
  • New samples: samples/ws_invoke_agent/ (echo) and samples/ws_bidirectional_streaming_agent/ (concurrent token streaming with cancel/bye control messages).

Breaking Changes

  • Removed the automatic invoke_agent server span that was created on each /invocations request. Trace context propagation is now handled by the core TraceContextMiddleware, and user-created spans inside handlers are correctly parented without framework-generated spans.
  • Removed _safe_set_attrs and _wrap_streaming_response internal helpers (no longer needed without framework-level span management).

Other Changes

  • Platform header name constants (e.g. x-platform-error-source, x-platform-error-detail) are now imported from azure-ai-agentserver-core (_platform_headers module) instead of being defined locally. Error source classification helpers remain internal to this package.
  • Simplified request handling: baggage entries (invocation_id, session_id) are still set on each request, but span creation and lifecycle management are left to downstream frameworks.

azure-ai-agentserver-core_2.0.0b4

21 May 21:46
d6f84be

Choose a tag to compare

Pre-release

2.0.0b4 (2026-05-21)

Features Added

  • Added _platform_headers module with cross-cutting protocol header name constants (x-request-id, x-platform-server, x-agent-session-id, x-platform-error-source, x-platform-error-detail, and others). Protocol packages now import shared header name strings from core instead of maintaining their own copies.
  • Added TraceContextMiddleware — a lightweight pure-ASGI middleware that propagates W3C trace context (traceparent, tracestate) and baggage from incoming HTTP requests. Any spans created by downstream frameworks (e.g. MAF / agent-framework) are automatically children of the caller's trace without additional framework spans.
  • Added enable_sensitive_data parameter to configure_observability() to control whether prompts, tool arguments, and results are recorded in telemetry. Respects OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT environment variable.
  • Added A365 tracing export support — when FOUNDRY_HOSTING_ENVIRONMENT and FOUNDRY_AGENT365_TRACING_ENABLED are set, telemetry is exported via the A365 observability pipeline.
  • Added resolve_agent_id(), resolve_agent_blueprint_id(), and resolve_agent_tenant_id() config helpers for new Foundry environment variables (FOUNDRY_AGENT_INSTANCE_CLIENT_ID, FOUNDRY_AGENT_BLUEPRINT_CLIENT_ID, FOUNDRY_AGENT_TENANT_ID).
  • Added gen_ai.agent.blueprint.id and microsoft.tenant.id span attributes to the FoundryEnrichmentSpanProcessor.
  • AgentConfig.ws_ping_interval — new field resolved from the WS_KEEPALIVE_INTERVAL environment variable (auto-injected by AgentService into hosted-agent containers). 0 disables; negative/non-finite values raise ValueError at startup. AgentServerHost._build_hypercorn_config wires this into Hypercorn's websocket_ping_interval so any protocol package serving WebSocket routes inherits keep-alive without per-package wiring.

Breaking Changes

  • Removed request_span() method from AgentServerHost. Trace context propagation is now handled automatically by TraceContextMiddleware.

azure-mgmt-storage_25.0.0

20 May 07:11
f912c85

Choose a tag to compare

25.0.0 (2026-05-19)

Features Added

  • Client StorageManagementClient added method send_request
  • Client StorageManagementClient added operation group connectors
  • Client StorageManagementClient added operation group data_shares
  • Enum AccessTier added member SMART
  • Enum AllowedCopyScope added member ALL
  • Enum TriggerType added member MOCK_RUN
  • Model AzureEntityResource added property system_data
  • Model BlobContainer added property system_data
  • Model BlobServiceProperties added property system_data
  • Model DeletedAccount added property system_data
  • Model EncryptionScope added property system_data
  • Model FileServiceProperties added property system_data
  • Model FileServiceUsage added property system_data
  • Model FileShare added property system_data
  • Model FileShareItem added property system_data
  • Model ImmutabilityPolicy added property system_data
  • Model ListContainerItem added property system_data
  • Model ListQueue added property system_data
  • Model ManagementPolicy added property system_data
  • Model ObjectReplicationPolicy added property system_data
  • Model PrivateEndpointConnection added property system_data
  • Model PrivateLinkResource added property system_data
  • Model ProxyResource added property system_data
  • Model QueueServiceProperties added property system_data
  • Model StorageAccount added property system_data
  • Model StorageAccountCheckNameAvailabilityParameters added property type
  • Model StorageAccountMigration added property system_data
  • Model StorageQueue added property system_data
  • Model StorageTaskAssignment added property system_data
  • Model StorageTaskReportInstance added property system_data
  • Model Table added property system_data
  • Model TableServiceProperties added property system_data
  • Model TrackedResource added property system_data
  • Added model CloudError
  • Added model Connector
  • Added model ConnectorUpdate
  • Added model DataShare
  • Added model DataShareConnection
  • Added model DataShareSource
  • Added model DataShareSourceUpdate
  • Added model DataShareUpdate
  • Added model ManagedIdentityAuthProperties
  • Added model ManagedIdentityAuthPropertiesUpdate
  • Added enum NativeDataSharingProvisioningState
  • Added model ObjectReplicationPolicyPropertiesTagsReplication
  • Added model ServiceSharedKeyAccessProperties
  • Added model StaticWebsite
  • Added model StorageAccountSharedKeyAccessProperties
  • Added model StorageConnectorAuthProperties
  • Added model StorageConnectorAuthPropertiesUpdate
  • Added enum StorageConnectorAuthType
  • Added model StorageConnectorConnection
  • Added enum StorageConnectorConnectionType
  • Added enum StorageConnectorDataSourceType
  • Added model StorageConnectorProperties
  • Added model StorageConnectorPropertiesUpdate
  • Added model StorageConnectorSource
  • Added enum StorageConnectorSourceType
  • Added model StorageConnectorSourceUpdate
  • Added enum StorageConnectorState
  • Added model StorageDataCollaborationPolicyProperties
  • Added model StorageDataShareAccessPolicy
  • Added enum StorageDataShareAccessPolicyPermission
  • Added model StorageDataShareAsset
  • Added model StorageDataShareProperties
  • Added model StorageDataSharePropertiesUpdate
  • Added enum StorageTaskAssignmentProvisioningState
  • Added model TestConnectionResponse
  • Added model TestExistingConnectionRequest
  • Added model TrackedResourceUpdate
  • Operation group StorageTaskAssignmentsOperations added method begin_stop_assignment
  • Added operation group ConnectorsOperations
  • Added operation group DataSharesOperations

Breaking Changes

  • 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.
  • Model Restriction renamed its instance variable values to values_property
  • Model UpdateHistoryProperty renamed its instance variable update to update_property
  • Model BlobContainer moved instance variable version, deleted, deleted_time, remaining_retention_days, default_encryption_scope, deny_encryption_scope_override, public_access, last_modified_time, lease_status, lease_state, lease_duration, metadata, immutability_policy, legal_hold, has_legal_hold, has_immutability_policy, immutable_storage_with_versioning, enable_nfs_v3_root_squash and enable_nfs_v3_all_squash under property container_properties whose type is ContainerProperties
  • Model BlobServiceProperties moved instance variable cors, default_service_version, delete_retention_policy, is_versioning_enabled, automatic_snapshot_policy_enabled, change_feed, restore_policy, container_delete_retention_policy and last_access_time_tracking_policy under property blob_service_properties whose type is BlobServicePropertiesProperties
  • Model EncryptionScope moved instance variable source, state, creation_time, last_modified_time, key_vault_properties and require_infrastructure_encryption under property encryption_scope_properties whose type is EncryptionScopeProperties
  • Model FileServiceProperties moved instance variable cors, share_delete_retention_policy and protocol_settings under property file_service_properties whose type is FileServicePropertiesProperties
  • Model FileShare moved instance variable last_modified_time, metadata, share_quota, provisioned_iops, provisioned_bandwidth_mibps, included_burst_iops, max_burst_credits_for_iops, next_allowed_quota_downgrade_time, next_allowed_provisioned_iops_downgrade_time, next_allowed_provisioned_bandwidth_downgrade_time, enabled_protocols, root_squash, version, deleted, deleted_time, remaining_retention_days, access_tier, access_tier_change_time, access_tier_status, share_usage_bytes, lease_status, lease_state, lease_duration, signed_identifiers, snapshot_time and file_share_paid_bursting under property file_share_properties whose type is FileShareProperties
  • Model FileShareItem moved instance variable last_modified_time, metadata, share_quota, provisioned_iops, provisioned_bandwidth_mibps, included_burst_iops, max_burst_credits_for_iops, next_allowed_quota_downgrade_time, next_allowed_provisioned_iops_downgrade_time, next_allowed_provisioned_bandwidth_downgrade_time, enabled_protocols, root_squash, version, deleted, deleted_time, remaining_retention_days, access_tier, access_tier_change_time, access_tier_status, share_usage_bytes, lease_status, lease_state, lease_duration, signed_identifiers, snapshot_time and file_share_paid_bursting under property properties whose type is FileShareProperties
  • Model ImmutabilityPolicy moved instance variable immutability_period_since_creation_in_days, state, allow_protected_append_writes and allow_protected_append_writes_all under property properties whose type is ImmutabilityPolicyProperty
  • Model ImmutabilityPolicyProperties moved instance variable immutability_period_since_creation_in_days, state, allow_protected_append_writes and allow_protected_append_writes_all under property properties whose type is ImmutabilityPolicyProperty
  • Model ListContainerItem moved instance variable version, deleted, deleted_time, remaining_retention_days, default_encryption_scope, deny_encryption_scope_override, public_access, last_modified_time, lease_status, lease_state, lease_duration, metadata, immutability_policy, legal_hold, has_legal_hold, has_immutability_policy, immutable_storage_with_versioning, enable_nfs_v3_root_squash and enable_nfs_v3_all_squash under property properties whose type is ContainerProperties
  • Model ListQueue moved instance variable metadata under property queue_properties whose type is ListQueueProperties
  • Model Operation moved instance variable service_specification under property operation_properties whose type is OperationProperties
  • Model QueueServiceProperties moved instance variable cors under property queue_service_properties whose type is QueueServicePropertiesProperties
  • Model StorageAccountCreateParameters moved instance variable allowed_copy_scope, public_network_access, sas_policy, key_policy, custom_domain, encryption, network_rule_set, access_tier, azure_files_identity_based_authentication, enable_https_traffic_only, is_sftp_enabled, is_local_user_enabled, enable_extended_groups, is_hns_enabled, large_file_shares_state, routing_preference, dual_stack_endpoint_preference, allow_blob_public_access, minimum_tls_version, allow_shared_key_access, enable_nfs_v3, allow_cross_tenant_replication, default_to_o_auth_authentication, immutable_storage_with_versioning, dns_endpoint_type and geo_priority_replication_status under property properties whose type is StorageAccountPropertiesCreateParameters
  • Model StorageAccountListKeysResult deleted or renamed its instance variable keys
  • Model StorageAccountMigration moved instance variable target_sku_name, migration_status, migration_failed_reason and migration_failed_detailed_reason under property storage_account_migration_details whose type is StorageAccountMigrationProperties
  • Model StorageAccountUpdateParameters moved instance variable custom_domain, encryption, sas_policy, key_policy, access_tier, azure_files_identity_based_authentication, enable_https_traffic_only, is_sftp_enabled, ...
Read more

azure-mgmt-purview_1.0.1

20 May 06:18
c922d8f

Choose a tag to compare

1.0.1 (2026-05-19)

Other Changes

  • Regenerated with latest code generator tool

azure-mgmt-recoveryservices_4.0.1

19 May 09:49
b66e922

Choose a tag to compare

4.0.1 (2026-05-19)

Other Changes

  • Regenerated with latest code generator tool

azure-mgmt-powerbidedicated_1.0.1

19 May 09:48
b66e922

Choose a tag to compare

1.0.1 (2026-05-19)

Other Changes

  • Regenerated with latest code generator tool

azure-mgmt-policyinsights_1.0.1

19 May 07:00
2ea6c87

Choose a tag to compare

1.0.1 (2026-05-19)

Other Changes

  • Regenerated with latest code generator tool