The release is the initially to ship with prebuilt binaries for Apple Silicon. Though Node.js will offer independent tarballs for the Intel and Arm architectures, the MacOS installer will be delivered as a “fat” (multi-architecture) binary. Node.js sixteen follows the Oct 2020 release of Node.js fifteen.
Other new functions and enhancements in Node.js sixteen:
- The Timers Claims API is secure, giving an choice established of timer features that return Assure objects, eliminating the need to use
- Options developed as component of latest Node.js fifteen releases that are now in Node.js sixteen contain Node-API model eight, Stable Resource Maps v3, and web platform atob (
buffer.atob(data)) and btoa (
buffer.btoa(data)) implementations for compatibility with legacy web platform APIs.
- Notable deprecations contain the runtime deprecation of obtain to
procedure.binding()for a number of main modules, these kinds of as
Node.js sixteen is downloadable from nodejs.org or by applying Node Version Manager on Unix to set up with
nvm set up sixteen. Node.js sixteen replaces Node.js fifteen as the latest release line, with Node sixteen staying as the latest release for the future six months and then promoted to long-term guidance in Oct. When promoted to long-term guidance, the release will be specified with the codename, “Gallium.” Conclude-of-lifestyle for Node.js sixteen.x is slated for April 30, 2024.
Node.js 12, meanwhile, will be supported right until April 2022 and Node.js fourteen will keep on being in long-term guidance right until April 2023.
On Linux-based mostly platforms, the least GCC (Gnu C Compiler) amount for constructing Node.js sixteen will be GCC eight.3. Information about supported toolchains and compilers can be found in the Setting up.md file.
Copyright © 2021 IDG Communications, Inc.