Skip to content

chore(deps): update dependency @ai-sdk/react to v2.0.112#996

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/ai-sdk-react-2.x
Dec 11, 2025
Merged

chore(deps): update dependency @ai-sdk/react to v2.0.112#996
renovate[bot] merged 1 commit intomainfrom
renovate/ai-sdk-react-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 11, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
@ai-sdk/react (source) dependencies patch 2.0.109 -> 2.0.112 OpenSSF Scorecard

Release Notes

vercel/ai (@​ai-sdk/react)

v2.0.112

Patch Changes
  • ai@​5.0.110

v2.0.111

Compare Source

Patch Changes
  • Updated dependencies [427547a]
    • ai@​5.0.109

v2.0.110

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

@renovate renovate Bot added the dependencies Dependency updates label Dec 11, 2025
@renovate renovate Bot enabled auto-merge (squash) December 11, 2025 03:28
@github-actions github-actions Bot added the qa:running QA workflow is currently running label Dec 11, 2025
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@github-actions github-actions Bot added status:approved Pull request has been approved qa:success QA workflow passed successfully status:ready-for-review Pull request is ready for review status:mergeable Pull request is approved, tests pass, and ready to merge and removed qa:running QA workflow is currently running status:ready-for-review Pull request is ready for review status:approved Pull request has been approved labels Dec 11, 2025
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot force-pushed the renovate/ai-sdk-react-2.x branch from 0398710 to bee4ea8 Compare December 11, 2025 07:12
@renovate renovate Bot changed the title chore(deps): update dependency @ai-sdk/react to v2.0.111 chore(deps): update dependency @ai-sdk/react to v2.0.112 Dec 11, 2025
@github-actions github-actions Bot added qa:running QA workflow is currently running and removed qa:success QA workflow passed successfully labels Dec 11, 2025
Comment thread package.json
"dependencies": {
"@ai-sdk/openai": "2.0.80",
"@ai-sdk/react": "2.0.109",
"@ai-sdk/react": "2.0.112",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The direct ai dependency is 5.0.109, but @ai-sdk/react requires 5.0.110. This will cause two versions to be installed, leading to inconsistent behavior.
Severity: HIGH | Confidence: High

🔍 Detailed Analysis

The package.json specifies a direct dependency on ai@5.0.109, while the updated @ai-sdk/react package requires ai@5.0.110. This mismatch will cause the package manager to install both versions. Code that directly imports from ai, such as convertToModelMessages in src/app/api/chat/route.ts, will use version 5.0.109. Meanwhile, components like useChat from @ai-sdk/react will internally use version 5.0.110. This can lead to inconsistent behavior, particularly with features like providerMetadata preservation in tool calls, which was fixed in ai@5.0.105+. Using two different versions simultaneously could cause subtle bugs and data inconsistencies.

💡 Suggested Fix

Update the direct dependency for ai in package.json to match the version required by @ai-sdk/react. Change "ai": "5.0.109" to "ai": "5.0.110" to ensure a single, consistent version is used across the application.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L19

Potential issue: The `package.json` specifies a direct dependency on `ai@5.0.109`, while
the updated `@ai-sdk/react` package requires `ai@5.0.110`. This mismatch will cause the
package manager to install both versions. Code that directly imports from `ai`, such as
`convertToModelMessages` in `src/app/api/chat/route.ts`, will use version `5.0.109`.
Meanwhile, components like `useChat` from `@ai-sdk/react` will internally use version
`5.0.110`. This can lead to inconsistent behavior, particularly with features like
`providerMetadata` preservation in tool calls, which was fixed in `ai@5.0.105+`. Using
two different versions simultaneously could cause subtle bugs and data inconsistencies.

Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 7015606

@github-actions github-actions Bot added status:approved Pull request has been approved qa:success QA workflow passed successfully status:ready-for-review Pull request is ready for review status:mergeable Pull request is approved, tests pass, and ready to merge and removed status:mergeable Pull request is approved, tests pass, and ready to merge qa:running QA workflow is currently running status:ready-for-review Pull request is ready for review status:approved Pull request has been approved labels Dec 11, 2025
@renovate renovate Bot merged commit cfc7d53 into main Dec 11, 2025
10 checks passed
@renovate renovate Bot deleted the renovate/ai-sdk-react-2.x branch December 11, 2025 07:15
@github-actions github-actions Bot removed the status:mergeable Pull request is approved, tests pass, and ready to merge label Dec 11, 2025
@github-actions github-actions Bot added the status:merged Pull request has been merged label Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates qa:success QA workflow passed successfully status:merged Pull request has been merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants