-
-
Notifications
You must be signed in to change notification settings - Fork 200
chore(deps): upgrade to [email protected] #2671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
❌ Deploy Preview for rspress-v2 failed. Why did it fail? →
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades React and React DOM from version 19.1.1 to 19.2.0 across the entire monorepo.
Key changes:
- Updates
react
andreact-dom
dependencies from^19.1.1
to^19.2.0
across all packages - Updates
peerDependencies
constraints in plugins from>=18.0.0
to^19.2.0
Reviewed Changes
Copilot reviewed 20 out of 21 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
packages/theme-default/package.json | Updates react and react-dom dependencies to 19.2.0 |
packages/runtime/package.json | Updates react and react-dom dependencies to 19.2.0 |
packages/plugin-typedoc/package.json | Updates react dev dependency to 19.2.0 |
packages/plugin-twoslash/package.json | Updates react dev dependency and peer dependency to 19.2.0 |
packages/plugin-rss/package.json | Updates react dev dependency to 19.2.0 |
packages/plugin-preview/package.json | Updates react and react-dom dev dependencies and react peer dependency to 19.2.0 |
packages/plugin-playground/package.json | Updates react and react-dom dev dependencies and react peer dependency to 19.2.0 |
packages/plugin-llms/package.json | Updates react dev dependency to 19.2.0 |
packages/plugin-client-redirects/package.json | Updates react dev dependency to 19.2.0 |
packages/plugin-api-docgen/package.json | Updates react and react-dom dev dependencies to 19.2.0 |
packages/plugin-algolia/package.json | Updates react dev dependency to 19.2.0 |
packages/core/package.json | Updates react and react-dom dependencies to 19.2.0 |
e2e/fixtures/search-hooks/package.json | Updates react dependency to 19.2.0 |
e2e/fixtures/search-algolia/package.json | Updates react dependency to 19.2.0 |
e2e/fixtures/react-19/package.json | Updates react and react-dom dependencies to 19.2.0 |
e2e/fixtures/plugin-preview/package.json | Updates react and react-dom dependencies to 19.2.0 |
e2e/fixtures/plugin-preview-custom-entry/package.json | Updates react and react-dom dependencies to 19.2.0 |
e2e/fixtures/plugin-playground/package.json | Updates react and react-dom dependencies to 19.2.0 |
e2e/fixtures/dynamic-toc/package.json | Updates react dependency to 19.2.0 |
e2e/fixtures/custom-plugin/package.json | Updates react and react-dom dependencies to 19.2.0 |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
"peerDependencies": { | ||
"@rspress/core": "workspace:^2.0.0-beta.34", | ||
"react": ">=18.0.0" | ||
"react": "^19.2.0" |
Copilot
AI
Oct 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The peer dependency constraint changed from >=18.0.0
to ^19.2.0
, which is a breaking change that forces consumers to use React 19.2.x specifically. This prevents the plugin from working with React 18.x or future React 19.x versions beyond 19.2.x. Consider keeping a broader range like >=19.0.0
or ^19.0.0
unless there's a specific requirement for 19.2.0.
"react": "^19.2.0" | |
"react": "^19.0.0" |
Copilot uses AI. Check for mistakes.
packages/plugin-preview/package.json
Outdated
"peerDependencies": { | ||
"@rspress/core": "workspace:^2.0.0-beta.34", | ||
"react": ">=18.0.0", | ||
"react": "^19.2.0", |
Copilot
AI
Oct 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The peer dependency constraint changed from >=18.0.0
to ^19.2.0
, which is a breaking change that forces consumers to use React 19.2.x specifically. This prevents the plugin from working with React 18.x or future React 19.x versions beyond 19.2.x. Consider keeping a broader range like >=19.0.0
or ^19.0.0
unless there's a specific requirement for 19.2.0.
"react": "^19.2.0", | |
"react": "^19.0.0", |
Copilot uses AI. Check for mistakes.
"peerDependencies": { | ||
"@rspress/core": "workspace:^2.0.0-beta.34", | ||
"react": ">=18.0.0", | ||
"react": "^19.2.0", |
Copilot
AI
Oct 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The peer dependency constraint changed from >=18.0.0
to ^19.2.0
, which is a breaking change that forces consumers to use React 19.2.x specifically. This prevents the plugin from working with React 18.x or future React 19.x versions beyond 19.2.x. Consider keeping a broader range like >=19.0.0
or ^19.0.0
unless there's a specific requirement for 19.2.0.
"react": "^19.2.0", | |
"react": "^19.0.0", |
Copilot uses AI. Check for mistakes.
16f37b9
to
5c00a4e
Compare
Summary
chore: upgrade to [email protected]
Related Issue
Checklist