@ai-sdk/gateway
4.0.150 · 18 Nov 2026Apache-2.047.3M / weekRepositoryHomepagenpmAtom feed
3.0.241 is the newest release of 3.x.
In short
1 new1 fixed1 internal
Release note
Patch Changes
gateway: Preserve AbortError and TimeoutError cancellation reasons instead of wrapping them in retryable GatewayResponseError errors with status 500.
provider/gateway: Add DeepSeek Search and Fetch tools
Share lazy tool-error validation across DeepSeek, Parallel, and Tako while preserving additional error fields.
Tako tool errors also accept
gateway_rate_limitandunknown; exhaustive error switches may need to handle these cases. Parallel and Tako errors gain optionalretryAfterandstatusTextfields.
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.