NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #98 most downloaded on PyPI
The official Python library for the openai API
Last release today
01 Oct 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
440 releases · first in 2020
One column per quarter.
errors: include completion in LengthFinishReasonError
add docstrings to raw response properties
vector store: improve chunking strategy type names
pyproject.toml formatting changes
api: add file search result details to run steps
parsing: add support for pydantic dataclasses
json schema: remove None defaults
client: add uploads.upload_file helper
Full Changelog: v1.40.8...v1.41.0
## 1.40.8 (2024-08-15) Full Changelog: v1.40.7...v1.40.8 ### Chores * types: define FilePurpose enum
cli/migrate: change grit binaries download source
examples: minor formatting changes
helpers: make async client usage more clear (34e1edf), closes #1639
json schema: unravel $refs alongside additional keys
ci: bump prism mock server version
client: raise helpful error message for response_format misuse
internal: update OpenAPI spec url
api: add structured outputs support
client: add retries_taken to raw response class
Full Changelog: v1.38.0...v1.39.0
extract out ImageModel, AudioModel, SpeechModel
internal: add type construction helper
## 1.37.1 (2024-07-25) Full Changelog: v1.37.0...v1.37.1 ### Chores * tests: update prism version
cli/audio: handle non-json response format
types: add gpt-4o-mini to more assistants methods
Full Changelog: v1.36.0...v1.36.1
api: add new gpt-4o-mini models
docs: document how to do per-request http client customization
docs: minor update to formatting of API link in README
threads/runs/create_and_run_stream: correct tool_resources param
Full Changelog: v1.35.12...v1.35.13
azure: refresh auth token during retries
internal: minor request options handling changes
## 1.35.10 (2024-07-03) Full Changelog: v1.35.9...v1.35.10 ### Chores * ci: update rye to v0.35.0
client: always respect content-type multipart/form-data if provided
internal: add helper method for constructing BaseModels
build: include more files in sdist builds
## 1.35.6 (2024-06-27) Full Changelog: v1.35.5...v1.35.6 ### Documentation * readme: improve some wording
cli/migrate: avoid reliance on Python 3.12 argument
Full Changelog: v1.35.4...v1.35.5
docs: fix link to advanced python httpx docs
tests: add explicit type annotation
Full Changelog: v1.35.2...v1.35.3
api: add missing parallel_tool_calls arguments
Full Changelog: v1.35.1...v1.35.2
client/async: avoid blocking io call for platform headers
api: add service tier argument for chat completions
## 1.34.0 (2024-06-12) Full Changelog: v1.33.0...v1.34.0 ### Features * api: updates
api: adding chunking_strategy to polling helpers
remove erroneous thread create argument
## 1.32.0 (2024-06-06) Full Changelog: v1.31.2...v1.32.0 ### Features * api: updates
internal: minor refactor of tests
internal: minor change to tests
## 1.31.0 (2024-06-03) Full Changelog: v1.30.5...v1.31.0 ### Features * api: updates (#1461) (0d7cc5e) ### Chores * fix lint
## 1.30.5 (2024-05-29) Full Changelog: v1.30.4...v1.30.5 ### Chores * internal: fix lint issue
add missing __all__ definitions
ci: update rye install location
ci: update rye install location
internal: add slightly better logging to scripts
## 1.30.0 (2024-05-14) Full Changelog: v1.29.0...v1.30.0 ### Features * api: add incomplete state
## 1.29.0 (2024-05-13) Full Changelog: v1.28.2...v1.29.0 ### Features * api: add gpt-4o model
client: accidental blocking sleep in async code
## 1.28.1 (2024-05-11) Full Changelog: v1.28.0...v1.28.1 ### Chores * docs: add SECURITY.md
## 1.28.0 (2024-05-09) Full Changelog: v1.27.0...v1.28.0 ### Features * api: add message image content
## 1.27.0 (2024-05-08) Full Changelog: v1.26.0...v1.27.0 ### Features * api: adding file purposes
api: add usage metadata when streaming
readme: fix misleading timeout example value
Your coding agent can read these notes before it upgrades. Set up the MCP server →