Node.js 20 Unleashed: New Security & Performance Breakthroughs!

  • April 20, 2023
  • 2 min read

Great news, folks! Node.js 20 has just been released, and we at DevPicker are excited to share some of the fantastic features it brings to the table. Launched on April 18, you can find this shiny new release labeled as "Current" on nodejs.org, packed with the latest and greatest innovations of the platform. Mark your calendars for October 24, when Node.js 20 will transition to LTS (long-term support) status, ensuring bug fixes for a minimum of 30 months.

One experimental feature that has caught our eye is the new permissions model in Node.js. This nifty addition lets developers limit access to specific resources like file systems, child processes, and worker threads. Simply enable this feature with the --experimental-permission flag and enjoy a new level of security for your applications.

What's more, Node.js 20 brings custom ECMAScript module loader hooks that now run on a dedicated, isolated thread. This fantastic improvement prevents any unwanted mingling between loaders and your app's code.

Here are some more noteworthy additions and changes in Node.js 20 we think you'll love:

  • Arm64 Windows users, rejoice! Node.js 20 binaries are now available for native execution on your platform.
  • The import.meta.resolve() function returns results in the blink of an eye, thanks to its new synchronous behavior. User loader resolve hooks can still be defined as async functions, though.
  • The test_runner module is now stable and ready to support your production needs.
  • Web Crypto API function arguments are now coerced and validated per their Web IDL definitions, improving compatibility with other API implementations.
  • WASI (WebAssembly System Interface) specifications are now required.
  • V8 JavaScript/WebAssembly engine gets an update to version 11.3, unlocking new JavaScript API capabilities, including WebAssembly Tail Call, Array and TypedArray modification methods, resizable ArrayBuffer, and growable SharedArrayBuffer.
  • Experience blazing-fast URL parsing with the integration of Ada 2.0, the latest version of the URL parser.
  • To view the full release notes for Node.js 20, please follow the link below

So, what are you waiting for? Head over to nodejs.org and try out Node.js 20 for yourself. We're confident you'll be just as thrilled as we are with the enhancements this version has to offer!

To view the full release notes for Node.js 20, click here.


Node.jsJavaScriptSecurityPerformanceECMAScriptUpdate