Release Notes
Major Changes
ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (
"type": "module"). Consumers usingrequire()must switch to ESMimportsyntax.c29a26f: feat(provider): add support for provider references and uploading files as supported per provider
3887c70: feat(provider): add new top-level reasoning parameter to spec and support it in
generateTextandstreamText8359612: Start v7 pre-release
04e9009: chore: make provider implementations code patterns more consistent, including renaming certain exported symbols
For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.
Patch Changes
cd27bca: added bedrock mantle provider
d0dbd96: Fix
createAmazonBedrock()capturingglobalThis.fetchat initialization time, which caused telemetry instrumentation (e.g. OpenTelemetry, Datadog) and otherglobalThis.fetchpatches applied after provider creation to be silently ignored.bc8ed78: Omit
strictfrom tool specs for Claude Opus 4.7/4.8 on Bedrock, which reject the field on the Messages APIe02f041: feat(provider/anthropic): add support for
claude-opus-4-838fc777: Add AI Gateway hint to provider READMEs
e748b35: chore: update v3 specs to v4
b567a6c: dependency updates
ed60b47: fix(provider/amazon-bedrock): fix Anthropic reasoning behavior related to Opus 4.7
fae8d44: fix(provider/amazon-bedrock): merge custom reasoning config properties when top-level reasoning parameter is set
b0c59e8: fix(amazon-bedrock): preserve reasoning text when signature is present
68c5081: fix(provider/amazon-bedrock): mark
inputoptional on tool-use schema so streamingcontentBlockStartevents parse under Zod >= 4.4.032603d2: fix (provider/amazon-bedrock): correct mantle subpath exports
6732c16: fix(amazon-bedrock): do not use env var AWS_SESSION_TOKEN when keys are explicitly defined
1921625: fix(provider/amazon-bedrock): add tool search beta for Anthropic
24ac76f: fix(amazon-bedrock): preserve empty text blocks when reasoning content is present
bcbaae6: fix(bedrock): skip passing unsigned reasoning content
9d5a299: fix(amazon-bedrock): support document files in tool results
6d8716c: feat(bedrock): add support for service tier for model inference
87d1723: chore(anthropic): remove unnecessary messages affix from Anthropic symbols and files
9f0e36c: trigger release for all packages after provenance setup
9eda693: fix(provider/amazon-bedrock): detect Cohere embedding models behind cross-region inference profile ids
4b20a5d: fix(provider/amazon-bedrock): transform bedrock/anthropic error responses to anthropic format
b555b23: fix(amazon-bedrock): disable native structured output for claude-opus-4-7
58a2ad7: fix: more precise default message for tool execution denial
cdc15f3: feat(bedrock): support native structured output for anthropic models without reasoning
7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
0c4c275: trigger initial canary release
9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
9c78e5d: fix (provider/amazon-bedrock): preserve cache points on message content parts
9fa4e9d: fix(provider/amazon-bedrock): extract Cohere embedding token usage from response header
5463d0d: feat(provider): align tool result output content file part types with top-level message file part types
b8396f0: trigger initial beta release
6b4d325: feat(provider/anthropic): add support for
claude-fable-5and thefallbacksAPI parameterf05a40d: fix(vertex): throw warning when strict: true for vertexAnthropic
90e2d8a: chore: fix unused vars not being flagged by our lint tooling
b3976a2: Add workflow serialization support to all provider models.
@ai-sdk/provider-utils: NewserializeModel()helper that extracts only serializable properties from a model instance, filtering out functions and objects containing functions. Third-party provider authors can use this to add workflow support to their own models.All providers:
headersis now optional in provider config types. This is non-breaking — existing code that passesheaderscontinues to work. Custom provider implementations that construct model configs manually can now omitheaders, which is useful when models are deserialized from a workflow step boundary where auth is provided separately.All provider model classes now include
WORKFLOW_SERIALIZEandWORKFLOW_DESERIALIZEstatic methods, enabling them to cross workflow step boundaries without serialization errors.0d8f107: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancements
ff5eba1: feat: roll
image-*tool output types into their equivalentfile-*types