OpenAI Releases Python SDK 3.42.1 With Fixes for WebSocket Connection Bugs
Source openai/openai-python releases
At a glance
OpenAI has released version 3.42.1 of its Python SDK (a toolkit that makes it easier to build programs). This version mainly fixes errors. It also improves WebSocket connections, which keep a link open so data can flow back and forth in real time.
Key points
The Responses WebSocket connection has been fixed so it stays open as before.
A check was added to confirm that the authentication method for the Realtime beta WebSocket is correct.
WebSocket-related shared features were organized so they can be used inside the SDK.
Why it matters
If developers are connecting to OpenAI features with this tool, this update should reduce connection errors, so it is worth knowing about.
Original article
v3.42.1
openai/openai-python releases · Nov 2, 2026, 5:56 AM GMT+9 · github.com
Read on openai/openai-python releasesAI read the original article and summarized it in plain language. It may contain mistakes, so please check the original for accuracy. The article's copyright belongs to openai/openai-python releases.