@ai-sdk/gateway
4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed
3.0.241 is the newest release of 3.x.
In short
1 removed2 deprecated1 fixed1 internal
- Removed
Fix the result type and schema to match the response the gateway returns:
search_id, results withurl, nullabletitleandpublish_date, andexcerpts: string, plus optionalwarnings,usage, andsession_id. ThesearchId,excerpt,publishDate, andrelevanceScorefields were never populated and are removed; update code that reads them.validateUIMessagesnow accepts Parallel Search results. - Deprecated
Accept the
turbo,fast,basic, andadvancedmodes. Tool calls that use one of these modes no longer fail client-side input validation.one-shotandagenticare deprecated but still accepted. - Deprecated
Add the
locationand top-levelmaxCharsTotaloptions, plusfetchPolicy.timeoutSecondsandfetchPolicy.disableCacheFallback.excerpts.maxCharsTotalis deprecated in favor ofmaxCharsTotal.
Release note
Patch Changes
Add Voxtral 3 speech model IDs and support speech expressiveness and pronunciation hints in the Mistral provider.
provider/gateway: Update
parallelSearchfor Parallel's GA Search APIAccept the
turbo,fast,basic, andadvancedmodes. Tool calls that use one of these modes no longer fail client-side input validation.one-shotandagenticare deprecated but still accepted.Add the
locationand top-levelmaxCharsTotaloptions, plusfetchPolicy.timeoutSecondsandfetchPolicy.disableCacheFallback.excerpts.maxCharsTotalis deprecated in favor ofmaxCharsTotal.Fix the result type and schema to match the response the gateway returns:
search_id, results withurl, nullabletitleandpublish_date, andexcerpts: string, plus optionalwarnings,usage, andsession_id. ThesearchId,excerpt,publishDate, andrelevanceScorefields were never populated and are removed; update code that reads them.validateUIMessagesnow accepts Parallel Search results.
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.