Releases · openai/openai-python · GitHub
Skip to content

Releases: openai/openai-python

v3.39.0

Choose a tag to compare

@openai-sdks openai-sdks released this 26 Oct 19:14
f97798b

3.39.0 (2026-10-26)

Features

v3.38.0

Choose a tag to compare

@openai-sdks openai-sdks released this 26 Oct 16:35
a93b62c

3.38.0 (2026-10-25)

Features

  • api: add delegation controls and prompt cache lifetimes (#4169) (43045fc)
  • api: expand Live Decision item and question types (#4175) (5d72315)

Bug Fixes

  • agents: clarify result schema warnings (#4165) (cfa0a79)
  • format API status errors using the server message (#4161) (6ce5f05)
  • preserve fallback parsing for PEP 604 unions (#4160) (05dfea0)
  • responses: resolve function arguments within their namespace (#4166) (81792ff)
  • responses: validate tool namespaces before runner dispatch (#4167) (56a55f2)

Chores

  • api: preserve client and resource compatibility (#4157) (56f33a1)
  • enforce zero custom code in generated Python files (#4168) (d622f28)

v3.37.0

Choose a tag to compare

@openai-sdks openai-sdks released this 22 Oct 20:03
e8a0fd2

3.37.0 (2026-10-22)

⚠ BREAKING CHANGES

  • api: This minor release includes a breaking change to Decisions types. In Live response models, question instructions can now be a string or a list of structured text, image, or JSON parts; check isinstance(question.instructions, str) before using string operations and handle the structured form. Decisions request input types also include additional message roles and tool-history items, so update exhaustive type checks accordingly. Existing string instructions and DecisionInputMessageParam user-message inputs remain supported.

Features

  • api: expand Decisions input and question types (#4158) (1e45ad1)

Chores

  • api: preserve file and video polling helpers (#4155) (7db9d88)
  • api: preserve upload helpers and Live connection defaults (#4152) (a29dc39)
  • deps: bump astral-sh/setup-uv from 10.2.0 to 10.3.0 (#4109) (fa9a161)

v3.36.1

Choose a tag to compare

@openai-sdks openai-sdks released this 22 Oct 03:32
49e6757

3.36.1 (2026-10-22)

Bug Fixes

  • api: honor per-call WebSocket query settings (#4138) (d40a5e1)
  • examples: stop microphone capture between recordings (#4143) (26e5d92)
  • validate browser calls before reading driver state (#4142) (2bfe460)

Chores

  • api: clarify service-account API key deletion (#4151) (6ed945e)

Refactors

  • prepare handwritten chunked upload runtime (#4146) (2d58e82)
  • prepare handwritten vector-store polling runtime (#4148) (7cd7028)

v3.36.0

Choose a tag to compare

@openai-sdks openai-sdks released this 21 Oct 15:53
b668ee8

3.36.0 (2026-10-21)

Features

  • add Vertex AI support for the Responses API (#4139) (3e63d33)
  • api: add 30-minute cache-write usage counts (#4111) (5589146)
  • api: add compaction trigger IDs (#4122) (0e5794d)
  • api: add custom voice consent management (#4135) (de6d70d)
  • types: prepare native synchronous WebSocket option type (#4118) (90c0bac)

Bug Fixes

  • api: accept canonical batch responses in strict mode (#4106) (6eaa90e)
  • clean up failed WebSocket setup and honor native options (#4121) (b1a1a10)
  • end sync WebSocket recovery when an attempt is interrupted (#4129) (337769b)
  • honor timed Translation receives during terminal cleanup (#4132) (ca54146)
  • preserve client headers in legacy Beta Realtime connections (#4130) (8a2a2e0)
  • preserve declared aliases during Pydantic v1 validation (#4119) (8b1cac9)
  • preserve Vertex API root for response lifecycle (#4140) (c2b14f5)
  • preserve WebSocket close across recovery and cancellation (#4117) (4590ff1)
  • realtime: honor native options for legacy beta sockets (#4120) (8968560)

Chores

  • api: clarify cache-write token totals (#4136) (55b8b8a)
  • api: clarify project API key update requirements (#4131) (0e6be9f)
  • api: maintain voice consent compatibility (#4137) (07abe06)
  • api: use neutral moderation examples (#4104) (553703e)
  • restore generated Castiron reporting scripts (#4113) (9d12b56)
  • support next checkpoints in the trusted reporter (#4128) (ae2a6c2)

Documentation

  • plan the Python generated-code transition (#4114) (6a52987)
  • record Python transition progress and batch follow-up work (#4116) (46e3680)

v3.35.1

Choose a tag to compare

@openai-sdks openai-sdks released this 18 Oct 01:05
547ecb1

3.35.1 (2026-10-18)

Bug Fixes

  • preserve beta Realtime byte reads on websockets 13 (#4102) (5766349)

v3.35.0

Choose a tag to compare

@openai-sdks openai-sdks released this 17 Oct 23:13
ab91400

3.35.0 (2026-10-17)

Features

Bug Fixes

  • realtime: preserve byte receives with websockets 13 (#4098) (309916e)

v3.34.0

Choose a tag to compare

@openai-sdks openai-sdks released this 17 Oct 20:34
3eb0837

3.34.0 (2026-10-17)

Features

  • api: add degraded external storage status (#4097) (b216cb2)
  • api: add Realtime Translation WebSocket sessions (#4095) (bfada50)

v3.33.0

Choose a tag to compare

@openai-sdks openai-sdks released this 17 Oct 00:29
b7c5e5d

3.33.0 (2026-10-16)

Features

  • api: add safety identifiers to image requests and responses (#4093) (c969e32)
  • api: share Decisions cache breakpoint parameter type (#4092) (f7cefda)

v3.32.0

Choose a tag to compare

@openai-sdks openai-sdks released this 16 Oct 20:17
6ea95a6

3.32.0 (2026-10-16)

Features

  • api: add cache settings and key options [2/2] (#4087) (325da45)
  • api: add prompt-based voice creation (#4091) (2e39db7)
  • api: add regional processing residency options (#4081) (21ce0c2)
  • api: add response error diagnostics and model notices (#4086) (e71d781)
  • api: support audio fixture playback in Live sessions (#4085) (9998c1a)
  • api: support Decisions in Live sessions (#4088) (230a923)

Bug Fixes

  • api: declare Realtime response error messages (#4083) (95dbee9)

Chores

  • api: clarify Decisions request and response fields (#4079) (d42accb)

Refactors