Changelog
6.45.0 (2026-06-24)
Full Changelog: v6.44.0...v6.45.0
Features
- add afterCompletion hook to runTools (#1064) (4976c22)
- realtime: support sideband call_id connections (#1795) (4fd59e1)
- reject emitted promise on error in EventEmitter (#1596) (e0b09da)
- responses: add response input items helper (#1794) (7e5a86a)
- responses: add response stream accumulator helper (#1793) (32e3e39)
Bug Fixes
- avoid serializing null optional bodies (e4ddff6)
- clean up stream abort listeners (#1884) (be55b8f)
- Leading whitespace chunks break partial parser (structured outputs) (#1213) (88d806e)
- responses: avoid parsing incomplete structured output (#1852) (4c39681)
- responses: restore output_text on streamed final responses (#1681) (bbde4d9)
- validate workload identity access tokens (#1885) (80febe4)
- zod: fully resolve extracted wrapper definitions (#1766) (5d46ed2)
- zod: sanitize extracted definition refs (#1903) (6ef2111)
Chores
- internal: codegen related update (81fcf96)
Documentation
Build System
6.44.0 (2026-06-17)
Full Changelog: v6.43.0...v6.44.0
Features
- api: update OpenAPI spec or Stainless config (d05bdbc)
6.43.0 (2026-06-16)
Full Changelog: v6.42.0...v6.43.0
Bug Fixes
- fix TS to use
main (dc5078b)
- restore pnpm repo configuration on next (c2575d6)
Chores
Build System
6.42.0 (2026-06-03)
Full Changelog: v6.41.0...v6.42.0
Features
- api: responses.moderation and chat_completions.moderation (6d8f592)
6.41.0 (2026-06-01)
Full Changelog: v6.40.0...v6.41.0
Features
6.40.0 (2026-06-01)
Full Changelog: v6.39.1...v6.40.0
Features
- api: workload identity in audit logs, additional_tools item in responses, fix ActionSearch.query to be optional. (aee09f3)
Chores
6.39.1 (2026-05-27)
Full Changelog: v6.39.0...v6.39.1
Bug Fixes
- Improve undici dispatcher mismatch guidance (#1898) (b6e5fd6)
- treat text/plan with format: binary as raw upload (f9a632a)
- treat text/plan with format: binary as raw upload (323cb78)
Chores
- internal: codegen related update (d32deef)
6.39.0 (2026-05-21)
Full Changelog: v6.38.0...v6.39.0
Features
- api: api update (33ea11f)
- api: manual updates (c210b09)
- api: manual updates (92df9dc)
- api: update OpenAPI spec or Stainless config (c7c0f52)
Bug Fixes
- types: allow runtime fetch options (8f5003d)
- typescript: upgrade tsc-multi so that it works with Node 26 (068f9c6)
Chores
- api: docs updates (9d43adb)
- tests: remove redundant File import (5465bbe)
6.38.0 (2026-05-13)
Full Changelog: v6.37.0...v6.38.0
Features
- api: add service_tier parameter to responses compact method (423e838)
6.37.0 (2026-05-07)
Full Changelog: v6.36.0...v6.37.0
Features
- api: add quantity field to admin organization usage responses (273a8f7)
- api: add web_search_call.results output option to responses (91c75e0)
- api: launch realtime translate + update image 2 (a296b66)
- api: manual updates (794b905)
- api: manual updates (6963729)
- api: realtime 2 (f4b7177)
Bug Fixes
- api: fix imagegen
size enum regression (4fe8469)
Chores
- redact api-key headers in debug logs (99c9c80)
6.36.0 (2026-05-01)
Full Changelog: v6.35.0...v6.36.0
Features
- api: add group_type/user metadata fields, update types across admin resources (cc52f97)
- api: add support for Admin API Keys per endpoint (770d187)
- api: admin API updates (ee2bd2d)
- api: manual updates (6af2b6d)
- api: manual updates (f2dceda)
Bug Fixes
- api: support admin api key auth (e3862a3)
- api: tighten auth header selection (f1203bd)
Chores
- format: run eslint and prettier separately (104543a)
- internal: codegen related update (05d86da)
- internal: codegen related update (f184586)
6.35.0 (2026-04-28)
Full Changelog: v6.34.0...v6.35.0
Features
- api: Add detail to InputFileContent (910ec5d)
- api: add OAuthErrorCode type (f84bd1f)
- api: add prompt_cache_retention parameter to responses compact (c486d1f)
- api: add web_search_call.results to ResponseIncludable (72449a1)
- api: manual updates (b742f1f)
- client: add support for binary messages (c498cc3)
- client: add support for path parameters in websockets clients (e0aba70)
- client: add support for queuing messages when waiting for a connection (fd8868c)
- client: add support for WebSockets in the browser when using simple auth (27bda6a)
- client: support automatic reconnection for websockets (189410b)
- typescript: expose underlying WebSocket type (7e96939)
Bug Fixes
- client: allow single messages greater than the size of the websockets queue (ad19ab2)
- internal: gitignore generated
oidc dir (cf860f6)
- types: correct prompt_cache_retention enum value in chat/completions and responses (5a81e1a)
- types: preserve emitted ts-ignore comments (1cde375)
Chores
- ci: remove release-doctor workflow (e5ab4d1)
- format: apply prettier output (80fa23d)
- format: ignore release-updated jsr config (f606e8b)
- formatter: run prettier and eslint separately (68a988e)
- internal: codegen related update (7673137)
- internal: fix package.json duplicate keys (5f075a8)
- internal: more robust bootstrap script (252e70a)
- internal: version bump (34c84ee)
- tests: bump steady to v0.22.1 (316bdba)
Documentation
6.34.0 (2026-04-08)
Full Changelog: v6.33.0...v6.34.0
Features
- api: add phase field to Message in conversations (eb7cbc1)
- client: add support for short-lived tokens (#839) (a72ebcf)
Bug Fixes
- api: remove web_search_call.results from ResponseIncludable in responses (1f6968e)
Chores
- internal: codegen related update (1081460)
- internal: update multipart form array serialization (3faee8d)
- tests: bump steady to v0.20.1 (b73cc6b)
Documentation
- api: add multi-file ingestion recommendations to vector-stores files/file-batches (1bc32a3)
6.33.0 (2026-03-25)
Full Changelog: v6.32.0...v6.33.0
Features
- api: add keys field to computer action types (27a850e)
- client: add async iterator and stream() to WebSocket classes (e1c16ee)
Bug Fixes
- api: align SDK response types with expanded item schemas (491cd52)
- types: make type required in ResponseInputMessageItem (2012293)
Chores
- ci: skip lint on metadata-only changes (74a917f)
- internal: refactor imports (cfe9c60)
- internal: update gitignore (71bd114)
- tests: bump steady to v0.19.4 (f2e9dea)
- tests: bump steady to v0.19.5 (37c6cf4)
- tests: bump steady to v0.19.6 (496b3af)
- tests: bump steady to v0.19.7 (8491eb6)
Refactors
- tests: switch from prism to steady (47c0581)
6.32.0 (2026-03-17)
Full Changelog: v6.31.0...v6.32.0
Features
- api: 5.4 nano and mini model slugs (068df6d)
6.31.0 (2026-03-16)
Full Changelog: v6.30.1...v6.31.0
Features
- api: add in/nin filter types to ComparisonFilter (b2eda27)
6.30.1 (2026-03-16)
Full Changelog: v6.30.0...v6.30.1
Chores
- internal: tweak CI branches (25f5d74)
6.30.0 (2026-03-16)
Full Changelog: v6.29.0...v6.30.0
Features
- api: add /v1/videos endpoint option to batches (271d879)
- api: add defer_loading field to NamespaceTool (7cc8f0a)
Bug Fixes
- api: oidc publishing for npm (fa50066)
6.29.0 (2026-03-13)
Full Changelog: v6.28.0...v6.29.0
Features
6.28.0 (2026-03-13)
Full Changelog: v6.27.0...v6.28.0
Features
- api: manual updates (d543959)
- api: manual updates (4f87840)
- api: sora api improvements: character api, video extensions/edits, higher resolution exports. (262dac2)
Bug Fixes
- types: remove detail field from ResponseInputFile and ResponseInputFileContent (8d6c0cd)
Chores
- internal: update dependencies to address dependabot vulnerabilities (f5810ee)
- match http protocol with ws protocol instead of wss (6f4e936)
- mcp-server: improve instructions (aad9ca1)
- use proper capitalization for WebSockets (cb4cf62)
6.27.0 (2026-03-05)
Full Changelog: v6.26.0...v6.27.0
Features
- api: The GA ComputerTool now uses the CompuerTool class. The 'computer_use_preview' tool is moved to ComputerUsePreview (0206188)
Chores
- internal: improve import alias names (9cc2478)
6.26.0 (2026-03-05)
Full Changelog: v6.25.0...v6.26.0
Features
- api: gpt-5.4, tool search tool, and new computer tool (1d1e5a9)
Bug Fixes
- api: internal schema fixes (6b401ad)
- api: manual updates (2b54919)
- api: readd phase (4a0cf29)
- api: remove phase from message types, prompt_cache_key param in responses (088fca6)
Chores
- internal: codegen related update (6a0aa9e)
- internal: codegen related update (b2a4299)
- internal: move stringifyQuery implementation to internal function (f9f4660)
- internal: reduce warnings (7e19492)
6.25.0 (2026-02-24)
Full Changelog: v6.24.0...v6.25.0
Features
Bug Fixes
Chores
- internal: refactor sse event parsing (0ea2380)
6.24.0 (2026-02-24)
Full Changelog: v6.23.0...v6.24.0
Features
- api: add gpt-realtime-1.5 and gpt-audio-1.5 models to realtime (75875bf)
6.23.0 (2026-02-23)
Full Changelog: v6.22.0...v6.23.0
Features
- api: websockets for responses api (c6b96b8)
Bug Fixes
- docs/contributing: correct pnpm link command (8a198a5)
- internal: skip tests that depend on mock server (3d88cb0)
Chores
- internal/client: fix form-urlencoded requests (646cedd)
- update mock server docs (29f78f3)
Documentation
- api: document 2000 file limit in file-batches create parameters (ff7bde0)
- api: enhance method descriptions across audio/chat/skills/videos/responses (f5e02a1)
- api: update safety_identifier description in chat/responses (a55e0ef)
6.22.0 (2026-02-14)
Full Changelog: v6.21.0...v6.22.0
Features
- api: container network_policy and skills (65c1482)
Bug Fixes
- docs: restore helper methods in API reference (3a4c189)
- webhooks: restore webhook type exports (49bbf46)
Chores
- internal: avoid type checking errors with ts-reset (4b0d1f2)
Documentation
- split
api.md by standalone resources (48e07d6)
- update comment (e3a1ea0)
6.21.0 (2026-02-10)
Full Changelog: v6.20.0...v6.21.0
Features
- api: support for images in batch api (017ba1c)
6.20.0 (2026-02-10)
Full Changelog: v6.19.0...v6.20.0
Features
- api: skills and hosted shell (e4bdd62)
6.19.0 (2026-02-09)
Full Changelog: v6.18.0...v6.19.0
Features
- api: responses context_management (40e7671)
6.18.0 (2026-02-05)
Full Changelog: v6.17.0...v6.18.0
Features
- api: image generation actions for responses; ResponseFunctionCallArgumentsDoneEvent.name (d373c32)
Bug Fixes
- client: avoid memory leak with abort signals (b449f36)
- client: avoid removing abort listener too early (1c045f7)
- client: undo change to web search Find action (8259b45)
- client: update type for
find_in_page action (9aa8d98)
Chores
- client: do not parse responses with empty content-length (4a118fa)
- client: restructure abort controller binding (a4d7151)
- internal: fix pagination internals not accepting option promises (6677905)
6.17.0 (2026-01-28)
Full Changelog: v6.16.0...v6.17.0
Features
Bug Fixes
- api: mark assistants as deprecated (3ae2a14)
Chores
- ci: upgrade
actions/github-script (4ea73d3)
- internal: update
actions/checkout version (f163b77)
- internal: upgrade babel, qs, js-yaml (2e2f3c6)
6.16.0 (2026-01-09)
Full Changelog: v6.15.0...v6.16.0
Features
- api: add new Response completed_at prop (ca40534)
- ci: add breaking change detection workflow (a6f3dea)
Chores
- break long lines in snippets into multiline (80dee2f)
- internal: codegen related update (b2fac3e)
6.15.0 (2025-12-19)
Full Changelog: v6.14.0...v6.15.0
Bug Fixes
6.14.0 (2025-12-16)
Full Changelog: v6.13.0...v6.14.0
Features
6.13.0 (2025-12-15)
Full Changelog: v6.12.0...v6.13.0
Features
- api: api update (bc759dc)
- api: fix grader input list, add dated slugs for sora-2 (6b2a38f)
6.12.0 (2025-12-11)
Full Changelog: v6.11.0...v6.12.0
Features
6.11.0 (2025-12-10)
Full Changelog: v6.10.0...v6.11.0
Features
- api: make model required for the responses/compact endpoint (0b52b12)
Bug Fixes
- mcp: correct code tool API endpoint (e3f2a33)
- mcp: return correct lines on typescript errors (f485c3c)
Chores
- internal: codegen related update (5af1c38)
- internal: codegen related update (e43a8d9)
6.10.0 (2025-12-04)
Full Changelog: v6.9.1...v6.10.0
Features
- api: gpt-5.1-codex-max and responses/compact (935f79e)
Chores
- client: fix logger property type (fdc671f)
- internal: upgrade eslint (9de0f90)
6.9.1 (2025-11-17)
Full Changelog: v6.9.0...v6.9.1
Bug Fixes
- api: align types of input items / output items for typescript (99adaa7)
6.9.0 (2025-11-13)
Full Changelog: v6.8.1...v6.9.0
Features
Chores
- add typescript-estree dependency for jsr readme script (3759514)
6.8.1 (2025-11-05)
Full Changelog: v6.8.0...v6.8.1
Bug Fixes
- api: fix nullability of logprobs (40a403c)
6.8.0 (2025-11-03)
Full Changelog: v6.7.0...v6.8.0
Features
- api: Realtime API token_limits, Hybrid searching ranking options (6a5b48c)
- api: remove InputAudio from ResponseInputContent (9909fef)
Chores
- internal: codegen related update (3ad52aa)
6.7.0 (2025-10-24)
Full Changelog: v6.6.0...v6.7.0
Features
Bug Fixes
6.6.0 (2025-10-20)
Full Changelog: v6.5.0...v6.6.0
Features
- api: Add responses.input_tokens.count (520c8a9)
Bug Fixes
- api: internal openapi updates (d4aaef9)
6.5.0 (2025-10-17)
Full Changelog: v6.4.0...v6.5.0
Features
6.4.0 (2025-10-16)
Full Changelog: v6.3.0...v6.4.0
Features
- api: Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint (2d27392)
6.3.0 (2025-10-10)
Full Changelog: v6.2.0...v6.3.0
Features
- api: comparison filter in/not in (1a733c6)
Chores
- internal: use npm pack for build uploads (a532410)
6.2.0 (2025-10-06)
Full Changelog: v6.1.0...v6.2.0
Features
- api: dev day 2025 launches (f2816db)
Chores
- internal: codegen related update (b6f64b7)
- jsdoc: fix @link annotations to refer only to parts of the package‘s public interface (73e465d)
6.1.0 (2025-10-02)
Full Changelog: v6.0.1...v6.1.0