Packages

@ai-sdk/google

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

Upgrading @ai-sdk/google From 1.2.5 to 1.2.22

17 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.2.5Latest4.0.122
  1. 1.2.5yours
  2. 15 releases
  3. 1.2.21breaking
  4. 1.2.22target
1
change to make
0
advisories fixed
6
new
6
fixes

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)

  4. 1.2.19

    3 Jun 20251 fix
    • Fixed

      Fix (provider/google): prevent error when thinking signature is used

  5. 1.2.18

    12 May 20251 new
    • New

      Add reasoning token output support for gemini models via Vertex AI Provider

  6. 1.2.17nothing new or fixed in the note

  7. 1.2.16

    6 May 20251 new
    • New

      providers/google: Add gemini-2.5-pro-preview-05-06

  8. 1.2.15

    6 May 20251 fix
    • Fixed

      providers/google: Accept nullish in safetyRatings

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