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.
@ai-sdk/provider-utils@3.1.0-beta.8
000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks
Your coding agent can read these notes before it upgrades. Set up the MCP server →
357cfd7: feat(provider/openai): add new model IDs gpt-image-1-mini, gpt-5-pro, gpt-5-pro-2025-10-06
gpt-image-1-mini, gpt-5-pro, gpt-5-pro-2025-10-06046aa3b: feat(provider): speech model v3 spec
0adc679: feat(provider): shared spec v3
d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.
9a51b92: support OPENAI_BASE_URL env
4122d2a: feat(provider/openai): add gpt-5-codex model id
tool-input-<start/delta/end> chunks.77f2b20: enables code_interpreter and file_search capabilities in the Azure provider through the Responses API
LanguageModelV3@ai-sdk/test-server to devDependenciesfe49278: feat(provider/openai): only send item references for reasoning when store: true
4616b86: chore: update zod peer depenedency version
@ai-sdk/provider-utils@3.1.0-beta.3
Provider-V3ImageModelV32e86082: feat(provider/openai): OpenAIChatLanguageModelOptions type
2e86082: feat(provider/openai): OpenAIChatLanguageModelOptions type
import { openai, type OpenAIChatLanguageModelOptions } from "@ai-sdk/openai";
import { generateText } from "ai";
await generateText({
model: openai.chat("gpt-4o"),
prompt: "Invent a new holiday and describe its traditions.",
providerOptions: {
openai: {
user: "user-123",
} satisfies OpenAIChatLanguageModelOptions,
},
});
4920119: fix the "incomplete_details" key from nullable to nullish for openai compatibility
EmbeddingModelV3@ai-sdk/test-server@1.0.0-beta.0
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
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
e0d0bd1 : feat(openai): add GPT-6 reasoning configuration updates
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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
f6809e3: fix(workflow): align the prepareStep results of WorkflowAgent with ToolLoopAgent. Returned instructions (or the deprecated system) replace th…
ff89832: fix(workflow): call onAbort instead of onError when a WorkflowAgent call is aborted during a model step with a custom abort reason. generate() still rejects with that reason. stream() now resolves with the steps that finished, as it does for an abort without a reason.
2473a71: fix(workflow): WorkflowAgent uses the last value yielded by an async generator tool as the tool result, like ToolLoopAgent. A generator that throws after yielding produces a tool error.
f43ee39: fix(workflow): log the default step limit warning when WorkflowAgent.generate() stops at the default limit.
7ce7ffc: fix(workflow): log provider warnings in WorkflowAgent
WorkflowAgent.generate() and WorkflowAgent.stream() now log the warnings of every model call through the AI SDK warning logger, like ToolLoopAgent. The AI_SDK_LOG_WARNINGS global controls the output.
f6809e3: fix(workflow): align the prepareStep results of WorkflowAgent with ToolLoopAgent. Returned instructions (or the deprecated system) replace the instructions of the step and carry forward to later steps, returned providerOptions are merged with the agent options, and returned headers are merged over the headers of the call.
9307549: feat(workflow): support experimental_refineToolInput in WorkflowAgent, in the constructor and per call. Refined tool inputs are used for tool execution, step results, callbacks, and the next model call, like in ToolLoopAgent.
bf1dd2a: fix(workflow): WorkflowAgent.stream() keeps the tool call in the step result when the model calls an unknown tool or passes input that does not match the schema. The call is marked invalid and the step has a tool-error part, as in generate() and ToolLoopAgent. The model still receives the error as a tool result.
453d880: fix(workflow): call the onInputAvailable tool hook in stream() when the provider sends a tool call without streaming its input first.
5c0e984: fix(workflow): report the provider name and model ID of the called model in the steps of WorkflowAgent.stream() results, matching ToolLoopAgent and WorkflowAgent.generate()
2559173: feat(workflow): support toolApproval in WorkflowAgent
WorkflowAgent accepts a toolApproval configuration in the constructor and per generate() or stream() call. The configuration takes precedence over a tool's needsApproval setting, and its functions run in workflow context, outside of the durable model steps. Calls that the configuration approves run in the same step, and calls that it denies receive an execution-denied tool result without pausing the workflow.
b9f6c82: feat(workflow): support toolOrder in WorkflowAgent
WorkflowAgent accepts toolOrder in the constructor, per call in generate() and stream(), and from prepareCall and prepareStep. Listed tools are sent first in the listed order, and the remaining tools follow in alphabetical order.
f1de9cb: feat(workflow): support the timeout object in WorkflowAgent
generate() and stream() accept timeout: { totalMs, stepMs, firstChunkMs, chunkMs } in addition to a number. stepMs limits each model call. In stream(), firstChunkMs and chunkMs limit the wait for model output. Invalid timeout values are rejected with an InvalidArgumentError. A timeout now also ends a model step when the provider stream ignores the abort signal.
Updated dependencies [3c09e00]
Updated dependencies [f43ee39]
Updated dependencies [7ce7ffc]
Updated dependencies [f6809e3]
Updated dependencies [2559173]
Updated dependencies [f1de9cb]
b161730: fix(workflow): WorkflowAgent now accepts onError and onAbort in the constructor, like ToolLoopAgent. They are called before the callbacks pas
WorkflowAgent now accepts onError and onAbort in the constructor, like ToolLoopAgent. They are called before the callbacks passed to generate() or stream(). An error thrown by an onError or onAbort callback no longer replaces the error or result of the run.WorkflowAgent no longer receive the system prompt or the assistant message that contains the current tool call in options.messages. The messages passed to onToolExecutionStart and onToolExecutionEnd no longer contain the system prompt either. This matches ToolLoopAgent, generateText, and streamText.model, toolChoice, activeTools, and generation settings returned from prepareStep in WorkflowAgent now apply to the current step only, like in ToolLoopAgent. Before, an override returned for one step stayed in effect for all later steps.WorkflowAgent.stream() now aggregates totalUsage the same way as ToolLoopAgent. Token details such as cached and reasoning tokens are kept, and counts that the provider did not report stay undefined instead of becoming 0.### Patch Changes - Updated dependencies [11323f9] - Updated dependencies [2ebc78b] - Updated dependencies [2ebc78b] - Updated dependencies [cb4fa52]
8549a1d: feat(xai): add safetyIdentifier Responses provider option
Sends safety_identifier with Responses API requests so xAI can attribute a policy violation to one end user, and exposes the echoed value on providerMetadata.xai.safetyIdentifier.
Updated dependencies [49c554d]
Updated dependencies [db18e4f]
Updated dependencies [ce27f15]
Updated dependencies [b753c03]
efd2905: fix(workflow): End the final step's telemetry when streaming stops on a client-side tool, preserving the step span and its model call in the
Updated dependencies [ a1a772f ]
46f85b0: Backport: fix(togetherai): enable structured outputs for more Together AI chat models (release-v6.0)
### Patch Changes - Updated dependencies [6d50947] - @ai-sdk/provider-utils@5.0.81
2ebc78b: Move Node.js connection-time DNS validation to the optional guarded-fetch package. It uses an Undici agent to validate every resolved address
2ebc78b: Move Node.js connection-time DNS validation to the optional guarded-fetch package. It uses an Undici agent to validate every resolved address and pin the connection to those results, independently of global fetch wrappers. It supports explicitly trusted private origins and connection-pool cleanup.
Security behavior change: provider-utils now uses the configured fetch or the runtime's global fetch and no longer depends on Undici. Default URL checks still reject private IP literals, local hostnames, unsafe schemes, and unsafe redirect URLs, but do not block public-looking hostnames that resolve to private addresses or DNS rebinding. Applications fetching untrusted URLs should inject createGuardedFetch() on Node.js or enforce equivalent network egress restrictions.
Allow downloadBlob to accept a fetch transport so applications can apply the same protection to file downloads.
MCP OAuth discovery keeps its strict DNS requirement: because Node.js no longer has a DNS-pinned default transport, untrusted authorization-server, redirect, token, and registration URLs now require an explicit custom fetch with connection-time DNS validation on Node.js too. Pass createGuardedFetch() through transport.fetch. The configured MCP server origin and browser window discovery remain supported.
Updated dependencies [2ebc78b]
Updated dependencies [cb4fa52]
### Patch Changes - Updated dependencies [6d50947] - @ai-sdk/provider-utils@5.0.81 - @ai-sdk/anthropic@4.0.104
baseUriDomains in MCP App CSP metadata.One column per month.