Skip to content

Update dependency ai to v2.2.37 #512

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 v2.2.37 #512

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 -> 2.2.37 age adoption passing confidence

Release Notes

vercel/ai (ai)

v2.2.37

Compare Source

Patch Changes
  • a6b5764: Add support for Mistral's JavaScript SDK

v2.2.36

Compare Source

Patch Changes
  • 141f0ce: Fix: onFinal callback is invoked with text from onToolCall when onToolCall returns string

v2.2.35

Compare Source

Patch Changes
  • b717dad: Adding Inkeep as a stream provider

v2.2.34

Compare Source

Patch Changes
  • 2c8ffdb: cohere-stream: support AsyncIterable
  • ed1e278: Message annotations handling for all Message types

v2.2.33

Compare Source

Patch Changes
  • 8542ae7: react/use-assistant: add onError handler
  • 97039ff: OpenAIStream: Add support for the Azure OpenAI client library

v2.2.32

Compare Source

Patch Changes
  • 7851fa0: StreamData: add annotations and appendMessageAnnotation support

v2.2.31

Compare Source

Patch Changes
  • 9b89c4d: react/use-assistant: Expose setInput
  • 75751c9: ai/react: Add experimental_onToolCall to useChat.

v2.2.30

Compare Source

Patch Changes
  • ac503e0: ai/solid: add chat request options to useChat
  • b78a73e: Add GoogleGenerativeAIStream for Gemini support
  • 5220336: ai/svelte: Add experimental_onToolCall to useChat.
  • ef99062: Add support for the Anthropic message API
  • 5220336: Add experimental_onToolCall to OpenAIStream.
  • ac503e0: ai/vue: add chat request options to useChat

v2.2.29

Compare Source

Patch Changes
  • 5a9ae2e: ai/prompt: add experimental_buildOpenAIMessages to validate and cast AI SDK messages to OpenAI messages

v2.2.28

Compare Source

Patch Changes
  • 07a679c: Add data message support to useAssistant & assistantResponse.
  • fbae595: ai/react: api functions are no longer used as a cache key in useChat

v2.2.27

Compare Source

Patch Changes
  • aeaf1cd: fix missing systemInstruction in object-tool mode. The object-tool generation mode now properly includes system instructions in API requests, matching the behavior of regular and object-json modes
  • Updated dependencies [aeaf1cd]

v2.2.26

Compare Source

Patch Changes
  • df1ad33: ai/vue: Add complex response parsing and StreamData support to useChat
  • 3ff8a56: Add generateId to use-chat params to allow overriding message ID generation
  • 6c2a49c: ai/react experimental_useAssistant() submit can be called without an event
  • 8b4f7d1: ai/react: Add complex response parsing and StreamData support to useCompletion

v2.2.25

Compare Source

Patch Changes
  • 1e61c69: chore: specify the minimum react version to 18
  • 6aec2d2: Expose threadId in useAssistant
  • c2369df: Add AWS Bedrock support
  • 223fde3: ai/svelte: Add complex response parsing and StreamData support to useChat

v2.2.24

Compare Source

Patch Changes
  • 69ca8f5: ai/react: add experimental_useAssistant hook and experimental_AssistantResponse
  • 3e2299e: experimental_StreamData/StreamingReactResponse: optimize parsing, improve types
  • 70bd2ac: ai/solid: add experimental_StreamData support to useChat

Proper documentation for the new features will be ready in the near future, but in the meantime you can refer to this document and the accompanying example for the Assistants API, and this example for working with the new data API for vision.

Thanks @​lgrammel for the great work in this release!

v2.2.23

Compare Source

Patch Changes
  • 5a04321: add StreamData support to StreamingReactResponse, add client-side data API to react/use-chat

v2.2.22

Compare Source

Patch Changes
  • 4529831: ai/react: Do not store initialMessages in useState, patches a regression with initialMessages
  • db5378c: experimental_StreamData: fix data type to be JSONValue

v2.2.21

Compare Source

Patch Changes

v2.2.20

Compare Source

Patch Changes
  • 424d5ee: experimental_StreamData: fix trailing newline parsing bug in decoder
  • c364c6a: cohere: fix closing cohere stream, avoids response from hanging

v2.2.19

Compare Source

Patch Changes
  • 699552d: add experimental_StreamingReactResponse

v2.2.18

Compare Source

Patch Changes
  • 0bd27f6: react/use-chat: allow client-side handling of function call without following response

v2.2.17

Compare Source

Patch Changes
  • 5ed581d: Use interface instead of type for Message to allow declaration merging
  • 9adec1e: vue and solid: fix including function_call and name fields in subsequent requests

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.

@renovate renovate bot force-pushed the renovate/ai-2.x branch 10 times, most recently from 05510f9 to fdc3b67 Compare July 3, 2025 19:18
@renovate renovate bot force-pushed the renovate/ai-2.x branch from fdc3b67 to b08f1cc Compare July 4, 2025 16:30
Copy link

socket-security bot commented Jul 4, 2025

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Block High
[email protected] has a High CVE.

CVE: GHSA-jr5f-v2jv-69x6 axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL (HIGH)

Affected versions: >= 1.0.0 < 1.8.2; < 0.30.0

Patched version: 1.8.2

From: packages/core/solidity/src/environments/hardhat/upgradeable/package-lock.jsonnpm/@nomicfoundation/[email protected]npm/@openzeppelin/[email protected]npm/[email protected]

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@renovate renovate bot force-pushed the renovate/ai-2.x branch 3 times, most recently from d198889 to b00d3c7 Compare July 15, 2025 08:38
@renovate renovate bot force-pushed the renovate/ai-2.x branch 9 times, most recently from e4ad7b4 to de6016c Compare July 25, 2025 17:46
Copy link

socket-security bot commented Jul 25, 2025

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedhardhat@​2.25.094100909980
Added@​openzeppelin/​hardhat-upgrades@​3.9.19910010091100
Added@​openzeppelin/​contracts-upgradeable@​5.3.01009610096100

View full report

@renovate renovate bot force-pushed the renovate/ai-2.x branch 5 times, most recently from 01cb25a to cfb4cfe Compare July 31, 2025 11:36
@renovate renovate bot force-pushed the renovate/ai-2.x branch from cfb4cfe to af0c4ad Compare July 31, 2025 13:20
@renovate renovate bot requested a review from a team as a code owner July 31, 2025 13:20
@renovate renovate bot force-pushed the renovate/ai-2.x branch from af0c4ad to 8506c79 Compare July 31, 2025 14:24
@renovate renovate bot force-pushed the renovate/ai-2.x branch from 8506c79 to ac2b17e Compare August 4, 2025 13:47
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