Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.16
->4.3.10
Release Notes
vercel/ai (ai)
v4.3.10
Compare Source
Patch Changes
0432959
: feat (ai): add experimental prepareStep callback to generateTextv4.3.9
Compare Source
Patch Changes
b69a253
: fix(utils/detect-mimetype): add support for detecting id3 tagsv4.3.8
Compare Source
Patch Changes
6e8a73b
: feat(providers/fal): add transcribev4.3.7
Compare Source
Patch Changes
f4f3945
: fix (ai/core): refactortoResponseMessages
to filter out empty string/contentv4.3.6
Compare Source
Patch Changes
beef951
: feat: add speech with experimental_generateSpeechbd41167
: fix(ai/core): properly handle custom separator in provider registrybeef951
]v4.3.5
Compare Source
Patch Changes
452bf12
: fix (ai/mcp): better support for zero-argument MCP toolsv4.3.4
Compare Source
Patch Changes
013faa8
: core (ai): change transcription model mimeType to mediaType013faa8
]v4.3.3
Compare Source
Patch Changes
3e88f4d
: fix (ai/mcp): prevent mutation of customEnvc21fa6d
: feat: add transcription with experimental_transcribec21fa6d
]v4.3.2
Compare Source
Patch Changes
665a567
: fix (core): improve error handling in streamText's consumeStream methodv4.3.1
Compare Source
Patch Changes
3d1bd38
: feat(smooth-stream): chunking callbacksv4.3.0
Compare Source
Minor Changes
772a2d7
: feat (core): Add finishReason field to NoObjectGeneratedErrorPatch Changes
2c19b9a
]v4.2.11
Compare Source
Patch Changes
c45d100
: fix (core): send buffered text in smooth stream when stream parts changev4.2.10
Compare Source
Patch Changes
a043b14
]28be004
]v4.2.9
Compare Source
Patch Changes
b01120e
]v4.2.8
Compare Source
Patch Changes
65243ce
: fix (ui): introduce step start parts65243ce
]v4.2.7
Compare Source
Patch Changes
e14c066
: fix (ai/core): convert user ui messages with only parts (no content) to core messagesv4.2.6
Compare Source
Patch Changes
625591b
: feat (ai/core): auto-complete for provider registry6a1506f
: feat (ai/core): custom separator support for provider registryea3d998
: chore (ai/core): move provider registry to stablev4.2.5
Compare Source
Patch Changes
d92fa29
]v4.2.4
Compare Source
Patch Changes
3d6d96d
: fix (ai/core): validate that messages are not emptyv4.2.3
Compare Source
Patch Changes
0b3bf29
: fix (ai/core): custom env support for stdio MCP transportv4.2.2
Compare Source
Patch Changes
f10f0fa
: fix (provider-utils): improve event source stream parsing performancef10f0fa
]v4.2.1
Compare Source
Patch Changes
b796152
: feat (ai/core): add headers to MCP SSE transport06361d6
: feat (ai/core): expose JSON RPC types (MCP)v4.2.0
Compare Source
Minor Changes
5bc638d
: AI SDK 4.2Patch Changes
5bc638d
]v4.1.66
Compare Source
Patch Changes
5d0fc29
: chore (ai): improve cosine similarity calculationv4.1.65
Compare Source
Patch Changes
16c444f
: fix (ai): expose ai/mcp-stdiov4.1.64
Compare Source
Patch Changes
d0c4659
]v4.1.63
Compare Source
Patch Changes
0bd5bc6
: feat (ai): support model-generated files0bd5bc6
]v4.1.62
Compare Source
Patch Changes
c9ed3c4
: feat: enable custom mcp transportsbreaking change: remove internal stdio transport creation
v4.1.61
Compare Source
Patch Changes
2e1101a
: feat (provider/openai): pdf input support2e1101a
]v4.1.60
Compare Source
Patch Changes
0b8797f
: feat (ai/core): expose response body for each generateText stepv4.1.59
Compare Source
Patch Changes
dd18049
: fix (ai/core): suppress next.js warnings for node.js specific code pathv4.1.58
Compare Source
Patch Changes
e9897eb
: fix (ai/core): move process access into functions and use globalThisv4.1.57
Compare Source
Patch Changes
092fdaa
: feat (ai/core): add defaultSettingsMiddlewarev4.1.56
Compare Source
Patch Changes
80be82b
: feat (ai/core): add simulateStreamingMiddleware8109a24
: fix (ai/core): limit node imports to types where possiblev4.1.55
Compare Source
Patch Changes
1531959
: feat (ai/core): add MCP client for using MCP tools1531959
]v4.1.54
Compare Source
Patch Changes
ee1c787
: fix (ai/core): correct spread apply order to fix extract reasoning middleware with generateTextv4.1.53
Compare Source
Patch Changes
e1d3d42
: feat (ai): expose raw response body in generateText and generateObjecte1d3d42
]v4.1.52
Compare Source
Patch Changes
5329a69
: fix (ai/core): fix duplicated reasoning in streamText onFinish and messagesv4.1.51
Compare Source
Patch Changes
0cb2647
: feat (ai/core): add streamText sendStart & sendFinish data stream optionsv4.1.50
Compare Source
Patch Changes
ae98f0d
: fix (ai/core): forward providerOptions for text, image, and file partsv4.1.49
Compare Source
Patch Changes
dc027d3
: fix (ai/core): add reasoning support to appendResponseMessagesv4.1.48
Compare Source
Patch Changes
6255fbc
]v4.1.47
Compare Source
Patch Changes
da5c734
]v4.1.46
Compare Source
Patch Changes
ddf9740
: feat (ai): add anthropic reasoningddf9740
]v4.1.45
Compare Source
Patch Changes
93bd5a0
: feat (ai/ui): add writeSource to createDataStreamv4.1.44
Compare Source
Patch Changes
f8e7df2
: fix (ai/core): addstartWithReasoning
option toextractReasoningMiddleware
v4.1.43
Compare Source
Patch Changes
ef2e23b
: feat (ai/core): add experimental repairText function to generateObjectv4.1.42
Compare Source
Patch Changes
2761f06
]v4.1.41
Compare Source
Patch Changes
60c3220
]v4.1.40
Compare Source
Patch Changes
c43df41
]v4.1.39
Compare Source
Patch Changes
075a9a9
: fix (ai): improve tsdoc on custom providerv4.1.38
Compare Source
Patch Changes
4c9c194
: chore (ai): add description to provider-defined tools for better accessibility2e898b4
: chore (ai): move mockId test helper into provider utils2e898b4
]v4.1.37
Compare Source
Patch Changes
c1e10d1
: chore: export UIMessage typev4.1.36
Compare Source
Patch Changes
3ff4ef8
]v4.1.35
Compare Source
Patch Changes
166e09e
: feat (ai/ui): forward source parts to useChat166e09e
]v4.1.34
Compare Source
Patch Changes
dc49119
: chore: deprecate ai/reactv4.1.33
Compare Source
Patch Changes
74f0f0e
: chore (ai/core): move providerMetadata to stablev4.1.32
Compare Source
Patch Changes
c128ca5
: fix (ai/core): fix streamText onFinish messages with structured outputv4.1.31
Compare Source
Patch Changes
b30b1cc
: feat (ai/core): add onError callback to streamObjectv4.1.30
Compare Source
Patch Changes
4ee5b6f
: fix (core): remove invalid providerOptions from streamObject onFinish callbackv4.1.29
Compare Source
Patch Changes
605de49
: feat (ai/core): export callback typesv4.1.28
Compare Source
Patch Changes
6eb7fc4
: feat (ai/core): url source supportv4.1.27
Compare Source
Patch Changes
318b351
]v4.1.26
Compare Source
Patch Changes
34983d4
: fix (ai/core): bind supportsUrl when creating wrapperv4.1.25
Compare Source
Patch Changes
5a21310
: fix (ai/core): use ai types on custom provider to prevent ts errorv4.1.24
Compare Source
Patch Changes
38142b8
: feat (ai/core): introduce streamText consumeStreamv4.1.23
Compare Source
Patch Changes
b08f7c1
: fix (ai/core): suppress errors in textStreamv4.1.22
Compare Source
Patch Changes
2bec72a
: feat (ai/core): add onError callback to streamTextv4.1.21
Compare Source
Patch Changes
d387989
: feat (ai/core): re-export zodSchemav4.1.20
Compare Source
Patch Changes
bcc61d4
: feat (ui): introduce message parts for useChatbcc61d4
]v4.1.19
Compare Source
Patch Changes
6b8cc14
]v4.1.18
Compare Source
Patch Changes
6a1acfe
: fix (ai/core): revert '@internal' tag on function definitions due to build impactsv4.1.17
Compare Source
Patch Changes
5af8cdb
: fix (ai/core): support this reference in model.supportsUrl implementationsv4.1.16
Compare Source
Patch Changes
7e299a4
: feat (ai/core): wrapLanguageModel can apply multiple middlewaresv4.1.15
Compare Source
Patch Changes
d89c3b9
: feat (provider): add image model support to provider specificationd89c3b9
: feat (core): type ahead for model ids with custom provider08f54fc
: chore (ai/core): move custom provider to stabled89c3b9
]v4.1.14
Compare Source
Patch Changes
ca89615
: fix (ai/core): only append assistant response at the end when there is a final user messagev4.1.13
Compare Source
Patch Changes
999085e
: feat (ai/core): add write function to DataStreamWriterv4.1.12
Compare Source
Patch Changes
0d2d9bf
: fix (ui): single assistant message with multiple tool steps0d2d9bf
]0d2d9bf
]v4.1.11
Compare Source
Patch Changes
4c58da5
: chore (core): move providerOptions to stablev4.1.10
Compare Source
Patch Changes
bf2c9c6
: feat (core): move middleware to stablev4.1.9
Compare Source
Patch Changes
3a602ca
: chore (core): rename CoreTool to Tool3a602ca
]v4.1.8
Compare Source
Patch Changes
92f5f36
: feat (core): add extractReasoningMiddlewarev4.1.7
Compare Source
Patch Changes
066206e
: feat (provider-utils): move delay to provider-utils from ai066206e
]v4.1.6
Compare Source
Patch Changes
39e5c1f
]v4.1.5
Compare Source
Patch Changes
9ce598c
: feat (ai/ui): add reasoning support to useChat9ce598c
]v4.1.4
Compare Source
Patch Changes
caaad11
: feat (ai/core): re-export languagemodelv1 types for middleware implementationscaaad11
: feat (ai/core): expose TelemetrySettings typev4.1.3
Compare Source
Patch Changes
7f30a77
: feat (core): export core message schemas4298996
: feat (core): add helper for merging single client messagev4.1.2
Compare Source
Patch Changes
3c5fafa
: chore (ai/core): move streamText toolCallStreaming option to stable3a58a2e
: feat (ai/core): throw NoImageGeneratedError from generateImage when no predictions are returned.ed012d2
]6f4d063
]3a58a2e
]v4.1.1
Compare Source
Patch Changes
0a699f1
: feat: add reasoning token supporte7a9ec9
]0a699f1
]v4.1.0
Compare Source
Minor Changes
62ba5ad
: release: AI SDK 4.1Patch Changes
62ba5ad
]v4.0.41
Compare Source
Patch Changes
44f04d5
]v4.0.40
Compare Source
Patch Changes
33592d2
: fix (ai/core): switch to json schema 7 target for zod to json schema conversion33592d2
]v4.0.39
Compare Source
Patch Changes
00114c5
: feat: expose IDGenerator and createIdGenerator00114c5
: feat (ui): generate and forward message ids for response messages00114c5
]00114c5
]v4.0.38
Compare Source
Patch Changes
0118fa7
: fix (ai/core): handle empty tool invocation array in convertToCoreMessagesv4.0.37
Compare Source
Patch Changes
8304ed8
: feat (ai/core): Add optionthrowErrorForEmptyVectors
to cosineSimilarityed28182
: feat (ai/ui): add appendResponseMessages helperv4.0.36
Compare Source
Patch Changes
37f4510
]v4.0.35
Compare Source
Patch Changes
3491f78
: feat (ai/core): support multiple stream text transformsv4.0.34
Compare Source
Patch Changes
2495973
: feat (ai/core): use openai compatible mode for json schema conversion2495973
: fix (ai/core): duplicate instead of using reference in json schema2495973
]2495973
]v4.0.33
Compare Source
Patch Changes
5510ee7
: feat (ai/core): add stopStream option to streamText transformsv4.0.32
Compare Source
Patch Changes
de66619
: feat (ai/core): add tool call id to ToolExecution errorv4.0.31
Compare Source
Patch Changes
90fb95a
]e6dfef4
]6636db6
]v4.0.30
Compare Source
Patch Changes
e4ce80c
: fix (ai/core): prevent onFinish from masking stream errorsv4.0.29
Compare Source
Patch Changes
a92f5f6
: feat (ai/core): generate many images with parallel model callsv4.0.28
Compare Source
Patch Changes
19a2ce7
: feat (ai/core): add aspectRatio and seed options to generateImage6337688
: feat: change image generation errors to warnings8b422ea
: feat (ai/core): add caching to generated images19a2ce7
]19a2ce7
]6337688
]v4.0.27
Compare Source
Patch Changes
a56734f
: feat (ai/core): export simulateReadableStream in ai package9589601
: feat (ai/core): support null delay in smoothStreame3cc23a
: feat (ai/core): support regexp chunking pattern in smoothStreame463e73
: feat (ai/core): support skipping delays in simulateReadableStreamv4.0.26
Compare Source
Patch Changes
a8f3242
: feat (ai/core): add line chunking mode to smoothStreamv4.0.25
Compare Source
Patch Changes
0823899
: fix (ai/core): throw error when accessing output when no output is defined in generateText (breaking/experimental)v4.0.24
Compare Source
Patch Changes
ae0485b
: feat (ai/core): add experimental output setting to streamTextv4.0.23
Compare Source
Patch Changes
bc4cd19
: feat (ai/core): consolidate whitespace in smooth streamv4.0.22
Compare Source
Patch Changes
5ed5e45
]v4.0.21
Compare Source
Patch Changes
a8669a2
: fix (ai/core): prefer auto-detected image mimetype6fb3e91
: fix (ai/core): include type in generateText toolResults result property.v4.0.20
Compare Source
Patch Changes
da9d240
: fix (ai/core): suppress errors caused by writing to closed stream6f1bfde
: fix (ai/core): invoke streamText tool call repair when tool cannot be foundv4.0.19
Compare Source
Patch Changes
c3a6065
: fix (ai/core): apply transform before callbacks and resolvablesv4.0.18
Compare Source
Patch Changes
304e6d3
: feat (ai/core): standardize generateObject, streamObject, and output errors to NoObjectGeneratedError304e6d3
: feat (ai/core): add additional information to NoObjectGeneratedErrorv4.0.17
Compare Source
Patch Changes
54bbf21
:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.