OpenAI Python SDK v3.4.0 Adds Obfuscation Field, Project Residency, and Bug Fixes
sdkaigapreviewengineer
feature patch
OpenAI has released version 3.4.0 of its Python SDK, introducing new capabilities for ChatCompletionChunk obfuscation and project residency configuration. This update also includes numerous bug fixes across the API, WebSocket handling, and Azure deployments, enhancing stability and consistency. Developers using the SDK can now leverage these new features and benefit from improved reliability and authenticated interactions. The release also clarifies documentation for image generation models and vulnerability disclosure.
- →Add obfuscation field to ChatCompletionChunk
- →add project residency configuration and cost quantity units
- →encode Realtime call offers and session configuration
- →apply consistent origin checks to WebSocket redirects
- →encode deployment names consistently
Features (2) ›
- api Add obfuscation field to ChatCompletionChunk
- api add project residency configuration and cost quantity units
Fixes (12) ›
- api encode Realtime call offers and session configuration
- apply consistent origin checks to WebSocket redirects
- azure encode deployment names consistently
- azure keep provider validation errors value-free
- azure resolve one authentication mode
- compute custom-code summaries from trusted workflow code
- create upload example fixtures in private directories
- decode SSE incrementally without limiting event size
- keep Python SDK diagnostics metadata-only
- Preserve Azure authentication boundaries across transports
- preserve the configured TLS hostname
- preserve WebSocket send queue byte accounting during flush
Maintenance (15) ›
- api Clarify image background docs and preview support
- api document supported image generation models
- api move chat validation tests out of generated code
- api move webhook tests out of generated code
- api remove redundant generated formatting
- api remove redundant generated test edits
- api Update SDK generation metadata only
- set a ceiling for Python SDK customization
- api restore generated ChatKit API index
- standardize Python SDK vulnerability disclosure policy
- api isolate audio response format selection
- api isolate vector-store polling helpers
- api move file processing polling into SDK-owned helpers
- api share embedding response decoding
- api share webhook signature verification
Read the original announcement →
https://github.com/openai/openai-python/releases/tag/v3.4.0
Related releases
- OpenAI Python Library v3.5.0 Adds Optional Function Call Output IDs OpenAI Python SDK Releases ·
- OpenAI Introduces New Blog Series 'Intelligence Age' OpenAI News ·
- OpenAI Introduces 'Intelligence Age' Blog Series OpenAI News ·
- OpenAI's Response to Hugging Face Incident and AI Model Security Steps OpenAI News ·
- OpenAI Report Details How AI Supports Continuous Learning OpenAI News ·
- OpenAI Expands ChatGPT for Teachers to More U.S. School Districts OpenAI News ·