Node.js 0.10 Released
Streams are a core part of node.js and have undergone a significant change in 0.10. Streams provide a common interface to any type of readable or writeable data stream, abstracting over whether the stream is backed by a file, a running process or a socket. Before version 0.10, data packets were emitted as data events that started to arrive immediately when the stream was opened. A common problem was that data packages were missed, because they arrived before the program had a chance to start listening to the data event. While 0.10 still has a backward compatibility mode exposing this same behaviour, the recommended way is to listen to a readable event, and on arrival, to explicitly make a call to .read() to retrieve buffered data. As a result, it is much harder to miss data packets.
Before version 0.8 of node.js, the default behavior for an unhandled exception was for the entire server process to crash. To avoid this problem, and give more control over the behavior of unhandled exception, version 0.8 of node.js introduced an experimental version of domains. Domains are a mechanism to localize crashes. For instance, it is possible to create a domain for every incoming HTTP request. If any code that is attached to the HTTP request domain crashes, only the domain dies, not taking the entire server process down with it, thereby localizing the crash to just the single HTTP request. In 0.10 the status of domains has been elevated from "Experimental" to "Unstable" and fixes various edge cases and provides better debug information.
The node.js community has grown significantly over the past years and has seen increased interest from the enterprise. In response, companies such as The Node Firm and StrongLoop have launched that provide paid node.js support, training and consultancy. StrongLoop launched a beta of StrongLoop Node, a fully supported distribution of node.js that includes various popular modules, following a model similar to Typesafe in the Scala community.
Prebuilt binaries of the official node.js 0.10 release can be downloaded for all popular operating systems, including Windows, Mac, Linux and Solaris. Of course, as node.js is an open source project, its source code is available as well.
Ruslan Meshenberg Sep 21, 2014