NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #4482 most downloaded on npm
Latest stable
4.0.102
Last release 10 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Most releases are documented
notes for 36 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
688 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
4579b08: Preserve Anthropic server-tool caller metadata in multi-turn conversations.
cb4fa52: add experimental extract api and extraction model spec
Your coding agent can read these notes before it upgrades. Set up the MCP server →
### Patch Changes - Updated dependencies [401a4ba] - @ai-sdk/provider-utils@5.0.26
### Patch Changes - Updated dependencies [ad6a650] - Updated dependencies [81cd026] - @ai-sdk/provider@4.0.7 - @ai-sdk/provider-utils@5.0.25
### Patch Changes - Updated dependencies [1937bef] - @ai-sdk/provider-utils@5.0.24
e6415bd: feat(anthropic): add text batch support
### Patch Changes - Updated dependencies [3469d0c] - @ai-sdk/provider@4.0.6 - @ai-sdk/provider-utils@5.0.23
8b96941: Reject spliced Anthropic generations while allowing duplicate message start events for the active message.
### Patch Changes - Updated dependencies [1bec07d] - @ai-sdk/provider-utils@5.0.21
### Patch Changes - Updated dependencies [160ccdb] - @ai-sdk/provider-utils@5.0.20
9337ecd: Preserve Anthropic prompt-cache matches by replaying complete code-execution transcripts in their original wire shape.
### Patch Changes - Updated dependencies [5fc7da5] - Updated dependencies [93b2acd] - @ai-sdk/provider-utils@5.0.18
dc0c28e: Return visible summarized reasoning when generic reasoning enables adaptive thinking.
d8210b6: chore: centralize record type guards in provider-utils
### Patch Changes - Updated dependencies [1659cd5] - Updated dependencies [6a5bdff] - @ai-sdk/provider-utils@5.0.15
### Patch Changes - Updated dependencies [0c464d9] - Updated dependencies [c49380c] - @ai-sdk/provider-utils@5.0.14
### Patch Changes - Updated dependencies [1e2f324] - @ai-sdk/provider@4.0.4 - @ai-sdk/provider-utils@5.0.13
e29788d: fix(anthropic): report thinking tokens as reasoning token usage
cbdc990: feat (provider/anthropic): support fallbacks 'default' mode, which routes safety classifier refusals to Anthropic's recommended fallback mode
01a596a: fix (provider/anthropic): use current-generation capability defaults for unrecognized Claude model IDs while retaining conservative defaults
97de198: Warn when an unknown model uses the default 4096 max output token limit.
b72fc7c: fix(amazon-bedrock): sanitize unsupported JSON Schema constraints in native Anthropic structured output
afcf19c: fix(provider/anthropic): preserve web search citations when replaying assistant messages
### Patch Changes - Updated dependencies [31c7be8] - @ai-sdk/provider-utils@5.0.10
4be62c1: fix(provider-utils): validate provider-response URLs in getFromApi
4be62c1: fix(provider-utils): validate provider-response URLs in getFromApi
getFromApi now has a validateUrl flag. It is optional so existing callers keep compiling (omitting it behaves like false, i.e. no validation), but all AI SDK provider packages set it explicitly at every call site so each one makes a visible trust decision. When true, the URL is routed through fetchWithValidatedRedirects — the same guard used by downloadBlob — which rejects private/loopback/link-local targets, re-validates every redirect hop, strips proxy/metadata/cookie request headers, and drops all caller headers except the user-agent on cross-origin redirects (custom API-key headers must not follow a redirect off-origin any more than Authorization may); blocked URLs throw DownloadError. It is enabled at the image/video/audio download and polling call sites where the URL comes from a provider response body; URLs built from developer-configured endpoints pass validateUrl: false and are unaffected.
A new optional credentialedOrigin withholds caller headers unless the URL is same-origin with it, so the API key is not sent to a response-supplied host on a different origin.
A new optional trustedOrigin exempts URLs (and redirect hops) that are same-origin with the developer-configured provider endpoint from target validation, so self-hosted and localhost deployments whose response URLs point back at the configured host keep working; all other hops are still validated.
Also closes range gaps in validateDownloadUrl (IPv4 224.0.0.0/4 multicast and the TEST-NET documentation ranges 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24; IPv6 documentation ranges 2001:db8::/32 and 3fff::/20), and follows only the fetch-spec redirect status codes (301/302/303/307/308) — a Location header on any other status is not followed. This guard performs string/literal checks only and does not resolve DNS; hostnames that resolve to private addresses and DNS rebinding remain out of scope and must be constrained at the network layer (or by injecting a Node fetch that pins the resolved IP at connect time) for server deployments handling untrusted URLs. See contributing/secure-url-handling.md.
cd12954: Reject empty OpenAI, Anthropic, and Replicate base URLs with a helpful AI SDK invalid argument error.
Updated dependencies [4be62c1]
Updated dependencies [7805e4a]
Updated dependencies [cd12954]
308a519: chore: enforce consistent imports from zod/v4 instead of zod
zod/v4 instead of zod### Patch Changes - Updated dependencies [0f93c57] - @ai-sdk/provider@4.0.3 - @ai-sdk/provider-utils@5.0.7
### Patch Changes - Updated dependencies [ac306ed] - @ai-sdk/provider-utils@5.0.6
2e45d9c: fix(anthropic): wrap invalid tool input in object
0aa0ff3: fix(anthropic): forward thinking: { type: 'disabled' } to the API instead of stripping it
0aa0ff3: fix(anthropic): forward thinking: { type: 'disabled' } to the API instead of stripping it
Previously, setting providerOptions.anthropic.thinking = { type: 'disabled' } (or top-level reasoning: 'none') was accepted by the schema but silently dropped from the outgoing request. For models that default thinking on (e.g. Sonnet 5), this left thinking enabled and could consume a small max_tokens budget entirely. The disabled value is now sent to the Anthropic Messages API.
5c5c0f5: Add experimental streaming transcription support for transcription models, including OpenAI gpt-realtime-whisper and xAI WebSocket STT.
gpt-realtime-whisper and xAI WebSocket STT.c6f5e62: Prevent prototype pollution when synchronously parsing provider JSON inputs and expose secureJsonParse from provider-utils.
secureJsonParse from provider-utils.https://api.anthropic.com base URL to include /v1.### Patch Changes - Updated dependencies [8c616f0] - @ai-sdk/provider-utils@5.0.3
c18018c: feat (provider/anthropic): add claude-sonnet-5 model id
claude-sonnet-5 model id### Patch Changes - Updated dependencies [0274f34] - @ai-sdk/provider@4.0.1 - @ai-sdk/provider-utils@5.0.2
dfffb27: fix(anthropic): correctly map delta type when code execution tools are used
### Patch Changes - Updated dependencies [6a436e3] - @ai-sdk/provider-utils@5.0.1
For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
832f86f: fix(anthropic): remove cacheCreationInputTokens from providerMetadata
34bd95d: feat(ai): add support for uploading provider skills using the provider references abstraction
ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers using require() must switch to ESM import syntax.
c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
3887c70: feat(provider): add new top-level reasoning parameter to spec and support it in generateText and streamText
8359612: Start v7 pre-release
04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
e02f041: feat(provider/anthropic): add support for claude-opus-4-8
648705c: fix(provider/anthropic): fix remaining errors with Anthropic code_execution tool dynamic calls from latest web_fetch or web_search
38fc777: Add AI Gateway hint to provider READMEs
ee798eb: chore(provider-utils): rename Experimental_Sandbox to Experimental_SandboxSession
e748b35: chore: update v3 specs to v4
19c5ee2: fix(anthropic): reorder assistant content b/w client and provider tool use
0ee8aec: feat (provider/anthropic): support passing metadata.user_id
c012d57: feat(anthropic): sanitize the unsupported JSON schema validation properties
8018480: feat(anthropic): add the new advisor tool
e5c4f40: Remove stale effort-2025-11-24 beta header — the extended thinking effort parameter is GA and no longer requires the beta flag. Vertex AI's strict validator was actively rejecting requests with this header.
f57c702: fix(anthropic): allow both temperature and topP for non-Anthropic models using the Anthropic-compatible API
The temperature/topP mutual exclusivity check now only applies to known Anthropic models (model IDs starting with claude-). Non-Anthropic models using the Anthropic-compatible API (e.g. Minimax) can now send both parameters as required by their APIs.
2610e84: feat(provider/anthropic): automatically use sandbox in bash tool
d848405: feat: add optional abortSignal parameters to sandbox command execution
87d1723: chore(anthropic): remove unnecessary messages affix from Anthropic symbols and files
9f0e36c: trigger release for all packages after provenance setup
acdbf84: Handle errors from anthropic websearch tool
ad0b376: fix(provider/anthropic): stop adding fine-grained-tool-streaming-2025-05-14 beta for claude-opus-4-7
58a2ad7: fix: more precise default message for tool execution denial
21d1ee3: fix(anthropic): skip passing beta header for tool search tools
1fe058b: fix(anthropic): preserve the error code returned by model
7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
09bd27b: feat (provider/anthropic): add support for inference_geo provider option
0c4c275: trigger initial canary release
6fd51c0: fix(provider): preserve error type prefix in getErrorMessage
e311194: feat(ai): allow passing provider instance to uploadFile and uploadSkill as shorthand
6c93e36: feat(provider-utils): add spawnCommand method to Experimental_Sandbox to allow for detached command execution
9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
5463d0d: feat(provider): align tool result output content file part types with top-level message file part types
b8396f0: trigger initial beta release
6b4d325: feat(provider/anthropic): add support for claude-fable-5 and the fallbacks API parameter
f05a40d: fix(vertex): throw warning when strict: true for vertexAnthropic
a6617c5: feat(provider-utils): add readFile and writeFile plus convenience wrappers to Experimental_Sandbox abstraction
a464505: fix(anthropic): propagate toModelOutput providerOption to anthropic tool results
90e2d8a: chore: fix unused vars not being flagged by our lint tooling
b3976a2: Add workflow serialization support to all provider models.
@ai-sdk/provider-utils: New serializeModel() helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.
All providers: headers is now optional in provider config types. This is non-breaking — existing code that passes headers continues to work. Custom provider implementations that construct model configs manually can now omit headers, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.
All provider model classes now include WORKFLOW_SERIALIZE and WORKFLOW_DESERIALIZE static methods, enabling them to cross workflow step boundaries without serialization errors.
0d8f107: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancements
ff5eba1: feat: roll image-* tool output types into their equivalent file-* types
@ai-sdk/provider-utils@5.0.0-canary.48
@ai-sdk/provider-utils@5.0.0-canary.47
6b4d325: feat(provider/anthropic): add support for claude-fable-5 and the fallbacks API parameter
claude-fable-5 and the fallbacks API parameter@ai-sdk/provider@4.0.0-canary.18
ee798eb: chore(provider-utils): rename Experimental_Sandbox to Experimental_SandboxSession
Experimental_Sandbox to Experimental_SandboxSessione02f041: feat(provider/anthropic): add support for claude-opus-4-8
claude-opus-4-86c93e36: feat(provider-utils): add spawnCommand method to Experimental_Sandbox to allow for detached command execution
spawnCommand method to Experimental_Sandbox to allow for detached command execution648705c: fix(provider/anthropic): fix remaining errors with Anthropic code_execution tool dynamic calls from latest web_fetch or web_search
code_execution tool dynamic calls from latest web_fetch or web_searchacdbf84: Handle errors from anthropic websearch tool
7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
a464505: fix(anthropic): propagate toModelOutput providerOption to anthropic tool results
@ai-sdk/provider-utils@5.0.0-canary.40
@ai-sdk/provider-utils@5.0.0-canary.39
8018480: feat(anthropic): add the new advisor tool
@ai-sdk/provider-utils@5.0.0-canary.38
d848405: feat: add optional abortSignal parameters to sandbox command execution
abortSignal parameters to sandbox command execution@ai-sdk/provider-utils@5.0.0-canary.36
@ai-sdk/provider-utils@5.0.0-canary.35
2610e84: feat(provider/anthropic): automatically use sandbox in bash tool
e5c4f40: Remove stale effort-2025-11-24 beta header — the extended thinking effort parameter is GA and no longer requires the beta flag. Vertex AI's s
effort-2025-11-24 beta header — the extended thinking effort parameter is GA and no longer requires the beta flag. Vertex AI's strict validator was actively rejecting requests with this header.5463d0d: feat(provider): align tool result output content file part types with top-level message file part types
0c4c275: trigger initial canary release
One column per month.