Node.js 7.6.0 tackles asynchronous operations
27 February 2017 | 0
With Node’s release strategy, odd-numbered releases like the 7.x line are short-lived but feature cutting-edge capabilities still in an experimental phase; even-numbered lines represent Long Term Support lines for enterprises to adopt.
Async/await handles asynchronous operations via the promises capability, which represents a value that may or not be available now or in the future. It resolves asynchronous operations like file and network I/O, and code can be written in a synchronous way while remaining asynchronous.
“This release includes upgrades to other dependencies bundled with Node.js as well as incremental improvements to Node.js core modules,” Mikeal Rogers, Node community manager, said. Also offered in Node.js 7.6 are updates to both libuv, which is a library for asynchronous I/O, and zlib, which offers compression.
The foundation this week also released versions 6.10 and 4.8 of the platform. The 6.10 release features APIs to check memory usage, while 4.8 offers statistics about heap sizes in V8 and adds Application-Layer Protocol Negotiation for cryptography. Both releases offer incremental improvements to LTS streams, introducing features that have already landed in a Node.js 7.x release. The Node.js project back-ports such features for a variety of reasons, but mostly because these are considered useful or important enough.
IDG News Service