-
Notifications
You must be signed in to change notification settings - Fork 8
feat: upgrade to React 19 and remove support for React < 18 #3818
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Upgrade all React dependencies to 19.2.1 - Update @types/react to 19.2.7 - Update peer dependencies to support React 18 and 19 only (^18.0.0 || ^19.0.0) - Remove support for React 16 and 17 - Fix JSX namespace issues for React 19 compatibility - Update all React-related packages across the monorepo BREAKING CHANGE: React 16 and 17 are no longer supported. Users must upgrade to React 18 or 19 before upgrading these packages.
🦋 Changeset detectedLatest commit: 5dfda2e The changes in this PR will be included in the next version bump. This PR includes changesets to release 41 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
- Declare a new intrinsic element 'fwc-person-provider' in the JSX namespace to enhance type safety and integration with React components. - This change facilitates the use of the custom element within React applications, ensuring proper type definitions for attributes and props. Signed-off-by: Odin Thomas Rochmann <[email protected]>
- Added additional assertions to the useObservableSelector test cases to verify observable state updates. - Ensured that the expected values are correctly asserted after observable changes, improving test reliability and clarity. Signed-off-by: Odin Thomas Rochmann <[email protected]>
Contributor
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
odinr
added a commit
that referenced
this pull request
Dec 4, 2025
* feat: upgrade to React 19 and remove support for React < 18 - Upgrade all React dependencies to 19.2.1 - Update @types/react to 19.2.7 - Update peer dependencies to support React 18 and 19 only (^18.0.0 || ^19.0.0) - Remove support for React 16 and 17 - Fix JSX namespace issues for React 19 compatibility - Update all React-related packages across the monorepo BREAKING CHANGE: React 16 and 17 are no longer supported. Users must upgrade to React 18 or 19 before upgrading these packages. * feat: extend JSX namespace for custom 'fwc-person-provider' element - Declare a new intrinsic element 'fwc-person-provider' in the JSX namespace to enhance type safety and integration with React components. - This change facilitates the use of the custom element within React applications, ensuring proper type definitions for attributes and props. Signed-off-by: Odin Thomas Rochmann <[email protected]> * test: enhance useObservableSelector tests for improved coverage - Added additional assertions to the useObservableSelector test cases to verify observable state updates. - Ensured that the expected values are correctly asserted after observable changes, improving test reliability and clarity. Signed-off-by: Odin Thomas Rochmann <[email protected]> --------- Signed-off-by: Odin Thomas Rochmann <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🧨 breaking changes
👨🏻🍳 cookbooks
🚀 feature
New feature or request
🧬 Modules
👾 React
🛠️ utils
packages related to utils
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
Why is this change needed?
React 19 has been released with new features and improvements. This PR upgrades all React-related packages to React 19 and removes support for React versions lower than 18 to simplify maintenance and align with React's support lifecycle.
What is the current behavior?
What is the new behavior?
^18.0.0 || ^19.0.0)Does this PR introduce a breaking change?
Yes, this is a breaking change. React 16 and 17 are no longer supported. Users must upgrade to React 18 or 19 before upgrading these packages.
Migration:
Additional context
Checklist