@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…
- 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
- 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
- Fixed
- Breaking
Removes (unsupported)
additionalPropertiesfrom the Schema sent in the request payloads to Google APIs
- Breaking
- 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)
- New
- Fixed
Fix (provider/google): prevent error when thinking signature is used
- Fixed
- New
Add reasoning token output support for gemini models via Vertex AI Provider
- New
1.2.17nothing new or fixed in the note
- New
providers/google: Add gemini-2.5-pro-preview-05-06
- New
- Fixed
providers/google: Accept nullish in safetyRatings
- Fixed
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.