Skip to content

chore(deps): update dependency @ai-sdk/react to v3#1039

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ai-sdk-react-3.x
Open

chore(deps): update dependency @ai-sdk/react to v3#1039
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ai-sdk-react-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Dec 22, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change OpenSSF
@ai-sdk/react (source) dependencies major 2.0.1193.0.156 OpenSSF Scorecard

Release Notes

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

v3.0.156

Compare Source

Patch Changes
  • ai@​6.0.154

v3.0.155

Compare Source

v3.0.154

Compare Source

Patch Changes
  • Updated dependencies [d42076d]
    • ai@​6.0.152

v3.0.153

Compare Source

Patch Changes
  • ai@​6.0.151

v3.0.152

Compare Source

Patch Changes
  • Updated dependencies [1003609]
    • ai@​6.0.150

v3.0.151

Compare Source

Patch Changes
  • ai@​6.0.149

v3.0.150

Compare Source

Patch Changes
  • ai@​6.0.148

v3.0.149

Compare Source

Patch Changes

v3.0.148

Compare Source

Patch Changes
  • ai@​6.0.146

v3.0.147

Compare Source

Patch Changes
  • ai@​6.0.145

v3.0.146

Compare Source

Patch Changes

v3.0.145

Compare Source

Patch Changes
  • ai@​6.0.143

v3.0.144

Compare Source

Patch Changes
  • Updated dependencies [6f75953]
    • ai@​6.0.142

v3.0.143

Compare Source

Patch Changes
  • ai@​6.0.141

v3.0.142

Compare Source

Patch Changes
  • ai@​6.0.140

v3.0.141

Compare Source

Patch Changes
  • ai@​6.0.139

v3.0.140

Compare Source

Patch Changes
  • ai@​6.0.140

v3.0.139

Compare Source

Patch Changes
  • ai@​6.0.137

v3.0.138

Compare Source

Patch Changes
  • ai@​6.0.136

v3.0.137

Compare Source

Patch Changes
  • Updated dependencies [df6a330]
    • ai@​6.0.135

v3.0.136

Compare Source

Patch Changes
  • Updated dependencies [ed6876b]
    • ai@​6.0.134

v3.0.135

Compare Source

Patch Changes

v3.0.134

Compare Source

Patch Changes
  • Updated dependencies [28fd5a5]
    • ai@​6.0.132

v3.0.133

Compare Source

Patch Changes
  • Updated dependencies [14f25f9]
    • ai@​6.0.131

v3.0.132

Compare Source

Patch Changes
  • ai@​6.0.130

v3.0.131

Compare Source

Patch Changes
  • ai@​6.0.129

v3.0.130

Compare Source

Patch Changes
  • ai@​6.0.128

v3.0.129

Compare Source

Patch Changes
  • ai@​6.0.127

v3.0.128

Compare Source

Patch Changes
  • Updated dependencies [578615a]
    • ai@​6.0.126

v3.0.127

Compare Source

Patch Changes
  • ai@​6.0.125

v3.0.126

Patch Changes
  • ai@​6.0.124

v3.0.125

Patch Changes
  • ai@​6.0.125

v3.0.124

Compare Source

Patch Changes
  • ai@​6.0.122

v3.0.123

Compare Source

Patch Changes
  • ai@​6.0.121

v3.0.122

Compare Source

Patch Changes
  • Updated dependencies [78c0e26]
    • ai@​6.0.120

v3.0.121

Patch Changes
  • Updated dependencies [ab286f1]
  • Updated dependencies [d68b122]
    • ai@​6.0.119

v3.0.120

Patch Changes

v3.0.119

Patch Changes
  • Updated dependencies [d23121f]
    • ai@​6.0.117

v3.0.118

Patch Changes

v3.0.117

Compare Source

Patch Changes

v3.0.116

Compare Source

Patch Changes
  • Updated dependencies [2291047]
    • ai@​6.0.114

v3.0.115

Compare Source

Patch Changes
  • Updated dependencies [70d3980]
    • ai@​6.0.113

v3.0.114

Compare Source

Patch Changes
  • ai@​6.0.112

v3.0.113

Compare Source

Patch Changes
  • Updated dependencies [2129c82]
    • ai@​6.0.111

v3.0.112

Compare Source

Patch Changes
  • ai@​6.0.110

v3.0.111

Compare Source

Patch Changes
  • ai@​6.0.109

v3.0.110

Compare Source

Patch Changes
  • Updated dependencies [2a4f512]
    • ai@​6.0.108

v3.0.109

Compare Source

Patch Changes

v3.0.108

Compare Source

Patch Changes
  • ai@​6.0.106

v3.0.107

Compare Source

Patch Changes

v3.0.106

Compare Source

Patch Changes
  • ai@​6.0.104

v3.0.105

Compare Source

Patch Changes
  • ai@​6.0.103

v3.0.104

Compare Source

Patch Changes
  • ai@​6.0.102

v3.0.103

Compare Source

Patch Changes
  • Updated dependencies [5230482]
    • ai@​6.0.101

v3.0.102

Compare Source

Patch Changes
  • Updated dependencies [b7fba77]
    • ai@​6.0.100

v3.0.101

Compare Source

Patch Changes
  • ai@​6.0.99

v3.0.100

Compare Source

Patch Changes
  • ai@​6.0.98

v3.0.99

Compare Source

Patch Changes
  • Updated dependencies [ebfdad1]
    • ai@​6.0.97

v3.0.98

Compare Source

Patch Changes
  • Updated dependencies [30c9de6]
    • ai@​6.0.96

v3.0.97

Compare Source

Patch Changes
  • ai@​6.0.95

v3.0.96

Compare Source

Patch Changes
  • ai@​6.0.94

v3.0.95

Compare Source

Patch Changes
  • Updated dependencies [d3769ec]
    • ai@​6.0.93

v3.0.94

Compare Source

Patch Changes
  • ai@​6.0.92

v3.0.93

Compare Source

Patch Changes

v3.0.92

Compare Source

Patch Changes

v3.0.91

Compare Source

Patch Changes

v3.0.90

Compare Source

Patch Changes
  • 0967b6c: fix(provider/amazon-bedrock): transform bedrock/anthropic error responses to anthropic format

v3.0.89

Compare Source

Patch Changes

v3.0.88

Compare Source

Patch Changes
  • af256b7: fix(provider/amazon-bedrock): fix base64 decoding

v3.0.87

Compare Source

Patch Changes

v3.0.86

Compare Source

Patch Changes

v3.0.85

Compare Source

Patch Changes

v3.0.84

Compare Source

Patch Changes

v3.0.83

Compare Source

Patch Changes
  • Updated dependencies [ee4beee]
    • ai@​6.0.81

v3.0.82

Compare Source

Patch Changes
  • ai@​6.0.80

v3.0.81

Compare Source

Patch Changes
  • ai@​6.0.79

v3.0.80

Compare Source

Patch Changes
  • Updated dependencies [59fcf30]
    • ai@​6.0.78

v3.0.79

Compare Source

Patch Changes
  • ai@​6.0.77

v3.0.78

Compare Source

Patch Changes
  • ai@​6.0.76

v3.0.77

Compare Source

Patch Changes

v3.0.76

Compare Source

Patch Changes
  • Updated dependencies [471009b]
    • ai@​6.0.74

v3.0.75

Compare Source

Patch Changes
  • ai@​6.0.73

v3.0.74

Compare Source

Patch Changes
  • ai@​6.0.72

v3.0.73

Compare Source

Patch Changes
  • ai@​6.0.71

v3.0.72

Compare Source

Patch Changes
  • ai@​6.0.70

v3.0.71

Compare Source

Patch Changes
  • Updated dependencies [d659305]
    • ai@​6.0.69

v3.0.70

Compare Source

Patch Changes
  • Updated dependencies [8bf2660]
    • ai@​6.0.68

v3.0.69

Compare Source

Patch Changes

v3.0.68

Compare Source

Patch Changes

v3.0.67

Compare Source

Patch Changes
  • ai@​6.0.65

v3.0.66

Compare Source

Patch Changes

v3.0.65

Compare Source

Patch Changes
  • 94aed06: fix(anthropic): allow both temperature and topP for non-Anthropic models using the Anthropic-compatible API

    The temperature/topP mutual exclusivity check now only applies to known Anthropic models (model IDs starting with claude-). Non-Anthropic models using the Anthropic-compatible API (e.g. Minimax) can now send both parameters as required by their APIs.

v3.0.64

Compare Source

Patch Changes
  • 05b8ca2: feat (provider/anthropic): support passing metadata.user_id

v3.0.63

Compare Source

Patch Changes

v3.0.62

Compare Source

Patch Changes
  • Updated dependencies [5fc42fa]
    • ai@​6.0.60

v3.0.61

Compare Source

Patch Changes
  • ai@​6.0.61

v3.0.60

Compare Source

Patch Changes
  • Updated dependencies [5fc42fa]
    • ai@​6.0.60

v3.0.59

Compare Source

Patch Changes
  • Updated dependencies [65865d8]
    • ai@​6.0.57

v3.0.58

Compare Source

Patch Changes

v3.0.57

Compare Source

Patch Changes

v3.0.56

Compare Source

Patch Changes
  • e49c34d: feat(anthropic): expose anthropic.anthropicBeta to downstream providers
  • e49c34d: feat(anthropic): expose anthropic.anthropicBeta to downstream provider

v3.0.55

Compare Source

Patch Changes
  • 7531e72: fix(provider/anthropic): handle encrypted_code_execution_result for multi-turn with web_fetch/web_search 2026020

v3.0.54

Compare Source

Patch Changes
  • 0c9395b: feat(provider/openai): add gpt-5.3-codex

v3.0.53

Compare Source

Patch Changes
  • Updated dependencies [ea0feb5]
    • ai@​6.0.51

v3.0.52

Compare Source

Patch Changes

v3.0.51

Compare Source

Patch Changes
  • 8901054: feat(google): add new finishMessage field in providerMetadata

v3.0.50

Compare Source

Patch Changes

v3.0.49

Compare Source

Patch Changes
  • bc01093: fix(openai): support file-url parts in tool output content

v3.0.48

Compare Source

Patch Changes
  • 35c46d1: feat(provider/google): support multimodal content parts in embedding provider options

v3.0.47

Compare Source

Patch Changes
  • 17978c6: Pass cacheControl provider option as top-level cache_control in Anthropic API request body to support automatic caching.

v3.0.46

Compare Source

Patch Changes
  • ai@​6.0.44

v3.0.45

Compare Source

Patch Changes
  • Updated dependencies [2dc9bfa]
    • ai@​6.0.43

v3.0.44

Compare Source

Patch Changes
  • 23ac4a3: fix(provider/anthropic): minor follow up to support no-op speed standard

v3.0.43

Compare Source

Patch Changes

v3.0.42

Compare Source

Patch Changes
  • Updated dependencies [ab57783]
    • ai@​6.0.40

v3.0.41

Compare Source

Patch Changes

v3.0.40

Compare Source

Patch Changes

v3.0.39

Compare Source

Patch Changes
  • 0a0d29c: feat(anthropic): add support for Opus 4.6 fast mode

v3.0.38

Compare Source

Patch Changes

v3.0.37

Compare Source

Patch Changes
  • e288302: feat(anthropic): add support for Opus 4.6

v3.0.36

Compare Source

Patch Changes
  • 1652320: feat(anthropic): support custom tool-reference content for deferred tool loading

v3.0.35

Compare Source

Patch Changes

v3.0.34

Compare Source

Patch Changes
  • 4867635: feat (provider/gateway): add video generation support

v3.0.33

Compare Source

Patch Changes
  • 624e651: Added missing model IDs to OpenAIChatModelId, OpenAIResponsesModelId, OpenAIImageModelId, OpenAISpeechModelId, OpenAITranscriptionModelId, and OpenAICompletionModelId types for better autocomplete support.

v3.0.32

Compare Source

Patch Changes
  • 0c9395b: feat(provider/openai): add gpt-5.3-codex

v3.0.31

Compare Source

Patch Changes
  • d5f7312: fix(openai): change web search tool action to be optional

v3.0.30

Compare Source

Patch Changes
  • ff12133: feat(provider/openai): support native skills and hosted shell

v3.0.29

Compare Source

Patch Changes
  • e2ee705: feat: differentiate text vs image input tokens

v3.0.28

Compare Source

Patch Changes

v3.0.26

Compare Source

Patch Changes

v3.0.25

Compare Source

Patch Changes
  • 0bb9bcd: feat(provider/anthropic): add computer_20251124 tool for claude opus 4.5

v3.0.24

Compare Source

Patch Changes

v3.0.23

Compare Source

Patch Changes

v3.0.22

Compare Source

Patch Changes
  • 1524271: chore: add skill information to README files

v3.0.21

Compare Source

Patch Changes
  • 2c70b90: chore: update provider docs

v3.0.20

Compare Source

Patch Changes

v3.0.19

Compare Source

Patch Changes

v3.0.18

Compare Source

Patch Changes
  • Updated dependencies [d6ec0e2]
    • ai@​6.0.18

v3.0.17

Compare Source

Patch Changes
  • Updated dependencies [af0955e]
    • ai@​6.0.17

v3.0.16

Compare Source

Patch Changes
  • Updated dependencies [81adf59]
    • ai@​6.0.16

v3.0.15

Compare Source

Patch Changes
  • Updated dependencies [3a73fb3]
    • ai@​6.0.15

v3.0.14

Compare Source

Patch Changes

v3.0.13

Compare Source

Patch Changes

v3.0.12

Compare Source

Patch Changes

v3.0.11

Compare Source

Patch Changes
  • 891a60a: feat (provider/gateway): add provider-defined perplexity search

v3.0.10

Compare Source

Patch Changes
  • 2696fd2: chore(provider/gateway): Update gateway model settings files

v3.0.9

Compare Source

Patch Changes

v3.0.8

Compare Source

Patch Changes
  • 8ec1984: fix(gateway): bump @vercel/oidc to 3.1.0

v3.0.7

Compare Source

Patch Changes
  • 9a9ae73: feat(ai/rsc): readStreamableValue

v3.0.6

Compare Source

Patch Changes
  • ai@​6.0.6

v3.0.5

Compare Source

Patch Changes

v3.0.4

Compare Source

Patch Changes
  • ai@​6.0.4

v3.0.3

Compare Source

Patch Changes
  • c44166d: Add support for Amazon Nova Models, cross region inference profiles and OpenAI gpt-oss in @ai-sdk/amazon-bedrock provider
  • fbc9f06: feat(amazon-bedrock): add topK support

v3.0.2

Compare Source

Patch Changes

v3.0.1

Compare Source

Patch Changes

v3.0.0

Compare Source

Major Changes
Minor Changes
Patch Changes
  • 0c3b58b: fix(provider): add specificationVersion to ProviderV3

  • 4920119: fix the "incomplete_details" key from nullable to nullish for openai compatibility

  • 0adc679: feat(provider): shared spec v3

  • 92c6241: feat(openai): additional settings for file search tool

  • 88fc415: feat(openai): add the new provider 'apply_patch' tool

  • 817e601: fix(openai); fix url_citation schema in chat api

  • dae2185: fix(openai): extract meta data from first chunk that contains any

  • 046aa3b: feat(provider): speech model v3 spec

  • f1277fe: feat(provider/openai): send assistant text and tool call parts as reference ids when store: true

  • 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3

    Before

    model.textEmbeddingModel('my-model-id');

    After

    model.embeddingModel('my-model-id');
    `

Configuration

📅 Schedule: (UTC)

  • 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)
  • 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.

@renovate renovate bot added the dependencies Dependency updates label Dec 22, 2025
@github-actions github-actions bot added the qa:running QA workflow is currently running label Dec 22, 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:ready-for-review Pull request is ready for review qa:failed QA workflow failed and removed qa:running QA workflow is currently running labels Dec 22, 2025
@renovate renovate bot force-pushed the renovate/ai-sdk-react-3.x branch from d85e409 to a3e5647 Compare December 23, 2025 03:00
@github-actions github-actions bot added qa:running QA workflow is currently running qa:failed QA workflow failed and removed qa:failed QA workflow failed qa:running QA workflow is currently running labels Dec 23, 2025
@@ -17,7 +17,7 @@
},
"dependencies": {

This comment was marked as outdated.

Comment on lines 75 to 81

"@ai-sdk/provider-utils": ["@ai-sdk/provider-utils@3.0.19", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@standard-schema/spec": "^1.0.0", "eventsource-parser": "^3.0.6" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-W41Wc9/jbUVXVwCN/7bWa4IKe8MtxO3EyA0Hfhx6grnmiYlCvpI8neSYWFE0zScXJkgA/YK3BRybzgyiXuu6JA=="],

"@ai-sdk/react": ["@ai-sdk/react@2.0.118", "", { "dependencies": { "@ai-sdk/provider-utils": "3.0.19", "ai": "5.0.116", "swr": "^2.2.5", "throttleit": "2.1.0" }, "peerDependencies": { "react": "^18 || ~19.0.1 || ~19.1.2 || ^19.2.1", "zod": "^3.25.76 || ^4.1.8" }, "optionalPeers": ["zod"] }, "sha512-K/5VVEGTIu9SWrdQ0s/11OldFU8IjprDzeE6TaC2fOcQWhG7dGVGl9H8Z32QBHzdfJyMhFUxEyFKSOgA2j9+VQ=="],
"@ai-sdk/react": ["@ai-sdk/react@3.0.1", "", { "dependencies": { "@ai-sdk/provider-utils": "4.0.0", "ai": "6.0.1", "swr": "^2.2.5", "throttleit": "2.1.0" }, "peerDependencies": { "react": "^18 || ~19.0.1 || ~19.1.2 || ^19.2.1" } }, "sha512-XUPDMFgalNtqBQg+Q3UiiEmWE3PC5pAoc+Drs5Z1Mxqe57za+hKCEwViYADuqeZrc0q6PXTzbcFlQb3pjyGjcQ=="],

"@alloc/quick-lru": ["@alloc/quick-lru@5.2.0", "", {}, "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw=="],

This comment was marked as outdated.

@renovate renovate bot force-pushed the renovate/ai-sdk-react-3.x branch from a3e5647 to 2669bcb Compare December 23, 2025 14:56
@github-actions github-actions bot added qa:running QA workflow is currently running qa:failed QA workflow failed and removed qa:failed QA workflow failed qa:running QA workflow is currently running labels Dec 23, 2025
@renovate renovate bot force-pushed the renovate/ai-sdk-react-3.x branch from 2669bcb to ae32a47 Compare December 23, 2025 18:41
@github-actions github-actions bot added qa:running QA workflow is currently running and removed qa:failed QA workflow failed labels Dec 23, 2025
"@ai-sdk/openai": "2.0.88",
"@ai-sdk/react": "2.0.118",
"@ai-sdk/react": "3.0.3",
"@next/third-parties": "16.1.1",
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 ai package version in package.json is outdated, causing a synchronous call to the now-asynchronous convertToModelMessages() function. This will lead to a runtime error.
Severity: CRITICAL | Confidence: High

🔍 Detailed Analysis

The update of @ai-sdk/react to v3.0.3 introduces a transitive dependency on ai@6.0.3. However, package.json still specifies ai: "5.0.116". The newer version of the ai package includes a breaking change where convertToModelMessages() is now an asynchronous function. The code in src/app/api/chat/route.ts calls this function synchronously. This will cause streamText() to receive a Promise instead of the expected message array, leading to a runtime failure when a POST request is made to the /api/chat endpoint.

💡 Suggested Fix

Update the ai package version in package.json to ^6.0.3 to match the dependency of @ai-sdk/react. Then, modify the call to convertToModelMessages() in src/app/api/chat/route.ts to be asynchronous by adding await.

🤖 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#L21

Potential issue: The update of `@ai-sdk/react` to `v3.0.3` introduces a transitive
dependency on `ai@6.0.3`. However, `package.json` still specifies `ai: "5.0.116"`. The
newer version of the `ai` package includes a breaking change where
`convertToModelMessages()` is now an asynchronous function. The code in
`src/app/api/chat/route.ts` calls this function synchronously. This will cause
`streamText()` to receive a `Promise` instead of the expected message array, leading to
a runtime failure when a POST request is made to the `/api/chat` endpoint.

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

@github-actions github-actions bot added qa:failed QA workflow failed and removed qa:running QA workflow is currently running labels Dec 23, 2025
@renovate renovate bot force-pushed the renovate/ai-sdk-react-3.x branch from ae32a47 to 26e1210 Compare December 30, 2025 22:59
@github-actions github-actions bot added qa:running QA workflow is currently running qa:failed QA workflow failed and removed qa:failed QA workflow failed qa:running QA workflow is currently running labels Dec 30, 2025
@renovate renovate bot force-pushed the renovate/ai-sdk-react-3.x branch from 26e1210 to 6e79da9 Compare December 31, 2025 02:50
@github-actions github-actions bot removed the qa:failed QA workflow failed label Dec 31, 2025
@renovate renovate bot force-pushed the renovate/ai-sdk-react-3.x branch 16 times, most recently from 18ce936 to 83e83c0 Compare January 12, 2026 10:52
@renovate renovate bot force-pushed the renovate/ai-sdk-react-3.x branch 11 times, most recently from edee2ca to e848f4d Compare January 19, 2026 12:02
@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 31, 2026

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​ai-sdk/​react@​2.0.119 ⏵ 3.0.1559910074 +298100

View full report

@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 2, 2026

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

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates qa:running QA workflow is currently running status:ready-for-review Pull request is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants