Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency ai to v4 #570

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ai (source) 4.0.12 -> 4.1.34 age adoption passing confidence

Release Notes

vercel/ai (ai)

v4.1.34

Compare Source

Patch Changes
  • dc49119: chore: deprecate ai/react

v4.1.33

Compare Source

Patch Changes
  • 74f0f0e: chore (ai/core): move providerMetadata to stable

v4.1.32

Compare Source

Patch Changes
  • c128ca5: fix (ai/core): fix streamText onFinish messages with structured output

v4.1.31

Compare Source

Patch Changes
  • b30b1cc: feat (ai/core): add onError callback to streamObject

v4.1.30

Compare Source

Patch Changes
  • 4ee5b6f: fix (core): remove invalid providerOptions from streamObject onFinish callback

v4.1.29

Compare Source

Patch Changes
  • 605de49: feat (ai/core): export callback types

v4.1.28

Compare Source

Patch Changes
  • 6eb7fc4: feat (ai/core): url source support

v4.1.27

Compare Source

Patch Changes

v4.1.26

Compare Source

Patch Changes
  • 34983d4: fix (ai/core): bind supportsUrl when creating wrapper

v4.1.25

Compare Source

Patch Changes
  • 5a21310: fix (ai/core): use ai types on custom provider to prevent ts error

v4.1.24

Compare Source

Patch Changes
  • 38142b8: feat (ai/core): introduce streamText consumeStream

v4.1.23

Compare Source

Patch Changes
  • b08f7c1: fix (ai/core): suppress errors in textStream

v4.1.22

Compare Source

Patch Changes
  • 2bec72a: feat (ai/core): add onError callback to streamText

v4.1.21

Compare Source

Patch Changes
  • d387989: feat (ai/core): re-export zodSchema

v4.1.20

Compare Source

Patch Changes

v4.1.19

Compare Source

Patch Changes

v4.1.18

Compare Source

Patch Changes
  • 6a1acfe: fix (ai/core): revert '@​internal' tag on function definitions due to build impacts

v4.1.17

Compare Source

Patch Changes
  • 5af8cdb: fix (ai/core): support this reference in model.supportsUrl implementations

v4.1.16

Compare Source

Patch Changes
  • 7e299a4: feat (ai/core): wrapLanguageModel can apply multiple middlewares

v4.1.15

Compare Source

Patch Changes

v4.1.14

Compare Source

Patch Changes
  • ca89615: fix (ai/core): only append assistant response at the end when there is a final user message

v4.1.13

Compare Source

Patch Changes
  • 999085e: feat (ai/core): add write function to DataStreamWriter

v4.1.12

Compare Source

Patch Changes

v4.1.11

Compare Source

Patch Changes
  • 4c58da5: chore (core): move providerOptions to stable

v4.1.10

Compare Source

Patch Changes
  • bf2c9c6: feat (core): move middleware to stable

v4.1.9

Compare Source

Patch Changes

v4.1.8

Compare Source

Patch Changes
  • 92f5f36: feat (core): add extractReasoningMiddleware

v4.1.7

Compare Source

Patch Changes

v4.1.6

Compare Source

Patch Changes

v4.1.5

Compare Source

Patch Changes

v4.1.4

Compare Source

Patch Changes
  • caaad11: feat (ai/core): re-export languagemodelv1 types for middleware implementations
  • caaad11: feat (ai/core): expose TelemetrySettings type

v4.1.3

Compare Source

Patch Changes
  • 7f30a77: feat (core): export core message schemas
  • 4298996: feat (core): add helper for merging single client message

v4.1.2

Compare Source

Patch Changes

v4.1.1

Compare Source

Patch Changes

v4.1.0

Compare Source

Minor Changes
Patch Changes

v4.0.41

Compare Source

Patch Changes

v4.0.40

Compare Source

Patch Changes

v4.0.39

Compare Source

Patch Changes

v4.0.38

Compare Source

Patch Changes
  • 0118fa7: fix (ai/core): handle empty tool invocation array in convertToCoreMessages

v4.0.37

Compare Source

Patch Changes
  • 8304ed8: feat (ai/core): Add option throwErrorForEmptyVectors to cosineSimilarity
  • ed28182: feat (ai/ui): add appendResponseMessages helper

v4.0.36

Compare Source

Patch Changes

v4.0.35

Compare Source

Patch Changes
  • 3491f78: feat (ai/core): support multiple stream text transforms

v4.0.34

Compare Source

Patch Changes

v4.0.33

Compare Source

Patch Changes
  • 5510ee7: feat (ai/core): add stopStream option to streamText transforms

v4.0.32

Compare Source

Patch Changes
  • de66619: feat (ai/core): add tool call id to ToolExecution error

v4.0.31

Compare Source

Patch Changes

v4.0.30

Compare Source

Patch Changes
  • e4ce80c: fix (ai/core): prevent onFinish from masking stream errors

v4.0.29

Compare Source

Patch Changes
  • a92f5f6: feat (ai/core): generate many images with parallel model calls

v4.0.28

Compare Source

Patch Changes

v4.0.27

Compare Source

Patch Changes
  • a56734f: feat (ai/core): export simulateReadableStream in ai package
  • 9589601: feat (ai/core): support null delay in smoothStream
  • e3cc23a: feat (ai/core): support regexp chunking pattern in smoothStream
  • e463e73: feat (ai/core): support skipping delays in simulateReadableStream

v4.0.26

Compare Source

Patch Changes
  • a8f3242: feat (ai/core): add line chunking mode to smoothStream

v4.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 streamText

v4.0.23

Compare Source

Patch Changes
  • bc4cd19: feat (ai/core): consolidate whitespace in smooth stream

v4.0.22

Compare Source

Patch Changes

v4.0.21

Compare Source

Patch Changes
  • a8669a2: fix (ai/core): prefer auto-detected image mimetype
  • 6fb3e91: 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 stream
  • 6f1bfde: fix (ai/core): invoke streamText tool call repair when tool cannot be found

v4.0.19

Compare Source

Patch Changes
  • c3a6065: fix (ai/core): apply transform before callbacks and resolvables

v4.0.18

Compare Source

Patch Changes
  • 304e6d3: feat (ai/core): standardize generateObject, streamObject, and output errors to NoObjectGeneratedError
  • 304e6d3: feat (ai/core): add additional information to NoObjectGeneratedError

v4.0.17

Compare Source

Patch Changes
  • 54bbf21: fix (ai/core): change streamText.experimental_transform signature to support tool type inference

v4.0.16

Compare Source

Patch Changes
  • e3fac3f: fix (ai/core): change smoothStream default delay to 10ms

v4.0.15

Compare Source

Patch Changes
  • cc16a83: feat (ai/core): add smoothStream helper
  • cc16a83: feat (ai/core): add experimental transform option to streamText

v4.0.14

Compare Source

Patch Changes

v4.0.13

Compare Source

Patch Changes
  • 9f32213: feat (ai/core): add experimental tool call repair

v4.0.12

Compare Source

Patch Changes

v4.0.11

Compare Source

Patch Changes

v4.0.10

Compare Source

Patch Changes
  • 913872d: fix (ai/core): track promise from async createDataStream.execute

v4.0.9

Compare Source

Patch Changes
  • fda9695: feat (ai/core): reworked data stream management

v4.0.8

Compare Source

Patch Changes
  • a803d76: feat (ai/core): pass toolCallId option into tool execute function

v4.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 generateText
  • 2779f6d: fix (ai/core): do not send maxRetries into providers

v4.0.5

Compare Source

Patch Changes

v4.0.4

Compare Source

Patch Changes
  • 6ff6689: fix (ai): trigger onFinal when stream adapter finishes
  • 6ff6689: chore (ai): deprecate onCompletion (stream callbacks)

v4.0.3

Compare Source

Patch Changes

v4.0.2

Compare Source

Patch Changes

v4.0.1

Compare Source

Patch Changes
  • b117255: feat (ai/core): add messages to tool call options

v4.0.0

Compare Source

Major Changes
  • 4e38b38: chore (ai): remove LanguageModelResponseMetadataWithHeaders type
  • 8bf5756: chore: remove legacy function/tool calling
  • f0cb69d: chore (ai/core): remove experimental function exports
  • da8c609: chore (ai): remove Tokens RSC helper
  • cbab571: chore (ai): remove ExperimentalXXXMessage types
  • b469a7e: chore: remove isXXXError methods
  • 54cb888: chore (ai): remove experimental_StreamData export
  • 4d61295: chore (ai): remove streamToResponse and streamingTextResponse
  • 9a3d741: chore (ai): remove ExperimentalTool export
  • 064257d: chore (ai/core): rename simulateReadableStream values parameter to chunks
  • 60e69ed: chore (ai/core): remove ai-stream related methods from streamText
  • a4f8ce9: chore (ai): AssistantResponse cleanups
  • d3ae4f6: chore (ui/react): remove useObject setInput helper
  • 7264b0a: chore (ai): remove responseMessages property from streamText/generateText result
  • b801982: chore (ai/core): remove init option from streamText result methods
  • f68d7b1: chore (ai/core): streamObject returns result immediately (no Promise)
  • 6090cea: chore (ai): remove rawResponse from generate/stream result objects
  • 073f282: chore (ai): remove AIStream and related exports
  • 1c58337: chore (ai): remove 2.x prompt helpers
  • a40a93d: chore (ai/ui): remove vue, svelte, solid re-export and dependency
  • a7ad35a: chore: remove legacy providers & rsc render
  • c0ddc24: chore (ai): remove toJSON method from AI SDK errors
  • 007cb81: chore (ai): change streamText warnings result to Promise
  • effbce3: chore (ai): remove responseMessage from streamText onFinish callback
  • 545d133: chore (ai): remove deprecated roundtrip settings from streamText / generateText
  • 7e89ccb: chore: remove nanoid export
  • f967199: chore (ai/core): streamText returns result immediately (no Promise)
  • 62d08fd: chore (ai): remove TokenUsage, CompletionTokenUsage, and EmbeddingTokenUsage types
  • e5d2ce8: chore (ai): remove deprecated provider registry exports
  • 70ce742: chore (ai): remove experimental_continuationSteps option
  • 2f09717: chore (ai): remove deprecated telemetry data
  • 0827bf9: chore (ai): remove LangChain adapter toAIStream method
Patch Changes

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Dec 9, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @pangeacyber/[email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error   react@"19.0.0" from the root project
npm error   peerOptional react@"^18 || ^19 || ^19.0.0-rc" from @ai-sdk/[email protected]
npm error   node_modules/@ai-sdk/react
npm error   34 more (@radix-ui/react-context, @radix-ui/react-direction, ...)
npm error
npm error Could not resolve dependency:
npm error peer react@"^17.0.2 || ^18.2.0" from @pangeacyber/[email protected]
npm error node_modules/@pangeacyber/react-auth
npm error   @pangeacyber/react-auth@"^0.0.14" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react
npm error   peer react@"^17.0.2 || ^18.2.0" from @pangeacyber/[email protected]
npm error   node_modules/@pangeacyber/react-auth
npm error     @pangeacyber/react-auth@"^0.0.14" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2025-02-13T13_15_14_278Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2025-02-13T13_15_14_278Z-debug-0.log

@renovate renovate bot force-pushed the renovate/ai-4.x branch 5 times, most recently from 4a5bc34 to f45c704 Compare December 20, 2024 15:07
@renovate renovate bot force-pushed the renovate/ai-4.x branch 3 times, most recently from b495b91 to d72fadf Compare December 24, 2024 19:48
@renovate renovate bot force-pushed the renovate/ai-4.x branch 8 times, most recently from cbadb4f to fd27aef Compare January 12, 2025 18:39
@renovate renovate bot force-pushed the renovate/ai-4.x branch 8 times, most recently from d27fafd to 5f0aecb Compare January 19, 2025 18:15
@renovate renovate bot force-pushed the renovate/ai-4.x branch 2 times, most recently from 5cb8cb3 to 1c08a18 Compare January 20, 2025 15:10
@renovate renovate bot force-pushed the renovate/ai-4.x branch 5 times, most recently from faf454a to 280d78d Compare January 27, 2025 14:56
@renovate renovate bot force-pushed the renovate/ai-4.x branch 12 times, most recently from 8e053e0 to 11cabd1 Compare February 3, 2025 19:02
@renovate renovate bot force-pushed the renovate/ai-4.x branch 10 times, most recently from 7e5b2d7 to 44e4123 Compare February 13, 2025 09:11
@renovate renovate bot force-pushed the renovate/ai-4.x branch from 44e4123 to e885f89 Compare February 13, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants