Packages

@ai-sdk/openai

4.0.121 · 17 Nov 2026Apache-2.025.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/openai From 2.0.140 to 2.0.143

3 releases in betweenevery note read

Other targets from 2.0.140Latest4.0.121
0
changes to make
0
advisories fixed
1
new
3
fixes

Release by release

  1. 2.0.143

    11 Nov 20261 new
    • New

      Support positioned Responses API format updates so changing structured output schemas can preserve earlier reasoning and prompt cache reuse. Add a stable request-level text format override and expose prompt cache comparison diagnostics for generation and streaming results.

  2. 2.0.142nothing new or fixed in the note

  3. 2.0.141

    7 Nov 20263 fixes
    • Fixed

      openai: Surface Chat Completions refusals as text content

    • Fixed

      openai,openai-compatible: Surface refusal logprobs and openai-compatible refusals

    • Fixed

      openai: Handle refusal content parts in the Responses API

2 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.