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

Start soft deprecating Node 14 and document rolling policy #14965

Closed
pi0 opened this issue Sep 19, 2022 · 0 comments
Closed

Start soft deprecating Node 14 and document rolling policy #14965

pi0 opened this issue Sep 19, 2022 · 0 comments

Comments

@pi0
Copy link
Member

pi0 commented Sep 19, 2022

Context: https://github.com/nuxt/framework/discussions/1234

With Nuxt 3 docs, we are recommending using the active LTS version of Node.js which is 16.x currently. 14.x is getting EOL in approx ~7 months.

A lesson learned the hard way from Nuxt 2, keep supporting older versions of Node.js finally ends up being locked in with dependencies we cannot upgrade (https://github.com/nuxt/nuxt.js/blob/dev/renovate.json) welcoming security issues and so on. And in fact, it already started popping out for Nuxt 3 and our own dependencies that are tested against 16 LTS (example: unjs/giget#17).

Whether dropping support for an EOL version of Node.js should be considered breaking change or not is a long-time discussion across Node.js community and out of this issue's context but what at least we could do is do soft deprecation by warning to encourage users to migrate to the latest LTS. And also document about this strategy that we might drop support of EOL Node.js versions eventually in semver-minor considering all major platforms remain fully supported out of the box and start warning them ahead of the time about new LTS.


Appendix: Current Node.js releases:

image

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

No branches or pull requests

2 participants