@ai-sdk/gateway
4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/gateway From 4.0.144 to 4.0.150
6 releases in betweenevery note read
Release by release
4.0.150nothing new or fixed in the note
- New
gateway: Add experimental extraction model support. String model ids passed to
experimental_extractnow resolve through the AI Gateway by default.
- New
- New
openai: Add GPT-6.2 Astra and GPT-6.2 Sol model support
- New
- Fixed
Map AI Gateway
access_policy_deniederror responses (HTTP 403) to the newGatewayAccessPolicyDeniedErrorinstead ofGatewayInternalServerError. UseGatewayAccessPolicyDeniedError.isInstance(error)to tell an access policy denial from other 403 errors. When the response includes them, the error exposes the denying policy IDs (policyIds) and the models and providers the policies removed (removedModels,removedProviders).
- Fixed
4.0.145 – 4.0.1462 releases, nothing new or fixed in the notes
6 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.