fix(deps): update dependency ai to v4 #570
Open
+1
−1
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:
4.0.12
->4.1.34
Release Notes
vercel/ai (ai)
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
: fix (ai/core): change streamText.experimental_transform signature to support tool type inferencev4.0.16
Compare Source
Patch Changes
e3fac3f
: fix (ai/core): change smoothStream default delay to 10msv4.0.15
Compare Source
Patch Changes
cc16a83
: feat (ai/core): add smoothStream helpercc16a83
: feat (ai/core): add experimental transform option to streamTextv4.0.14
Compare Source
Patch Changes
09a9cab
: feat (ai/core): add experimental generateImage function09a9cab
]v4.0.13
Compare Source
Patch Changes
9f32213
: feat (ai/core): add experimental tool call repairv4.0.12
Compare Source
Patch Changes
5167bec
: fix (ai/core): forward streamText errors as error parts0984f0b
: feat (ai/core): add ToolExecutionError type0984f0b
]v4.0.11
Compare Source
Patch Changes
953469c
]a3dd2ed
]v4.0.10
Compare Source
Patch Changes
913872d
: fix (ai/core): track promise from async createDataStream.executev4.0.9
Compare Source
Patch Changes
fda9695
: feat (ai/core): reworked data stream managementv4.0.8
Compare Source
Patch Changes
a803d76
: feat (ai/core): pass toolCallId option into tool execute functionv4.0.7
Compare Source
Patch Changes
5b4f07b
: fix (ai/core): change default error message for data streams to "An error occurred."v4.0.6
Compare Source
Patch Changes
fc18132
: feat (ai/core): experimental output for generateText2779f6d
: fix (ai/core): do not send maxRetries into providersv4.0.5
Compare Source
Patch Changes
630ac31
]v4.0.4
Compare Source
Patch Changes
6ff6689
: fix (ai): trigger onFinal when stream adapter finishes6ff6689
: chore (ai): deprecate onCompletion (stream callbacks)v4.0.3
Compare Source
Patch Changes
88b364b
]b446ae5
]v4.0.2
Compare Source
Patch Changes
c3ab5de
]v4.0.1
Compare Source
Patch Changes
b117255
: feat (ai/core): add messages to tool call optionsv4.0.0
Compare Source
Major Changes
4e38b38
: chore (ai): remove LanguageModelResponseMetadataWithHeaders type8bf5756
: chore: remove legacy function/tool callingf0cb69d
: chore (ai/core): remove experimental function exportsda8c609
: chore (ai): remove Tokens RSC helpercbab571
: chore (ai): remove ExperimentalXXXMessage typesb469a7e
: chore: remove isXXXError methods54cb888
: chore (ai): remove experimental_StreamData export4d61295
: chore (ai): remove streamToResponse and streamingTextResponse9a3d741
: chore (ai): remove ExperimentalTool export064257d
: chore (ai/core): rename simulateReadableStream values parameter to chunks60e69ed
: chore (ai/core): remove ai-stream related methods from streamTexta4f8ce9
: chore (ai): AssistantResponse cleanupsd3ae4f6
: chore (ui/react): remove useObject setInput helper7264b0a
: chore (ai): remove responseMessages property from streamText/generateText resultb801982
: chore (ai/core): remove init option from streamText result methodsf68d7b1
: chore (ai/core): streamObject returns result immediately (no Promise)6090cea
: chore (ai): remove rawResponse from generate/stream result objects073f282
: chore (ai): remove AIStream and related exports1c58337
: chore (ai): remove 2.x prompt helpersa40a93d
: chore (ai/ui): remove vue, svelte, solid re-export and dependencya7ad35a
: chore: remove legacy providers & rsc renderc0ddc24
: chore (ai): remove toJSON method from AI SDK errors007cb81
: chore (ai): changestreamText
warnings result to Promiseeffbce3
: chore (ai): remove responseMessage from streamText onFinish callback545d133
: chore (ai): remove deprecated roundtrip settings from streamText / generateText7e89ccb
: chore: remove nanoid exportf967199
: chore (ai/core): streamText returns result immediately (no Promise)62d08fd
: chore (ai): remove TokenUsage, CompletionTokenUsage, and EmbeddingTokenUsage typese5d2ce8
: chore (ai): remove deprecated provider registry exports70ce742
: chore (ai): remove experimental_continuationSteps option2f09717
: chore (ai): remove deprecated telemetry data0827bf9
: chore (ai): remove LangChain adaptertoAIStream
methodPatch Changes
dce4158
: chore (dependencies): update eventsource-parser to 3.0.0f0ec721
: chore (ai): remove openai peer dependencyf9bb30c
: chore (ai): remove unnecessary dev dependenciesb053413
: chore (ui): refactorings & README updatee117b54
]8bf5756
]b469a7e
]79c6dd9
]9f81e66
]70f28f6
]dce4158
]d3ae4f6
]68d30e9
]7814c4b
]ca3e586
]c0ddc24
]fe4f109
]84edae5
]b1da952
]04d3747
]dce4158
]7e89ccb
]8426f55
]db46ce5
]b053413
]Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled because a matching PR was automerged previously.
♻ 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.