Skip to content

v7.11.0

Latest

Choose a tag to compare

@openai-sdks openai-sdks released this 08 Sep 16:41
Immutable release. Only release title and notes can be modified.
80ce89f

7.11.0 (2026-09-08)

Features

  • api: Add prompt cache diagnostics (#2608) (f83de8f)
  • api: add service-account API key expiration fields (#2618) (eecbebe)
  • api: correct function argument completion event fields (openapi-545) (#2611) (31bf7e7)
  • api: recognize incomplete web search call status (#2576) (c093c44)

Bug Fixes

  • assistants: retain terminal message snapshots (#2650) (414677e)
  • audio: only signal started recording processes (#2665) (cebdf7c)
  • audio: prefer readable inputs over body metadata (#2548) (86ff7d5)
  • audio: use ALSA card identifiers when recording (#2564) (67da19c)
  • audio: wait for input cleanup before reporting success (#2624) (5ed87fe)
  • auth: account for token exchange elapsed time (#2609) (b0f6f20)
  • auth: validate Azure metadata access token values (#2523) (32b4d35)
  • azure: carry declared options through withOptions and fix deployment paths (#2514) (f8f29fb)
  • bedrock: cancel requests awaiting AWS credentials (#2610) (97c94e4)
  • bound partial number recovery to its token (#2692) (0d306ca)
  • build: fail on reported transpile errors (#2638) (833e3e8)
  • build: fail when a compiler worker is signaled (#2633) (cd79cd1)
  • build: honor configured compiler worker limits (#2635) (aa08b44)
  • build: narrow Git-install staging detection (#2621) (a6170d3)
  • build: postprocess the selected package manifest (#2620) (1850d58)
  • build: preserve CommonJS source-map positions (#2623) (df0034d)
  • build: preserve config-relative compiler project paths (#2637) (3acb064)
  • build: preserve declaration file import specifiers (#2659) (0098c2e)
  • ci: propagate Node matrix check failures (#2569) (bff92c9)
  • ci: serialize release-please branch updates (#2631) (bb0e400)
  • clean up failed mock-server startups (#2558) (83c92f0)
  • deps: bump qs to 6.16.0 for security fixes (#2588) (4e5c6e3)
  • docs: await headers in Next.js webhook examples (#2595) (7e48f05)
  • docs: correct the chat streaming helper contract (#2596) (135ac7e)
  • docs: include image detail in the Vision example (#2598) (e76bb16)
  • docs: omit absent Bedrock provider session tokens (#2597) (41f85bd)
  • ecosystem: preserve retry delays in parallel workers (#2673) (6164745)
  • ecosystem: reject invalid retry counts (#2642) (d0e2bcf)
  • ecosystem: restore explicit web type-test module markers (#2584) (3c189f4)
  • embeddings: preserve numeric output with body overrides (#2549) (97d1ae7)
  • embeddings: preserve numeric responses after request hooks (#2590) (5202b13)
  • embeddings: reject incomplete float32 vectors (#2615) (3940a20)
  • embeddings: validate response collection before decoding (#2686) (888811f)
  • events: preserve unbound listener receivers (#2644) (c8238e7)
  • examples: annotate Responses WebSocket turn result (#2585) (dde19c5)
  • examples: avoid extra requests for empty tool calls (#2672) (be292d3)
  • examples: avoid unhandled WebSocket rejections (#2669) (744b0ad)
  • examples: cancel Edge streams when requests abort (#2530) (18100a1)
  • examples: close failed streaming responses (#2531) (eb9b468)
  • examples: close multi-agent WebSockets on terminal responses (#2533) (51ec453)
  • examples: drain manual conversation error output (#2629) (e488b53)
  • examples: find structured-output tool calls (#2572) (84870a8)
  • examples: keep tracking fine-tuning file validation (#2528) (63312f2)
  • examples: preserve background stream resume cursors (#2671) (b7398e3)
  • examples: reject early multi-agent WebSocket closure (#2599) (c6320f0)
  • examples: reject early Realtime socket closure (#2639) (7db48ec)
  • examples: reject incomplete image streams (#2617) (ef39397)
  • examples: reject incomplete multi-agent streams (#2666) (152b98d)
  • examples: reject unsuccessful background responses (#2600) (902a931)
  • examples: reject unsuccessful Responses streams (#2645) (86acb95)
  • examples: reject unsuccessful structured-tool responses (#2668) (99aa303)
  • examples: report audio demo failures (#2570) (29c0572)
  • examples: report image-streaming failures (#2563) (947c555)
  • examples: report multi-agent streaming failures (#2550) (19d9151)
  • examples: report nonstreaming request failures (#2603) (384dc26)
  • examples: report premature WebSocket closure (#2544) (7eb5f7e)
  • examples: report unsuccessful Azure Realtime responses (#2612) (2b62209)
  • examples: report unsuccessful fine-tuning jobs (#2616) (e761c16)
  • examples: report unsuccessful Realtime responses (#2559) (5d3e584)
  • examples: respect raw streaming proxy backpressure (#2663) (a11bb1b)
  • examples: reuse completed background responses (#2557) (8e1977b)
  • examples: serialize missing book lookup results (#2573) (db7e371)
  • examples: stop polling failed training files (#2592) (1d67945)
  • examples: support redirected streaming output (#2546) (8df2e3a)
  • examples: use the default audio recording input (#2593) (6153484)
  • format: ignore missing literal file-list paths (#2670) (516a849)
  • format: preserve file-list scope (#2568) (7faff0e)
  • identify modern Edge browser runtime headers (#2628) (9cdf6f0)
  • isolate monthly node review publication (#2691) (3970dae)
  • isolate realtime connection credentials (#2690) (e9db491)
  • keep formatter inputs on LF across Git checkouts (#2515) (074618f)
  • lint: preserve leading-dash generated file paths (#2640) (3b91a83)
  • pagination: follow next cursors through empty pages (#2561) (9ea39ce)
  • parse JSON media types case-insensitively (#2551) (7ea7926)
  • polling: honor zero custom polling intervals (#2518) (0cd94bb)
  • polling: treat a cancelled vector store file as terminal (#2506) (43c1007)
  • preserve alternate Headers inputs (#2560) (5d36ff4)
  • preserve CommonJS constructor inheritance (#2547) (aafb64e)
  • preserve cross-realm error causes (#2555) (bfec504)
  • preserve own Zod schema definition names (#2695) (f65d190)
  • preserve package selection in parallel ecosystem tests (#2516) (fa0ce41)
  • preserve streamed API error classification (#2694) (8e2c6ee)
  • realtime: preserve base URL routing components (#2567) (0f2e22d)
  • responses: omit parsed values from replayed history (#2634) (124b652)
  • responses: parse namespaced function tools (#2574) (4d86684)
  • responses: validate indexed response collections (#2687) (1ecbf52)
  • runners: observe cancellation after completion callbacks (#2591) (27f5c6a)
  • runners: preserve frozen input history (#2525) (1211038)
  • runners: reuse caller abort listeners across tool turns (#2594) (57d0da4)
  • runners: suppress content events for input history (#2520) (37d6fc2)
  • serialize tool-call IDs once per completion (#2688) (8afb23e)
  • streaming: abort before early-exit cleanup (#2613) (03acf94)
  • streaming: avoid duplicate terminal tool argument events (#2658) (12e5db6)
  • streaming: interrupt pending reads on cancellation (#2556) (2d7a767)
  • streaming: surface server error frames and settle streams past throwing listeners (#2502) (17a661e)
  • support Edge Runtime without Node process (#2552) (5dc4deb)
  • test: cancel Steady commands waiting for cache locks (#2636) (8896395)
  • test: preserve unrelated processes on mock startup failure (#2622) (6896e66)
  • test: reap Steady commands when lease creation fails (#2664) (518756a)
  • test: reject HTTP errors in mock health checks (#2667) (7b9e0b0)
  • test: reject unknown ecosystem project names (#2626) (fcd12bb)
  • test: run Bun validation with --from-npm (#2625) (74f58a9)
  • test: use a monotonic Steady lock timeout (#2661) (7b5d120)
  • types: account for optional event arguments (#2527) (548a651)
  • types: include missing parsed response stream events (#2521) (6a9db07)
  • types: preserve custom tool factory metadata (#2526) (13dca7b)
  • types: preserve runnable function tuple positions (#2524) (e345d0f)
  • uploads: accept cross-realm ArrayBuffers (#2529) (69d7bda)
  • uploads: preserve explicit empty filenames (#2532) (eabb487)
  • uploads: reject zero batch upload concurrency (#2519) (8b9405a)
  • validate partial image indices in streaming example (#2693) (a9a4440)
  • zod: preserve strict schema compatibility with Zod 4.5.4 (#2677) (c11870e)
  • zod: retain the original tool parameter schema (#2662) (fdb038e)

Performance Improvements

  • bedrock: avoid copying repeated query values (#2545) (80ab919)

Chores

  • api: document throttling and model overload responses — SDK-235 (#2632) (9dd0524)
  • clarify Response types and remove unused handwritten code (#2660) (86152ab)
  • deps-dev: bump @aws-sdk/credential-provider-node from 3.972.78 to 3.972.81 (#2681) (48629a3)
  • deps-dev: bump @cloudflare/workers-types from 5.20260816.1 to 5.20260823.1 in /ecosystem-tests/cloudflare-worker (#2535) (dc14bf5)
  • deps-dev: bump @cloudflare/workers-types from 5.20260823.1 to 5.20260830.1 in /ecosystem-tests/cloudflare-worker (#2676) (ae04066)
  • deps-dev: bump @smithy/signature-v4 from 5.7.2 to 5.7.3 (#2679) (41ca20d)
  • deps-dev: bump @swc/core from 1.15.47 to 1.16.1 (#2538) (5c04dc4)
  • deps-dev: bump fast-uri from 3.1.5 to 3.1.7 in /ecosystem-tests/ts-browser-webpack (#2579) (34380bf)
  • deps-dev: bump fast-uri from 3.1.5 to 3.1.7 in /ecosystem-tests/vercel-edge (#2577) (511d1e4)
  • deps-dev: bump oxlint from 1.76.0 to 1.79.0 (#2542) (2683c3a)
  • deps-dev: bump oxlint from 1.79.0 to 1.80.0 (#2683) (02d5fb0)
  • deps-dev: bump puppeteer from 25.7.0 to 25.8.0 in /ecosystem-tests/browser-direct-import (#2534) (f039c09)
  • deps-dev: bump puppeteer from 25.7.0 to 25.8.0 in /ecosystem-tests/ts-browser-webpack (#2539) (5828818)
  • deps-dev: bump puppeteer from 25.8.0 to 25.9.0 in /ecosystem-tests/browser-direct-import (#2675) (bebd72f)
  • deps-dev: bump puppeteer from 25.8.0 to 25.9.0 in /ecosystem-tests/ts-browser-webpack (#2680) (fe3770f)
  • deps-dev: bump ultracite from 7.10.0 to 7.10.5 (#2537) (6d37b30)
  • deps-dev: bump vitest from 4.1.10 to 4.1.11 (#2541) (6ea24b3)
  • deps-dev: bump webpack from 5.109.2 to 5.110.2 in /ecosystem-tests/ts-browser-webpack (#2682) (73405d1)
  • deps-dev: bump wrangler from 4.125.0 to 4.127.1 in /ecosystem-tests/cloudflare-worker (#2678) (0d92742)
  • deps: bump @azure/identity from 4.13.1 to 4.13.2 (#2540) (0318287)
  • deps: bump express and @types/express (#2684) (c581c17)
  • ecosystem: remove unused proxy stub (#2641) (ce1713a)
  • migrate to forked steady (#2587) (67ce45d)

Documentation

  • correct Bun ecosystem test instructions (#2627) (3434b42)
  • correct error handling diagnostics (#2630) (d334d8c)
  • helpers: remove undefined main call from parsing example (#2648) (d8f6be9)
  • realtime: report unsuccessful responses in the guide (#2647) (f58b1fd)
  • streaming: reject unsuccessful background responses (#2614) (1025f7a)
  • tools: support TypeScript 4.9 in the function loop (#2649) (42e852b)