-
Notifications
You must be signed in to change notification settings - Fork 210
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
Drop Node@12, Node@14, Node@16 support #4777
Comments
Interesting note here, seems like the Node API is slightly different than the browser API... it would be good to keep this in mind when migrating: |
what is our support policy for browser versions? The browser API seems to be relatively new, let's make sure we support the versions we're promising to support. |
@aruniverse Electron is still running on Node 16 (version table). |
Aww man. Thanks for letting me know. Hopefully they'll have it updated by the time we release 4.0. If not we will need to continue supporting 16 then :/ Gytis, mind making an issue for the 4.0 backlog to drop electron support for the version electron doesn't support/maintain anymore based on that table? |
Looks like upcoming Electron 23 will be using Node 18 (DEPS file in Electron repo). Electron 23 should be coming out February 7. One think to keep in mind: if we decide to drop Node 16, we will need to drop all Electron versions what we will support in 3.6 and with no 3.7 in plans, with 4.0 we will jump versions like: "x - 22" to "23". Luckily, Electron major versions usually aren't very disruptive. |
We should probably update our matrix of supported platforms in docs/learning/SupportedPlatforms.md to break it down by major release. |
Should we also update our es target? right now we target es2019, but if we're saying we support node18+ then we could bump to es2021 or es2022. https://kangax.github.io/compat-table/es2016plus/ |
Upgrading to es2021 makes sense to me. Not sure about es2022: es2022 compatibility seems to be a bit "spotty" at the moment. |
when we start working on this task, id first drop 12 & 14, and then drop 16 a bit later |
PR for dropping Node 12 and Node 14: #5012. |
PR for dropping Node 16: #5077. |
See node support https://github.com/nodejs/release#release-schedule
Node12 reached end of life a while back
Node14 reaches end of life 4/30/23, which should be close enough to our hopeful 4.0 release
Node16 reaches end of life later this yr, was moved up due to OpenSSL
- instead of dropping it later in another major (which we don't know when it will be) get ahead and do it now
drop custom core-bentley guid in favor of using crypto.randomUUID (available both in node & web) ?crypto
is not available in browsers andCrypto
is only supported from Node 19.The text was updated successfully, but these errors were encountered: