Skip to content

Commit

Permalink
Allow React 19 prereleases as peer dependencies (#31638)
Browse files Browse the repository at this point in the history
Allow React 19 prereleases as a step toward supporting Next.js 15.

GitOrigin-RevId: e6143aa12858d85b3fb985785b21f4a2de2fdf96
  • Loading branch information
thomasballinger authored and Convex, Inc. committed Nov 19, 2024
1 parent d68d71b commit f0cd967
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 1.17.1

- Use local Prettier settings to format code in `convex/_generated` if found.
- Extend supported react and react-dom peerDependencies to include v19
prereleases. This is temporary, only stable React 19 releases will be
supported in the long term.
- Hook up Sentry reporting for local deployments, opted-into by
`npx convex dev --local`. This telemetry will be made configurable before this
feature is released more broadly. This is being called out here for
transparency regarding telemetry, but this `--local` feature is not yet ready
for general consumption. Please don't use it unless you're excited to help
test unfinished features and willing to have errors submitted to Convex.
- Don't try to bundle .txt or .md files in the convex/ directory.
- Don't include credentials in HTTP client requests.

## 1.17.0

- Disallow extra arguments to CLI commands.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@
"peerDependencies": {
"@auth0/auth0-react": "^2.0.1",
"@clerk/clerk-react": "^4.12.8 || ^5.0.0",
"react": "^17.0.2 || ^18.0.0",
"react-dom": "^17.0.2 || ^18.0.0"
"react": "^17.0.2 || ^18.0.0 || ^19.0.0-0",
"react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0-0"
},
"peerDependenciesMeta": {
"react": {
Expand Down

0 comments on commit f0cd967

Please sign in to comment.