Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/old-bulldogs-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@ai-sdk/react': patch
'@ai-sdk/rsc': patch
---

drop react 19-rc support. Require minimal versions for RSC to address CVE-2025-55182
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
"eslint-config-vercel-ai": "workspace:*",
"jsdom": "^24.0.0",
"msw": "2.6.4",
"react-dom": "^18 || ^19 || ^19.0.0-rc",
"react-dom": "^18 || ^19",
"tsup": "^7.2.0",
"typescript": "5.8.3",
"zod": "3.25.76"
},
"peerDependencies": {
"react": "^18 || ^19 || ^19.0.0-rc"
"react": "^18 || ^19"
},
"engines": {
"node": ">=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/rsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"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

"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 || ^4.1.8"
},
"peerDependenciesMeta": {
Expand Down
80 changes: 35 additions & 45 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading