Skip to content

Conversation

@gr2m
Copy link
Collaborator

@gr2m gr2m commented Dec 3, 2025

},
"peerDependencies": {
"react": "^18 || ^19 || ^19.0.0-rc",
"react": "^18 || ~19.0.1 || ~19.1.2 || ^19.2.1",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

since the CVE is only related to server components, I don't think we need to update the peer dependency version range in the react package, rsc should suffice.

"zod": "3.25.76"
},
"peerDependencies": {
"react": "^18 || ^19 || ^19.0.0-rc",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it makes sense to drop support for 19-rc in ai v6. We can keep supporting it in v5 though

@gr2m gr2m requested a review from a team December 3, 2025 17:26
@gr2m gr2m added the bug Something isn't working as documented label Dec 3, 2025
@gr2m gr2m merged commit af65ab6 into main Dec 3, 2025
21 checks passed
@gr2m gr2m deleted the fix-rsc-react-versions branch December 3, 2025 18:03
vercel-ai-sdk bot pushed a commit that referenced this pull request Dec 3, 2025
@vercel-ai-sdk vercel-ai-sdk bot removed the backport label Dec 3, 2025
@vercel-ai-sdk
Copy link
Contributor

vercel-ai-sdk bot commented Dec 3, 2025

⚠️ Backport to release-v5.0 created but has conflicts: #10836

gr2m added a commit that referenced this pull request Dec 10, 2025
…025-55182 (#10836)

This is an automated backport of #10833 to the release-v5.0 branch.

---------

Co-authored-by: Gregor Martynus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/rsc bug Something isn't working as documented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants