Friday 18 May 2018

Node.js 10.0.0 is Available Now!

The Node.js project has recently released its latest version Node.js 10.0.0 on 24th April. It is the seventh major Node.js release since the launch of the Node.js Foundation. It is going to be the next Active Long Term Support(LTS) branch in October of 2018. So, it will be supported for next three years. Some of its key improvements include adding support for the OpenSSL 1.1.0 security toolkit. However, it focuses mainly on incremental improvements.
Being a point update, this version arrives with full support for N-API, LTS status to come, and more unique features.
In this blog, you will find some of the key updates of iOS 11.0.3 in details along with some major updates on its previous versions.
Click here to download its latest version.

While Node.js 10.0.0 ships with NPM 5.7, the 10.x line will be upgraded to NPM Version 6 later on; NPM 6 will offer performance, stability, and security improvements. In addition to its security support, some other features in the Node.js 10.0.0 release include the following:

1) With the adoption of error codes, there are error-handling improvements in order to ease constant error-checking.
2) N-API (API Node.js), which moves from a beta version to a stable one, and provides a stable module API independent of the changes in the V8 JavaScript engine underlying Node.js. The API helps the module maintainers and production implementations, facilitating updates.
3) Performance boosts via V8, including for the async generator and array.
4) An API in version 10.0.0 allows user code to enable and disable trace events on demand at runtime, for greater flexibility in diagnosing problems in applications.
5) Increased visibility into code performance issues via trace events, with the 10.0.0 release.
6) Improvements in the JavaScript language, including the prototype.toString (), which now returns exact segments of the source code text and mitigations for side channel vulnerabilities to prevent information leaks.

Read this: Top 10 Advantages of Using NodeJS

However, there are more features to come in the later versions of the Node.js 10.0.0. Some of these features are listed below:

– Better ECMAScript module support (ES) 6. Node.js has had its own module system, but ECMAScript 6 offers a standardized module system. The plan is to provide an ECMAScript 6 implementation compatible with the browser that coexists with the existing Node.js modules.
– HTTP/2, a higher-performing successor to HTTP.

Checkout the following Node.js 10.0.0 changelog:

Source: GitHub
Check out the complete Node.js 10 changelog and its new additions by clicking here.

Other efforts in the Node.js project, which are not directly related to the Node.js 10 or Node.js 11 launch lines, include:

–  Continued progress in security triage for third-party NPM modules.
– Functional tests for third-party modules, to ensure that dependencies are maintained.

The following characteristics are expected to reach Node.js 11.x:

– Better diagnostic capabilities, which is becoming a more important area since Node.js is increasingly used in production applications.
– The use of JavaScript promises in the core of Node.js provides a better adaptation for developers who want to use API type promise.
– Support for more construction/automation infrastructure, with additional support for tools and scripts. Support will be added for newer operating systems, while older operating systems would be discarded.