NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #2684 most downloaded on npm
AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.
Latest stable
7.0.169
Last release 10 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 8 days
Some releases are documented
notes for 27 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
1654 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
bc24722: feat (ai): Add finishReason as a promise on StreamObjectResult to match StreamTextResult
6622441: feat (ai): add static/dynamic toolCalls/toolResults helpers
Your coding agent can read these notes before it upgrades. Set up the MCP server →
### Patch Changes - Updated dependencies [fedb55e] - @ai-sdk/gateway@1.0.0-beta.16
e7fcc86: feat (ai): introduce dynamic tools
84343eb: fix (ui): call sendAutomaticallyWhen with updated messages
d5ae088: feat (ui): add sendAutomaticallyWhen to Chat
ae77a99: chore (ai): rename text and reasoning chunks in streamText fullstream
onToolCall callback### Patch Changes - Updated dependencies - @ai-sdk/gateway@1.0.0-beta.11
add5ac1: feat (ai): make streamText toUIMessageStream async iterable
89ba235: fix (ui): support tool names with dash
de2d2ab: feat(ai): add provider and provider registry middleware functionality
38ae5cc: feat (ai): export InferUIMessageChunk type
4c8f834: feat: automatically respect rate limit headers in retry logic
4c8f834: feat: automatically respect rate limit headers in retry logic
Added automatic support for respecting rate limit headers (retry-after-ms and retry-after) in the SDK's retry logic. When these headers are present and contain reasonable values (0-60 seconds), the retry mechanism will use the server-specified delay instead of exponential backoff. This matches the behavior of Anthropic and OpenAI client SDKs and improves rate limit handling without requiring any API changes.
10b21eb: feat(cli): add ai command line interface
d3960e3: selectTelemetryAttributes more robustness
### Patch Changes - Updated dependencies [c190907] - @ai-sdk/gateway@1.0.0-beta.7
### Patch Changes - Updated dependencies [9e16bfd] - @ai-sdk/gateway@1.0.0-beta.6
8e31d46: feat (ai): export SourceDocumentUIPart
### Patch Changes - Updated dependencies [30ab1de] - @ai-sdk/gateway@1.0.0-beta.5
377bbcf: fix (ui): tool input can be undefined during input-streaming
fc0380b: feat (ui): resolvable header, body, credentials in http chat transport
9e40cbe: Allow destructuring output and errorText on ToolUIPart type
ToolUIPart type2b637d6: chore (ai): rename UIMessageStreamPart to UIMessageChunk
generateText and streamText.86cfc72: feat (ai): add ignoreIncompleteToolCalls option to convertToModelMessages
6909543: feat (ai): support system parameter in Agent constructor
60132dd: fixed date formatting for updated mcp protocol version
143c55b: feat (ai): export Chat callback types
4f3e637: fix (ui): avoid caching globalThis.fetch in case it is patched by other libraries
09f41ac: fix (ui): add message metadata in Chat.sendMessage
### Patch Changes - Updated dependencies - @ai-sdk/gateway@1.0.0-beta.3
0d9583c: fix (ai): use user-provided media type when available
9ad0484: feat (ai): automatic tool execution error handling
fetch in HttpChatTransport04d5063: chore (ai): rename default provider global to AI_SDK_DEFAULT_PROVIDER
63f9e9b: chore (provider,ai): tools have input/output instead of args,result
0a710d8: feat (ui): typed tool parts in ui messages
4892798: chore (ai): always stream tool calls
e8324c5: feat (ai): add args callbacks to tools
98f25e5: chore (ui): remove managed chat inputs
9ae327d: chore (ui): replace chat store concept with chat instances
8255639: ### Fix use with Google APIs + zod v4's .literal() schema
Before zod@3.25.49, requests to Google's APIs failed due to a missing type in the provided schema. The problem has been resolved for the ai SDK by bumping our zod peer dependencies to ^3.25.49.
pull request: https://github.com/vercel/ai/pull/6609
Updated dependencies
c25cbce: feat (ai): use console.error as default error handler for streamText and streamObject
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/rsc6b1c55c: feat (ai): introduce GLOBAL_DEFAULT_PROVIDER
2e4f9e4: feat (ai): improved error messages when using gateway
Updated dependencies
db345da: chore (ai): remove exports of internal ui functions
0d2c085: feat (ai): support string model ids through gateway
ef256ed: chore (ai): refactor and use chatstore in svelte
72d7d72: chore (ai): stable activeTools
ab7ccef: chore (ai): change source ui message parts to source-url
82aa95d: fix (ai): merge data ui stream parts correctly
109c0ac: chore (ai): rename id to chatId (in post request, resume request, and useChat)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.