@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.122
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
google: Reject structured output schemas in batch requests because inline Google batch requests ignore
responseJsonSchema - Fixed
provider/google: Redact MCP server credentials in telemetry
- Fixed
google: Include
promptFeedback.blockReasonMessagein provider metadata
- Fixed
- Fixed
Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while preserving existing suggestions, endpoint-specific model lists, and support for custom model IDs.
- Fixed
Fix Google Interactions ignoring top-level
reasoningin generation and streaming calls. Map reasoning to model-supported thinking levels, including Hydrogen'sxhigh, preserve explicitthinkingLeveloverrides and API defaults, and warn when reasoning is unsupported.
- Fixed
- New
Add experimental extraction models backed by structured language model output
- New
- 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
3 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.