Releases: Azure/azure-sdk-for-python
Releases · Azure/azure-sdk-for-python
azure-identity_1.25.1
1.25.1 (2025-10-06)
Other Changes
- When
AZURE_TOKEN_CREDENTIALS
is set toManagedIdentityCredential
,DefaultAzureCredential
now skips the IMDS endpoint probe request and directly attempts token acquisition with full retry logic, matching the behavior of usingManagedIdentityCredential
standalone. (#43080) - Improved error messages from
ManagedIdentityCredential
to include the full error response from managed identity endpoints for better troubleshooting. (#43231)
azure-ai-voicelive_1.0.0
1.0.0 (2025-10-01)
Features Added
- Enhanced WebSocket Connection Options: Significantly improved WebSocket connection configuration with transport-agnostic design:
- Added new timeout configuration options:
receive_timeout
,close_timeout
, andhandshake_timeout
for fine-grained control - Enhanced
compression
parameter to support both boolean and integer types for advanced zlib window configuration - Added
vendor_options
parameter for implementation-specific options passthrough (escape hatch for advanced users) - Improved documentation with clearer descriptions for all connection parameters
- Better support for common aliases from other WebSocket ecosystems (
max_size
,ping_interval
, etc.) - More robust option mapping with proper type conversion and safety checks
- Added new timeout configuration options:
- Enhanced Type Safety: Improved type safety for content parts with proper enum usage:
InputAudioContentPart
,InputTextContentPart
, andOutputTextContentPart
now useContentPartType
enum values instead of string literals- Better IntelliSense support and compile-time type checking for content part discriminators
Breaking Changes
- Improved Naming Conventions: Updated model and enum names for better clarity and consistency:
OAIVoice
enum renamed toOpenAIVoiceName
for more descriptive namingToolChoiceObject
model renamed toToolChoiceSelection
for better semantic meaningToolChoiceFunctionObject
model renamed toToolChoiceFunctionSelection
for consistency- Updated type unions and imports to reflect the new naming conventions
- Cross-language package mappings updated to maintain compatibility across SDKs
- Session Model Architecture: Separated
ResponseSession
andRequestSession
models for better design clarity:ResponseSession
no longer inherits fromRequestSession
and now inherits directly from_Model
- All session configuration fields are now explicitly defined in
ResponseSession
instead of being inherited - This provides clearer separation of concerns between request and response session configurations
- May affect type checking and code that relied on the previous inheritance relationship
- Model Cleanup: Removed unused
AgentConfig
model and related fields from the public API:AgentConfig
class has been completely removed from imports and exportsagent
field removed fromResponseSession
model (including constructor parameter)- Updated cross-language package mappings to reflect the removal
- Model Naming Convention Update: Renamed
EOUDetection
toEouDetection
for better naming consistency:- Class name changed from
EOUDetection
toEouDetection
- All inheritance relationships updated:
AzureSemanticDetection
,AzureSemanticDetectionEn
, andAzureSemanticDetectionMultilingual
now inherit fromEouDetection
- Type annotations updated in
AzureSemanticVad
,AzureSemanticVadEn
,AzureSemanticVadMultilingual
, andServerVad
classes - Import statements and exports updated to reflect the new naming
- Class name changed from
- Enhanced Content Part Type Safety: Content part discriminators now use enum values instead of string literals:
InputAudioContentPart.type
now usesContentPartType.INPUT_AUDIO
instead of"input_audio"
InputTextContentPart.type
now usesContentPartType.INPUT_TEXT
instead of"input_text"
OutputTextContentPart.type
now usesContentPartType.TEXT
instead of"text"
Other Changes
- Initial GA release
azure-ai-evaluation_1.12.0
1.12.0 (2025-10-02)
Features Added
- AOAI Graders now accept a "credential" parameter that can be used for authentication with an AzureOpenAIModelConfiguration
- Added
is_reasoning_model
parameter support toCoherenceEvaluator
,FluencyEvaluator
,SimilarityEvaluator
,GroundednessEvaluator
,RetrievalEvaluator
, andRelevanceEvaluator
to enable reasoning model configuration for o1/o3 models.
Bugs Fixed
- Support for multi-level nesting in OpenAI grader (experimental)
azure-mgmt-storagediscovery_1.0.0
1.0.0 (2025-09-29)
Features Added
- First GA
azure-ai-voicelive_1.0.0b5
1.0.0b5 (2025-09-26)
Features Added
- Enhanced Semantic Detection Type Safety: Added new
EouThresholdLevel
enum for better type safety in end-of-utterance detection:LOW
for low sensitivity threshold levelMEDIUM
for medium sensitivity threshold levelHIGH
for high sensitivity threshold levelDEFAULT
for default sensitivity threshold level
- Improved Semantic Detection Configuration: Enhanced semantic detection classes with better type annotations:
threshold_level
parameter now supports both string values andEouThresholdLevel
enum- Cleaner type definitions for
AzureSemanticDetection
,AzureSemanticDetectionEn
, andAzureSemanticDetectionMultilingual
- Improved documentation for threshold level parameters
- Comprehensive Unit Test Suite: Added extensive unit test coverage with 200+ test cases covering:
- All enum types and their functionality
- Model creation, validation, and serialization
- Async connection functionality with proper mocking
- Client event handling and workflows
- Voice configuration across all supported types
- Message handling with content part hierarchy
- Integration scenarios and real-world usage patterns
- Recent changes validation and backwards compatibility
- API Version Update: Updated to API version
2025-10-01
(from2025-05-01-preview
) - Enhanced Type Safety: Added new
AzureVoiceType
enum with values for better Azure voice type categorization:AZURE_CUSTOM
for custom voice configurationsAZURE_STANDARD
for standard voice configurationsAZURE_PERSONAL
for personal voice configurations
- Improved Message Handling: Added
MessageRole
enum for better role type safety in message items - Enhanced Model Documentation: Comprehensive documentation improvements across all models:
- Added detailed docstrings for model classes and their parameters
- Enhanced enum value documentation with descriptions
- Improved type annotations and parameter descriptions
- Enhanced Semantic Detection: Added improved configuration options for all semantic detection classes:
- Added
threshold_level
parameter with options:"low"
,"medium"
,"high"
,"default"
(recommended over deprecatedthreshold
) - Added
timeout_ms
parameter for timeout configuration in milliseconds (recommended over deprecatedtimeout
)
- Added
- Video Background Support: Added new
Background
model for video background customization:- Support for solid color backgrounds in hex format (e.g.,
#00FF00FF
) - Support for image URL backgrounds
- Mutually exclusive color and image URL options
- Support for solid color backgrounds in hex format (e.g.,
- Enhanced Video Parameters: Extended
VideoParams
model with:background
parameter for configuring video backgrounds using the newBackground
modelgop_size
parameter for Group of Pictures (GOP) size control, affecting compression efficiency and seeking performance
- Improved Type Safety: Added
TurnDetectionType
enum for better type safety and IntelliSense support - Package Structure Modernization: Simplified package initialization with namespace package support
- Enhanced Error Handling: Added
ConnectionError
andConnectionClosed
exception classes to the async API for better WebSocket error management
Breaking Changes
- Cross-Language Package Identity Update: Updated package ID from
VoiceLive
toVoiceLive.WebSocket
for better cross-language consistency - Model Refactoring:
- Renamed
UserContentPart
toMessageContentPart
for clearer content part hierarchy - All message items now require a
content
field with list ofMessageContentPart
objects OutputTextContentPart
now inherits fromMessageContentPart
instead of being standalone
- Renamed
- Enhanced Type Safety:
- Azure voice classes now use
AzureVoiceType
enum discriminators instead of string literals - Message role discriminators now use
MessageRole
enum values for better type safety
- Azure voice classes now use
- Removed Deprecated Parameters: Completely removed deprecated parameters from semantic detection classes:
- Removed
threshold
parameter from all semantic detection classes (AzureSemanticDetection
,AzureSemanticDetectionEn
,AzureSemanticDetectionMultilingual
) - Removed
timeout
parameter from all semantic detection classes - Users must now use
threshold_level
andtimeout_ms
parameters respectively
- Removed
- Removed Synchronous API: Completely removed synchronous WebSocket operations to focus exclusively on async patterns:
- Removed sync
connect()
function and syncVoiceLiveConnection
class from main patch implementation - Removed sync
basic_voice_assistant.py
sample (only async version remains) - Simplified sync patch to minimal structure with empty exports
- All functionality now available only through async patterns
- Removed sync
- Updated Dependencies: Modified package dependencies to reflect async-only architecture:
- Moved
aiohttp>=3.9.0,<4.0.0
from optional to required dependency - Removed
websockets
optional dependency as sync API no longer exists - Removed optional dependency groups
websockets
,aiohttp
, andall-websockets
- Moved
- Model Rename:
- Renamed
AudioInputTranscriptionSettings
toAudioInputTranscriptionOptions
for consistency with naming conventions - Renamed
AzureMultilingualSemanticVad
toAzureSemanticVadMultilingual
for naming consistency with other multilingual variants
- Renamed
- Enhanced Type Safety: Turn detection discriminator types now use enum values instead of string literals for better type safety
Bug Fixes
- Serialization Improvements: Fixed type casting issue in serialization utilities for better enum handling and type safety
Other Changes
- Testing Infrastructure: Added comprehensive unit test suite with extensive coverage:
- 8 main test files with 200+ individual test methods
- Tests for all enums, models, async operations, client events, voice configurations, and message handling
- Integration tests covering real-world scenarios and recent changes
- Proper mocking for async WebSocket connections
- Backwards compatibility validation
- Test coverage for all recent changes and enhancements
- API Documentation: Updated API view properties to reflect model structure changes, new enums, and cross-language package identity
- Documentation Updates: Comprehensive updates to all markdown documentation:
- Updated README.md to reflect async-only nature with updated examples and installation instructions
- Updated samples README.md to remove sync sample references
- Enhanced BASIC_VOICE_ASSISTANT.md with comprehensive async implementation guide
- Added MIGRATION_GUIDE.md for users upgrading from previous versions
azure-ai-agents_1.2.0b5
1.2.0b5 (2025-09-29)
Features Added
- Added
run_handler
parameter toruns.create_and_process
allowing to make function tool calls manually or approve mcp tool calls.
Bugs Fixed
- Fixed regression, reverted ToolOutput type signature and usage in tool_output submission.
- Added
RunStepDeltaComputerUseDetails
andRunStepDeltaComputerUseToolCall
classes for streaming computer use scenarios. - Added
RunStepDeltaChunk
toStreamEventData
model (GitHub issues 43022)
Sample updates
- Added
sample_agents_mcp_in_create_and_process.py
abdsample_agents_mcp_in_create_and_process_async.py
demonstrating MCP tool call approvals inruns.create_and_process
. - Added
sample_agents_functions_in_create_and_process.py
andsample_agents_functions_in_create_and_process_async.py
demonstrating manual function tool calls inruns.create_and_process
.
azure-mgmt-sitemanager_1.0.0
1.0.0 (2025-09-04)
Features Added
- Client
SiteManagerMgmtClient
added optional signaturecloud_setting
in method__init__
Other Changes
- First GA
azure-mgmt-netapp_14.0.0b2
14.0.0b2 (2025-09-26)
Features Added
- Model
NetAppManagementClient
added parametercloud_setting
in method__init__
- Model
Bucket
added propertypermissions
- Model
BucketPatch
added propertypermissions
- Model
ReplicationObject
added propertymirror_state
- Model
ReplicationObject
added propertyrelationship_status
- Added enum
BucketPatchPermissions
- Added enum
BucketPermissions
- Added enum
NetAppProvisioningState
Breaking Changes
- Model
ListQuotaReportResponse
deleted or renamed its instance variablenext_link
- Deleted or renamed enum value
RelationshipStatus.FAILED
- Deleted or renamed enum value
RelationshipStatus.UNKNOWN
- Deleted or renamed model
NetappProvisioningState
- Deleted or renamed model
ProvisioningState
- Parameter
body
of methodBucketsOperations.begin_update
is now required
azure-mgmt-storagecache_3.0.0
3.0.0 (2025-09-25)
Features Added
- Model
StorageCacheManagementClient
added parametercloud_setting
in method__init__
- Client
StorageCacheManagementClient
added operation groupauto_export_jobs
- Client
StorageCacheManagementClient
added operation groupauto_import_jobs
- Model
ImportJob
added propertyadmin_status
- Model
ImportJob
added propertyimported_files
- Model
ImportJob
added propertyimported_directories
- Model
ImportJob
added propertyimported_symlinks
- Model
ImportJob
added propertypreexisting_files
- Model
ImportJob
added propertypreexisting_directories
- Model
ImportJob
added propertypreexisting_symlinks
- Model
ImportJobUpdate
added propertyadmin_status
- Added model
AutoExportJob
- Added enum
AutoExportJobAdminStatus
- Added enum
AutoExportJobProvisioningStateType
- Added model
AutoExportJobUpdate
- Added model
AutoExportJobsListResult
- Added enum
AutoExportStatusType
- Added model
AutoImportJob
- Added enum
AutoImportJobPropertiesAdminStatus
- Added enum
AutoImportJobPropertiesProvisioningState
- Added model
AutoImportJobPropertiesStatusBlobSyncEvents
- Added enum
AutoImportJobState
- Added model
AutoImportJobUpdate
- Added enum
AutoImportJobUpdatePropertiesAdminStatus
- Added model
AutoImportJobsListResult
- Added enum
ImportJobAdminStatus
- Added operation group
AutoExportJobsOperations
- Added operation group
AutoImportJobsOperations
Breaking Changes
- Parameter
conflict_resolution_mode
of methodImportJob.__init__
is now optional - Deleted or renamed operation group
StorageCacheManagementClientOperationsMixin
azure-mgmt-cognitiveservices_14.0.0
14.0.0 (2025-09-22)
Features Added
- Added model
NetworkInjection
Breaking Changes
- Deleted or renamed model
NetworkInjections
- Deleted or renamed operation group
CognitiveServicesManagementClientOperationsMixin