Skip to content

Releases: openai/openai-python

v2.36.0

07 May 17:33
38d75d7

Choose a tag to compare

2.36.0 (2026-05-07)

Full Changelog: v2.35.1...v2.36.0

Features

v2.35.1

06 May 21:37

Choose a tag to compare

2.35.1 (2026-05-06)

Full Changelog: v2.35.0...v2.35.1

Bug Fixes

  • api: fix imagegen size enum regression (4484653)

v2.35.0

06 May 16:36
c5cb541

Choose a tag to compare

2.35.0 (2026-05-06)

Full Changelog: v2.34.0...v2.35.0

Features

Chores

  • remove legacy python cli (32f36e4)
  • rename legacy python cli entrypoint (a3b182d)

Documentation

  • api: update top_logprobs parameter description across chat and responses (f9d339f)

v2.34.0

04 May 17:33

Choose a tag to compare

2.34.0 (2026-05-04)

Full Changelog: v2.33.0...v2.34.0

Features

  • api: add external_key_id to projects, email/metadata params to users, update types (2d232ee)
  • api: add support for Admin API Keys per endpoint (b8b176a)
  • api: admin API updates (4ae1138)
  • api: manual updates (c1870f1)
  • api: manual updates (f6bb9c7)
  • support setting headers via env (1e89d8b)

Bug Fixes

  • allow explicit Azure auth headers (a0626ba)
  • api: correct prompt_cache_retention enum value from in-memory to in_memory (d47d9f0)
  • api: preserve python api key attribute type (62607f6)
  • api: resolve python auth type checks (42a31a7)
  • api: support admin api key auth (f029eb9)
  • avoid bearer fallback for admin auth (22e01a8)
  • preserve selected auth credentials (0d27f9d)
  • require bearer auth for stream helpers (d055539)
  • types: correct created_at and completed_at to float in Response (7da4b88)
  • types: correct timestamp types to int in Response model (e55631c)
  • use correct field name format for multipart file arrays (9ee4825)

Performance Improvements

  • client: optimize file structure copying in multipart requests (dca474e)

Chores

  • internal: more robust bootstrap script (9ec1600)
  • internal: reformat pyproject.toml (12ad57b)
  • tests: bump steady to v0.22.1 (486dfed)

Documentation

  • api: add rate limit and vector store info to files create (4f776df)
  • api: update files rate limit documentation (b141a20)

v2.33.0

28 Apr 14:03
94c88b8

Choose a tag to compare

2.33.0 (2026-04-28)

Full Changelog: v2.32.0...v2.33.0

Features

Bug Fixes

  • api: correct prompt_cache_retention enum value from in-memory to in_memory (#1822) (f9d2d13)

Chores

  • ci: remove release-doctor workflow (00b2091)

v2.32.0

15 Apr 22:27
e507a4e

Choose a tag to compare

2.32.0 (2026-04-15)

Full Changelog: v2.31.0...v2.32.0

Features

  • api: Add detail to InputFileContent (60de21d)
  • api: add OAuthErrorCode type (0c8d2c3)
  • client: add event handler implementation for websockets (0280d05)
  • client: allow enqueuing to websockets even when not connected (67aa20e)
  • client: support reconnection in websockets (eb72a95)

Bug Fixes

  • ensure file data are only sent as 1 parameter (c0c2ecd)

Documentation

v2.31.0

08 Apr 21:01

Choose a tag to compare

2.31.0 (2026-04-08)

Full Changelog: v2.30.0...v2.31.0

Features

  • api: add phase field to conversations message (3e5834e)
  • api: add web_search_call.results to ResponseIncludable type (ffd8741)
  • client: add support for short-lived tokens (#1608) (22fe722)
  • client: support sending raw data over websockets (f1bc52e)
  • internal: implement indices array format for query and form serialization (49194cf)

Bug Fixes

  • client: preserve hardcoded query params when merging with user params (92e109c)
  • types: remove web_search_call.results from ResponseIncludable (d3cc401)

Chores

  • tests: bump steady to v0.20.1 (d60e2ee)
  • tests: bump steady to v0.20.2 (6508d47)

Documentation

  • api: update file parameter descriptions in vector_stores files and file_batches (a9e7ebd)

v2.30.0

25 Mar 22:08

Choose a tag to compare

2.30.0 (2026-03-25)

Full Changelog: v2.29.0...v2.30.0

Features

  • api: add keys field to Click/DoubleClick/Drag/Move/Scroll computer actions (ee1bbed)

Bug Fixes

  • api: align SDK response types with expanded item schemas (f3f258a)
  • sanitize endpoint path params (89f6698)
  • types: make type required in ResponseInputMessageItem (cfdb167)

Chores

  • ci: skip lint on metadata-only changes (faa93e1)
  • internal: update gitignore (c468477)
  • tests: bump steady to v0.19.4 (f350af8)
  • tests: bump steady to v0.19.5 (5c03401)
  • tests: bump steady to v0.19.6 (b6353b8)
  • tests: bump steady to v0.19.7 (1d654be)

Refactors

  • tests: switch from prism to steady (4a82035)

v2.29.0

17 Mar 17:53

Choose a tag to compare

2.29.0 (2026-03-17)

Full Changelog: v2.28.0...v2.29.0

Features

  • api: 5.4 nano and mini model slugs (3b45666)
  • api: add /v1/videos endpoint to batches create method (c0e7a16)
  • api: add defer_loading field to ToolFunction (3167595)
  • api: add in and nin operators to ComparisonFilter type (664f02b)

Bug Fixes

  • deps: bump minimum typing-extensions version (a2fb2ca)
  • pydantic: do not pass by_alias unless set (8ebe8fb)

Chores

  • internal: tweak CI branches (96ccc3c)

v2.28.0

13 Mar 19:55

Choose a tag to compare

2.28.0 (2026-03-13)

Full Changelog: v2.27.0...v2.28.0

Features