-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for React 19 as a peer dependency (#2188)
[React 19 now has a stable release](https://react.dev/blog/2024/12/05/react-19) and so we can expect to see third-party apps using it. Our packages specify that React ^18.2.0 is a supported peer dependency, but this excludes React 19. In initial testing it seems that our packages work with React 19, and so it should be listed as a valid peer dependency. The effect on third-party developers is that they will be able to use our packages with React 19 without receiving warnings or errors from their package manager, and without having to override those warnings or errors (e.g. by using `--force` or `--legacy-peer-deps` with `npm`). I've added a changeset for this, which can be used to version-bump the affected packages when this PR is accepted.
- Loading branch information
Showing
22 changed files
with
66 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
"@pcd/zk-eddsa-event-ticket-pcd-ui": patch | ||
"@pcd/semaphore-signature-pcd-ui": patch | ||
"@pcd/ethereum-ownership-pcd-ui": patch | ||
"@pcd/semaphore-identity-pcd-ui": patch | ||
"@pcd/semaphore-group-pcd-ui": patch | ||
"@pcd/ethereum-group-pcd-ui": patch | ||
"@pcd/zk-eddsa-frog-pcd-ui": patch | ||
"@pcd/passport-interface": patch | ||
"@pcd/eddsa-ticket-pcd-ui": patch | ||
"@pcd/eddsa-frog-pcd-ui": patch | ||
"@pcd/halo-nonce-pcd-ui": patch | ||
"@pcd/pod-ticket-pcd-ui": patch | ||
"@pcd/rsa-ticket-pcd-ui": patch | ||
"@pcd/rsa-image-pcd-ui": patch | ||
"@pcd/webauthn-pcd-ui": patch | ||
"@pcd/message-pcd-ui": patch | ||
"@pcd/passport-ui": patch | ||
"@pcd/eddsa-pcd-ui": patch | ||
"@pcd/email-pcd-ui": patch | ||
"@pcd/rsa-pcd-ui": patch | ||
"@pcd/zuauth": patch | ||
--- | ||
|
||
Add support for React 19 as a peer dependency |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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