Packages

@ai-sdk/gateway

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

Upgrading @ai-sdk/gateway From 4.0.135 to 4.0.136

1 release in betweenevery note read

Other targets from 4.0.135Newest 4.x4.0.152Latest4.0.150
  1. 4.0.135yours
  2. 4.0.136target
0
changes to make
0
advisories fixed
2
new
4
fixes

Release by release

  1. 4.0.136

    5 Nov 20262 new · 4 fixes
    • New

      Add opt-in streaming decoding of large generated images to reduce peak memory.

    • New

      Add marketCost, surchargeCost, and gatewayCost fields to getGenerationInfo() results, surfacing the corresponding fields from the AI Gateway generation lookup API.

    • Fixed

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

    • Fixed

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

    • Fixed

      Pass through seed: 0 instead of dropping it in image and video models. KlingAI now reports seed: 0 as an unsupported setting like any other seed.

    • Fixed

      Feat (provider/gateway): implement server-side realtime connection descriptors

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

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.