Repository navigation
Conversation
|
@ShikaSD has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
| "repository": "github:facebook/react-native", | ||
| "engines": { | ||
| "node": ">=12" | ||
| "node": ">=14" |
There was a problem hiding this comment.
This will create a warning or error for users of RN with Node 12. Is it okay to make the breaking change yet?
There was a problem hiding this comment.
Also, why 14 and not 16?
There was a problem hiding this comment.
@NickGerleman I think it's ok to make it a breaking change, folks should be on current LTS (so 16).
@Saadnajmi it's 14 because on CircleCI we also have a job that tests against the previous LTS (14) hence why the requirement. You can see me bumping that nodeprevlts in this PR
There was a problem hiding this comment.
@NickGerleman I think it's ok to make it a breaking change, folks should be on current LTS (so 16).
Agree here. Plus the current Node version (non lts) is 17.
I think it's totally ok to drop Node 12 (maybe we should add a note in the Changelog for this).
There was a problem hiding this comment.
yeah let me change the changelog entry
There was a problem hiding this comment.
Seems like the changelog entry didn't sync properly, we might need to update this separately when building the changelog
There was a problem hiding this comment.
@ShikaSD interesting - is this because I changed the text of the PR body after the import process was started?
There was a problem hiding this comment.
I think we landed the previous version internally, so we didn't re-import the description
There was a problem hiding this comment.
gotcha - makes sense.
commented
Jan 28, 2022
|
This pull request was successfully merged by @kelset in f1488db. When will my fix make it into a release? | Upcoming Releases |
Summary
Node 16 has been the LTS for quite some time now (Oct 2021), so this PR just wants to bring the RN OSS CI up to speed.
(I realized that this was needed while doing the same for macos microsoft#997)
Changelog
[General] [Changed] - Breaking: moving minimum version of Node expected to 14, and move CI to current LTS(16).
Test Plan
CI itself is the test 🤣 locally no significant changes were experienced.