Packages

@ai-sdk/gateway

4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/gateway From 4.0.146 to 4.0.147

1 release in betweenevery note read

Other targets from 4.0.146Newest 4.x4.0.152Latest4.0.150
  1. 4.0.146yours
  2. 4.0.147target
0
changes to make
0
advisories fixed
0
new
1
fix

Release by release

  1. 4.0.147

    17 Nov 20261 fix
    • Fixed

      Map AI Gateway access_policy_denied error responses (HTTP 403) to the new GatewayAccessPolicyDeniedError instead of GatewayInternalServerError. Use GatewayAccessPolicyDeniedError.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).

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