-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Node 12 vs 14 #10013
Comments
I think it makes sense to update our lower bound to the active lts (node v14) to ensure we are compatible with vscode extensions which may make use of the newer APIs. It is also the version we use when publishing builtins: In general I think it would always be ideal to support newer lts versions which provide critical fixes. |
nodejs 12.x will soon reach EOL are there plans to upgrade to 14/16 as the minimal version? |
@bd82 Node 14 and 16 both work as of now:
But to make it nicer we need #10722, without it you need to pass |
@paul-marechal Given that we use Electron 15 now, and #10722 is resolved, should be bump our baseline of Node to 14? Perhaps at least as the recommended version in our documentation? |
@eclipse-theia/core
I came across feedback from VS Code extension developers targeting Node.js 14 having trouble with Theia since we are targeting Node.js 12. The gist is that VS Code now uses Electron 13.1.7 which embarks Node.js 14, meaning that the plugin host will also run on Node.js 14 so extensions can now use newer APIs which would fail in our Node.js 12 runtime.
This seems to indicate we should move the Node.js lower bound along with what VS Code uses?
If we want to still support older Node.js version, then we'd have to document how doing so might break VS Code extensions' expectations by using an older runtime?
See: rust-lang/rust-analyzer#10061
The text was updated successfully, but these errors were encountered: