Releases: Azure/azure-sdk-for-python
Releases · Azure/azure-sdk-for-python
azure-mgmt-maintenance_2.2.0b3
2.2.0b3 (2026-05-21)
Features Added
- Client
MaintenanceManagementClientadded parametercloud_settingin method__init__ - Client
MaintenanceManagementClientadded methodsend_request - Model
Operationadded propertyaction_type - Added enum
ActionType - Added model
MaintenanceWindow - Added enum
Origin - Added model
ProxyResource
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.
- Model
Operationdeleted or renamed its instance variableproperties
Other Changes
- Deleted model
ListApplyUpdate/ListConfigurationAssignmentsResult/ListMaintenanceConfigurationsResult/ListUpdatesResultwhich actually were not used by SDK users
azure-mgmt-hybridkubernetes_2.0.0b1
2.0.0b1 (2026-05-20)
Features Added
- Client
ConnectedKubernetesClientadded methodsend_request - Model
ConnectedClusteradded propertykind - Enum
ConnectivityStatusadded memberAGENT_NOT_INSTALLED - Model
HybridConnectionConfigadded propertyrelay_tid - Model
HybridConnectionConfigadded propertyrelay_type - Model
Operationadded propertyis_data_action - Model
Operationadded propertyorigin - Model
Operationadded propertyaction_type - Model
Resourceadded propertysystem_data - Model
TrackedResourceadded propertysystem_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
SystemDatarenamed type of propertylast_modified_by_typefromLastModifiedByTypetoCreatedByType - Operation group
ConnectedClusterOperationsrenamed methodbegin_createtobegin_create_or_replace - Operation group
ConnectedClusterOperationsrenamed methodupdatetobegin_update_async
Other Changes
- Deleted model
ConnectedClusterList/OperationListwhich actually were not used by SDK users
azure-ai-agentserver-responses_1.0.0b6
1.0.0b6 (2026-05-21)
Features Added
- Error source classification headers: All HTTP error responses now include
x-platform-error-sourcewith a value ofuser,platform, orupstreamto indicate which component caused the error. Client validation errors (400/404) are classified asuser, Foundry storage infrastructure errors (transport failures, 5xx) asplatform, and developer handler exceptions asupstream. Platform errors additionally includex-platform-error-detailwith truncated exception details (max 2048 characters) for diagnostics. Matches the container image specification §8 error source classification.
Breaking Changes
- Removed the automatic
invoke_agentserver span that was created on each response creation request. Trace context propagation is now handled by the coreTraceContextMiddleware, and user-created spans inside handlers are correctly parented without framework-generated spans. - Removed
_safe_set_attrs,_wrap_streaming_response, and_classify_error_codeinternal 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
ContentDecodePolicyfrom theFoundryStorageProviderHTTP pipeline. The policy eagerly decoded every response body as JSON and crashed withUnicodeDecodeErrorwhen 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 callhttp_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 fromazure-ai-agentserver-core(_platform_headersmodule). 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
1.0.0b4 (2026-05-21)
Features Added
- Error source classification headers: All HTTP error responses now include
x-platform-error-sourcewith a value ofuser,platform, orupstreamto indicate which component caused the error. Developer handler exceptions and missing handler registrations are classified asupstream. Exceptions tagged with the platform error tag are classified asplatformand additionally includex-platform-error-detailwith truncated exception details (max 2048 characters) for diagnostics. - WebSocket protocol support —
InvocationAgentServerHostnow hosts/invocations_wsalongsidePOST /invocations. Register the handler with the new@app.ws_handlerdecorator. 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_INTERVALenv var (auto-injected by AgentService into hosted-agent containers; surfaced onapp.config.ws_ping_intervalinazure-ai-agentserver-core>=2.0.0b4).0(or unset) disables keep-alive. Wired through to Hypercorn'swebsocket_ping_intervalbyAgentServerHost._build_hypercorn_config. - WebSocket telemetry — structured close-event log line carrying
azure.ai.agentserver.invocations_ws.session_id,close_code, andduration_ms(via the standardloggingextradict). Session ID honours theFOUNDRY_AGENT_SESSION_IDenv var for HTTP/WS correlation. - New samples:
samples/ws_invoke_agent/(echo) andsamples/ws_bidirectional_streaming_agent/(concurrent token streaming with cancel/bye control messages).
Breaking Changes
- Removed the automatic
invoke_agentserver span that was created on each/invocationsrequest. Trace context propagation is now handled by the coreTraceContextMiddleware, and user-created spans inside handlers are correctly parented without framework-generated spans. - Removed
_safe_set_attrsand_wrap_streaming_responseinternal 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 fromazure-ai-agentserver-core(_platform_headersmodule) 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
2.0.0b4 (2026-05-21)
Features Added
- Added
_platform_headersmodule 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_dataparameter toconfigure_observability()to control whether prompts, tool arguments, and results are recorded in telemetry. RespectsOTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENTenvironment variable. - Added A365 tracing export support — when
FOUNDRY_HOSTING_ENVIRONMENTandFOUNDRY_AGENT365_TRACING_ENABLEDare set, telemetry is exported via the A365 observability pipeline. - Added
resolve_agent_id(),resolve_agent_blueprint_id(), andresolve_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.idandmicrosoft.tenant.idspan attributes to theFoundryEnrichmentSpanProcessor. AgentConfig.ws_ping_interval— new field resolved from theWS_KEEPALIVE_INTERVALenvironment variable (auto-injected by AgentService into hosted-agent containers).0disables; negative/non-finite values raiseValueErrorat startup.AgentServerHost._build_hypercorn_configwires this into Hypercorn'swebsocket_ping_intervalso any protocol package serving WebSocket routes inherits keep-alive without per-package wiring.
Breaking Changes
- Removed
request_span()method fromAgentServerHost. Trace context propagation is now handled automatically byTraceContextMiddleware.
azure-mgmt-storage_25.0.0
25.0.0 (2026-05-19)
Features Added
- Client
StorageManagementClientadded methodsend_request - Client
StorageManagementClientadded operation groupconnectors - Client
StorageManagementClientadded operation groupdata_shares - Enum
AccessTieradded memberSMART - Enum
AllowedCopyScopeadded memberALL - Enum
TriggerTypeadded memberMOCK_RUN - Model
AzureEntityResourceadded propertysystem_data - Model
BlobContaineradded propertysystem_data - Model
BlobServicePropertiesadded propertysystem_data - Model
DeletedAccountadded propertysystem_data - Model
EncryptionScopeadded propertysystem_data - Model
FileServicePropertiesadded propertysystem_data - Model
FileServiceUsageadded propertysystem_data - Model
FileShareadded propertysystem_data - Model
FileShareItemadded propertysystem_data - Model
ImmutabilityPolicyadded propertysystem_data - Model
ListContainerItemadded propertysystem_data - Model
ListQueueadded propertysystem_data - Model
ManagementPolicyadded propertysystem_data - Model
ObjectReplicationPolicyadded propertysystem_data - Model
PrivateEndpointConnectionadded propertysystem_data - Model
PrivateLinkResourceadded propertysystem_data - Model
ProxyResourceadded propertysystem_data - Model
QueueServicePropertiesadded propertysystem_data - Model
StorageAccountadded propertysystem_data - Model
StorageAccountCheckNameAvailabilityParametersadded propertytype - Model
StorageAccountMigrationadded propertysystem_data - Model
StorageQueueadded propertysystem_data - Model
StorageTaskAssignmentadded propertysystem_data - Model
StorageTaskReportInstanceadded propertysystem_data - Model
Tableadded propertysystem_data - Model
TableServicePropertiesadded propertysystem_data - Model
TrackedResourceadded propertysystem_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
StorageTaskAssignmentsOperationsadded methodbegin_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
Restrictionrenamed its instance variablevaluestovalues_property - Model
UpdateHistoryPropertyrenamed its instance variableupdatetoupdate_property - Model
BlobContainermoved instance variableversion,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_squashandenable_nfs_v3_all_squashunder propertycontainer_propertieswhose type isContainerProperties - Model
BlobServicePropertiesmoved instance variablecors,default_service_version,delete_retention_policy,is_versioning_enabled,automatic_snapshot_policy_enabled,change_feed,restore_policy,container_delete_retention_policyandlast_access_time_tracking_policyunder propertyblob_service_propertieswhose type isBlobServicePropertiesProperties - Model
EncryptionScopemoved instance variablesource,state,creation_time,last_modified_time,key_vault_propertiesandrequire_infrastructure_encryptionunder propertyencryption_scope_propertieswhose type isEncryptionScopeProperties - Model
FileServicePropertiesmoved instance variablecors,share_delete_retention_policyandprotocol_settingsunder propertyfile_service_propertieswhose type isFileServicePropertiesProperties - Model
FileSharemoved instance variablelast_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_timeandfile_share_paid_burstingunder propertyfile_share_propertieswhose type isFileShareProperties - Model
FileShareItemmoved instance variablelast_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_timeandfile_share_paid_burstingunder propertypropertieswhose type isFileShareProperties - Model
ImmutabilityPolicymoved instance variableimmutability_period_since_creation_in_days,state,allow_protected_append_writesandallow_protected_append_writes_allunder propertypropertieswhose type isImmutabilityPolicyProperty - Model
ImmutabilityPolicyPropertiesmoved instance variableimmutability_period_since_creation_in_days,state,allow_protected_append_writesandallow_protected_append_writes_allunder propertypropertieswhose type isImmutabilityPolicyProperty - Model
ListContainerItemmoved instance variableversion,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_squashandenable_nfs_v3_all_squashunder propertypropertieswhose type isContainerProperties - Model
ListQueuemoved instance variablemetadataunder propertyqueue_propertieswhose type isListQueueProperties - Model
Operationmoved instance variableservice_specificationunder propertyoperation_propertieswhose type isOperationProperties - Model
QueueServicePropertiesmoved instance variablecorsunder propertyqueue_service_propertieswhose type isQueueServicePropertiesProperties - Model
StorageAccountCreateParametersmoved instance variableallowed_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_typeandgeo_priority_replication_statusunder propertypropertieswhose type isStorageAccountPropertiesCreateParameters - Model
StorageAccountListKeysResultdeleted or renamed its instance variablekeys - Model
StorageAccountMigrationmoved instance variabletarget_sku_name,migration_status,migration_failed_reasonandmigration_failed_detailed_reasonunder propertystorage_account_migration_detailswhose type isStorageAccountMigrationProperties - Model
StorageAccountUpdateParametersmoved instance variablecustom_domain,encryption,sas_policy,key_policy,access_tier,azure_files_identity_based_authentication,enable_https_traffic_only,is_sftp_enabled, ...
azure-mgmt-purview_1.0.1
1.0.1 (2026-05-19)
Other Changes
- Regenerated with latest code generator tool
azure-mgmt-recoveryservices_4.0.1
4.0.1 (2026-05-19)
Other Changes
- Regenerated with latest code generator tool
azure-mgmt-powerbidedicated_1.0.1
1.0.1 (2026-05-19)
Other Changes
- Regenerated with latest code generator tool
azure-mgmt-policyinsights_1.0.1
1.0.1 (2026-05-19)
Other Changes
- Regenerated with latest code generator tool