Packages

@ai-sdk/gateway

4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.80

12 Sep 2026Where it was published

4.0.152 is the newest release of 4.x.

In short

1 fixed

Release note

The section about @ai-sdk/gateway of a note shared by several packages.

Patch Changes

  • gateway: Forward server-returned warnings on language model doGenerate

    generateText(...).warnings through the gateway provider was always an empty
    array: doGenerate spread the gateway response body and then overwrote the
    server's warnings with a locally constructed empty array. The warnings the
    gateway relays from the upstream provider (and gateway-originated warnings)
    are now forwarded, matching the streaming path and every other modality.

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.