Packages

@ai-sdk/gateway

4.0.139 · 9 Nov 2026Apache-2.044M / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade

Latest releases

All 579 releases
  1. 4.x · latest line
  2. 4.0.139

    9 Nov 2026
    • provider/gateway: Type the headquarters provider option

  3. 4.0.137 – 4.0.1382 releases with no change for you1 dependency updates, 1 maintenance@ai-sdk/provider-utils 5.0.76@ai-sdk/provider 4.0.37Show each
  4. 4.0.136

    5 Nov 2026
    • Add opt-in streaming decoding of large generated images to reduce peak memory.

      Set providerOptions.gateway.experimental_streamingImageDecoding to true to decode canonical base64 images of at least 64 KiB while reading the response. Extracted images are returned as Uint8Array; smaller images stay base64 strings, and mixed results are normalized to bytes. The client option is not forwarded to the service.

      Default behavior preserves the API's base64 representation. Opting in changes the model result representation and replaces large image data with placeholders in validation errors. Accessing GeneratedFile.base64 can require re-encoding the extracted bytes.

    • Preserve optional normalized word timings returned by transcription responses and warn when shared timestampGranularities requests are not forwarded by the gateway adapter.

    • Accept explicit uploaded-video outcomes in video generation and status responses.

Dependency tracking · free for 3 projects

Know when your own dependencies move

@ai-sdk/gateway shipped 2 new majors in the last 12 months, among 529 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 9 Nov 2026. Releases and advisories last read 9 Nov 2026.