NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #1698 most downloaded on npm
The official TypeScript library for the OpenAI API
Latest stable
7.55.0
Last release 12 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
426 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
runTools: correct request options type
client: partial parsing update to handle strings
Full Changelog: v4.60.1...v4.61.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
zod: correctly add $ref definitions for transformed schemas
## 4.60.0 (2024-09-12) Full Changelog: v4.59.0...v4.60.0 ### Features * api: add o1 models
structured outputs: support accessing raw responses
errors: pass message through to APIConnectionError
docs: update browser support information
vector store: improve chunking strategy type names
helpers/zod: avoid import issue in certain environments
## 4.57.2 (2024-09-04) Full Changelog: v4.57.1...v4.57.2 ### Chores * internal: dependency updates
assistants: correctly accumulate tool calls when streaming
Full Changelog: v4.57.0...v4.57.1
api: add file search result details to run steps
## 4.56.2 (2024-08-29) Full Changelog: v4.56.1...v4.56.2 ### Chores * run tsc as part of lint script
## 4.56.1 (2024-08-27) Full Changelog: v4.56.0...v4.56.1 ### Chores * ci: check for build errors
api: add chatgpt-4o-latest model
Full Changelog: v4.55.9...v4.56.0
azure/tts: avoid stripping model param
## 4.55.8 (2024-08-15) Full Changelog: v4.55.7...v4.55.8 ### Chores * types: define FilePurpose enum
json-schema: correct handling of nested recursive schemas
zod-to-json-schema: correct licensing
examples: minor formatting changes
helpers/zod: nested union schema extraction
## 4.55.3 (2024-08-08) Full Changelog: v4.55.2...v4.55.3 ### Chores * internal: updates
helpers/zod: add extract-to-root ref strategy
Full Changelog: v4.55.1...v4.55.2
extract-to-root ref strategy (ef3c73c)nullableStrategy option (ad89892)helpers/zod: correct schema generation for recursive schemas
Full Changelog: v4.55.0...v4.55.1
AssistantResponseFormat type (#967) (9fd94bf)api: add structured outputs support
Full Changelog: v4.54.0...v4.55.0
extract out ImageModel, AudioModel, SpeechModel
Full Changelog: v4.53.2...v4.54.0
ImageModel, AudioModel, SpeechModel (#964) (1edf957)docs: fix incorrect client var names
compat: remove ReadableStream polyfill redundant since node v16
api: add new gpt-4o-mini models
examples: update example values
ci: also run workflows for PRs targeting next
vectorStores: correctly handle missing files in uploadAndPoll()
examples: removedduplicated 'messageDelta' streaming event.
## 4.52.3 (2024-07-02) Full Changelog: v4.52.2...v4.52.3 ### Chores * minor change to tests
## 4.52.2 (2024-06-28) Full Changelog: v4.52.1...v4.52.2 ### Chores * gitignore test server logs
doc: clarify service tier default value
api: add service tier argument for chat completions
## 4.51.0 (2024-06-12) Full Changelog: v4.50.0...v4.51.0 ### Features * api: updates
support application/octet-stream request bodies
remove erroneous thread create argument
## 4.49.0 (2024-06-06) Full Changelog: v4.48.3...v4.49.0 ### Features * api: updates
internal: minor refactor of tests
internal: minor change to tests
## 4.48.1 (2024-06-04) Full Changelog: v4.48.0...v4.48.1 ### Bug Fixes * resolve typescript issue
azure: update example and readme to use Entra ID
## 4.47.2 (2024-05-28) Full Changelog: v4.47.1...v4.47.2 ### Documentation * readme: add bundle size badge
internal: add slightly better logging to scripts
## 4.47.0 (2024-05-14) Full Changelog: v4.46.1...v4.47.0 ### Features * api: add incomplete state
change import paths to be relative
## 4.46.0 (2024-05-13) Full Changelog: v4.45.0...v4.46.0 ### Features * api: add gpt-4o model
dependency: bumped Next.js version
## 4.44.0 (2024-05-09) Full Changelog: v4.43.0...v4.44.0 ### Features * api: add message image content
## 4.43.0 (2024-05-08) Full Changelog: v4.42.0...v4.43.0 ### Features * api: adding file purposes
api: add usage metadata when streaming
## 4.41.1 (2024-05-06) Full Changelog: v4.41.0...v4.41.1 ### Bug Fixes * azure: update build script
## 4.41.0 (2024-05-05) Full Changelog: v4.40.2...v4.41.0 ### Features * client: add Azure client
package: revert recent client file change
internal: move client class to separate file
## 4.40.0 (2024-05-01) Full Changelog: v4.39.1...v4.40.0 ### Features * api: delete messages
internal: add link to openapi spec
One column per quarter.