The Node.js project recently pushed out a new stable version with the 0.10.0 release. This release supersedes the 0.8.x line and has a bunch of new features and enhancements. In particular, there’s a new Streams API you’ll probably want to check out. Also, the
domain module has been elevated to “unstable” status, so you can start checking it out for your error handling. A lot of people seem to use my node PPA to install node on their systems, so I wanted to make a quick note about performing this upgrade.
First, in response to various user requests, I’m still going to maintain and track the 0.8.x release. This will happen in my node.js-legacy PPA. I spoke to Isaac about doing this, and the idea is that I’ll keep tracking whatever the stable release behind “current” is. So when 0.12.0 comes out, the legacy PPA will upgrade to 0.10.x and 0.8.x will go away. Please be forewarned: you all have plenty of time to get and keep really old versions if you want to now going forward.
Also to note is that the
npm packages don’t exist anymore. The new
nodejs package contains everything that these separate packages used to, because
npm needs all the development files, and you’re not really using
node these days if you’re not using
npm. So we figured we’d just simplify things with the single package.
The upgrade will uninstall the previous versions, but
apt can be a bit obstinate about doing this. Instead of the usual
sudo apt-get update sudo apt-get upgrade
you will probably instead want to do something like
sudo apt-get update sudo apt-get -y dist-upgrade
apt know it’s okay to go ahead with things.
Please let me know if you run into any issues in the comments.