@ai-sdk/google
4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/google From 2.0.57 to 2.0.111
52 releases in betweennotes for 51
Reading releases, release notes and advisories…
Release by release
- New
Add support for the
gemini-4-carbonmodel with the same capabilities asgemini-4-argon.
- New
2.0.110nothing new or fixed in the note
- Fixed
Omit Google provider-defined tools, including File Search and Vertex RAG Store, when
toolChoiceisnoneso disabled tools cannot retrieve data or execute server-side. Preserve function declarations needed by conversation history while disabling function calling.
- Fixed
- Fixed
google: Handle cycles and BigInt in functionResponse and parse string functionCall arguments
- Fixed
Map Google RPC status names to HTTP status codes when streamed errors omit a numeric code, so transient failures such as
UNAVAILABLEandRESOURCE_EXHAUSTEDare marked retryable.
- Fixed
2.0.107nothing new or fixed in the note
- Fixed
google: Convert
type: [X, "null"]to a plain nullable node soitemsandformatbeside it stay valid for Gemini
- Fixed
- Fixed
Defer validation schema construction until first use to reduce provider import time.
- Fixed
- Fixed
Preserve grounding metadata from each automatically continued Google response in
groundingMetadataPerRequest. Previously, a later response without grounding could leave earlier Search queries absent from the final provider metadata even though their sources were returned. The new array preserves request order and includesnullfor requests without grounding.
- Fixed
25 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.