@ai-sdk/google
4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/google From 4.0.118 to 4.0.119
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Add the
gemini-4-hydrogenmodel ID and support Hydrogen'sxhighthinking level in Google Generate Content and Interactions provider options. Map portablereasoning: 'xhigh'toxhighonly for Hydrogen models. - Fixed
Forward the provider's configured fetch transport when downloading file inputs. Add a
fetchoption tocreateDownloadso core downloads can also useguarded-fetchfor opt-in DNS validation on Node.js. The function returned bycreateDownloadcan now also be passed asexperimental_downloadtogenerateTextandstreamText, andexperimental_downloadnow also handles generated file URLs returned by the model, so one hook covers all core downloads. Document that the default URL checks do not resolve DNS and recommend the guarded transport or network egress controls for untrusted URLs.
- New
1 internal line (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.