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
Last release today
04 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
6 years old
398 releases · first in 2020
One column per quarter.
api: add text embeddings dimensions param
Full Changelog: v4.25.0...v4.26.0
api: add usage to runs and run steps
ecosystem-tests: fix flaky vercel-edge, cloudflare-worker, and deno tests
ecosystem-tests: fix flaky tests and remove fine tuning calls
api: remove deprecated endpoints
internal: narrow type into stringifyQuery
use default base url if BASE_URL env var is blank
headers: always send lowercase headers and strip undefined (BREAKING in rare cases)
Full Changelog: v4.24.1...v4.24.2
pagination: correct type annotation object field
Full Changelog: v4.24.0...v4.24.1
api: add additional instructions for runs
Full Changelog: v4.23.0...v4.24.0
api: add token logprobs to chat completions
replace runFunctions with runTools in readme
api: add optional name argument + improve docs
correct some runTools behavior and deprecate runFunctions
Full Changelog: v4.20.1...v4.21.0
internal: remove file import and conditionally run prepare
allow installing package directly from github
Full Changelog: v4.19.0...v4.19.1
Full Changelog: v4.19.0...v4.19.1
Full Changelog: v4.18.0...v4.19.0 ### Features * api: updates
Full Changelog: v4.17.5...v4.18.0 ### Features * api: add gpt-3.5-turbo-1106
fix typo in docs and add request header for function calls
Full Changelog: v4.17.4...v4.17.5
Full Changelog: v4.17.3...v4.17.4 ### Chores * internal: update jest config
Full Changelog: v4.17.2...v4.17.3
Full Changelog: v4.17.2...v4.17.3
internal: bump deno version number
client: deprecate files.retrieveContent in favour of files.content
Full Changelog: v4.17.0...v4.17.1
api: rename FunctionObject to FunctionDefinition
api: accidentally required params, add new models & other fixes
Full Changelog: v4.16.1...v4.16.2
Full Changelog: v4.16.0...v4.16.1 ### Bug Fixes * api: retreival -> retrieval (#437) (b4bd3ee) ### Documentation * api: improve docstrings
api: releases from DevDay; assistants, multimodality, tools, dall-e-3, tts, and more
readme: remove redundant whitespace
Full Changelog: v4.15.3...v4.15.4
Full Changelog: v4.15.2...v4.15.3 ### Bug Fixes * improve deno releases
Full Changelog: v4.15.1...v4.15.2 ### Documentation * fix deno.land import
Full Changelog: v4.15.0...v4.15.1 ### Documentation * document customizing fetch
beta: add streaming and function calling helpers
Full Changelog: v4.14.1...v4.14.2 ### Chores * docs: update deno link
deploy deno in a github workflow instead of postpublish step
client: adjust retry behavior to be exponential backoff
api: add embeddings encoding_format
Full Changelog: v4.12.4...v4.13.0
import web-streams-polyfill without overriding globals
Full Changelog: v4.12.3...v4.12.4
organisation -> organization (UK to US English)
Full Changelog: v4.12.2...v4.12.3
show deprecation notice on re-export
Full Changelog: v4.12.1...v4.12.2
fix namespace exports regression
api: remove content_filter stop_reason and update documentation
Full Changelog: v4.11.1...v4.12.0
content_filter stop_reason and update documentation (#352) (a4b401e)Full Changelog: v4.11.0...v4.11.1
Full Changelog: v4.11.0...v4.11.1
client: handle retry-after with a date
Full Changelog: v4.10.0...v4.11.0
api: add 'gpt-3.5-turbo-instruct', fine-tune error objects, update documentation
Full Changelog: v4.9.1...v4.10.0
README: fix variable names in some examples
Full Changelog: v4.9.0...v4.9.1
client: support importing node or web shims manually
Full Changelog: v4.8.0...v4.9.0
errors: add status code to error message
declare Bun 1.0 officially supported
client: retry on 408 Request Timeout
Full Changelog: v4.6.0...v4.7.0
types: extract ChatCompletionRole enum to its own type
client: add files.waitForProcessing() method
Full Changelog: v4.4.0...v4.5.0
re-export chat completion types at the top level
types: improve getNextPage() return type
client: add auto-pagination to fine tuning list endpoints
types: export RequestOptions type
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →