chore(deps): update dependency openai to v2 #57

Merged
alpha-nerd merged 1 commit from renovate/openai-2.x into main 2026-05-16 10:59:13 +02:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
openai ==1.109.1==2.37.0 age confidence

Release Notes

openai/openai-python (openai)

v2.37.0

Compare Source

Full Changelog: v2.36.0...v2.37.0

Features
  • api: add service_tier parameter to responses compact method (625827c)
  • internal/types: support eagerly validating pydantic iterators (7e527bc)
  • Remove unnecessary client_id when using workload identity provider for auth (c39ea8d)
Bug Fixes
  • client: add missing f-string prefix in file type error message (c85ebd9)

v2.36.0

Compare Source

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

Features

v2.35.1

Compare Source

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

Features

v2.35.0

Compare Source

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

Bug Fixes
  • api: fix imagegen size enum regression (4484653)

v2.34.0

Compare Source

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.33.0

Compare Source

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.32.0

Compare Source

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.31.0

Compare Source

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.30.0

Compare Source

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.29.0

Compare Source

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.28.0

Compare Source

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.27.0

Compare Source

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

Features

v2.26.0

Compare Source

Full Changelog: v2.26.0...v2.27.0

Features
  • api: api update (60ab24a)
  • api: manual updates (b244b09)
  • api: manual updates (d806635)
  • api: sora api improvements: character api, video extensions/edits, higher resolution exports. (58b70d3)
Bug Fixes
  • api: repair merged videos resource (742d8ee)
Chores
  • internal: codegen related update (4e6498e)
  • internal: codegen related update (93af129)
  • match http protocol with ws protocol instead of wss (026f9de)
  • use proper capitalization for WebSockets (a2f9b07)

v2.25.0

Compare Source

Full Changelog: v2.25.0...v2.26.0

Features
  • api: The GA ComputerTool now uses the CompuerTool class. The 'computer_use_preview' tool is moved to ComputerUsePreview (78f5b3c)

v2.24.0

Compare Source

Full Changelog: v2.24.0...v2.25.0

Features
  • api: gpt-5.4, tool search tool, and new computer tool (6b2043f)
  • api: remove prompt_cache_key param from responses, phase field from message types (44fb382)
Bug Fixes
Chores
  • internal: codegen related update (bdb837d)
  • internal: codegen related update (b1de941)
  • internal: reduce warnings (7cdbd06)

v2.23.0

Compare Source

Full Changelog: v2.23.0...v2.24.0

Features
Bug Fixes
Chores
  • internal: make test_proxy_environment_variables more resilient to env (65af8fd)
  • internal: refactor sse event parsing (2344600)

v2.22.0

Compare Source

Full Changelog: v2.22.0...v2.23.0

Features
  • api: add gpt-realtime-1.5 and gpt-audio-1.5 model options to realtime calls (3300b61)
Chores
  • internal: make test_proxy_environment_variables more resilient (6b441e2)

v2.21.0

Compare Source

Full Changelog: v2.21.0...v2.22.0

Features
  • api: websockets for responses api (c01f6fb)
Chores
  • internal: add request options to SSE classes (cdb4315)
  • update mock server docs (91f4da8)
Documentation
  • api: add batch size limit to file_batches parameter descriptions (16ae76a)
  • api: enhance method descriptions across audio, chat, realtime, skills, uploads, videos (21f9e5a)
  • api: update safety_identifier documentation in chat completions and responses (d74bfff)

v2.20.0

Compare Source

Full Changelog: v2.20.0...v2.21.0

Features
  • api: container network_policy and skills (d19de2e)
Bug Fixes
  • structured outputs: resolve memory leak in parse methods (#​2860) (6dcbe21)
  • webhooks: preserve method visibility for compatibility checks (44a8936)
Chores
  • internal: fix lint error on Python 3.14 (534f215)
Documentation
  • split api.md by standalone resources (96e41b3)
  • update comment (63def23)

v2.19.0

Compare Source

Full Changelog: v2.19.0...v2.20.0

Features
  • api: support for images in batch api (28edb6e)

v2.18.0

Compare Source

Full Changelog: v2.18.0...v2.19.0

Features
  • api: skills and hosted shell (27fdf68)
Chores
  • internal: bump dependencies (fae10fd)

v2.17.0

Compare Source

Full Changelog: v2.17.0...v2.18.0

Features
  • api: add context_management to responses (137e992)
  • api: responses context_management (c3bd017)

v2.16.0

Compare Source

Full Changelog: v2.16.0...v2.17.0

Features
  • api: add shell_call_output status field (1bbaf88)
  • api: image generation actions for responses; ResponseFunctionCallArgumentsDoneEvent.name (7d96513)
  • client: add custom JSON encoder for extended type support (9f43c8b)
Bug Fixes
  • client: undo change to web search Find action (8f14eb0)
  • client: update type for find_in_page action (ec54dde)

v2.15.0

Compare Source

Full Changelog: v2.15.0...v2.16.0

Features
  • api: api update (b97f9f2)
  • api: api updates (9debcc0)
  • client: add support for binary request streaming (49561d8)
Bug Fixes
  • api: mark assistants as deprecated (0419cbc)
Chores
  • ci: upgrade actions/github-script (5139f13)
  • internal: update actions/checkout version (f276714)
Documentation
  • examples: update Azure Realtime sample to use v1 API (#​2829) (3b31981)

v2.14.0

Compare Source

Full Changelog: v2.14.0...v2.15.0

Features
  • api: add new Response completed_at prop (f077752)
Chores
  • internal: codegen related update (e7daba6)

v2.13.0

Compare Source

Full Changelog: v2.13.0...v2.14.0

Features
  • api: slugs for new audio models; make all model params accept strings (e517792)
Bug Fixes
  • use async_to_httpx_files in patch method (a6af9ee)
Chores
  • internal: add --fix argument to lint script (93107ef)

v2.12.0

Compare Source

Full Changelog: v2.12.0...v2.13.0

Features
Chores
  • ci: add CI job to detect breaking changes with the Agents SDK (#​1436) (237c91e)
  • internal: add missing files argument to base client (e6d6fd5)

v2.11.0

Compare Source

Full Changelog: v2.11.0...v2.12.0

Features
  • api: api update (a95c4d0)
  • api: fix grader input list, add dated slugs for sora-2 (b2c389b)

v2.9.0

Compare Source

Full Changelog: v2.9.0...v2.10.0

Features
  • api: make model required for the responses/compact endpoint (a12936b)
Bug Fixes
  • types: allow pyright to infer TypedDict types within SequenceNotStr (8f0d230)
Chores
  • add missing docstrings (f20a9a1)
  • internal: update docstring (9a993f2)

v2.8.1

Compare Source

Full Changelog: v2.8.1...v2.9.0

Features
  • api: gpt-5.1-codex-max and responses/compact (22f646e)
Bug Fixes
  • client: avoid mutating user-provided response config object (#​2700) (e040d22)
  • ensure streams are always closed (0b1a27f)
  • streaming: correct indentation (575bbac)
Chores
  • deps: mypy 1.18.1 has a regression, pin to 1.17 (22cd586)
  • docs: use environment variables for authentication in code snippets (c2a3cd5)
  • internal: codegen related update (307a066)
  • update lockfile (b4109c5)

v2.8.0

Compare Source

Full Changelog: v2.8.0...v2.8.1

Bug Fixes
  • api: align types of input items / output items for typescript (64c9fb3)

v2.7.2

Compare Source

Full Changelog: v2.7.2...v2.8.0

Features
Bug Fixes
  • compat: update signatures of model_dump and model_dump_json for Pydantic v1 (c7bd234)

v2.7.1

Compare Source

Full Changelog: v2.7.1...v2.7.2

Bug Fixes
  • compat with Python 3.14 (15a7ec8)
Chores
  • package: drop Python 3.8 support (afc14f2)

v2.7.0

Compare Source

Full Changelog: v2.7.0...v2.7.1

Bug Fixes
  • api: fix nullability of logprobs (373b7f6)

v2.6.1

Compare Source

Full Changelog: v2.6.1...v2.7.0

Features
  • api: Realtime API token_limits, Hybrid searching ranking options (5b43992)
  • api: remove InputAudio from ResponseInputContent (bd70a33)
Bug Fixes
  • client: close streams without requiring full consumption (d8bb7d6)
  • readme: update realtime examples (#​2714) (d0370a8)
  • uploads: avoid file handle leak (4f1b691)
Chores
  • internal/tests: avoid race condition with implicit client cleanup (933d23b)
  • internal: grammar fix (it's -> its) (f7e9e9e)

v2.6.0

Compare Source

Full Changelog: v2.6.0...v2.6.1

Bug Fixes
Chores
  • client: clean up custom translations code (cfb9e25)

v2.5.0

Compare Source

Full Changelog: v2.5.0...v2.6.0

Features
  • api: Add responses.input_tokens.count (6dd09e2)
Bug Fixes
  • api: internal openapi updates (caabd7c)

v2.4.0

Compare Source

Full Changelog: v2.4.0...v2.5.0

Features
Chores
  • bump httpx-aiohttp version to 0.1.9 (67f2f0a)

v2.3.0

Compare Source

Full Changelog: v2.3.0...v2.4.0

Features
  • api: Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint (bdbe9b8)
Chores
  • fix dangling comment (da14e99)
  • internal: detect missing future annotations with ruff (2672b8f)

v2.2.0

Compare Source

Full Changelog: v2.2.0...v2.3.0

Features
  • api: comparison filter in/not in (aa49f62)
Chores
  • package: bump jiter to >=0.10.0 to support Python 3.14 (#​2618) (aa445ca)

v2.1.0

Compare Source

Full Changelog: v2.1.0...v2.2.0

Features
  • api: dev day 2025 launches (38ac009)
Bug Fixes
  • client: add chatkit to beta resource (de3e561)

v2.0.1

Compare Source

Full Changelog: v2.0.1...v2.1.0

Features
  • api: add support for realtime calls (7f7925b)

v2.0.0

Compare Source

Full Changelog: v2.0.0...v2.0.1

Bug Fixes
  • api: add status, approval_request_id to MCP tool call (2a02255)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [openai](https://github.com/openai/openai-python) | `==1.109.1` → `==2.37.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/openai/2.37.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/openai/1.109.1/2.37.0?slim=true) | --- ### Release Notes <details> <summary>openai/openai-python (openai)</summary> ### [`v2.37.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2370-2026-05-13) [Compare Source](https://github.com/openai/openai-python/compare/v2.36.0...v2.37.0) Full Changelog: [v2.36.0...v2.37.0](https://github.com/openai/openai-python/compare/v2.36.0...v2.37.0) ##### Features - **api:** add service\_tier parameter to responses compact method ([625827c](https://github.com/openai/openai-python/commit/625827c5509ece3c40e5002be37a9bd9d91b5374)) - **internal/types:** support eagerly validating pydantic iterators ([7e527bc](https://github.com/openai/openai-python/commit/7e527bc927cc58b74d7619abf7f1fbcfff8bddfa)) - Remove unnecessary client\_id when using workload identity provider for auth ([c39ea8d](https://github.com/openai/openai-python/commit/c39ea8d12a010052d7f02cebe8daabd2d1f89597)) ##### Bug Fixes - **client:** add missing f-string prefix in file type error message ([c85ebd9](https://github.com/openai/openai-python/commit/c85ebd935cb4b80e7e97ce255437684f6411fb00)) ### [`v2.36.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2360-2026-05-07) [Compare Source](https://github.com/openai/openai-python/compare/v2.35.1...v2.36.0) Full Changelog: [v2.35.1...v2.36.0](https://github.com/openai/openai-python/compare/v2.35.1...v2.36.0) ##### Features - **api:** manual updates ([13c639c](https://github.com/openai/openai-python/commit/13c639cc7d57e4fbd4406563511e15eeb88a54b2)) - **api:** realtime 2 ([8fe0ab8](https://github.com/openai/openai-python/commit/8fe0ab87e67eeb3cc27426b50093845229520f0e)) ### [`v2.35.1`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2360-2026-05-07) [Compare Source](https://github.com/openai/openai-python/compare/v2.35.0...v2.35.1) Full Changelog: [v2.35.1...v2.36.0](https://github.com/openai/openai-python/compare/v2.35.1...v2.36.0) ##### Features - **api:** manual updates ([13c639c](https://github.com/openai/openai-python/commit/13c639cc7d57e4fbd4406563511e15eeb88a54b2)) - **api:** realtime 2 ([8fe0ab8](https://github.com/openai/openai-python/commit/8fe0ab87e67eeb3cc27426b50093845229520f0e)) ### [`v2.35.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2351-2026-05-06) [Compare Source](https://github.com/openai/openai-python/compare/v2.34.0...v2.35.0) Full Changelog: [v2.35.0...v2.35.1](https://github.com/openai/openai-python/compare/v2.35.0...v2.35.1) ##### Bug Fixes - **api:** fix imagegen `size` enum regression ([4484653](https://github.com/openai/openai-python/commit/44846536bc3b02c393daa5bae70a85de04c7f621)) ### [`v2.34.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2350-2026-05-06) [Compare Source](https://github.com/openai/openai-python/compare/v2.33.0...v2.34.0) Full Changelog: [v2.34.0...v2.35.0](https://github.com/openai/openai-python/compare/v2.34.0...v2.35.0) ##### Features - **api:** update image 2 ([0ba55d7](https://github.com/openai/openai-python/commit/0ba55d7569565045426e1587906a70d5682a4bba)) - **api:** manual updates ([72bf67a](https://github.com/openai/openai-python/commit/72bf67acbc9f030c20db3d5a1a74ea6d67d55f51)) ##### Chores - remove legacy python cli ([32f36e4](https://github.com/openai/openai-python/commit/32f36e447d02c3124af8ab48fcc3537df2fed66e)) - rename legacy python cli entrypoint ([a3b182d](https://github.com/openai/openai-python/commit/a3b182d6d2c2e6fe1d53ca7550b2d43e0f8b2cd3)) ##### Documentation - **api:** update top\_logprobs parameter description across chat and responses ([f9d339f](https://github.com/openai/openai-python/commit/f9d339fcea63feaa1bdf918a4599f2b032c83517)) ### [`v2.33.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2340-2026-05-04) [Compare Source](https://github.com/openai/openai-python/compare/v2.32.0...v2.33.0) Full Changelog: [v2.33.0...v2.34.0](https://github.com/openai/openai-python/compare/v2.33.0...v2.34.0) ##### Features - **api:** add external\_key\_id to projects, email/metadata params to users, update types ([2d232ee](https://github.com/openai/openai-python/commit/2d232eebb2fe021bb21f2576b17d1d588f81a608)) - **api:** add support for Admin API Keys per endpoint ([b8b176a](https://github.com/openai/openai-python/commit/b8b176af84172f27d2fde8dca062ca4c41f94bf7)) - **api:** admin API updates ([4ae1138](https://github.com/openai/openai-python/commit/4ae1138ae1f76e81a2267e4deb45b435c10774d5)) - **api:** manual updates ([c1870f1](https://github.com/openai/openai-python/commit/c1870f1b881bb914e4e62a6c8b08d4c2b9a6fd54)) - **api:** manual updates ([f6bb9c7](https://github.com/openai/openai-python/commit/f6bb9c7d7bdcc45425d37722358bed097e83d493)) - support setting headers via env ([1e89d8b](https://github.com/openai/openai-python/commit/1e89d8b56aba12f99a8ef2b1b78fdee84751275a)) ##### Bug Fixes - allow explicit Azure auth headers ([a0626ba](https://github.com/openai/openai-python/commit/a0626babf0548fb03cf3c2d054da116dd6466701)) - **api:** correct prompt\_cache\_retention enum value from in-memory to in\_memory ([d47d9f0](https://github.com/openai/openai-python/commit/d47d9f0f79c612c4d14005a0a3cf44e1968c9bff)) - **api:** preserve python api key attribute type ([62607f6](https://github.com/openai/openai-python/commit/62607f61c542ed559ef114849e31307c0c290286)) - **api:** resolve python auth type checks ([42a31a7](https://github.com/openai/openai-python/commit/42a31a7efb6784633108c1a73e1779ed79ab8bed)) - **api:** support admin api key auth ([f029eb9](https://github.com/openai/openai-python/commit/f029eb937f976110c1a67b9342525a38a214072e)) - avoid bearer fallback for admin auth ([22e01a8](https://github.com/openai/openai-python/commit/22e01a8cf791a143ecc576f46de50eee9b3c2147)) - preserve selected auth credentials ([0d27f9d](https://github.com/openai/openai-python/commit/0d27f9dbd3b2ae82b2e8c2eeb9e7e78f3edecdf1)) - require bearer auth for stream helpers ([d055539](https://github.com/openai/openai-python/commit/d0555390bcf4a704c10d318c7de2fe006750c3d0)) - **types:** correct created\_at and completed\_at to float in Response ([7da4b88](https://github.com/openai/openai-python/commit/7da4b88c1985028f7ee9a98b919e71f863f979f0)) - **types:** correct timestamp types to int in Response model ([e55631c](https://github.com/openai/openai-python/commit/e55631c868b1d0b720fda0abdbc342787cd95e2c)) - use correct field name format for multipart file arrays ([9ee4825](https://github.com/openai/openai-python/commit/9ee482576c2bd6b33b6cf7458c37ab2e7d5bc725)) ##### Performance Improvements - **client:** optimize file structure copying in multipart requests ([dca474e](https://github.com/openai/openai-python/commit/dca474e5beac7cc8e05855f042c3227843030c1b)) ##### Chores - **internal:** more robust bootstrap script ([9ec1600](https://github.com/openai/openai-python/commit/9ec1600d48fda10abb144b2a62d07c5abd7e9ab1)) - **internal:** reformat pyproject.toml ([12ad57b](https://github.com/openai/openai-python/commit/12ad57b8da5b5c0615641af273d4bbf2981d6bf7)) - **tests:** bump steady to v0.22.1 ([486dfed](https://github.com/openai/openai-python/commit/486dfedfec8484bb00318b0ea798c2260f7a720c)) ##### Documentation - **api:** add rate limit and vector store info to files create ([4f776df](https://github.com/openai/openai-python/commit/4f776df78d757fdbf25662c4be98b5c98183aaaf)) - **api:** update files rate limit documentation ([b141a20](https://github.com/openai/openai-python/commit/b141a20e948b5af3b8fbe4261798c191d2857b4a)) ### [`v2.32.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2330-2026-04-28) [Compare Source](https://github.com/openai/openai-python/compare/v2.31.0...v2.32.0) Full Changelog: [v2.32.0...v2.33.0](https://github.com/openai/openai-python/compare/v2.32.0...v2.33.0) ##### Features - **api:** api update ([18f834a](https://github.com/openai/openai-python/commit/18f834a54f92ea827452471a46a4f442f251e2c8)) ##### Bug Fixes - **api:** correct prompt\_cache\_retention enum value from in-memory to in\_memory ([#&#8203;1822](https://github.com/openai/openai-python/issues/1822)) ([f9d2d13](https://github.com/openai/openai-python/commit/f9d2d1359688a6247ecba858fc687173c480c9c8)) ##### Chores - **ci:** remove release-doctor workflow ([00b2091](https://github.com/openai/openai-python/commit/00b20910e3539842f21d86ab5928fb5216d3a765)) ### [`v2.31.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2320-2026-04-15) [Compare Source](https://github.com/openai/openai-python/compare/v2.30.0...v2.31.0) Full Changelog: [v2.31.0...v2.32.0](https://github.com/openai/openai-python/compare/v2.31.0...v2.32.0) ##### Features - **api:** Add detail to InputFileContent ([60de21d](https://github.com/openai/openai-python/commit/60de21d1fcfbcadea0d9b8d884c73c9dc49d14ff)) - **api:** add OAuthErrorCode type ([0c8d2c3](https://github.com/openai/openai-python/commit/0c8d2c3b44242c9139dc554896ea489b56e236b8)) - **client:** add event handler implementation for websockets ([0280d05](https://github.com/openai/openai-python/commit/0280d0568f706684ecbf0aabf3575cdcb7fd22d5)) - **client:** allow enqueuing to websockets even when not connected ([67aa20e](https://github.com/openai/openai-python/commit/67aa20e69bc0e4a3b7694327c808606bfa24a966)) - **client:** support reconnection in websockets ([eb72a95](https://github.com/openai/openai-python/commit/eb72a953ea9dc5beec3eef537be6eb32292c3f65)) ##### Bug Fixes - ensure file data are only sent as 1 parameter ([c0c2ecd](https://github.com/openai/openai-python/commit/c0c2ecd0f6b64fa5fafda6134bb06995b143a2cf)) ##### Documentation - improve examples ([84712fa](https://github.com/openai/openai-python/commit/84712fa0f094b53151a0fe6ac85aa98018b2a7e2)) ### [`v2.30.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2310-2026-04-08) [Compare Source](https://github.com/openai/openai-python/compare/v2.29.0...v2.30.0) Full Changelog: [v2.30.0...v2.31.0](https://github.com/openai/openai-python/compare/v2.30.0...v2.31.0) ##### Features - **api:** add phase field to conversations message ([3e5834e](https://github.com/openai/openai-python/commit/3e5834efb39b24e019a29dc54d890c67d18cbb54)) - **api:** add web\_search\_call.results to ResponseIncludable type ([ffd8741](https://github.com/openai/openai-python/commit/ffd8741dd38609a5af0159ceb800d8ddba7925f8)) - **client:** add support for short-lived tokens ([#&#8203;1608](https://github.com/openai/openai-python/issues/1608)) ([22fe722](https://github.com/openai/openai-python/commit/22fe7228d4990c197cd721b3ad7931ad05cca5dd)) - **client:** support sending raw data over websockets ([f1bc52e](https://github.com/openai/openai-python/commit/f1bc52ef641dfca6fdf2a5b00ce3b09bff2552f5)) - **internal:** implement indices array format for query and form serialization ([49194cf](https://github.com/openai/openai-python/commit/49194cfa711328216ff131d6f65c9298822a7c51)) ##### Bug Fixes - **client:** preserve hardcoded query params when merging with user params ([92e109c](https://github.com/openai/openai-python/commit/92e109c3d9569a942e1919e75977dc13fa015f9a)) - **types:** remove web\_search\_call.results from ResponseIncludable ([d3cc401](https://github.com/openai/openai-python/commit/d3cc40165cd86015833d15167cc7712b4102f932)) ##### Chores - **tests:** bump steady to v0.20.1 ([d60e2ee](https://github.com/openai/openai-python/commit/d60e2eea7f6916540cd4ba901dceb07051119da4)) - **tests:** bump steady to v0.20.2 ([6508d47](https://github.com/openai/openai-python/commit/6508d474332d4e82d9615c0a9a77379f9b5e4412)) ##### Documentation - **api:** update file parameter descriptions in vector\_stores files and file\_batches ([a9e7ebd](https://github.com/openai/openai-python/commit/a9e7ebd505b9ae90514339aa63c6f1984a08cf6b)) ### [`v2.29.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2300-2026-03-25) [Compare Source](https://github.com/openai/openai-python/compare/v2.28.0...v2.29.0) Full Changelog: [v2.29.0...v2.30.0](https://github.com/openai/openai-python/compare/v2.29.0...v2.30.0) ##### Features - **api:** add keys field to Click/DoubleClick/Drag/Move/Scroll computer actions ([ee1bbed](https://github.com/openai/openai-python/commit/ee1bbeddbb38dab817557412dc106354409bb950)) ##### Bug Fixes - **api:** align SDK response types with expanded item schemas ([f3f258a](https://github.com/openai/openai-python/commit/f3f258a9d4d19db3fb0c6c35e25ad3cedbe71254)) - sanitize endpoint path params ([89f6698](https://github.com/openai/openai-python/commit/89f66988fde790c0c83ff8b876d1e1b10d616367)) - **types:** make type required in ResponseInputMessageItem ([cfdb167](https://github.com/openai/openai-python/commit/cfdb1676ea0550840330a58f1a31a40a41a0a53f)) ##### Chores - **ci:** skip lint on metadata-only changes ([faa93e1](https://github.com/openai/openai-python/commit/faa93e19a1d5c30c7dd672a08dbbdbb3c0374714)) - **internal:** update gitignore ([c468477](https://github.com/openai/openai-python/commit/c468477f1546579618865a726e35a685cffeacd9)) - **tests:** bump steady to v0.19.4 ([f350af8](https://github.com/openai/openai-python/commit/f350af86c13ade0237778010d264c55fda443354)) - **tests:** bump steady to v0.19.5 ([5c03401](https://github.com/openai/openai-python/commit/5c0340128fc1a416e2dfdc6ab4b05f1e954e8482)) - **tests:** bump steady to v0.19.6 ([b6353b8](https://github.com/openai/openai-python/commit/b6353b8411d31dcc95875d801ce9e90a21e0fd52)) - **tests:** bump steady to v0.19.7 ([1d654be](https://github.com/openai/openai-python/commit/1d654bea74ac9c3d43302587f98f33cfff502e48)) ##### Refactors - **tests:** switch from prism to steady ([4a82035](https://github.com/openai/openai-python/commit/4a82035669b739d16a0e85d4ded778d51e061948)) ### [`v2.28.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2290-2026-03-17) [Compare Source](https://github.com/openai/openai-python/compare/v2.27.0...v2.28.0) Full Changelog: [v2.28.0...v2.29.0](https://github.com/openai/openai-python/compare/v2.28.0...v2.29.0) ##### Features - **api:** 5.4 nano and mini model slugs ([3b45666](https://github.com/openai/openai-python/commit/3b456661f77ca3196aceb5ab3350664a63481114)) - **api:** add /v1/videos endpoint to batches create method ([c0e7a16](https://github.com/openai/openai-python/commit/c0e7a161a996854021e9eb69ea2a60ca0d08047f)) - **api:** add defer\_loading field to ToolFunction ([3167595](https://github.com/openai/openai-python/commit/3167595432bdda2f90721901d30ad316db49323e)) - **api:** add in and nin operators to ComparisonFilter type ([664f02b](https://github.com/openai/openai-python/commit/664f02b051af84e1ca3fa313981ec72fdea269b3)) ##### Bug Fixes - **deps:** bump minimum typing-extensions version ([a2fb2ca](https://github.com/openai/openai-python/commit/a2fb2ca55142c6658a18be7bd1392a01f5a83f35)) - **pydantic:** do not pass `by_alias` unless set ([8ebe8fb](https://github.com/openai/openai-python/commit/8ebe8fbcb011c6a005a715cae50c6400a8596ee0)) ##### Chores - **internal:** tweak CI branches ([96ccc3c](https://github.com/openai/openai-python/commit/96ccc3cca35645fd3140f99b0fc8e55545065212)) ### [`v2.27.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2280-2026-03-13) [Compare Source](https://github.com/openai/openai-python/compare/v2.26.0...v2.27.0) Full Changelog: [v2.27.0...v2.28.0](https://github.com/openai/openai-python/compare/v2.27.0...v2.28.0) ##### Features - **api:** custom voices ([50dc060](https://github.com/openai/openai-python/commit/50dc060b55767615419219ef567d31210517e613)) ### [`v2.26.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2270-2026-03-13) [Compare Source](https://github.com/openai/openai-python/compare/v2.25.0...v2.26.0) Full Changelog: [v2.26.0...v2.27.0](https://github.com/openai/openai-python/compare/v2.26.0...v2.27.0) ##### Features - **api:** api update ([60ab24a](https://github.com/openai/openai-python/commit/60ab24ae722a7fa280eb4b2273da4ded1f930231)) - **api:** manual updates ([b244b09](https://github.com/openai/openai-python/commit/b244b0946045aaa0dbfa8c0ce5164b64e1156834)) - **api:** manual updates ([d806635](https://github.com/openai/openai-python/commit/d806635081a736cc81344bf1e62b57956a88d093)) - **api:** sora api improvements: character api, video extensions/edits, higher resolution exports. ([58b70d3](https://github.com/openai/openai-python/commit/58b70d304a4b2cf70eae4db4b448d439fc8b8ba3)) ##### Bug Fixes - **api:** repair merged videos resource ([742d8ee](https://github.com/openai/openai-python/commit/742d8ee1f969ee1bbb39ba9d799dcd5c480d8ddb)) ##### Chores - **internal:** codegen related update ([4e6498e](https://github.com/openai/openai-python/commit/4e6498e2d222dd35d76bb397ba976ff53c852e12)) - **internal:** codegen related update ([93af129](https://github.com/openai/openai-python/commit/93af129e8919de6d3aee19329c8bdef0532bd20a)) - match http protocol with ws protocol instead of wss ([026f9de](https://github.com/openai/openai-python/commit/026f9de35d2aa74f35c91261eb5ea43d4ab1b8ba)) - use proper capitalization for WebSockets ([a2f9b07](https://github.com/openai/openai-python/commit/a2f9b0722597627e8d01aa05c27a52015072726b)) ### [`v2.25.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2260-2026-03-05) [Compare Source](https://github.com/openai/openai-python/compare/v2.24.0...v2.25.0) Full Changelog: [v2.25.0...v2.26.0](https://github.com/openai/openai-python/compare/v2.25.0...v2.26.0) ##### Features - **api:** The GA ComputerTool now uses the CompuerTool class. The 'computer\_use\_preview' tool is moved to ComputerUsePreview ([78f5b3c](https://github.com/openai/openai-python/commit/78f5b3c287b71ed6fbeb71fb6b5c0366db704cd2)) ### [`v2.24.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2250-2026-03-05) [Compare Source](https://github.com/openai/openai-python/compare/v2.23.0...v2.24.0) Full Changelog: [v2.24.0...v2.25.0](https://github.com/openai/openai-python/compare/v2.24.0...v2.25.0) ##### Features - **api:** gpt-5.4, tool search tool, and new computer tool ([6b2043f](https://github.com/openai/openai-python/commit/6b2043f3d63058f5582eab7a7705b30a3d5536f0)) - **api:** remove prompt\_cache\_key param from responses, phase field from message types ([44fb382](https://github.com/openai/openai-python/commit/44fb382698872d98d5f72c880b47846c7b594f4f)) ##### Bug Fixes - **api:** internal schema fixes ([0c0f970](https://github.com/openai/openai-python/commit/0c0f970cbd164131bf06f7ab38f170bbcb323683)) - **api:** manual updates ([9fc323f](https://github.com/openai/openai-python/commit/9fc323f4da6cfca9de194e12c1486a3cd1bfa4b5)) - **api:** readd phase ([1b27b5a](https://github.com/openai/openai-python/commit/1b27b5a834f5cb75f80c597259d0df0352ba83bd)) ##### Chores - **internal:** codegen related update ([bdb837d](https://github.com/openai/openai-python/commit/bdb837d2c1d2a161cc4b22ef26e9e8446d5dc2a3)) - **internal:** codegen related update ([b1de941](https://github.com/openai/openai-python/commit/b1de9419a68fd6fb97a63f415fb3d1e5851582cb)) - **internal:** reduce warnings ([7cdbd06](https://github.com/openai/openai-python/commit/7cdbd06d3ca41af64d616b4b4bb61226cc38b662)) ### [`v2.23.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2240-2026-02-24) [Compare Source](https://github.com/openai/openai-python/compare/v2.22.0...v2.23.0) Full Changelog: [v2.23.0...v2.24.0](https://github.com/openai/openai-python/compare/v2.23.0...v2.24.0) ##### Features - **api:** add phase ([391deb9](https://github.com/openai/openai-python/commit/391deb99f6a92e51bffb25efd8dfe367d144bb9d)) ##### Bug Fixes - **api:** fix phase enum ([42ebf7c](https://github.com/openai/openai-python/commit/42ebf7c30b7e27a175c0d75fcf42c8dc858e56d6)) - **api:** phase docs ([7ddc61c](https://github.com/openai/openai-python/commit/7ddc61cd0f7825d5e7f3a10daf809135511d8d20)) ##### Chores - **internal:** make `test_proxy_environment_variables` more resilient to env ([65af8fd](https://github.com/openai/openai-python/commit/65af8fd8550e99236e3f4dcb035312441788157a)) - **internal:** refactor sse event parsing ([2344600](https://github.com/openai/openai-python/commit/23446008f06fb474d8c75d14a1bce26f4c5b95d8)) ### [`v2.22.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2230-2026-02-24) [Compare Source](https://github.com/openai/openai-python/compare/v2.21.0...v2.22.0) Full Changelog: [v2.22.0...v2.23.0](https://github.com/openai/openai-python/compare/v2.22.0...v2.23.0) ##### Features - **api:** add gpt-realtime-1.5 and gpt-audio-1.5 model options to realtime calls ([3300b61](https://github.com/openai/openai-python/commit/3300b61e1d5a34c9d28ec9cebbebd0de1fa93aa6)) ##### Chores - **internal:** make `test_proxy_environment_variables` more resilient ([6b441e2](https://github.com/openai/openai-python/commit/6b441e2c43df60a773f62308e918d76b8eb3c4d3)) ### [`v2.21.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2220-2026-02-23) [Compare Source](https://github.com/openai/openai-python/compare/v2.20.0...v2.21.0) Full Changelog: [v2.21.0...v2.22.0](https://github.com/openai/openai-python/compare/v2.21.0...v2.22.0) ##### Features - **api:** websockets for responses api ([c01f6fb](https://github.com/openai/openai-python/commit/c01f6fb0d55b7454f73c4904ea7a1954553085dc)) ##### Chores - **internal:** add request options to SSE classes ([cdb4315](https://github.com/openai/openai-python/commit/cdb4315ee29d5260bb373625d74cb523b4e3859c)) - update mock server docs ([91f4da8](https://github.com/openai/openai-python/commit/91f4da80ec3dba5d3566961560dfd6feb9c2feb0)) ##### Documentation - **api:** add batch size limit to file\_batches parameter descriptions ([16ae76a](https://github.com/openai/openai-python/commit/16ae76a20a47f94c91ee2ca0b2ada274633abab3)) - **api:** enhance method descriptions across audio, chat, realtime, skills, uploads, videos ([21f9e5a](https://github.com/openai/openai-python/commit/21f9e5aaf6ae27f0235fddb3ffa30fe73337f59b)) - **api:** update safety\_identifier documentation in chat completions and responses ([d74bfff](https://github.com/openai/openai-python/commit/d74bfff62c1c2b32d4dc88fd47ae7b1b2a962017)) ### [`v2.20.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2210-2026-02-13) [Compare Source](https://github.com/openai/openai-python/compare/v2.19.0...v2.20.0) Full Changelog: [v2.20.0...v2.21.0](https://github.com/openai/openai-python/compare/v2.20.0...v2.21.0) ##### Features - **api:** container network\_policy and skills ([d19de2e](https://github.com/openai/openai-python/commit/d19de2ee5c74413f9dc52684b650df1898dee82b)) ##### Bug Fixes - **structured outputs:** resolve memory leak in parse methods ([#&#8203;2860](https://github.com/openai/openai-python/issues/2860)) ([6dcbe21](https://github.com/openai/openai-python/commit/6dcbe211f12f8470db542a5cb95724cb933786dd)) - **webhooks:** preserve method visibility for compatibility checks ([44a8936](https://github.com/openai/openai-python/commit/44a8936d580b770f23fae79659101a27eadafad6)) ##### Chores - **internal:** fix lint error on Python 3.14 ([534f215](https://github.com/openai/openai-python/commit/534f215941f504443d63509e872409a0b1236452)) ##### Documentation - split `api.md` by standalone resources ([96e41b3](https://github.com/openai/openai-python/commit/96e41b398a110212ddec71436b2439343bea87d4)) - update comment ([63def23](https://github.com/openai/openai-python/commit/63def23b7acd5c6dacf03337fe1bd08439d1dba8)) ### [`v2.19.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2200-2026-02-10) [Compare Source](https://github.com/openai/openai-python/compare/v2.18.0...v2.19.0) Full Changelog: [v2.19.0...v2.20.0](https://github.com/openai/openai-python/compare/v2.19.0...v2.20.0) ##### Features - **api:** support for images in batch api ([28edb6e](https://github.com/openai/openai-python/commit/28edb6e1b7eb30dbb7be49979cee7882e8889264)) ### [`v2.18.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2190-2026-02-10) [Compare Source](https://github.com/openai/openai-python/compare/v2.17.0...v2.18.0) Full Changelog: [v2.18.0...v2.19.0](https://github.com/openai/openai-python/compare/v2.18.0...v2.19.0) ##### Features - **api:** skills and hosted shell ([27fdf68](https://github.com/openai/openai-python/commit/27fdf6820655b5994e3c1eddb3c8d9344a8be744)) ##### Chores - **internal:** bump dependencies ([fae10fd](https://github.com/openai/openai-python/commit/fae10fd6e936a044f8393a454a39906aa325a893)) ### [`v2.17.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2180-2026-02-09) [Compare Source](https://github.com/openai/openai-python/compare/v2.16.0...v2.17.0) Full Changelog: [v2.17.0...v2.18.0](https://github.com/openai/openai-python/compare/v2.17.0...v2.18.0) ##### Features - **api:** add context\_management to responses ([137e992](https://github.com/openai/openai-python/commit/137e992b80956401d1867274fa7a0969edfdba54)) - **api:** responses context\_management ([c3bd017](https://github.com/openai/openai-python/commit/c3bd017318347af0a0105a7e975c8d91e22f7941)) ### [`v2.16.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2170-2026-02-05) [Compare Source](https://github.com/openai/openai-python/compare/v2.15.0...v2.16.0) Full Changelog: [v2.16.0...v2.17.0](https://github.com/openai/openai-python/compare/v2.16.0...v2.17.0) ##### Features - **api:** add shell\_call\_output status field ([1bbaf88](https://github.com/openai/openai-python/commit/1bbaf8865000b338c24c9fdd5e985183feaca10f)) - **api:** image generation actions for responses; ResponseFunctionCallArgumentsDoneEvent.name ([7d96513](https://github.com/openai/openai-python/commit/7d965135f93f41b0c3dbf3dc9f01796bd9645b6c)) - **client:** add custom JSON encoder for extended type support ([9f43c8b](https://github.com/openai/openai-python/commit/9f43c8b1a1641db2336cc6d0ec0c6dc470a89103)) ##### Bug Fixes - **client:** undo change to web search Find action ([8f14eb0](https://github.com/openai/openai-python/commit/8f14eb0a74363fdfc648c5cd5c6d34a85b938d3c)) - **client:** update type for `find_in_page` action ([ec54dde](https://github.com/openai/openai-python/commit/ec54ddeb357e49edd81cc3fe53d549c297e59a07)) ### [`v2.15.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2160-2026-01-27) [Compare Source](https://github.com/openai/openai-python/compare/v2.14.0...v2.15.0) Full Changelog: [v2.15.0...v2.16.0](https://github.com/openai/openai-python/compare/v2.15.0...v2.16.0) ##### Features - **api:** api update ([b97f9f2](https://github.com/openai/openai-python/commit/b97f9f26b9c46ca4519130e60a8bf12ad8d52bf3)) - **api:** api updates ([9debcc0](https://github.com/openai/openai-python/commit/9debcc02370f5b76a6a609ded18fbf8dea87b9cb)) - **client:** add support for binary request streaming ([49561d8](https://github.com/openai/openai-python/commit/49561d88279628bc400d1b09aa98765b67018ef1)) ##### Bug Fixes - **api:** mark assistants as deprecated ([0419cbc](https://github.com/openai/openai-python/commit/0419cbcbf1021131c7492321436ed01ca4337835)) ##### Chores - **ci:** upgrade `actions/github-script` ([5139f13](https://github.com/openai/openai-python/commit/5139f13ef35e64dadc65f2ba2bab736977985769)) - **internal:** update `actions/checkout` version ([f276714](https://github.com/openai/openai-python/commit/f2767144c11833070c0579063ed33918089b4617)) ##### Documentation - **examples:** update Azure Realtime sample to use v1 API ([#&#8203;2829](https://github.com/openai/openai-python/issues/2829)) ([3b31981](https://github.com/openai/openai-python/commit/3b319819544d629c5b8c206b8b1f6ec6328c6136)) ### [`v2.14.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2150-2026-01-09) [Compare Source](https://github.com/openai/openai-python/compare/v2.13.0...v2.14.0) Full Changelog: [v2.14.0...v2.15.0](https://github.com/openai/openai-python/compare/v2.14.0...v2.15.0) ##### Features - **api:** add new Response completed\_at prop ([f077752](https://github.com/openai/openai-python/commit/f077752f4a8364a74f784f8fb1cbe31277e1762b)) ##### Chores - **internal:** codegen related update ([e7daba6](https://github.com/openai/openai-python/commit/e7daba6662a3c30f73d991e96cb19d2b54d772e0)) ### [`v2.13.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2140-2025-12-19) [Compare Source](https://github.com/openai/openai-python/compare/v2.12.0...v2.13.0) Full Changelog: [v2.13.0...v2.14.0](https://github.com/openai/openai-python/compare/v2.13.0...v2.14.0) ##### Features - **api:** slugs for new audio models; make all `model` params accept strings ([e517792](https://github.com/openai/openai-python/commit/e517792b58d1768cfb3432a555a354ae0a9cfa21)) ##### Bug Fixes - use async\_to\_httpx\_files in patch method ([a6af9ee](https://github.com/openai/openai-python/commit/a6af9ee5643197222f328d5e73a80ab3515c32e2)) ##### Chores - **internal:** add `--fix` argument to lint script ([93107ef](https://github.com/openai/openai-python/commit/93107ef36abcfd9c6b1419533a1720031f03caec)) ### [`v2.12.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2130-2025-12-16) [Compare Source](https://github.com/openai/openai-python/compare/v2.11.0...v2.12.0) Full Changelog: [v2.12.0...v2.13.0](https://github.com/openai/openai-python/compare/v2.12.0...v2.13.0) ##### Features - **api:** gpt-image-1.5 ([1c88f03](https://github.com/openai/openai-python/commit/1c88f03bb48aa67426744e5b74f6197f30f61c73)) ##### Chores - **ci:** add CI job to detect breaking changes with the Agents SDK ([#&#8203;1436](https://github.com/openai/openai-python/issues/1436)) ([237c91e](https://github.com/openai/openai-python/commit/237c91ee6738b6764b139fd7afa68294d3ee0153)) - **internal:** add missing files argument to base client ([e6d6fd5](https://github.com/openai/openai-python/commit/e6d6fd5989d76358ea5d9abb5949aa87646cbef6)) ### [`v2.11.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2120-2025-12-15) [Compare Source](https://github.com/openai/openai-python/compare/v2.9.0...v2.11.0) Full Changelog: [v2.11.0...v2.12.0](https://github.com/openai/openai-python/compare/v2.11.0...v2.12.0) ##### Features - **api:** api update ([a95c4d0](https://github.com/openai/openai-python/commit/a95c4d0952ff5eb767206574e687cb029a49a4ab)) - **api:** fix grader input list, add dated slugs for sora-2 ([b2c389b](https://github.com/openai/openai-python/commit/b2c389bf5c3bde50bac2d9f60cce58f4aef44a41)) ### [`v2.9.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#2100-2025-12-10) [Compare Source](https://github.com/openai/openai-python/compare/v2.8.1...v2.9.0) Full Changelog: [v2.9.0...v2.10.0](https://github.com/openai/openai-python/compare/v2.9.0...v2.10.0) ##### Features - **api:** make model required for the responses/compact endpoint ([a12936b](https://github.com/openai/openai-python/commit/a12936b18cf19009d4e6d586c9b1958359636dbe)) ##### Bug Fixes - **types:** allow pyright to infer TypedDict types within SequenceNotStr ([8f0d230](https://github.com/openai/openai-python/commit/8f0d23066c1edc38a6e9858b054dceaf92ae001b)) ##### Chores - add missing docstrings ([f20a9a1](https://github.com/openai/openai-python/commit/f20a9a18a421ba69622c77ab539509d218e774eb)) - **internal:** update docstring ([9a993f2](https://github.com/openai/openai-python/commit/9a993f2261b6524aa30b955e006c7ea89f086968)) ### [`v2.8.1`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#290-2025-12-04) [Compare Source](https://github.com/openai/openai-python/compare/v2.8.0...v2.8.1) Full Changelog: [v2.8.1...v2.9.0](https://github.com/openai/openai-python/compare/v2.8.1...v2.9.0) ##### Features - **api:** gpt-5.1-codex-max and responses/compact ([22f646e](https://github.com/openai/openai-python/commit/22f646e985b7c93782cf695edbe643844cae7017)) ##### Bug Fixes - **client:** avoid mutating user-provided response config object ([#&#8203;2700](https://github.com/openai/openai-python/issues/2700)) ([e040d22](https://github.com/openai/openai-python/commit/e040d22c2df068e908f69dc6b892e7f8b3fe6e99)) - ensure streams are always closed ([0b1a27f](https://github.com/openai/openai-python/commit/0b1a27f08639d14dfe40bf80b48e2b8a1a51593c)) - **streaming:** correct indentation ([575bbac](https://github.com/openai/openai-python/commit/575bbac13b3a57731a4e07b67636ae94463d43fa)) ##### Chores - **deps:** mypy 1.18.1 has a regression, pin to 1.17 ([22cd586](https://github.com/openai/openai-python/commit/22cd586dbd5484b47f625da55db697691116b22b)) - **docs:** use environment variables for authentication in code snippets ([c2a3cd5](https://github.com/openai/openai-python/commit/c2a3cd502bfb03f68f62f50aed15a40458c0996e)) - **internal:** codegen related update ([307a066](https://github.com/openai/openai-python/commit/307a0664383b9d1d4151bc1a05a78c4fdcdcc9b0)) - update lockfile ([b4109c5](https://github.com/openai/openai-python/commit/b4109c5fcf971ccfb25b4bdaef0bf36999f9eca5)) ### [`v2.8.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#281-2025-11-17) [Compare Source](https://github.com/openai/openai-python/compare/v2.7.2...v2.8.0) Full Changelog: [v2.8.0...v2.8.1](https://github.com/openai/openai-python/compare/v2.8.0...v2.8.1) ##### Bug Fixes - **api:** align types of input items / output items for typescript ([64c9fb3](https://github.com/openai/openai-python/commit/64c9fb3fcc79f0049b3a36bd429faf0600d969f6)) ### [`v2.7.2`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#280-2025-11-13) [Compare Source](https://github.com/openai/openai-python/compare/v2.7.1...v2.7.2) Full Changelog: [v2.7.2...v2.8.0](https://github.com/openai/openai-python/compare/v2.7.2...v2.8.0) ##### Features - **api:** gpt 5.1 ([8d9f2ca](https://github.com/openai/openai-python/commit/8d9f2cab4cb2e12f6e2ab1de967f858736a656ac)) ##### Bug Fixes - **compat:** update signatures of `model_dump` and `model_dump_json` for Pydantic v1 ([c7bd234](https://github.com/openai/openai-python/commit/c7bd234b18239fcdbf0edb1b51ca9116c0ac7251)) ### [`v2.7.1`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#272-2025-11-10) [Compare Source](https://github.com/openai/openai-python/compare/v2.7.0...v2.7.1) Full Changelog: [v2.7.1...v2.7.2](https://github.com/openai/openai-python/compare/v2.7.1...v2.7.2) ##### Bug Fixes - compat with Python 3.14 ([15a7ec8](https://github.com/openai/openai-python/commit/15a7ec8a753d7f57d525fca60c547fd5331cb214)) ##### Chores - **package:** drop Python 3.8 support ([afc14f2](https://github.com/openai/openai-python/commit/afc14f2e42e7a8174f2ff1a5672829b808a716bf)) ### [`v2.7.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#271-2025-11-04) [Compare Source](https://github.com/openai/openai-python/compare/v2.6.1...v2.7.0) Full Changelog: [v2.7.0...v2.7.1](https://github.com/openai/openai-python/compare/v2.7.0...v2.7.1) ##### Bug Fixes - **api:** fix nullability of logprobs ([373b7f6](https://github.com/openai/openai-python/commit/373b7f6e4255dfef3ccd92520011e8ba44e8b7f0)) ### [`v2.6.1`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#270-2025-11-03) [Compare Source](https://github.com/openai/openai-python/compare/v2.6.0...v2.6.1) Full Changelog: [v2.6.1...v2.7.0](https://github.com/openai/openai-python/compare/v2.6.1...v2.7.0) ##### Features - **api:** Realtime API token\_limits, Hybrid searching ranking options ([5b43992](https://github.com/openai/openai-python/commit/5b4399219d7ed326411aec524d25ef2b8e3152fc)) - **api:** remove InputAudio from ResponseInputContent ([bd70a33](https://github.com/openai/openai-python/commit/bd70a33234741fa68c185105e4f53cc0275a2a50)) ##### Bug Fixes - **client:** close streams without requiring full consumption ([d8bb7d6](https://github.com/openai/openai-python/commit/d8bb7d6d728c5481de4198eebe668b67803ae14a)) - **readme:** update realtime examples ([#&#8203;2714](https://github.com/openai/openai-python/issues/2714)) ([d0370a8](https://github.com/openai/openai-python/commit/d0370a8d61fc2f710a34d8aad48f649a9683106d)) - **uploads:** avoid file handle leak ([4f1b691](https://github.com/openai/openai-python/commit/4f1b691ab4db41aebd397ec41942b43fb0f0743c)) ##### Chores - **internal/tests:** avoid race condition with implicit client cleanup ([933d23b](https://github.com/openai/openai-python/commit/933d23bd8d7809c77e0796becfe052167d44d40a)) - **internal:** grammar fix (it's -> its) ([f7e9e9e](https://github.com/openai/openai-python/commit/f7e9e9e4f43039f19a41375a6d2b2bdc2264dad7)) ### [`v2.6.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#261-2025-10-24) [Compare Source](https://github.com/openai/openai-python/compare/v2.5.0...v2.6.0) Full Changelog: [v2.6.0...v2.6.1](https://github.com/openai/openai-python/compare/v2.6.0...v2.6.1) ##### Bug Fixes - **api:** docs updates ([d01a0c9](https://github.com/openai/openai-python/commit/d01a0c96ecb94c78b7e16546790c573704b7515b)) ##### Chores - **client:** clean up custom translations code ([cfb9e25](https://github.com/openai/openai-python/commit/cfb9e25855b8eb020abe02cdd99566adf474e821)) ### [`v2.5.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#260-2025-10-20) [Compare Source](https://github.com/openai/openai-python/compare/v2.4.0...v2.5.0) Full Changelog: [v2.5.0...v2.6.0](https://github.com/openai/openai-python/compare/v2.5.0...v2.6.0) ##### Features - **api:** Add responses.input\_tokens.count ([6dd09e2](https://github.com/openai/openai-python/commit/6dd09e2829f385f72b28620888d91a4493c96772)) ##### Bug Fixes - **api:** internal openapi updates ([caabd7c](https://github.com/openai/openai-python/commit/caabd7c81f0f557f66dc0089af460185a5816c11)) ### [`v2.4.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#250-2025-10-17) [Compare Source](https://github.com/openai/openai-python/compare/v2.3.0...v2.4.0) Full Changelog: [v2.4.0...v2.5.0](https://github.com/openai/openai-python/compare/v2.4.0...v2.5.0) ##### Features - **api:** api update ([8b280d5](https://github.com/openai/openai-python/commit/8b280d57d6d361bc3a032e030158f6859c445291)) ##### Chores - bump `httpx-aiohttp` version to 0.1.9 ([67f2f0a](https://github.com/openai/openai-python/commit/67f2f0afe51dab9d5899fe18b1a4e86b2c774d10)) ### [`v2.3.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#240-2025-10-16) [Compare Source](https://github.com/openai/openai-python/compare/v2.2.0...v2.3.0) Full Changelog: [v2.3.0...v2.4.0](https://github.com/openai/openai-python/compare/v2.3.0...v2.4.0) ##### Features - **api:** Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint ([bdbe9b8](https://github.com/openai/openai-python/commit/bdbe9b8f440209afa2979db4a9eda9579b3d2550)) ##### Chores - fix dangling comment ([da14e99](https://github.com/openai/openai-python/commit/da14e9960608f7ade6f5cdf91967830c8a6c1657)) - **internal:** detect missing future annotations with ruff ([2672b8f](https://github.com/openai/openai-python/commit/2672b8f0726300f7c62c356f25545ef0b3c0bb2e)) ### [`v2.2.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#230-2025-10-10) [Compare Source](https://github.com/openai/openai-python/compare/v2.1.0...v2.2.0) Full Changelog: [v2.2.0...v2.3.0](https://github.com/openai/openai-python/compare/v2.2.0...v2.3.0) ##### Features - **api:** comparison filter in/not in ([aa49f62](https://github.com/openai/openai-python/commit/aa49f626a6ea9d77ad008badfb3741e16232d62f)) ##### Chores - **package:** bump jiter to >=0.10.0 to support Python 3.14 ([#&#8203;2618](https://github.com/openai/openai-python/issues/2618)) ([aa445ca](https://github.com/openai/openai-python/commit/aa445cab5c93c6908697fe98e73e16963330b141)) ### [`v2.1.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#220-2025-10-06) [Compare Source](https://github.com/openai/openai-python/compare/v2.0.1...v2.1.0) Full Changelog: [v2.1.0...v2.2.0](https://github.com/openai/openai-python/compare/v2.1.0...v2.2.0) ##### Features - **api:** dev day 2025 launches ([38ac009](https://github.com/openai/openai-python/commit/38ac0093ebb3419b1e2280d0dc2d26c74a2bbbec)) ##### Bug Fixes - **client:** add chatkit to beta resource ([de3e561](https://github.com/openai/openai-python/commit/de3e5619d0a85b17906a9416039ef309e820dc0f)) ### [`v2.0.1`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#210-2025-10-02) [Compare Source](https://github.com/openai/openai-python/compare/v2.0.0...v2.0.1) Full Changelog: [v2.0.1...v2.1.0](https://github.com/openai/openai-python/compare/v2.0.1...v2.1.0) ##### Features - **api:** add support for realtime calls ([7f7925b](https://github.com/openai/openai-python/commit/7f7925b4074ecbf879714698000e10fa0519d51a)) ### [`v2.0.0`](https://github.com/openai/openai-python/blob/HEAD/CHANGELOG.md#201-2025-10-01) [Compare Source](https://github.com/openai/openai-python/compare/v1.109.1...v2.0.0) Full Changelog: [v2.0.0...v2.0.1](https://github.com/openai/openai-python/compare/v2.0.0...v2.0.1) ##### Bug Fixes - **api:** add status, approval\_request\_id to MCP tool call ([2a02255](https://github.com/openai/openai-python/commit/2a022553f83b636defcfda3b1c6f4b12d901357b)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjguNSIsInVwZGF0ZWRJblZlciI6IjQzLjE2OC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
renovate-bot added 1 commit 2026-05-08 14:52:59 +02:00
alpha-nerd self-assigned this 2026-05-08 15:25:21 +02:00
alpha-nerd added the
renovate: stop-updating
label 2026-05-08 15:25:31 +02:00
renovate-bot force-pushed renovate/openai-2.x from b0a70cdbbd to c8aa677ac2 2026-05-16 00:47:06 +02:00 Compare
alpha-nerd started working 2026-05-16 08:51:19 +02:00
alpha-nerd stopped working 2026-05-16 08:51:27 +02:00
9 seconds
Owner

/oc check release notes and verify there are no breaking changes for usage in this repo

/oc check release notes and verify there are no breaking changes for usage in this repo
Owner

No breaking changes for this repo's usage. Here's the analysis:

Usage summary — the repo uses only:

  • openai.AsyncOpenAI (async client)
  • client.chat.completions.create() (13 call sites)
  • client.completions.create() (2 call sites)
  • client.embeddings.create() (3 call sites)
  • openai.APIStatusError exception
  • Streaming via async for over response generators
  • Response properties: .usage.*, .choices[0].delta.*, .model_dump()

v2.0.0 breaking changes — the major v2.0.0 release notes show no breaking API changes for the methods used above. The only listed change in v2.0.0 is a bug fix (add status, approval_request_id to MCP tool call). The v2.x series (v2.0.1 through v2.37.0) contains only new features, bug fixes, and docs — no breaking changes to chat.completions, completions, embeddings, streaming patterns, or APIStatusError.

Result: The openai==1.109.12.37.0 upgrade is safe. The repo already uses the async client (AsyncOpenAI), which is the only client in v2.x, and all API methods/properties in use remain unchanged.

opencode session  |  forgejo run

No breaking changes for this repo's usage. Here's the analysis: **Usage summary** — the repo uses only: - `openai.AsyncOpenAI` (async client) - `client.chat.completions.create()` (13 call sites) - `client.completions.create()` (2 call sites) - `client.embeddings.create()` (3 call sites) - `openai.APIStatusError` exception - Streaming via `async for` over response generators - Response properties: `.usage.*`, `.choices[0].delta.*`, `.model_dump()` **v2.0.0 breaking changes** — the major v2.0.0 release notes show no breaking API changes for the methods used above. The only listed change in v2.0.0 is a bug fix (`add status, approval_request_id to MCP tool call`). The v2.x series (v2.0.1 through v2.37.0) contains only new features, bug fixes, and docs — no breaking changes to `chat.completions`, `completions`, `embeddings`, streaming patterns, or `APIStatusError`. **Result:** The `openai==1.109.1` → `2.37.0` upgrade is safe. The repo already uses the async client (`AsyncOpenAI`), which is the only client in v2.x, and all API methods/properties in use remain unchanged. [opencode session](https://opencode.ai/s/LnuZd5aL)&nbsp;&nbsp;|&nbsp;&nbsp;[forgejo run](https://bitfreedom.net/code/nomyo-ai/nomyo-router/actions/runs/169)
alpha-nerd removed the
renovate: stop-updating
label 2026-05-16 09:19:43 +02:00
renovate-bot force-pushed renovate/openai-2.x from c8aa677ac2 to 64e38978a9 2026-05-16 09:46:38 +02:00 Compare
alpha-nerd merged commit 82f631879c into main 2026-05-16 10:59:13 +02:00
Sign in to join this conversation.
No description provided.