Packages

@ai-sdk/google

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

Upgrading @ai-sdk/google From 1.2.19 to 1.2.22

3 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.2.19Latest4.0.122
  1. 1.2.19yours
  2. 1.2.20
  3. 1.2.21breaking
  4. 1.2.22target
1
change to make
0
advisories fixed
2
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking1.2.21

Release by release

  1. 1.2.22

    2 Jul 20251 fix
    • Fixed

      Fix missing systemInstruction in object-tool mode. The object-tool generation mode now properly includes system instructions in API requests, matching the behavior of regular and object-json modes

  2. 1.2.21

    Migration needed1 Jul 2025
    • Breaking

      Removes (unsupported) additionalProperties from the Schema sent in the request payloads to Google APIs

  3. 1.2.20

    1 Jul 20252 new
    • New

      Support tool schemas that allow additional properties (e.g z.record(z.string()))

    • New

      providers/google: Add support for Gemini 2.5 Pro and Gemini 2.5 Flash (now stable)

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.