@ai-sdk/google
4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/google From 3.0.143 to 3.0.147
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
Limit the size of Google Vertex tool result file downloads with
toolResultDownloads.maxBytes, which defaults to 7 MiB. This is lower than the previous 2 GiB default for these downloads; raisetoolResultDownloads.maxBytesfor larger files.
- Fixed
- New
Add the
gemini-4-hydrogenmodel ID and support Hydrogen'sxhighthinking level in Google Generate Content and Interactions provider options.
- New
- New
Add support for the
gemini-4-carbonmodel with the same capabilities asgemini-4-argon.
- New
- Fixed
Preserve the served service tier from the
x-gemini-service-tierresponse header when usage metadata omits it, for generated and streamed responses. - Fixed
Apply contiguous array-index validation to dotted numeric paths in streamed tool arguments, while preserving numeric object keys and valid contiguous array updates.
- Fixed
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.