Packages

@ai-sdk/google

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

Upgrading @ai-sdk/google From 1.0.17 to 1.2.22

51 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.0.17Latest4.0.122
  1. 1.0.17yours
  2. 49 releases
  3. 1.2.21breaking
  4. 1.2.22target

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

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