contracts-wizard
contracts-wizard copied to clipboard
Update dependency ai to v4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| ai (source) | 2.2.16 -> 4.3.16 |
Release Notes
vercel/ai (ai)
v4.3.16
Patch Changes
ed0ebeb: Avoid JSON.strinfigy on UInt8Arrays for telemetry
v4.3.15
Patch Changes
- Updated dependencies [
d87b9d1]- @ai-sdk/provider-utils@2.2.8
- @ai-sdk/react@1.2.12
- @ai-sdk/ui-utils@1.2.11
v4.3.14
Patch Changes
a295521: feat(message-validator): include more details in error messages
v4.3.13
Patch Changes
- Updated dependencies [
6c59ae7]- @ai-sdk/ui-utils@1.2.10
- @ai-sdk/react@1.2.11
v4.3.12
Patch Changes
1ed3755: fix (ai): don't publish mcp-stdio TypeScript files46cb332: chore (ai/mcp): addassertCapabilitymethod to experimental MCP client
v4.3.11
Patch Changes
- Updated dependencies [
77b2097] - Updated dependencies [
62181ef]- @ai-sdk/react@1.2.10
- @ai-sdk/ui-utils@1.2.9
v4.3.10
Patch Changes
0432959: feat (ai): add experimental prepareStep callback to generateText
v4.3.9
Patch Changes
b69a253: fix(utils/detect-mimetype): add support for detecting id3 tags
v4.3.8
Patch Changes
6e8a73b: feat(providers/fal): add transcribe
v4.3.7
Patch Changes
f4f3945: fix (ai/core): refactortoResponseMessagesto filter out empty string/content
v4.3.6
Patch Changes
beef951: feat: add speech with experimental_generateSpeechbd41167: fix(ai/core): properly handle custom separator in provider registry- Updated dependencies [
beef951]- @ai-sdk/provider@1.1.3
- @ai-sdk/provider-utils@2.2.7
- @ai-sdk/ui-utils@1.2.8
- @ai-sdk/react@1.2.9
v4.3.5
Patch Changes
452bf12: fix (ai/mcp): better support for zero-argument MCP tools
v4.3.4
Patch Changes
013faa8: core (ai): change transcription model mimeType to mediaType- Updated dependencies [
013faa8]- @ai-sdk/provider@1.1.2
- @ai-sdk/provider-utils@2.2.6
- @ai-sdk/ui-utils@1.2.7
- @ai-sdk/react@1.2.8
v4.3.3
Patch Changes
3e88f4d: fix (ai/mcp): prevent mutation of customEnvc21fa6d: feat: add transcription with experimental_transcribe- Updated dependencies [
c21fa6d]- @ai-sdk/provider-utils@2.2.5
- @ai-sdk/provider@1.1.1
- @ai-sdk/react@1.2.7
- @ai-sdk/ui-utils@1.2.6
v4.3.2
Patch Changes
665a567: fix (core): improve error handling in streamText's consumeStream method
v4.3.1
Patch Changes
3d1bd38: feat(smooth-stream): chunking callbacks
v4.3.0
Minor Changes
772a2d7: feat (core): Add finishReason field to NoObjectGeneratedError
Patch Changes
- Updated dependencies [
2c19b9a]- @ai-sdk/provider-utils@2.2.4
- @ai-sdk/react@1.2.6
- @ai-sdk/ui-utils@1.2.5
v4.2.11
Patch Changes
c45d100: fix (core): send buffered text in smooth stream when stream parts change
v4.2.10
Patch Changes
- Updated dependencies [
a043b14] - Updated dependencies [
28be004]- @ai-sdk/react@1.2.5
- @ai-sdk/provider-utils@2.2.3
- @ai-sdk/ui-utils@1.2.4
v4.2.9
Patch Changes
- Updated dependencies [
b01120e]- @ai-sdk/provider-utils@2.2.2
- @ai-sdk/react@1.2.4
- @ai-sdk/ui-utils@1.2.3
v4.2.8
Patch Changes
65243ce: fix (ui): introduce step start parts- Updated dependencies [
65243ce]- @ai-sdk/ui-utils@1.2.2
- @ai-sdk/react@1.2.3
v4.2.7
Patch Changes
e14c066: fix (ai/core): convert user ui messages with only parts (no content) to core messages
v4.2.6
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 stable
v4.2.5
Patch Changes
- Updated dependencies [
d92fa29]- @ai-sdk/react@1.2.2
v4.2.4
Patch Changes
3d6d96d: fix (ai/core): validate that messages are not empty
v4.2.3
Patch Changes
0b3bf29: fix (ai/core): custom env support for stdio MCP transport
v4.2.2
Patch Changes
f10f0fa: fix (provider-utils): improve event source stream parsing performance- Updated dependencies [
f10f0fa]- @ai-sdk/provider-utils@2.2.1
- @ai-sdk/react@1.2.1
- @ai-sdk/ui-utils@1.2.1
v4.2.1
Patch Changes
b796152: feat (ai/core): add headers to MCP SSE transport06361d6: feat (ai/core): expose JSON RPC types (MCP)
v4.2.0
Minor Changes
5bc638d: AI SDK 4.2
Patch Changes
- Updated dependencies [
5bc638d]- @ai-sdk/provider@1.1.0
- @ai-sdk/provider-utils@2.2.0
- @ai-sdk/react@1.2.0
- @ai-sdk/ui-utils@1.2.0
v4.1.66
Patch Changes
5d0fc29: chore (ai): improve cosine similarity calculation
v4.1.65
Patch Changes
16c444f: fix (ai): expose ai/mcp-stdio
v4.1.64
Patch Changes
- Updated dependencies [
d0c4659]- @ai-sdk/provider-utils@2.1.15
- @ai-sdk/react@1.1.25
- @ai-sdk/ui-utils@1.1.21
v4.1.63
Patch Changes
0bd5bc6: feat (ai): support model-generated files- Updated dependencies [
0bd5bc6]- @ai-sdk/provider@1.0.12
- @ai-sdk/provider-utils@2.1.14
- @ai-sdk/ui-utils@1.1.20
- @ai-sdk/react@1.1.24
v4.1.62
Patch Changes
c9ed3c4: feat: enable custom mcp transports breaking change: remove internal stdio transport creation
v4.1.61
Patch Changes
2e1101a: feat (provider/openai): pdf input support- Updated dependencies [
2e1101a]- @ai-sdk/provider@1.0.11
- @ai-sdk/provider-utils@2.1.13
- @ai-sdk/ui-utils@1.1.19
- @ai-sdk/react@1.1.23
v4.1.60
Patch Changes
0b8797f: feat (ai/core): expose response body for each generateText step
v4.1.59
Patch Changes
dd18049: fix (ai/core): suppress next.js warnings for node.js specific code path
v4.1.58
Patch Changes
e9897eb: fix (ai/core): move process access into functions and use globalThis
v4.1.57
Patch Changes
092fdaa: feat (ai/core): add defaultSettingsMiddleware
v4.1.56
Patch Changes
80be82b: feat (ai/core): add simulateStreamingMiddleware8109a24: fix (ai/core): limit node imports to types where possible
v4.1.55
Patch Changes
1531959: feat (ai/core): add MCP client for using MCP tools- Updated dependencies [
1531959]- @ai-sdk/provider-utils@2.1.12
- @ai-sdk/react@1.1.22
- @ai-sdk/ui-utils@1.1.18
v4.1.54
Patch Changes
ee1c787: fix (ai/core): correct spread apply order to fix extract reasoning middleware with generateText
v4.1.53
Patch Changes
e1d3d42: feat (ai): expose raw response body in generateText and generateObject- Updated dependencies [
e1d3d42]- @ai-sdk/provider@1.0.10
- @ai-sdk/provider-utils@2.1.11
- @ai-sdk/ui-utils@1.1.17
- @ai-sdk/react@1.1.21
v4.1.52
Patch Changes
5329a69: fix (ai/core): fix duplicated reasoning in streamText onFinish and messages
v4.1.51
Patch Changes
0cb2647: feat (ai/core): add streamText sendStart & sendFinish data stream options
v4.1.50
Patch Changes
ae98f0d: fix (ai/core): forward providerOptions for text, image, and file parts
v4.1.49
Patch Changes
dc027d3: fix (ai/core): add reasoning support to appendResponseMessages
v4.1.48
Patch Changes
- Updated dependencies [
6255fbc]- @ai-sdk/react@1.1.20
v4.1.47
Patch Changes
- Updated dependencies [
da5c734]- @ai-sdk/react@1.1.19
v4.1.46
Patch Changes
ddf9740: feat (ai): add anthropic reasoning- Updated dependencies [
ddf9740]- @ai-sdk/provider@1.0.9
- @ai-sdk/ui-utils@1.1.16
- @ai-sdk/provider-utils@2.1.10
- @ai-sdk/react@1.1.18
v4.1.45
Patch Changes
93bd5a0: feat (ai/ui): add writeSource to createDataStream
v4.1.44
Patch Changes
f8e7df2: fix (ai/core): addstartWithReasoningoption toextractReasoningMiddleware
v4.1.43
Patch Changes
ef2e23b: feat (ai/core): add experimental repairText function to generateObject
v4.1.42
Patch Changes
- Updated dependencies [
2761f06]- @ai-sdk/provider@1.0.8
- @ai-sdk/provider-utils@2.1.9
- @ai-sdk/ui-utils@1.1.15
- @ai-sdk/react@1.1.17
v4.1.41
Patch Changes
- Updated dependencies [
60c3220]- @ai-sdk/react@1.1.16
v4.1.40
Patch Changes
- Updated dependencies [
c43df41]- @ai-sdk/react@1.1.15
v4.1.39
Patch Changes
075a9a9: fix (ai): improve tsdoc on custom provider
v4.1.38
Patch Changes
4c9c194: chore (ai): add description to provider-defined tools for better accessibility2e898b4: chore (ai): move mockId test helper into provider utils- Updated dependencies [
2e898b4]- @ai-sdk/provider-utils@2.1.8
- @ai-sdk/react@1.1.14
- @ai-sdk/ui-utils@1.1.14
v4.1.37
Patch Changes
c1e10d1: chore: export UIMessage type
v4.1.36
Patch Changes
- Updated dependencies [
3ff4ef8]- @ai-sdk/provider-utils@2.1.7
- @ai-sdk/react@1.1.13
- @ai-sdk/ui-utils@1.1.13
v4.1.35
Patch Changes
166e09e: feat (ai/ui): forward source parts to useChat- Updated dependencies [
166e09e]- @ai-sdk/ui-utils@1.1.12
- @ai-sdk/react@1.1.12
v4.1.34
Patch Changes
dc49119: chore: deprecate ai/react
v4.1.33
Patch Changes
74f0f0e: chore (ai/core): move providerMetadata to stable
v4.1.32
Patch Changes
c128ca5: fix (ai/core): fix streamText onFinish messages with structured output
v4.1.31
Patch Changes
b30b1cc: feat (ai/core): add onError callback to streamObject
v4.1.30
Patch Changes
4ee5b6f: fix (core): remove invalid providerOptions from streamObject onFinish callback
v4.1.29
Patch Changes
605de49: feat (ai/core): export callback types
v4.1.28
Patch Changes
6eb7fc4: feat (ai/core): url source support
v4.1.27
Patch Changes
- Updated dependencies [
318b351]- @ai-sdk/ui-utils@1.1.11
- @ai-sdk/react@1.1.11
v4.1.26
Patch Changes
34983d4: fix (ai/core): bind supportsUrl when creating wrapper
v4.1.25
Patch Changes
5a21310: fix (ai/core): use ai types on custom provider to prevent ts error
v4.1.24
Patch Changes
38142b8: feat (ai/core): introduce streamText consumeStream
v4.1.23
Patch Changes
b08f7c1: fix (ai/core): suppress errors in textStream
v4.1.22
Patch Changes
2bec72a: feat (ai/core): add onError callback to streamText
v4.1.21
Patch Changes
d387989: feat (ai/core): re-export zodSchema
v4.1.20
Patch Changes
bcc61d4: feat (ui): introduce message parts for useChat- Updated dependencies [
bcc61d4]- @ai-sdk/ui-utils@1.1.10
- @ai-sdk/react@1.1.10
v4.1.19
Patch Changes
- Updated dependencies [
6b8cc14]- @ai-sdk/ui-utils@1.1.9
- @ai-sdk/react@1.1.9
v4.1.18
Patch Changes
6a1acfe: fix (ai/core): revert '@internal' tag on function definitions due to build impacts
v4.1.17
Patch Changes
5af8cdb: fix (ai/core): support this reference in model.supportsUrl implementations
v4.1.16
Patch Changes
7e299a4: feat (ai/core): wrapLanguageModel can apply multiple middlewares
v4.1.15
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 stable- Updated dependencies [
d89c3b9]- @ai-sdk/provider@1.0.7
- @ai-sdk/provider-utils@2.1.6
- @ai-sdk/ui-utils@1.1.8
- @ai-sdk/react@1.1.8
v4.1.14
Patch Changes
ca89615: fix (ai/core): only append assistant response at the end when there is a final user message
v4.1.13
Patch Changes
999085e: feat (ai/core): add write function to DataStreamWriter
v4.1.12
Patch Changes
0d2d9bf: fix (ui): single assistant message with multiple tool steps- Updated dependencies [
0d2d9bf] - Updated dependencies [
0d2d9bf]- @ai-sdk/react@1.1.7
- @ai-sdk/ui-utils@1.1.7
v4.1.11
Patch Changes
4c58da5: chore (core): move providerOptions to stable
v4.1.10
Patch Changes
bf2c9c6: feat (core): move middleware to stable
v4.1.9
Patch Changes
3a602ca: chore (core): rename CoreTool to Tool- Updated dependencies [
3a602ca]- @ai-sdk/provider-utils@2.1.5
- @ai-sdk/ui-utils@1.1.6
- @ai-sdk/react@1.1.6
v4.1.8
Patch Changes
92f5f36: feat (core): add extractReasoningMiddleware
v4.1.7
Patch Changes
066206e: feat (provider-utils): move delay to provider-utils from ai- Updated dependencies [
066206e]- @ai-sdk/provider-utils@2.1.4
- @ai-sdk/react@1.1.5
- @ai-sdk/ui-utils@1.1.5
v4.1.6
Patch Changes
- Updated dependencies [
39e5c1f]- @ai-sdk/provider-utils@2.1.3
- @ai-sdk/react@1.1.4
- @ai-sdk/ui-utils@1.1.4
v4.1.5
Patch Changes
9ce598c: feat (ai/ui): add reasoning support to useChat- Updated dependencies [
9ce598c]- @ai-sdk/ui-utils@1.1.3
- @ai-sdk/react@1.1.3
v4.1.4
Patch Changes
caaad11: feat (ai/core): re-export languagemodelv1 types for middleware implementationscaaad11: feat (ai/core): expose TelemetrySettings type
v4.1.3
Patch Changes
7f30a77: feat (core): export core message schemas4298996: feat (core): add helper for merging single client message
v4.1.2
Patch Changes
3c5fafa: chore (ai/core): move streamText toolCallStreaming option to stable3a58a2e: feat (ai/core): throw NoImageGeneratedError from generateImage when no predictions are returned.- Updated dependencies [
ed012d2] - Updated dependencies [
6f4d063] - Updated dependencies [
3a58a2e]- @ai-sdk/provider-utils@2.1.2
- @ai-sdk/react@1.1.2
- @ai-sdk/provider@1.0.6
- @ai-sdk/ui-utils@1.1.2
v4.1.1
Patch Changes
0a699f1: feat: add reasoning token support- Updated dependencies [
e7a9ec9] - Updated dependencies [
0a699f1]- @ai-sdk/ui-utils@1.1.1
- @ai-sdk/provider-utils@2.1.1
- @ai-sdk/provider@1.0.5
- @ai-sdk/react@1.1.1
v4.1.0
Minor Changes
62ba5ad: release: AI SDK 4.1
Patch Changes
- Updated dependencies [
62ba5ad]- @ai-sdk/provider-utils@2.1.0
- @ai-sdk/react@1.1.0
- @ai-sdk/ui-utils@1.1.0
v4.0.41
Patch Changes
- Updated dependencies [
44f04d5]- @ai-sdk/react@1.0.14
v4.0.40
Patch Changes
33592d2: fix (ai/core): switch to json schema 7 target for zod to json schema conversion- Updated dependencies [
33592d2]- @ai-sdk/ui-utils@1.0.12
- @ai-sdk/react@1.0.13
v4.0.39
Patch Changes
00114c5: feat: expose IDGenerator and createIdGenerator00114c5: feat (ui): generate and forward message ids for response messages- Updated dependencies [
00114c5] - Updated dependencies [
00114c5]- @ai-sdk/provider-utils@2.0.8
- @ai-sdk/ui-utils@1.0.11
- @ai-sdk/react@1.0.12
v4.0.38
Patch Changes
0118fa7: fix (ai/core): handle empty tool invocation array in convertToCoreMessages
v4.0.37
Patch Changes
8304ed8: feat (ai/core): Add optionthrowErrorForEmptyVectorsto cosineSimilarityed28182: feat (ai/ui): add appendResponseMessages helper
v4.0.36
Patch Changes
- Updated dependencies [
37f4510]- @ai-sdk/ui-utils@1.0.10
- @ai-sdk/react@1.0.11
v4.0.35
Patch Changes
3491f78: feat (ai/core): support multiple stream text transforms
v4.0.34
Patch Changes
2495973: feat (ai/core): use openai compatible mode for json schema conversion2495973: fix (ai/core): duplicate instead of using reference in json schema- Updated dependencies [
2495973] - Updated dependencies [
2495973]- @ai-sdk/ui-utils@1.0.9
- @ai-sdk/react@1.0.10
v4.0.33
Patch Changes
5510ee7: feat (ai/core): add stopStream option to streamText transforms
v4.0.32
Patch Changes
de66619: feat (ai/core): add tool call id to ToolExecution error
v4.0.31
Patch Changes
- Updated dependencies [
90fb95a] - Updated dependencies [
e6dfef4] - Updated dependencies [
6636db6]- @ai-sdk/provider-utils@2.0.7
- @ai-sdk/react@1.0.9
- @ai-sdk/ui-utils@1.0.8
v4.0.30
Patch Changes
e4ce80c: fix (ai/core): prevent onFinish from masking stream errors
v4.0.29
Patch Changes
a92f5f6: feat (ai/core): generate many images with parallel model calls
v4.0.28
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 images- Updated dependencies [
19a2ce7] - Updated dependencies [
19a2ce7] - Updated dependencies [
6337688]- @ai-sdk/provider@1.0.4
- @ai-sdk/provider-utils@2.0.6
- @ai-sdk/ui-utils@1.0.7
- @ai-sdk/react@1.0.8
v4.0.27
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 simulateReadableStream
v4.0.26
Patch Changes
a8f3242: feat (ai/core): add line chunking mode to smoothStream
v4.0.25
Patch Changes
0823899: fix (ai/core): throw error when accessing output when no output is defined in generateText (breaking/experimental)
v4.0.24
Patch Changes
ae0485b: feat (ai/core): add experimental output setting to streamText
v4.0.23
Patch Changes
bc4cd19: feat (ai/core): consolidate whitespace in smooth stream
v4.0.22
Patch Changes
- Updated dependencies [
5ed5e45]- @ai-sdk/provider-utils@2.0.5
- @ai-sdk/provider@1.0.3
- @ai-sdk/react@1.0.7
- @ai-sdk/ui-utils@1.0.6
v4.0.21
Patch Changes
a8669a2: fix (ai/core): prefer auto-detected image mimetype6fb3e91: fix (ai/core): include type in generateText toolResults result property.
v4.0.20
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 found
v4.0.19
Patch Changes
c3a6065: fix (ai/core): apply transform before callbacks and resolvables
v4.0.18
Patch Changes
304e6d3: feat (ai/core): standardize generateObject, streamObject, and output errors to NoObjectGeneratedError304e6d3: feat (ai/core): add additional information to NoObjectGeneratedError
v4.0.17
Patch Changes
54bbf21: fix (ai/core): change streamText.experimental_transform signature to support tool type inference
v4.0.16
Patch Changes
e3fac3f: fix (ai/core): change smoothStream default delay to 10ms
v4.0.15
Patch Changes
cc16a83: feat (ai/core): add smoothStream helpercc16a83: feat (ai/core): add experimental transform option to streamText
v4.0.14
Patch Changes
09a9cab: feat (ai/core): add experimental generateImage function- Updated dependencies [
09a9cab]- @ai-sdk/provider@1.0.2
- @ai-sdk/provider-utils@2.0.4
- @ai-sdk/ui-utils@1.0.5
- @ai-sdk/react@1.0.6
v4.0.13
Patch Changes
9f32213: feat (ai/core): add experimental tool call repair
v4.0.12
Patch Changes
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
All alerts resolved. Learn more about Socket for GitHub.
This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
| Diff | Package | Supply Chain Security |
Vulnerability | Quality | Maintenance | License |
|---|---|---|---|---|---|---|
| jszip@3.10.1 | ||||||
| rimraf@5.0.10 | ||||||
| solidity-ast@0.4.59 ⏵ 0.4.60 | ||||||
| hardhat@2.25.0 ⏵ 2.26.1 | ||||||
| @openzeppelin/contracts-upgradeable@5.3.0 ⏵ 5.4.0 | ||||||
| @openzeppelin/contracts@5.3.0 ⏵ 5.4.0 |