@ai-sdk/google
4.0.122 · 17 Nov 2026Apache-2.014.6M / weekRepositoryHomepagenpmAtom feed
497 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
3.0.114
26 Aug 2026Preserve recursive tool input schemas without aborting Google model calls.
3.0.112 – 3.0.1132 releases that only update dependencies@ai-sdk/provider-utils 4.0.48Show each
- 3.0.11325 Aug 2026@ai-sdk/provider-utils 4.0.48
- 3.0.11224 Aug 2026@ai-sdk/provider-utils 4.0.47
3.0.111
20 Aug 2026Inline local JSON Schema references in Google tool and structured-output schemas.
3.0.110
14 Aug 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.46
3.0.109
14 Aug 2026google: Add
gemini-3.7-flashmodel
3.0.108
12 Aug 2026Preserve forced tool calls when strict function tools are configured.
3.0.107
11 Aug 2026Preserve Google API error details in
APICallError.data.
Patch Changes
Preserve Google API error details in
APICallError.data.
3.0.103 – 3.0.1064 releases that only update dependencies@ai-sdk/provider 3.0.15@ai-sdk/provider-utils 4.0.44Show each
- 3.0.10611 Aug 2026@ai-sdk/provider 3.0.15@ai-sdk/provider-utils 4.0.44
- 3.0.10510 Aug 2026@ai-sdk/provider-utils 4.0.43
- 3.0.1047 Aug 2026@ai-sdk/provider-utils 4.0.42
- 3.0.10329 Jul 2026@ai-sdk/provider-utils 4.0.41
3.0.102
28 Jul 2026Forward
topKthrough Google Interactions requests and warn when unsupported frequency or presence penalties are provided.
3.0.101
24 Jul 2026google: Omit unsupported function call IDs
3.0.100
23 Jul 2026provider/google: Default unknown Gemini model IDs to the newest supported capabilities
3.0.99
22 Jul 2026Avoid missing thought-signature warnings and skip-validator injection for valid unsigned Gemini 3 parallel function calls in the same model response.
3.0.98
21 Jul 2026google: Add
gemini-3.6-flashandgemini-3.5-flash-litemodels
3.0.97
21 Jul 2026provider/google: Surface Gemini
responseIdasresponse-metadata(stream) andresponse.id(generate)
3.0.96
20 Jul 2026provider/google: Associate multiple code execution results with their tool call
3.0.95
17 Jul 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.40
3.0.94
15 Jul 2026provider/google: Forward Vertex-only imageConfig options (personGeneration, prominentPeople, imageOutputOptions)
3.0.93
14 Jul 2026Allow google.interactions agent requests to include supported tools, including file_search.
3.0.92
14 Jul 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.39
3.0.91
9 Jul 2026Fix Google tool result conversion to send file data as inline data instead of JSON text on the legacy tool-result path.
Expand standalone Google
thresholdprovider options into safety settings.Feat (video): support video (not just image) reference inputs in
inputReferencesfor reference-to-video generation
Patch Changes
Fix Google tool result conversion to send file data as inline data instead of JSON text on the legacy tool-result path.
Expand standalone Google
thresholdprovider options into safety settings.Feat (video): support video (not just image) reference inputs in
inputReferencesfor reference-to-video generation
3.0.90
7 Jul 2026Backport Gemini Interactions video output parsing and per-modality output token breakdown for AI SDK v6.
Backport
vertex.interactions()for the Gemini Interactions API on Vertex AI for AI SDK v6.Pass documented Gemini external HTTPS file URLs through without downloading them.
Patch Changes
Backport Gemini Interactions video output parsing and per-modality output token breakdown for AI SDK v6.
Backport
vertex.interactions()for the Gemini Interactions API on Vertex AI for AI SDK v6.Pass documented Gemini external HTTPS file URLs through without downloading them.
More precise default message for tool execution denial
3.0.89
6 Jul 2026- Security
Prevent prototype pollution when synchronously parsing provider JSON inputs and expose
secureJsonParsefrom provider-utils. Fix Google embedding batch size to respect the Gemini API limit of 100 requests per batch.
Patch Changes
- Security
Prevent prototype pollution when synchronously parsing provider JSON inputs and expose
secureJsonParsefrom provider-utils. Fix Google embedding batch size to respect the Gemini API limit of 100 requests per batch.
3.0.88
1 Jul 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.35
3.0.87
30 Jun 2026Feat (video): add first-class
frameImagesandinputReferencescall options for video generation
Patch Changes
Feat (video): add first-class
frameImagesandinputReferencescall options for video generation
3.0.85 – 3.0.862 releases that only update dependencies@ai-sdk/provider-utils 4.0.33@ai-sdk/provider 3.0.12Show each
3.0.84
25 Jun 2026Publish all packages under the
@ai-v6dist tag.
Patch Changes
Publish all packages under the
@ai-v6dist tag.
3.0.83
16 Jun 2026Only updates a dependency:@ai-sdk/provider-utils 4.0.30
3.0.82
12 Jun 2026- Security
google: Prevent prototype pollution when streaming tool args
Only send provider credentials to same-origin response-supplied URLs
Several provider clients followed a URL taken from the provider's API response (a polling/status URL or a final media URL such as
polling_url,urls.get,result_url,result.sample, orvideo.uri) and reused the authenticated headers — or appended?key=<API_KEY>— on that request. Because the host of the response-supplied URL was never validated, the long-lived API key was sent to whatever host the response named (a CDN in the benign case, or an attacker-chosen host if the provider response was tampered with), allowing credential exfiltration.A new
isSameOriginhelper is added to@ai-sdk/provider-utils, and the affected fetches in@ai-sdk/black-forest-labs,@ai-sdk/fireworks,@ai-sdk/replicate,@ai-sdk/gladia,@ai-sdk/fal, and@ai-sdk/googlenow attach credentials only when the followed URL is same-origin with the provider's configured API origin. Requests to a foreign origin are made without the credential.
Patch Changes
- Security
google: Prevent prototype pollution when streaming tool args
Only send provider credentials to same-origin response-supplied URLs
Several provider clients followed a URL taken from the provider's API response (a polling/status URL or a final media URL such as
polling_url,urls.get,result_url,result.sample, orvideo.uri) and reused the authenticated headers — or appended?key=<API_KEY>— on that request. Because the host of the response-supplied URL was never validated, the long-lived API key was sent to whatever host the response named (a CDN in the benign case, or an attacker-chosen host if the provider response was tampered with), allowing credential exfiltration.A new
isSameOriginhelper is added to@ai-sdk/provider-utils, and the affected fetches in@ai-sdk/black-forest-labs,@ai-sdk/fireworks,@ai-sdk/replicate,@ai-sdk/gladia,@ai-sdk/fal, and@ai-sdk/googlenow attach credentials only when the followed URL is same-origin with the provider's configured API origin. Requests to a foreign origin are made without the credential.
3.0.81
11 Jun 20263.0.80
27 May 2026google: auto-inject
skip_thought_signature_validatorfor Gemini 3 tool-call replays without a signatureGemini 3 models reject requests when an assistant
functionCallpart lacks athoughtSignaturewith HTTP 400"Function call is missing a thought_signature in functionCall parts."This is easy to hit when application code persists/serializes messages and dropsproviderOptions.google.thoughtSignature(custom DB schemas,useChatserver routes that rebuild messages, synthetic tool-call injection).The provider now detects this case (Gemini 3 model + missing signature under
google,googleVertex, andvertexnamespaces) and injects the documentedskip_thought_signature_validatorsentinel into the outboundfunctionCall, plus surfaces a one-shot warning per request listing the affected tool names so the developer can find and fix the upstream serialization. Non-Gemini-3 models are unaffected, and real signatures take precedence when present.
3.0.79
21 May 2026provider/google: Support Google search grounding when using
generateImagewith Gemini
3.0.78
21 May 2026google: Read
serviceTierfromusageMetadata.serviceTierin both generate and stream pathsThe previous implementation read
serviceTierfrom thex-gemini-service-tier
response header, which is only populated on non-streaming responses. Gemini
streaming includes the value inusageMetadata.serviceTieron every chunk, soproviderMetadata.google.serviceTierwas alwaysnullfor streams. Read fromusageMetadatafor both paths instead.
3.0.77
20 May 2026google: Read
serviceTierfromx-gemini-service-tierresponse header in Gemini API and use PayGo for Vertex
3.0.75
16 May 2026google: Update Interactions API implementation to cater for upstream breaking changes coming May 26
3.0.74
15 May 2026provider/google: Support
functionCall.idwhen returned by Gemini API and provide matchingfunctionResponse.id
3.0.73
12 May 2026google: Add
fileDatasupport to embedding model
3.0.72
11 May 2026provider/google: Support cancelling long-running Interactions API agents via AbortSignal, and process their intermittent stream
3.0.71
8 May 2026google: Emit Vertex no-args streaming tool calls and preserve thoughtSignature
Vertex emits a no-args function call as a single chunk shaped
{ functionCall: { name: 'X' } }with noargs, nopartialArgs, and nowillContinue. The streaming parser had no branch for this shape, so the call was dropped along with anythoughtSignatureit carried. For Gemini 3 thinking models this caused the next multi-turn step to 400 withmissing thought_signature. The unary (doGenerate) path had the same drop.Both paths now emit the call as a complete tool call with
'{}'input and propagatethoughtSignatureprovider metadata.Fixes #14847.
3.0.70
7 May 2026provider/google: Fix lack of image consistency when using Interactions API in stateless mode
3.0.68
6 May 2026provider/google: Add support for the Gemini Interactions API
3.0.66 – 3.0.672 releases that only update dependencies@ai-sdk/provider-utils 4.0.26@ai-sdk/provider 3.0.10Show each
3.0.65
29 Apr 2026Trigger release for all packages after provenance setup
Patch Changes
Trigger release for all packages after provenance setup
3.0.64
16 Apr 2026Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
3.0.63
13 Apr 2026google: Fix
serviceTierto be correctly formatted for Vertex API
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.