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