Paul Krill
Editor at Large

Node.js 7.6.0 tackles asynchronous operations

news
Feb 23, 20172 mins

The upgrade is experimental, so enterprises are advised to hold off on upgrading and wait for Node.js 8, due in April

node.js logo
Credit: Node.js

The Node.js Foundation this week has released Node.js 7.6.0, an experimental version of the server-side JavaScript platform that moves forward with async/await capabilities for handling asynchronous operations. But the Foundation advises enterprise users to skip using the new release in production and instead wait for Node.js 8 to arrive in April.

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.

While async/await had already been in the 7.x line, an update to version 5.5 of Google’s V8 JavaScript engine in release 7.6 means the feature is no longer behind a flag, which required special options to run it. But async/await remains an experimental feature.

“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.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author