Yesterday was a super exciting day for Node.js developers as Node.js foundation announced of Node.js 12 transitions to Long Term Support (LTS) with the release of Node.js 13.
As per the team, Node.js 12 becomes the newest LTS release along with version 10 and 8. This release marks the transition of Node.js 12.x into LTS with the codename ‘Erbium’. The 12.x release line now moves into “Active LTS” and will remain so until October 2020. Then it will move into “Maintenance” until the end of life in April 2022.
The new Node.js 13 release will deliver faster startup and better default heap limits. It includes updates to V8, TLS and llhttps and new features like diagnostic report, bundled heap dump capability and updates to Worker Threads, N-API, and more.
Key features in Node.js 13
Let us take a look at the key features included in Node.js 13.
V8 gets an upgrade to V8 7.8
Full ICU enabled by default in Node.js 13
As of Node.js 13, full-icu is now available as default, which means hundreds of other local languages are now supported out of the box. This will simplify development and deployment of applications for non-English deployments.
Stable workers API
Worker Threads API is now a stable feature in both Node.js 12 and Node.js 13. While Node.js already performs well with the single-threaded event loop, there are some use-cases where additional threads can be leveraged for better results.
New compiler and platform support
Node.js and V8 continue to embrace newer C++ features and take advantage of newer compiler optimizations and security enhancements. With the release of Node.js 13, the codebase will now require a minimum of version 10 for the OS X development tools and version 7.2 of the AIX operating system.
In addition to this there has been progress on supporting Python 3 for building Node.js applications. Systems that have Python 2 and Python 3 installed will still be able to use Python 2, however, systems with only Python 3 should now be able to build using Python 3.
Developers discuss pain points in Node.js 13
On Hacker News, users discuss various pain-points in Node.js 13 and some of the functionalities missing in this release. One of the users commented, “To save you the clicks: Node.js 13 doesn’t support top-level await. Node includes V8 7.8, released Sep 27. Top-level await merged into V8 on Sep 24, but didn’t make it in time for the 7.8 release.”
Read more: https://agilehorde.blogspot.com/2019/11/nodejs-13-releases-with-upgraded-v8.html