|Node.js 8 Includes npm 5|
|Written by Kay Ewbank|
|Friday, 02 June 2017|
The reason this is necessary is that V8 5.9 of the JIT compiler is scheduled for release in early June. If the current compiler didn't have ABI compatibility, Node.js 8 would be almost instantly out of date regarding its runtime. The need to have long term compatibility was behind the delay in shipping Node.js 8.
The new experimental Node.js API (N-API) means that developers who use or create native addons will be able to compile their native addons once on a system then use them across multiple versions of Node.js.
The previously experimental WHATWG URL parser API has moved to be fully supported and non-experimental.
The Async_wrap module has been upgraded and renamed as async hooks. The API provides diagnostics that you can use to monitor the operation of the Node.js event loop, tracking asynchronous requests and handles through their complete lifecycle.
Other elements to be updated include the Buffer API, which has new construction methods, and better handling of the Buffer(num) constructor. There's improved support for Promises, and the start of support for static error codes.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Friday, 02 June 2017 )|