Skip to content
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

fix(react-hooks): update react peer dependency #151

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

JamesKEbert
Copy link
Contributor

This updates the React peer dependency to 18.0.0 as part of an effort to update Aries Bifold to newer versions of React Native.

This would be considered a breaking change according to Semver due to the peer dependency change (via semver/semver#502)

Signed-off-by: James Ebert <jamesebert.k@gmail.com>
@JamesKEbert JamesKEbert requested a review from a team as a code owner August 25, 2022 15:35
@@ -29,12 +29,12 @@
},
"devDependencies": {
"@aries-framework/core": "^0.2.0",
"react": "^17.0.2",
"react": "^18.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if we make it a semver range

E.g.:

>=17.0.0 <=19.0.0

or just

>=17.0.0

Then it doesn't have to be a breaking change

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any reason that would not work! You are a wise man Timo, this hadn't occurred to me 👏 I'll go ahead and update this shortly.

Signed-off-by: James Ebert <jamesebert.k@gmail.com>
@TimoGlastra TimoGlastra changed the title chore(react-hooks)!: update react peer dependency chore(react-hooks): update react peer dependency Aug 30, 2022
@TimoGlastra TimoGlastra changed the title chore(react-hooks): update react peer dependency fix(react-hooks): update react peer dependency Aug 30, 2022
@TimoGlastra
Copy link
Contributor

Marking it as fix as chore won't trigger a new release (and we're technically fixing an issue here :)

@TimoGlastra TimoGlastra merged commit b1e08b6 into main Aug 30, 2022
@TimoGlastra TimoGlastra deleted the chore/updateReactDep branch August 30, 2022 08:26
@JamesKEbert
Copy link
Contributor Author

Ahh thanks for catching the 'chore' vs 'fix' issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants