Packages

@ai-sdk/google

4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/google From 2.0.47 to 2.0.111

62 releases in betweennotes for 61

Reading releases, release notes and advisories…

Other targets from 2.0.47Latest4.0.122
  1. 2.0.47yours
  2. 61 releases
  3. 2.0.111target
?
changes to make
0
advisories fixed
19+
new
28+
fixes

Counted from 61 of 62 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 2.0.111

    11 Nov 20261 new
    • New

      Add support for the gemini-4-carbon model with the same capabilities as gemini-4-argon.

  2. 2.0.110nothing new or fixed in the note

  3. 2.0.109

    7 Nov 20261 fix
    • Fixed

      Omit Google provider-defined tools, including File Search and Vertex RAG Store, when toolChoice is none so disabled tools cannot retrieve data or execute server-side. Preserve function declarations needed by conversation history while disabling function calling.

  4. 2.0.108

    3 Nov 20262 fixes
    • 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 UNAVAILABLE and RESOURCE_EXHAUSTED are marked retryable.

  5. 2.0.107nothing new or fixed in the note

  6. 2.0.106

    23 Oct 20261 fix
    • Fixed

      google: Convert type: [X, "null"] to a plain nullable node so items and format beside it stay valid for Gemini

  7. 2.0.105

    21 Oct 20261 fix
    • Fixed

      Defer validation schema construction until first use to reduce provider import time.

  8. 2.0.104

    19 Oct 20261 fix
    • 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 includes null for requests without grounding.

27 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.