Packages

@ai-sdk/google

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

Upgrading @ai-sdk/google From 4.0.113 to 4.0.114

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 4.0.113Newest 4.x, Latest4.0.122
  1. 4.0.113yours
  2. 4.0.114target
0
changes to make
0
advisories fixed
1
new
3
fixes

Release by release

  1. 4.0.114

    7 Nov 20261 new · 3 fixes
    • New

      Add resolveProviderOptions to parse provider options that a model accepts under several providerOptions keys, either as aliases (first) or merged in order (merge), and use it for the existing multi-key lookups in the OpenAI, OpenAI-compatible, Anthropic, Google, and Amazon Bedrock models. Resolution behavior for these models is unchanged.

    • Fixed

      Pass providerOptions.google.labels through to Google and Vertex AI Interactions requests, including streaming, so callers can attach request metadata such as safety_identifier.

    • 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. This also applies when structured output uses a synthetic JSON response tool.

    • Fixed

      Skip streamed tool-call array indexes that leave a gap so a small response can't build a huge sparse array

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.