Skip to content

chore!: minimum node version v20 #4415

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

chore!: minimum node version v20 #4415

wants to merge 3 commits into from

Conversation

escapedcat
Copy link
Member

@escapedcat escapedcat commented May 19, 2025

Preparing to drop node v18 here

* chore: minimum node version v20

BREAKING CHANGE: drop node v18 support
Copy link

codesandbox-ci bot commented May 19, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@escapedcat
Copy link
Member Author

Run yarn build
yarn run v1.22.22
error @commitlint/[email protected]: The engine "node" is incompatible with this module. Expected version ">=v20". Got "18.19.1"
error Commands cannot run with an incompatible environment.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

@knocte looks like Ubuntu 24.04 is shipping with node v18?
We usually drop a node version if it's out of maintenance.

But other releases are not LTS.
What's the best way to deal with this?

@escapedcat
Copy link
Member Author

Also tagging @kaiehrhardt @jeohist , sorry!
Happy for feedback.

@JounQin
Copy link
Collaborator

JounQin commented May 19, 2025

What features are we going to use which are only available in Node 20+?

@escapedcat
Copy link
Member Author

What features are we going to use which are only available in Node 20+?

Propably none? We used to switch versions when they ran out of maintenance. Should we not? Can also just leaves this as is for now.

@JounQin
Copy link
Collaborator

JounQin commented May 19, 2025

Personally I'd prefer supporting non LTS versions if there are no efforts required and no new great features we're going to use whenever possible for larger compatibility.

@escapedcat
Copy link
Member Author

Fair enough 👍

@escapedcat escapedcat marked this pull request as draft May 19, 2025 06:39
@knocte
Copy link
Contributor

knocte commented May 19, 2025

Personally I'd prefer supporting non LTS versions

Let's not be ambiguous. You don't mean "let's support non LTS versions", you mean "let's not support LTS versions".

@JounQin
Copy link
Collaborator

JounQin commented May 19, 2025

Let's not be ambiguous. You don't mean "let's support non LTS versions", you mean "let's not support LTS versions".

Your words are as always intense which I don't understand why. >=v18 includes >=v20 what means LTS versions are surely supported. Maybe I mean "let's not only support LTS versions".

@escapedcat
Copy link
Member Author

Sound like we agree with keeping v18 as long as if there's no good reason to upgrade.
I'll leave this as a draft PR.

@knocte
Copy link
Contributor

knocte commented May 20, 2025

I believe there is a misunderstanding here. When you mention "LTS" you're probably referring to NodeJS versions. However, I myself was referring to Ubuntu versions.

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

Successfully merging this pull request may close these issues.

3 participants