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.
responses: correct reasoning output type
Full Changelog: v4.87.2...v4.87.3
responses: correctly add output_text
Full Changelog: v4.87.1...v4.87.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
## 4.87.1 (2025-03-11) Full Changelog: v4.87.0...v4.87.1 ### Bug Fixes * correct imports
api: add /v1/responses and built-in tools
Full Changelog: v4.86.2...v4.87.0
internal: run example files in CI
update URLs from stainlessapi.com to stainless.com
## 4.86.0 (2025-02-27) Full Changelog: v4.85.4...v4.86.0 ### Features * api: add gpt-4.5-preview
internal: fix devcontainers setup
parsing: remove tool_calls default empty array
optimize sse chunk reading off-by-one error
client: fix export map for index exports
api: add support for storing chat completions
realtime: correct websocket type var constraint
pagination: avoid fetching when has_more: false
Full Changelog: v4.83.0...v4.84.0
thread.run.incomplete event (7032cc4)client: send X-Stainless-Timeout header
examples/realtime: remove duplicate session.update call
## 4.81.0 (2025-01-29) Full Changelog: v4.80.1...v4.81.0 ### Features * azure: Realtime API support
azure: include retry count header
api: update enum values, comments, and examples
## 4.79.4 (2025-01-21) Full Changelog: v4.79.3...v4.79.4 ### Bug Fixes * jsr: correct zod config (e45fa5f) ### Chores * internal: minor restructuring
## 4.79.3 (2025-01-21) Full Changelog: v4.79.2...v4.79.3 ### Bug Fixes * jsr: export zod helpers
readme: fix Realtime API example link
realtime: correct import syntax
client: add Realtime API support
send correct Accept header for certain endpoints
## 4.78.0 (2025-01-09) Full Changelog: v4.77.4...v4.78.0 ### Features * client: add realtime types
## 4.77.4 (2025-01-08) Full Changelog: v4.77.3...v4.77.4 ### Documentation * readme: fix misplaced period
## 4.77.3 (2025-01-03) Full Changelog: v4.77.2...v4.77.3 ### Chores * api: bump spec version
api: new o1 and GPT-4o models + preference fine-tuning
internal: better ecosystem test debugging
Full Changelog: v4.76.2...v4.76.3
types: nicer error class types + jsdocs
internal: bump cross-spawn to v7.0.6
## 4.76.0 (2024-12-05) Full Changelog: v4.75.0...v4.76.0 ### Features * api: updates (#1212) (e0fedf2) ### Chores * bump openapi url
## 4.75.0 (2024-12-03) Full Changelog: v4.74.0...v4.75.0 ### Features * improve docs for jsr README.md
internal: make git install file structure match npm
readme: mention .withResponse() for streaming request ID
api: add gpt-4o-2024-11-20 model
Full Changelog: v4.72.0...v4.73.0
add back deno runtime testing without type checks
Full Changelog: v4.71.1...v4.72.0
change release please configuration for jsr.json
api: add support for predicted outputs
change streaming helper imports to be relative
Full Changelog: v4.70.2...v4.70.3
add permissions to github workflow
don't require deno to run build-deno
internal: fix isolated modules exports
api: add new, expressive voices for Realtime and Audio in Chat Completions
## 4.68.4 (2024-10-23) Full Changelog: v4.68.3...v4.68.4 ### Chores * internal: update spec version
internal: bumps eslint and related dependencies
## 4.68.2 (2024-10-22) Full Changelog: v4.68.1...v4.68.2 ### Chores * internal: update spec version
client: respect x-stainless-retry-count default headers
api: add gpt-4o-audio-preview model for chat completions
internal: pass props through internal parser
internal: move LineDecoder to a separate file
improve and reference contributing documentation
api: support storing chat completions, enabling evals and model distillation in the dashboard
audio: add fallback overload types
## 4.65.0 (2024-09-26) Full Changelog: v4.64.0...v4.65.0 ### Features * api: add omni-moderation model
client: allow overriding retry count header
client: send retry count header
types: remove leftover polyfill usage
client: add ._request_id property to object responses
One column per quarter.