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

feat!: Dropped support for Node.js 16 #2394

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

bizob2828
Copy link
Member

Description

Removed Node 16 from CI, updated all relevant engine stanza

Related Issues

Closes #2313

Copy link
Contributor

@jsumners-nr jsumners-nr left a comment

Choose a reason for hiding this comment

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

Beat me to it! 😁

Just one question about the restify tests.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm confused by this one. Shouldn't we still run the tests for the >7 versions of restify?

Copy link
Member Author

Choose a reason for hiding this comment

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

Iirc there was a bug in 7 preventing it from running on versions of node > 16. They then fixed the issue in subsequent versions. I'll do some sleuthing but we're going to be updating the minimum version of restify to 11 in this release so it may be moot

Copy link
Member Author

Choose a reason for hiding this comment

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

ok yea so from versions 7-9 they didn't support node 18+. restify/node-restify#1906

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, but the change in this PR is only testing pre-7 and doing so on Node.js >=18. Unless I just can't read this change and package.json correctly.

Copy link
Member Author

Choose a reason for hiding this comment

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

right so restify worked on any node version up until 7. they broke it for any versions 18+ until 10. We will eventually remove the pre 7 tests but that'll be in a different ticket. Then we test on versions 10+ on 18+, that didn't change so the diff is hard to see the whole picture

@bizob2828 bizob2828 merged commit 1870010 into newrelic:next Jul 23, 2024
25 checks passed
@bizob2828 bizob2828 deleted the update-engines-to-18 branch July 23, 2024 16:11
@github-actions github-actions bot mentioned this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants