Packages

@ai-sdk/openai

4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/openai From 2.0.98 to 2.0.140

40 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.98Latest4.0.108
  1. 2.0.98yours
  2. 39 releases
  3. 2.0.140target
0
changes to make
0
advisories fixed
13
new
19
fixes

Release by release

  1. 2.0.140

    3 Nov 20262 fixes
    • fixed

      openai: Preserve valid JSON string tool arguments and serialize BigInt and cycles in tool calls and results, retaining malformed argument replay fallbacks

    • fixed

      Forward languages and keywords transcription hints as repeated multipart fields instead of silently dropping them.

  2. 2.0.139nothing new or fixed in the note

  3. 2.0.138

    27 Oct 20262 fixes
    • fixed

      openai: Report unfinished web searches as tool errors

    • fixed

      Report failed and incomplete web searches as tool errors instead of successful tool results in OpenAI Responses API calls.

  4. 2.0.137

    27 Oct 20261 fix
    • fixed

      Fix gpt-transcribe REST transcription. Requests with OpenAI provider options now use response_format: 'json' for gpt-transcribe and dated gpt-4o-mini-transcribe snapshots, which reject verbose_json. durationInSeconds is read from usage.seconds when a duration-billed response has no top-level duration.

  5. 2.0.136

    21 Oct 20261 fix
    • fixed

      Defer validation schema construction until first use to reduce provider import time.

  6. 2.0.135

    13 Oct 20261 fix
    • fixed

      openai: Send assistant text and function calls with content instead of an item reference when their reasoning was removed

  7. 2.0.134

    12 Oct 20261 fix
    • fixed

      openai: Replay web search results, including tools with custom names, when response storage is disabled

  8. 2.0.133nothing new or fixed in the note

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