Skip to content

v7.40.0

Choose a tag to compare

@openai-sdks openai-sdks released this 21 Oct 13:23
Immutable release. Only release title and notes can be modified.
121f8f3

7.40.0 (2026-10-21)

Features

Bug Fixes

  • api: align request encoding and response parsing (#2996) (b4e8176)
  • api: preserve large WebSocket messages and default compression off (#2990) (bea84d7)
  • api: preserve multipart headers and clarify cache-write totals (#3002) (6209f8d)
  • audio: use named DirectShow inputs on Windows (#2989) (e7059d9)
  • deps-dev: bump @cloudflare/workers-types from 5.20261005.1 to 5.20261011.1 in /ecosystem-tests/cloudflare-worker (#2974) (381f801)
  • deps-dev: bump @swc/core from 1.16.2 to 1.16.18 (#2975) (d5b147c)
  • deps-dev: bump publint from 0.3.24 to 0.3.25 (#2976) (839e6d8)
  • deps-dev: bump puppeteer from 25.12.0 to 25.13.0 in /ecosystem-tests/browser-direct-import (#2972) (fee7dee)
  • deps-dev: bump puppeteer from 25.12.0 to 25.13.0 in /ecosystem-tests/ts-browser-webpack (#2977) (142fe60)
  • deps-dev: bump vercel from 56.2.1 to 56.5.0 in /ecosystem-tests/vercel-edge (#2979) (e9a29ea)
  • deps-dev: bump wrangler from 4.147.0 to 4.149.0 in /ecosystem-tests/cloudflare-worker (#2973) (3da70cb)
  • deps-dev: bump ws and @types/ws (#2978) (aa7194e)
  • deps: bump dotenv from 18.0.1 to 18.0.7 (#2981) (431e969)
  • preserve Realtime and Translation WebSocket option overrides (#2995) (cfadff0)
  • preserve WebSocket lifecycle state when observers throw (#2993) (95cf948)
  • realtime: receive large websocket messages by default (#2988) (b808b0b)
  • realtime: refresh factory URLs for each connection attempt (#2982) (da45c41)
  • test: preserve compiled example workspace dependencies (#2983) (9b67bdb)

Chores

  • api: preserve embeddings and polling helper compatibility (#3001) (95e8fde)

Documentation

  • deduplicate Safety references while preserving links (#2987) (8581390)
  • plan removal of mixed Castiron customizations (#2985) (bd036b4)