-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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: update min node to v18 #2767
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets also include 16 since its still in maintenance until September
https://github.com/nodejs/Release/blob/main/README.md
Since v16 is out of active support I think it would be better to skip supporting it rather than require another major release in September. We can wait for v20 to come out before merging this. |
Are there other upcoming breaking changes we can batch this in with? Also note the PR title should change |
Any other options we can extract into extensions (perhaps by filling out Hooks?) |
Ya there are some easy ones that can be moved to extensions without adding hooks, like
Although with |
# [5.0.0](v4.3.0...v5.0.0) (2023-05-02) ### Bug Fixes * deprecate options ([#2766](#2766)) ([62d3312](62d3312)) * update min node to v18 ([#2767](#2767)) ([c6852f5](c6852f5)) ### Features * add block param to html renderer ([#2768](#2768)) ([fa21b9f](fa21b9f)) ### BREAKING CHANGES * deprecate options * minimum supported node version v18
Is there any code in |
The only code that I know of that requires node 18 is in our build system. Marked should work with node 12 still. This minimum node requirement just means we only test on node v18+ |
If you see something that doesn't work it would be ok to submit a PR to make it work with node 16. We just can't guarantee it will continue to work with node 16 |
Thanks. The |
No because we wouldn't be able to verify every change works with node 16. I think if you still need node v16 support it would be best for you to continue using marked v4. Node 16 eol is later this year. It should be fine for you to wait to update to marked v5 and drop node v16 support to after that. |
Yeah, we'll probably stick with marked 4. I'm curious what in the build process requires Node 18. If it's easy enough maybe I could make it support Node 16 as well |
Semantic release requires node v18 |
The minimum version requirement of node 18 is too aggressive. |
I sent a PR to lower the version in the
The release job only runs on the latest lts version of Node, so that won't block supporting older versions. We can still test |
Description
Update minimum node version to v18
Contributor
Committer
In most cases, this should be a different person than the contributor.