Node.js v 4.0 has been released, combining Node.js and io.js into one single codebase for the first time.
The all-new Node.js contains many fresh ES6 features enabled by default, as well as V8 v4.5, with accompanying new features.
io.jsforked from its Node parent last December, with core members of the Node community dissatisfied with Joyent's Advisory board, and by Node's lack of releases. With these issues now resolved, and the two projects officially converged, the Node Foundation clearly lays out the improvements in the blog update " Node v4.0.0 (Stable) "
The Node.js project is now operated by a team of 44 collaborators, 15 of which form its Technical Steering Committee (TSC). Further, over 100 new individuals have been added to the list of people contributing code to core since v0.12.7...
Node.js v4 also brings a plan for long-term support (LTS) and a regular release cycle. Release versioning now follows SemVer, so expect increments of both minor and patch version over the coming weeks as we fix bugs and add features.
Mikeal Rogers -- community manager for the Node.js Foundation -- reports that idle memory usage in Node.js 4.0 is about a quarter what it was in 0.12.x.
The 4.0 release for Node,js updates V8 to version 184.108.40.206 from 220.127.116.11, implementing arrow functions, new
functions, and TypedArray prototype methods:
Asked about TJ Fontaine's comments earlier this year that Node.js "should not just be accepting newer version of V8 and pinning our release cycle to that portion of the upstream" Rogers said the V8 team was making important improvements to the runtime, with obvious benefits to Node.js users.
Rogers said that Node.js "recognise that the native module ecosystem can’t take new versions of V8 as fast as the V8 team produces them," but that they wouldn't want to stop adopting the benefits "any time soon."
Among other notable changes to Node 4.0 is an update to
. The Node.js Foundation report
operate asynchronously across all platforms, an optional callback parameter has been introduced that is invoked when the message has been sent.
This is a big win for us, it's a rarity when a fork reunites, but we've put a lot of work into making this happen.
Both communities from Node.js and io.js came together to contribute to this release and we had more contributors and companies helping us with this release than we've ever had, which is incredible given where we were a year ago.
We were able to build something really great without sacrificing our core values of the project, and we hope to continue with releasing more code, faster.
InfoQ readers looking to contribute to Node.js should visit the Working Groups list https://github.com/nodejs/io.js/blob/master/WORKING_GROUPS.md and read the contribution guide https://github.com/nodejs/io.js/blob/master/CONTRIBUTING.md .