Packages

@ai-sdk/google

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

Upgrading @ai-sdk/google From 1.2.17 to 1.2.22

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.2.17Latest4.0.122
1
change to make
0
advisories fixed
3
new
2
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

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.