NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #1793 most downloaded on npm
Latest stable
5.0.79
Last release 7 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Most releases are documented
notes for 46 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
436 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
95f65c2: chore: use import \* from zod/v4
### Major Changes - dee8b05: ai SDK 6 beta ### Patch Changes - Updated dependencies [dee8b05] - @ai-sdk/provider@3.0.0-beta.6
Your coding agent can read these notes before it upgrades. Set up the MCP server →
521c537: feat(ai): Tool.needsApproval can be a function
e06565c: feat(provider-utils): add needsApproval support to provider-defined tools
e8109d3: feat: tool execution approval
0adc679: feat(provider): shared spec v3
### Patch Changes - 8dac895: feat: LanguageModelV3 - Updated dependencies [8dac895] - @ai-sdk/provider@2.1.0-beta.3
LanguageModelV34616b86: chore: update zod peer depenedency version
### Patch Changes - Updated dependencies - @ai-sdk/provider@2.1.0-beta.2
### Patch Changes - Updated dependencies [0c4822d] - @ai-sdk/provider@2.1.0-beta.1
cbb1d35: Update for provider-util changeset after change in PR #8588
78928cb: release: start 5.1 beta
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated dependencies [ 57086ff ]
2b1c2df: Keep default Node.js downloads protected by DNS validation and connection pinning when frameworks or instrumentation wrap global fetch before
e729d58 : chore(docs): update README.md for consistent format and to avoid duplication
Updated dependencies [ 8202f5b ]
Updated dependencies [ 10026d1 ]
1a054af : Defer construction of provider validation schemas until first use to reduce package import time.
Updated dependencies [ 0c2a9de ]
Nothing published for this version
@ai-sdk/openai-compatible@3.0.62
@ai-sdk/openai-compatible@3.0.61
### Patch Changes - Updated dependencies [8c65988] - Updated dependencies [527a163] - @ai-sdk/provider@4.0.21 - @ai-sdk/provider-utils@5.0.53
86892f3: fix(openai-compatible): preserve unmapped usage fields in usage.raw
usage.raw is specified as usage "in the shape that the provider returns",
and the chat model already parsed the usage object loosely so that extra
top-level fields survived. The nested prompt_tokens_details and
completion_tokens_details objects were still strict, so anything a provider
reported inside them was dropped — which is where providers put their most
distinguishing detail. The existing "should preserve extra usage fields"
fixture was itself losing audio_tokens, image_tokens and text_tokens
this way.
Both nested objects are now parsed loosely, as is the completion model's usage
schema, which was strict throughout despite feeding the same raw field.
Only usage.raw changes. The mapped token counts are unaffected.
Updated dependencies [ 9667bf2 ]
Updated dependencies [ 57086ff ]
@ai-sdk/openai-compatible@3.0.66
Updated dependencies [ d3bcad9 ]
Nothing published for this version
Updated dependencies [ 2959d35 ]
heygen.decisionModel('heygen-decision-1') and heygen-decision-1-turbo, including image and video inputs@ai-sdk/openai-compatible@3.0.62
@ai-sdk/openai-compatible@3.0.61
maxOutputTokens and reasoning to experimental decision calls and forward them to language-model-backed decisions. Language-model adapters keep reasoning disabled when omitted. Native decision providers warn when either setting is unsupported.ede5b89: chore: migrate package builds from tsup to tsdown
c2511c1 : fix: use standards-compliant User-Agent header
Updated dependencies [ e3605f6 ]
Updated dependencies [ af9597b ]
Updated dependencies [ 9667bf2 ]
Updated dependencies [ fe07867 ]
9184a35: Add ordered text, file, and JSON parts to experimental decision state. Support image input in OpenAI Decisions and language model adapters. G
9184a35: Add ordered text, file, and JSON parts to experimental decision state. Support image input in OpenAI Decisions and language model adapters. Gateway retains its existing string and JSON request format and rejects files, as does TypeSafe AI.
Arrays passed directly as state now contain decision state parts. Wrap JSON arrays in an object or a json part.
Normalize all public state forms into an array of parts before calling decision providers. Providers receive text and JSON objects as text and json parts.
Serialize decision file bytes as base64 in OpenTelemetry state attributes. Model-call spans record normalized state parts, while outer spans retain public state inputs.
Preserve native JSON state in TypeSafe AI when state contains one JSON part. Label shared state in language-model decision prompts.
Updated dependencies [9184a35]
### Patch Changes - Updated dependencies [4579b08] - @ai-sdk/anthropic@4.0.39
Updated dependencies [ 0455398 ]
Updated dependencies [ 215b25e ]
### Patch Changes - Updated dependencies [8c65988] - Updated dependencies [527a163] - @ai-sdk/provider@4.0.21 - @ai-sdk/provider-utils@5.0.53
ede5b89: chore: migrate package builds from tsup to tsdown
Nothing published for this version
### Patch Changes - Updated dependencies [6d50947] - @ai-sdk/provider-utils@5.0.81
ai, @ai-sdk/provider-utils, and runtime in user-agent header5700d12: Centralize Parallel decision model IDs, supported question types, capabilities, and provider option metadata in a model catalog.
Updated dependencies [ a4ba394 ]
1b5a3d3: chore(provider-util): integrate zod-to-json-schema
Updated dependencies [ 6bcc0f8 ]
experimental_transcribe fails with valid BufferPatch Changes Updated dependencies [9184a35] @ai-sdk/provider@4.0.25 @ai-sdk/provider-utils@5.0.57
Updated dependencies [ d3bcad9 ]
790b217: Add a Tencent language and video model catalog for model ID suggestions, backend routing policies, capabilities, and provider option metadata
### Patch Changes - Updated dependencies [6d50947] - @ai-sdk/provider-utils@5.0.81
09aa6c2: feat (provider/topaz): add Topaz Labs provider
CoreToolCall and CoreToolResult typesa571d6e: chore(provider-utils): move ToolResultContent to provider-utils
e7fcc86: feat (ai): introduce dynamic tools
45c1ea2: refactoring: introduce FlexibleSchema
060370c: feat(provider-utils): add TestServerCall#requestCredentials
0571b98: chore (provider-utils): update eventsource-parser to 3.0.3
4fef487: feat: support for zod v4 for schema validation
All these methods now accept both a zod v4 and zod v3 schemas for validation:
generateObject()streamObject()generateText()experimental_useObject() from @ai-sdk/reactstreamUI() from @ai-sdk/rsc0c0c0b3: refactor (provider-utils): move customAlphabet() method from nanoid into codebase
8ba77a7: chore (provider-utils): use eventsource-parser library
a166433: feat: add transcription with experimental_transcribe
9f95b35: refactor (provider-utils): copy relevant code from secure-json-parse into codebase
66962ed: fix(packages): export node10 compatible types
05d2819: feat: allow zod 4.x as peer dependency
ac34802: Add clear object function to StructuredObject
63d791d: chore (utils): remove unused test helpers
87b828f: fix(provider-utils): fix SSE parser bug (CRLF)
bfdca8d: feat (ai): add InferToolInput and InferToolOutput helpers
0ff02bb: chore(provider-utils): move over jsonSchema
39a4fab: fix (provider-utils): detect failed fetch in browser environments
57edfcb: Adds support for async zod validators
faf8446: chore (provider-utils): switch to standard-schema
d1a034f: feature: using Zod 4 for internal stuff
88a8ee5: fix (ai): support abort during retry waits
205077b: fix: improve Zod compatibility
28a5ed5: refactoring: move tools helper into provider-utils
dd5fd43: feat (ai): support dynamic tools in Chat onToolCall
383cbfa: feat (ai): add isAborted to onFinish callback for ui message streams
Updated dependencies
faf8446: chore (provider-utils): switch to standard-schema
40acf9b: feat (ui): introduce ChatStore and ChatTransport
One column per month.