Release Server JavaScript Platform Node.js 16.0

took place Release Node.js 16.0 Platforms for performing network applications in JavaScript. Node.js 16.0 is assigned to branches with a long service life, but this status will be assigned only in October, after stabilization. Node.js 16.0 support will Exercise until April 2023. The accompaniment of the past LTS-branch Node.js 14.0 will last until April 2023, and before last LTS-branches 12.0 until April 2022. Maintenance LTS-bran 10.0 will be discontinued after 10 days.

Basic Improvements :

  • v8 updated to version 9.0 (Node.js 15 has been used release 8.6), which made it possible to implement in Node.js 16 such opportunities As the property “Indices” for regular expressions (includes an array with initial and final positions of coincidence groups),
    Atomics.waitasync (asynchronous version of atomics.wait), support for using the AWAIT keyword in the upper level modules. Accelerated Calling Functions, in a situation where the number of transmitted arguments does not correspond to the parameters defined in the function.
  • Stabilized API Timers Promises , providing an alternative set of functions for working with a timer that returns Promise objects to the output that Allows you to do without using util.promisify (). Import {setTimeout} from ‘Timers / Promises’; ASYNC FUNCTION RUN () {AWAIT SETTIMEOUT (5000); Console.log (‘Hello, World!’); } Run ();
  • An experimental implementation of the API Web Crypto , designed to perform basic cryptographic operations on the side of Web applications, such as manipulations With cryptographic hash, generation and verification of digital signatures, encoding and decoding data using various encryption methods, the formation of cryptographically reliable random numbers. The API also provides functions for generating keys and management of them.
  • N-API (API for add-on) updated to version 8.
  • exercised to a new issue of the NPM batch manager 7.10.
  • Stabilized the sale of class ABORTCONTROLLER based on the Web API abortcontroller and allows you to cancel signals in the selected API based on Promise.
  • Stabilized support for the third version of the source used to match the generated, processed or packaged modules with original source code.
  • For compatibility with outdated Web APIs added methods Buffer.atob (DATA) and Buffer.btoa (DATA).
  • The formation of assemblies for new Apple devices equipped with ARM chip M1.
  • on the Linux platform Requirements for the compiler version raised to GCC 8.3.
/Media reports.