Skip to content

Update dependency ai to v4 #519

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

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

Update dependency ai to v4 #519

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 9, 2025

This PR contains the following updates:

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

Release Notes

vercel/ai (ai)

v4.3.10

Compare Source

Patch Changes
  • 0432959: feat (ai): add experimental prepareStep callback to generateText

v4.3.9

Compare Source

Patch Changes
  • b69a253: fix(utils/detect-mimetype): add support for detecting id3 tags

v4.3.8

Compare Source

Patch Changes
  • 6e8a73b: feat(providers/fal): add transcribe

v4.3.7

Compare Source

Patch Changes
  • f4f3945: fix (ai/core): refactor toResponseMessages to filter out empty string/content

v4.3.6

Compare Source

Patch Changes

v4.3.5

Compare Source

Patch Changes
  • 452bf12: fix (ai/mcp): better support for zero-argument MCP tools

v4.3.4

Compare Source

Patch Changes

v4.3.3

Compare Source

Patch Changes

v4.3.2

Compare Source

Patch Changes
  • 665a567: fix (core): improve error handling in streamText's consumeStream method

v4.3.1

Compare Source

Patch Changes
  • 3d1bd38: feat(smooth-stream): chunking callbacks

v4.3.0

Compare Source

Minor Changes
  • 772a2d7: feat (core): Add finishReason field to NoObjectGeneratedError
Patch Changes

v4.2.11

Compare Source

Patch Changes
  • c45d100: fix (core): send buffered text in smooth stream when stream parts change

v4.2.10

Compare Source

Patch Changes

v4.2.9

Compare Source

Patch Changes

v4.2.8

Compare Source

Patch Changes

v4.2.7

Compare Source

Patch Changes
  • e14c066: fix (ai/core): convert user ui messages with only parts (no content) to core messages

v4.2.6

Compare Source

Patch Changes
  • 625591b: feat (ai/core): auto-complete for provider registry
  • 6a1506f: feat (ai/core): custom separator support for provider registry
  • ea3d998: chore (ai/core): move provider registry to stable

v4.2.5

Compare Source

Patch Changes

v4.2.4

Compare Source

Patch Changes
  • 3d6d96d: fix (ai/core): validate that messages are not empty

v4.2.3

Compare Source

Patch Changes
  • 0b3bf29: fix (ai/core): custom env support for stdio MCP transport

v4.2.2

Compare Source

Patch Changes

v4.2.1

Compare Source

Patch Changes
  • b796152: feat (ai/core): add headers to MCP SSE transport
  • 06361d6: feat (ai/core): expose JSON RPC types (MCP)

v4.2.0

Compare Source

Minor Changes
Patch Changes

v4.1.66

Compare Source

Patch Changes
  • 5d0fc29: chore (ai): improve cosine similarity calculation

v4.1.65

Compare Source

Patch Changes
  • 16c444f: fix (ai): expose ai/mcp-stdio

v4.1.64

Compare Source

Patch Changes

v4.1.63

Compare Source

Patch Changes

v4.1.62

Compare Source

Patch Changes
  • c9ed3c4: feat: enable custom mcp transports
    breaking change: remove internal stdio transport creation

v4.1.61

Compare Source

Patch Changes

v4.1.60

Compare Source

Patch Changes
  • 0b8797f: feat (ai/core): expose response body for each generateText step

v4.1.59

Compare Source

Patch Changes
  • dd18049: fix (ai/core): suppress next.js warnings for node.js specific code path

v4.1.58

Compare Source

Patch Changes
  • e9897eb: fix (ai/core): move process access into functions and use globalThis

v4.1.57

Compare Source

Patch Changes
  • 092fdaa: feat (ai/core): add defaultSettingsMiddleware

v4.1.56

Compare Source

Patch Changes
  • 80be82b: feat (ai/core): add simulateStreamingMiddleware
  • 8109a24: fix (ai/core): limit node imports to types where possible

v4.1.55

Compare Source

Patch Changes

v4.1.54

Compare Source

Patch Changes
  • ee1c787: fix (ai/core): correct spread apply order to fix extract reasoning middleware with generateText

v4.1.53

Compare Source

Patch Changes

v4.1.52

Compare Source

Patch Changes
  • 5329a69: fix (ai/core): fix duplicated reasoning in streamText onFinish and messages

v4.1.51

Compare Source

Patch Changes
  • 0cb2647: feat (ai/core): add streamText sendStart & sendFinish data stream options

v4.1.50

Compare Source

Patch Changes
  • ae98f0d: fix (ai/core): forward providerOptions for text, image, and file parts

v4.1.49

Compare Source

Patch Changes
  • dc027d3: fix (ai/core): add reasoning support to appendResponseMessages

v4.1.48

Compare Source

Patch Changes

v4.1.47

Compare Source

Patch Changes

v4.1.46

Compare Source

Patch Changes

v4.1.45

Compare Source

Patch Changes
  • 93bd5a0: feat (ai/ui): add writeSource to createDataStream

v4.1.44

Compare Source

Patch Changes
  • f8e7df2: fix (ai/core): add startWithReasoning option to extractReasoningMiddleware

v4.1.43

Compare Source

Patch Changes
  • ef2e23b: feat (ai/core): add experimental repairText function to generateObject

v4.1.42

Compare Source

Patch Changes

v4.1.41

Compare Source

Patch Changes

v4.1.40

Compare Source

Patch Changes

v4.1.39

Compare Source

Patch Changes
  • 075a9a9: fix (ai): improve tsdoc on custom provider

v4.1.38

Compare Source

Patch Changes

v4.1.37

Compare Source

Patch Changes
  • c1e10d1: chore: export UIMessage type

v4.1.36

Compare Source

Patch Changes

v4.1.35

Compare Source

Patch Changes

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

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.


  • 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

socket-security bot commented Apr 9, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​openzeppelin/​hardhat-upgrades@​3.9.09910010088100
Added@​openzeppelin/​contracts-upgradeable@​5.3.010010010092100

View full report

@renovate renovate bot force-pushed the renovate/ai-4.x branch from c8b2b35 to 7d335ca Compare April 11, 2025 19:16
Copy link

socket-security bot commented Apr 11, 2025

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.

View full report

@renovate renovate bot force-pushed the renovate/ai-4.x branch 4 times, most recently from e6ae04c to 66e669c Compare April 16, 2025 22:53
@renovate renovate bot force-pushed the renovate/ai-4.x branch from 66e669c to 836685c Compare April 25, 2025 11:27
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