Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

drop support for node 12 #11210

Merged
merged 3 commits into from
Jun 7, 2022
Merged

drop support for node 12 #11210

merged 3 commits into from
Jun 7, 2022

Conversation

paul-marechal
Copy link
Member

@paul-marechal paul-marechal commented May 26, 2022

Keep supporting Node 14.x but recommend Node 16.x.

Closes #10013

How to test

Nothing should have changed. Everything should work like before with Node 14 or Node 16.

Review checklist

Reminder for reviewers

@paul-marechal
Copy link
Member Author

Related: #11198

@paul-marechal paul-marechal force-pushed the mp/drop-node-12 branch 3 times, most recently from 9eedce5 to 5bce35c Compare May 26, 2022 21:54
@paul-marechal
Copy link
Member Author

Turns out Node 18.x requires a glibc version greater than what's available on Ubuntu 18.04.

@paul-marechal paul-marechal force-pushed the mp/drop-node-12 branch 2 times, most recently from a2bdfe0 to 7322adb Compare May 26, 2022 22:00
@vince-fugnitto
Copy link
Member

We can probably close #10013 thanks to the changes.

@paul-marechal paul-marechal force-pushed the mp/drop-node-12 branch 2 times, most recently from da46468 to aeb9ab2 Compare May 27, 2022 15:56
@paul-marechal
Copy link
Member Author

Turns out Node 18.x uses ::1 as default address for its http servers now. This broke our test code by creating an invalid url.

I now explicitly set the default hostname to localhost in the BackendApplication.

@paul-marechal paul-marechal force-pushed the mp/drop-node-12 branch 2 times, most recently from 850c018 to 5b138c2 Compare May 30, 2022 14:56
@paul-marechal
Copy link
Member Author

I dropped trying to test on Node 18, it will require more investigation to get working.

@vince-fugnitto vince-fugnitto added the ci issues related to CI / tests label May 31, 2022
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

LGTM 👍 The build and tests pass successfully.

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Looks good to me as well 👍

Keep supporting Node 14.x but recommend Node 16.x.
@paul-marechal paul-marechal merged commit 677c90e into master Jun 7, 2022
@paul-marechal paul-marechal deleted the mp/drop-node-12 branch June 7, 2022 14:59
@github-actions github-actions bot added this to the 1.27.0 milestone Jun 7, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
ci issues related to CI / tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node 12 vs 14
3 participants