@ai-sdk/gateway
4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed
4.0.152 is the newest release of 4.x.
In short
1 deprecated1 new1 faster2 internal
- Deprecated
fix(provider/gateway): restore
export_pricing.free_rowsontakoSearchresults as a deprecated optional field, so code that reads it compiles again. Tako always sends 0 and will stop sending it.
Release note
Patch Changes
Add support for the
gemini-4-carbonmodel with the same capabilities asgemini-4-argon.Use Zod Mini for internal validation schemas to reduce bundle size while preserving the public message schemas' classic Zod methods, error messages, and compatibility with supported Zod 3 and Zod 4 versions.
provider/gateway: Restore
export_pricing.free_rowsontakoSearchresults as a deprecated optional field, so code that reads it compiles again. Tako always sends 0 and will stop sending it.
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.