Packages

@ai-sdk/openai

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

Upgrading @ai-sdk/openai From 3.0.100 to 4.0.108

141 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.0.100Newest 3.x3.0.136
  1. 3.0.100yours
  2. 35 releases
  3. 4.0.0major
  4. 104 releases
  5. 4.0.108target

Before you upgrade

Tick each one off as you go
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • deprecated4.0.96

Release by release

  1. 4.0.108nothing new or fixed in the note

  2. 4.0.107

    2 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. Warn when these REST-only options are supplied to streaming transcription.

  3. 4.0.106

    30 Oct 20262 new
    • new

      Support promises and synchronous or asynchronous callbacks in provider API key and token settings. Resolve credentials per authenticated request while preserving existing authentication behavior and synchronous credential serialization.

    • new

      Introduce a model entry contract with named capability sections and request configuration. Consolidate the OpenAI and Anthropic model catalogs so existing request behavior and generated capability documentation use the same source of truth. Catalogs also declare the provider options each provider accepts and which models support them.

  4. 4.0.105

    29 Oct 20261 new · 2 fixes
    • new

      openai: Send native JSON input and prompt cache keys to Decisions

    • fixed

      openai: Map top-level reasoning to efforts supported by GPT-5.x models instead of sending unsupported values that OpenAI rejects with a 400. max is now only sent on the Responses API, and GPT-5.6 on Chat Completions sends reasoning_effort: 'none' when function tools are used, since it rejects function tools with reasoning. A warning is emitted when a reasoning level was requested.

    • fixed

      Map the top-level reasoning option consistently across providers

  5. 4.0.104

    27 Oct 20262 new · 4 fixes
    • new

      openai: Add GPT-6.1 Terra model support

    • new

      Support streaming transcription with gpt-live-transcribe and gpt-transcribe. For these models the language provider option is sent as a single-entry languages list. gpt-transcribe warns about and omits streaming.delay, which it does not support. gpt-live-transcribe rejects non-streaming transcription, since it has no REST endpoint.

    • fixed

      openai: Read transcription duration from usage for duration-billed json responses

    • fixed

      openai: Strip propertyNames schemas that omit type: 'string' (e.g. Zod 3 records with constrained keys) instead of throwing an unsupported functionality error

    • fixed

      openai: Report unfinished web searches as tool errors

    • fixed

      openai: Only send transcription response format and timestamp defaults when needed

  6. 4.0.103

    26 Oct 20261 new · 1 fix
    • new

      Add azure.tools.toolSearch and support azure provider options on responses function tools

    • fixed

      Fix string interpolation in Amazon Bedrock unsupported provider tool warnings and OpenAI / OpenAI-compatible completion errors for unexpected system messages.

  7. 4.0.102

    24 Oct 20261 fix
    • fixed

      Fix non-streaming Responses API structured output failing when multiple assistant messages contain JSON. Providers can supply separate structured-output text for parsing, allowing OpenAI and Azure Responses models to select the last final_answer while preserving all generated content, annotations, conversation history, and token usage.

  8. 4.0.101nothing new or fixed in the note

1 other line we could not sort, mostly version bumps
  • Start v7 pre-release

    4.0.0

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