You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently have node 10 as the minimum version. Here are some end of life dates for node versions:
Node 10 EOL since 30 Apr 2021.
Node 12 EOL since 30 Apr 2022
Node 14 EOL since 30 Apr 2023
Node 16 EOL since 11 Sep 2023
Node 18 EOL will be 30 Apr 2025
I think node 10 is too old at this point and we should move the minimum version up. The question is where in that list we want to set the minimum version and more generally, what the support window should be. For example, maybe we drop each version one year after its end of life? For practical purposes, I think node 16 as a minimum version would be quite helpful because it supports wasm bigint by default.
To clarify, this is about the minimum version of node that we support in the generated node (i.e. the minimum value for MIN_NODE_VERSION) which is separate from the minimum version of node needed to run emscripten itself.
When considering which versions of node that we want to support I think it is important to look at what versions of node our users have on their systems (regardless of what the node foundation says is end of life).
Also, node that we will need to continue to support -sWASM_BIGINT=0 as long as we support any browser that doesn't support wasm/bigint integration.. which means I think that option will be around for a long time stll.
Also note that the default MIN_NODE_VERSION is already v16 for this reason. Its own lowered when LEGACY_VM_SUPPORT is enabled or when MIN_NODE_VERSION is explicitly set.
We currently have node 10 as the minimum version. Here are some end of life dates for node versions:
I think node 10 is too old at this point and we should move the minimum version up. The question is where in that list we want to set the minimum version and more generally, what the support window should be. For example, maybe we drop each version one year after its end of life? For practical purposes, I think node 16 as a minimum version would be quite helpful because it supports wasm bigint by default.
xref #23316.
The text was updated successfully, but these errors were encountered: