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.
internal: add scripts/test and scripts/mock
internal: use actions/checkout@v4 for codeflow
Your coding agent can read these notes before it upgrades. Set up the MCP server →
api: change timestamps to unix integers
internal: use @swc/jest for running tests
api: correct types for message attachment tools
api: correct types for attachments
## 4.38.0 (2024-04-18) Full Changelog: v4.37.1...v4.38.0 ### Features * api: batch list endpoint
api: docs and response_format response property
## 4.37.0 (2024-04-17) Full Changelog: v4.36.0...v4.37.0 ### Features * api: add vector stores
client: add header OpenAI-Project
errors: add request_id property
## 4.34.0 (2024-04-15) Full Changelog: v4.33.1...v4.34.0 ### Features * api: add batch API (#768) (7fe34f2) * api: updates
internal: improve ecosystem tests
api: add additional messages when creating thread run
tests: update wrangler to v3.19.0 (CVE-2023-7080)
## 4.32.1 (2024-04-02) Full Changelog: v4.32.0...v4.32.1 ### Chores * deps: bump yarn to v1.22.22
api: add support for filtering messages by run_id
api: adding temperature parameter
client: correctly send deno version header
Full Changelog: v4.29.2...v4.30.0
internal: update generated pragma comment
## 4.29.1 (2024-03-15) Full Changelog: v4.29.0...v4.29.1 ### Documentation * readme: assistant streaming
assistants: add support for streaming
use @deprecated decorator for deprecated params
Full Changelog: v4.28.4...v4.28.5
api: add wav and pcm to response_format
Full Changelog: v4.28.3...v4.28.4
## 4.28.0 (2024-02-13) Full Changelog: v4.27.1...v4.28.0 ### Features * api: updates
## 4.27.1 (2024-02-12) Full Changelog: v4.27.0...v4.27.1
Full Changelog: v4.27.0...v4.27.1
api: add timestamp_granularities, add gpt-3.5-turbo-0125 model
internal: enable building when git installed
Full Changelog: v4.26.0...v4.26.1
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
One column per quarter.