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 7 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.
970a099: fix (ai/core): streamObject fixes partial json with empty objects correctly
d1b1880: fix (ai/core): allow reading streams in streamText result multiple times
0f77132: ai/rsc: remove experimental\_ from streamUI
Your coding agent can read these notes before it upgrades. Set up the MCP server →
00fe856 : feat(deepgram): transcription option fixes + speech voice/language composition, usage metadata, speed passthrough, and error parsing
00fe856: feat(deepgram): transcription option fixes + speech voice/language composition, usage metadata, speed passthrough, and error parsing
Transcription:
keyterm, paragraphs, intents, sentiment, and replace wereproviderOptions.deepgram but silently dropped from the/v1/listen request. They are now sent as query parameters. Also widens'nova-3' to any transcriptiondiarize no longer defaults to true. Speakerdiarize=true on every pre-recorded request unless explicitly optedproviderOptions.deepgram. Users who relied on the old default mustproviderOptions: { deepgram: { diarize: true } }.Speech:
aura-2, aura) compose the upstream model IDgenerateSpeech voice and language options<family>-<voice>-<language>, language defaults to en) and requirevoice; full voice IDs (e.g. aura-2-helena-en) keep passing throughDeepgramSpeechModelId union is trimmed to the familyproviderMetadata.deepgram carries modelName, modelUuid,additionalModelUuids, charCount (the billed character count),breaksApplied, pronunciationsApplied, pronunciationWarnings (whenrequestId from the /v1/speak response headers.speed option is passed through to Deepgram's speed parameter{ "err_code", "err_msg", "request_id" }APICallError.message carries the real cause instead of{ "error": { "message", "code" } }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
41d5736: ai/core: re-expose language model types.
Updated dependencies [ 36802d4 ]
Updated dependencies [ 90192f1 ]
Updated dependencies [ 130e871 ]
Updated dependencies [ 2e89fa4 ]
Updated dependencies [ 9667bf2 ]
Updated dependencies [ b74971f ]
@ai-sdk/openai-compatible@3.0.66
Updated dependencies [ d3bcad9 ]
f90f6a1: ai/core: add pipeAIStreamToResponse() to streamText result.
Updated dependencies [ 2959d35 ]
heygen.decisionModel('heygen-decision-1') and heygen-decision-1-turbo, including image and video inputsUpdated dependencies [ 04be48f ]
onSetAIState and onGetUIState stableUpdated dependencies [ 8c65988 ]
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 ]
experimental_streamData: true setting from AIStreamCallbacksAndOptions. You can delete occurrences in your code. The stream data protocol is now used by default.Updated dependencies [ af9597b ]
Updated dependencies [ 9667bf2 ]
Updated dependencies [ fe07867 ]
Updated dependencies [ ffb0e76 ]
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]
Updated dependencies [ 2973485 ]
ai/spec.Updated dependencies [ 0455398 ]
StreamableValueUpdated dependencies [ 215b25e ]
Updated dependencies [ 11b4c2d ]
Updated dependencies [ 5c0054d ]
33d261a: fix(ai/rsc): Fix .append() behavior
Updated dependencies [ 9942196 ]
Updated dependencies [ 912fb01 ]
Updated dependencies [ a4ba394 ]
Updated dependencies [ e5a22f0 ]
Updated dependencies [ 6bcc0f8 ]
Patch Changes Updated dependencies [9184a35] @ai-sdk/provider@4.0.25 @ai-sdk/provider-utils@5.0.57
useActions type inferenceUpdated dependencies [ d3bcad9 ]
Updated dependencies [ 90192f1 ]
Updated dependencies [ 3e125ba ]
c6db718: Add the ScaleDown provider with support for choice, boolean, and score questions through the Decisions API, and text and text-list extraction
a6b5764: Add support for Mistral's JavaScript SDK
141f0ce: Fix: onFinal callback is invoked with text from onToolCall when onToolCall returns string
b717dad: Adding Inkeep as a stream provider
2c8ffdb: cohere-stream: support AsyncIterable
8542ae7: react/use-assistant: add onError handler
7851fa0: StreamData: add annotations and appendMessageAnnotation support
annotations and appendMessageAnnotation support9b89c4d: react/use-assistant: Expose setInput
ac503e0: ai/solid: add chat request options to useChat
5a9ae2e: ai/prompt: add experimental_buildOpenAIMessages to validate and cast AI SDK messages to OpenAI messages
experimental_buildOpenAIMessages to validate and cast AI SDK messages to OpenAI messages07a679c: Add data message support to useAssistant & assistantResponse.
api functions are no longer used as a cache key in useChat0fd1205: ai/vue: Add complex response parsing and StreamData support to useCompletion
df1ad33: ai/vue: Add complex response parsing and StreamData support to useChat
generateId to use-chat params to allow overriding message ID generation1e61c69: chore: specify the minimum react version to 18
69ca8f5: ai/react: add experimental_useAssistant hook and experimental_AssistantResponse
5a04321: add StreamData support to StreamingReactResponse, add client-side data API to react/use-chat
One column per quarter.