@ai-sdk/provider-utils
5.0.83 · 20 Nov 2026Apache-2.076.4M / weekRepositoryHomepagenpmAtom feed
4.0.67 is the newest release of 4.x.
In short
1 breaking21 new6 fixed12 internal
- Breaking
Ai SDK 6 beta
Security
1 advisory affects 4.0.0; 4.0.33 fixes them
- Low@ai-sdk/provider-utils has an Uncontrolled Resource Consumption issueGHSA-866g-f22w-33x8 · 18 May 2026Fixed in 4.0.33
Release note
Major Changes
- Breaking
Ai SDK 6 beta
Patch Changes
provider: Shared spec v3
anthropic: Add programmatic tool calling
Tool input examples
ai: Effect schema support
provider-utils: Make ReadableStream.cancel() properly finalize async iterators
openai: Allow custom names for provider-defined tools
ai: Tool.needsApproval can be a function
Tool execution approval
Move DelayedPromise into provider utils
provider-utils: Add needsApproval support to provider-defined tools
provider-utils: Compatibility with V8 readonly execution environment
ai: Arktype support
Added a title to the tools
Tool execution approval for dynamic tools
Support async Tool.toModelOutput
ai: Valibot support
LanguageModelV3Update for provider-util changeset after change in PR #8588
Image editing
Add toolCallId arg to toModelOutput
Add input arg to toModelOutput
provider-utils: Add MaybePromiseLike type
Standard JSON Schema support
Flexible tool output content support
Generate zod4 json schema from input schema
tool-specific strict mode
Revert zod import change
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.