Node.js 10.0.0 is the seventh major Node.js version since the launch of the Node.js Foundation. In October of 2018, it will become the next Active Long Term Support branch. And now Node.js project announced that Node 10 has been released.
Node 10 has been released with the next updates:
- It uses V8 6.6 which improves `Function.prototype.toString()`, caches code after execution compiles bytecode on a background thread, offer async performance improvements for promises, Arrays, and more.
- the N-API (Native API) is now stable/non-experimental – this makes it easier to build native addons that can target Node generally rather than have to worry about V8 or version concerns, and essentially Node core can become ‘neutral’ to the engine behind it – more here.
- The Buffer constructor has been deprecated
- It adopts of standardized ‘error codes’
- OpenSSL 1.1 support – which means TLS 1.3 support soon
- Experimental promisified versions of `fs` functions in `fs/promises`
- Node 10 supports lots of new regex features
- HTTP/2 support, which will continue to be extended as 10.x progresses
- We can now use async iteration natively
- It comes with npm 5.6, but 6.0 is available if you want to try it
The full set of changes for the Node.js 10.0.0 release are detailed here.
Also, read about Node.js authentication tutorial mistakes.