Skip to content

Releases: openai/openai-python

v2.41.0

03 Jun 22:39
2d955a1

Choose a tag to compare

2.41.0 (2026-06-03)

Full Changelog: v2.40.0...v2.41.0

Features

  • api: responses.moderation and chat_completions.moderation (87e46c2)

v2.40.0

01 Jun 21:48
a28a3f6

Choose a tag to compare

2.40.0 (2026-06-01)

Full Changelog: v2.39.0...v2.40.0

Features

  • api: Add Amazon Bedrock Responses support

Bug Fixes

  • api: allow setting bedrock api keys on the client directly (4d5bfde)

v2.39.0

01 Jun 18:58

Choose a tag to compare

2.39.0 (2026-06-01)

Full Changelog: v2.38.0...v2.39.0

Features

  • api: workload identity in audit logs, additional_tools item in responses, fix ActionSearch.query to be optional. (ab60d7a)

v2.38.0

21 May 21:23

Choose a tag to compare

2.38.0 (2026-05-21)

Full Changelog: v2.37.0...v2.38.0

Features

  • api: api update (33d1d01)
  • api: manual updates (a21700a)
  • api: update OpenAPI spec or Stainless config (00265c5)

Chores

  • api: docs updates (ee10152)
  • check release PR custom code sync (2638779)
  • remove release automation trigger (bd6eea5)
  • trigger release automation (f62d082)

v2.37.0

15 May 22:30
658be64

Choose a tag to compare

2.37.0 (2026-05-13)

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

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)