github openai/openai-python v2.9.0

9 hours ago

2.9.0 (2025-12-04)

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)

Don't miss a new openai-python release

NewReleases is sending notifications on new releases.