NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #3484 most downloaded on npm
Latest stable
4.0.114
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 31 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
795 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
Patch Changes ai@7.0.164
85b920f : feat(workflow): remove experimental_transform from WorkflowAgent.stream()
85b920f: feat(workflow): remove experimental_transform from WorkflowAgent.stream()
Stream transforms cannot reliably run across workflow step boundaries, so the option has been removed along with the StreamTextTransform type export.
Updated dependencies [5d18351]
Updated dependencies [8da48db]
Updated dependencies [fd7e8a7]
Updated dependencies [36802d4]
Updated dependencies [933dae3]
Updated dependencies [e0143b0]
Updated dependencies [934100c]
Updated dependencies [c389374]
Updated dependencies [892af4d]
Updated dependencies [892af4d]
Updated dependencies [89aff56]
Updated dependencies [1a1da8d]
Updated dependencies [41465fd]
Updated dependencies [9754014]
Updated dependencies [4bb73b0]
Updated dependencies [2e44144]
Your coding agent can read these notes before it upgrades. Set up the MCP server →
4d6d830 : Support a single telemetry operation for durable WorkflowAgent runs, including the prompt, final output, steps, and tools. Events recorded i
WorkflowAgent runs, including the prompt, final output, steps, and tools. Events recorded in the workflow are reported on completion or suspension with their original timestamps. For OpenTelemetry, pass the same OpenTelemetryIdGenerator instance as the tracer provider's idGenerator and sampler and as new OpenTelemetry({ durable }). This explicit bridge carries parent trace context and sampling across steps, reports model spans live with provider requests nested beneath them, and reconstructs the enclosing invoke_agent tree when the run completes. Without the bridge, existing live per-model tracing is preserved. Add typed experimental durable context hooks for telemetry integrations; remove reliance on process-global ID-generator detection.Updated dependencies [ fd889a3 ]
Updated dependencies [ 26165ee ]
Patch Changes ai@7.0.159
Updated dependencies [ 77d33c0 ]
5c247e9: feat(sandbox): add stat, listDirectory, and deleteFile to Experimental_SandboxSession, and specify that relative paths in every method resolve against the directory run and spawn start in
The just-bash and Vercel Sandbox adapters implement the new methods. Both now resolve a relative workingDirectory for run and spawn against the sandbox's working directory, and the just-bash adapter rejects writes to a directory instead of replacing it with a file.
Updated dependencies [7716e18]
Updated dependencies [8ba3a5c]
Updated dependencies [5c247e9]
Updated dependencies [dcd2f8d]
0cc4921 : graduate LanguageModelStreamPart to stable and deprecate Experimental_LanguageModelStreamPart
filterActiveTools from experimental. It is now exported as filterActiveTools; experimental_filterActiveTools remains as a deprecated alias.df0cbe9: feat(google): add gemini-3.7-flash model
gemini-3.7-flash modelUpdated dependencies [ 57086ff ]
1e632f7: feat(xai): add Grok 4.6 models
e729d58 : chore(docs): update README.md for consistent format and to avoid duplication
f5fc6ba: Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while
f5fc6ba: Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while
Updated dependencies [ 8202f5b ]
2ebc78b: Forward the provider's configured fetch transport when downloading file inputs. Add a fetch option to createDownload so core downloads can also use guarded-fetch for opt-in DNS validation on Node.js. The function returned by createDownload can now also be passed as experimental_download to generateText and streamText, and experimental_download now also handles generated file URLs returned by the model, so one hook covers all core downloads. Document that the default URL checks do not resolve DNS and recommend the guarded transport or network egress controls for untrusted URLs.
Keep Azure image and Vertex tool-result downloads separate from provider authentication wrappers so file hosts never receive Azure bearer tokens or Vertex Express Mode API keys.
Pass the call's abort signal to custom download requests, including prompt assets and generated files, so experimental_download: createDownload({ fetch }) preserves cancellation and timeouts.
Updated dependencies [2ebc78b]
Updated dependencies [cb4fa52]
Updated dependencies [ 3983fea ]
0a5d0e7: Fix toolChoice: 'none' by forwarding it to the Hugging Face Responses API and rejecting tool calls before local execution in generateText, streamText, and WorkflowAgent. Streamed tool parts are withheld so client-side tools cannot act on them, and repairToolCall and experimental_refineToolInput are not invoked for rejected tool calls.
10026d1: Add the interrupted finish reason for provider streams that end without a completion signal. Preserve partial output without introducing an error solely for interruption, and stop tool execution, agent continuation, and automatic UI follow-ups for interrupted responses, including late tool results and approvals. Provider detection and emission will be added separately.
Compatibility notice: Adding interrupted to the public finish-reason types can break type checking after upgrading, even though this is a patch release. Exhaustive switches (for example, using an assertNever fallback) and mappings such as Record<FinishReason, string> must handle the new value. Update any custom validation or application logic that assumes the existing set of finish reasons is exhaustive.
When providers begin emitting interrupted, a stream ending without a completion signal will preserve partial output and report this finish reason without emitting an error solely for the interruption. Applications that need to detect incomplete responses should check finishReason === 'interrupted' as well as their existing error handling.
08335ae: Retain custom content parts (e.g. openai.compaction) in WorkflowAgent.stream() step results and subsequent model requests
Updated dependencies [1727442]
Updated dependencies [0a5d0e7]
Updated dependencies [10026d1]
Updated dependencies [ b089ce8 ]
Nothing published for this version
@ai-sdk/openai-compatible@2.0.69
@ai-sdk/openai-compatible@2.0.68
793220f : Refactor Voyage model ID logic into a model catalog that declares capabilities and provider options, and generate provider capability docume
@ai-sdk/openai-compatible@2.0.69
@ai-sdk/openai-compatible@2.0.68
@ai-sdk/openai-compatible@2.0.69
@ai-sdk/openai-compatible@2.0.68
@ai-sdk/openai-compatible@2.0.69
@ai-sdk/openai-compatible@2.0.68
WorkflowChatTransport retrying indefinitely when successful reconnect responses contain no UI message chunks. Empty streams now count toward maxConsecutiveErrors, while streams that receive chunks continue to advance the resume cursor and reset the error count.7440d89: fix(openai-compatible): preserve unmapped usage fields in usage.raw
7440d89: 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.
### Patch Changes - Updated dependencies [31205a4] - @ai-sdk/provider-utils@4.0.46
Nothing published for this version
Nothing published for this version
Patch Changes Updated dependencies [9184a35] ai@7.0.133 @ai-sdk/provider@4.0.25 @ai-sdk/provider-utils@5.0.57
Updated dependencies [ 0c2a9de ]
Nothing published for this version
Updated dependencies [ 6f6b9c0 ]
Nothing published for this version
d9e04cb : fix(workflow): reuse persisted tool denial results during approval resumption
a471b4c : Document and validate WorkflowAgent generation deadlines, retry boundaries, hook cancellation, and selected result serialization across work
WorkflowAgent.generate() with a shared tool loop, a 20-step default, typed output, and core generation result semantics. Reuse core result and content construction through internal exports while preserving existing Workflow streaming behavior. Transport-independent approval creation remains separate follow-up work.Updated dependencies [ 158a718 ]
Patch Changes Updated dependencies [9184a35] @ai-sdk/provider@4.0.25 @ai-sdk/provider-utils@5.0.57
### Patch Changes - Updated dependencies [31205a4] - @ai-sdk/provider-utils@4.0.46
Nothing published for this version
70c051c : fix(workflow): preserve reasoning and provider metadata across agent steps
### Patch Changes - Updated dependencies [31205a4] - @ai-sdk/provider-utils@4.0.46
### Patch Changes - Updated dependencies [31205a4] - @ai-sdk/provider-utils@4.0.46
Nothing published for this version
Nothing published for this version
7f803af : feat(alibaba): preserve reasoning in multi-turn requests by default on supported models
Patch Changes ai@7.0.117
c01944c: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple items arrays become prefixItems, type next to anyOf mo
items arrays become prefixItems, type next to anyOf moves into the branches, and non-object root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation.### Patch Changes - Updated dependencies [31205a4] - @ai-sdk/provider-utils@4.0.46
4d1b345: feat(provider/moonshotai): own the chat implementation, support video input. The provider no longer builds on @ai-sdk/openai-compatible; the
@ai-sdk/openai-compatible; the converter, language model, and helpers are owned by the package. Video file parts (e.g. mediaType: 'video/mp4') are converted to Moonshot's video_url content parts for video-capable models (kimi-k3, kimi-k2.7-code, kimi-k2.6, kimi-k2.5). Audio and PDF file parts now throw client-side (the API rejects those part types). reasoningHistory: 'preserved' now maps to Moonshot's thinking.keep: 'all' request field (previously a no-op, the API ignores reasoning_history), gated per model with a warning on models without thinking.keep support. Adds promptCacheKey and safetyIdentifier provider options, widens reasoningEffort to 'low' | 'high' | 'max' per Moonshot's docs, maps the generic reasoning call option to reasoning_effort, and passes ms:// Files API references through natively (declared in supportedUrls).Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated dependencies [ 0343bb1 ]
Nothing published for this version
a105059 : fix(workflow): support deferred tool discovery in WorkflowAgent
Updated dependencies [ 4775577 ]
One column per month.