Skip to content

Commit

Permalink
fix (ai/react): update React peer dependency version to allow rc rele…
Browse files Browse the repository at this point in the history
…ases (#3382)
  • Loading branch information
lgrammel authored Oct 28, 2024
1 parent f8bf94e commit 8301e41
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 43 deletions.
6 changes: 6 additions & 0 deletions .changeset/wicked-suns-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@ai-sdk/react': patch
'ai': patch
---

fix (ai/react): update React peer dependency version to allow rc releases.
2 changes: 1 addition & 1 deletion packages/ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
},
"peerDependencies": {
"openai": "^4.42.0",
"react": "^18 || ^19",
"react": "^18 || ^19 || ^19.0.0-rc",
"zod": "^3.0.0",
"sswr": "^2.1.0",
"svelte": "^3.0.0 || ^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"zod": "3.23.8"
},
"peerDependencies": {
"react": "^18 || ^19",
"react": "^18 || ^19 || ^19.0.0-rc",
"zod": "^3.0.0"
},
"peerDependenciesMeta": {
Expand Down
Loading

0 comments on commit 8301e41

Please sign in to comment.