Packages

@ai-sdk/openai

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

Upgrading @ai-sdk/openai From 2.0.135 to 2.0.140

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.135Latest4.0.108
0
changes to make
0
advisories fixed
0
new
6
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.

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