3rd Party Repository: nodejs v012
Node.js v0.12 is finally here! But the incubation period has been particularly long, with the v0.11 branch diverging significantly from what we have been used to in v0.10. While serious attempts have been made to keep the Node.js API stable, there are some major changes that will cause upgrade pain for some. Most notably:
Streams3: the hybrid old/new approach of Streams2 has gone and we now simply have "flowing" and "not flowing" streams. While the external API should remain consistent, upgrade pain may come in the form of edge-cases.
HTTP Agent: instead of the somewhat arbitrary limit of 5 simultaneous connections per host for the HTTP client, the limit is now Infinity, which should improve performance and predictability. Unfortunately, heavy HTTP client users will likely run in to new errors when hitting operating system limits.
V8: while not obvious, changes to the way V8 executes your code may leave you with unexpected behaviour. Specifically, the performance profile will have changed and changes to the garbage collector may leave you with unexpected performance changes, memory use changes and even expose some bugs previously hidden due to assumptions of how the garbage collector works (this is particularly true for native addons).
Native (C++) Addons: here lies the biggest pain for upgrades to Node.js v0.12. During the v0.11 development cycle, V8 had a major overhaul of its C++ API. These significant changes were the inspiration for the NAN project which provides a compatibility layer between different versions of V8.
Download the the repository key with:
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Then setup the repository:
$ sudo sh -c "echo deb https://deb.nodesource.com/node_0.12 disco main \ > /etc/apt/sources.list.d/nodesource.list" $ sudo apt-get update $ sudo apt-get install nodejsMore info at: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
Most recent updates in nodejs v012 PPA (Disco)
|2019-04-21 03:58:01 UTC||nodejs||0.12.18-1nodesource1~xenial1|
Nodejs Versions in nodejs v012 PPA
UbuntuUpdates arbitrarily picked nodejs as the main package of this PPA.
|Package||Release||Latest Version||Latest Update|
|nodejs||disco||0.12.18-1nodesource1~xenial1||2019-04-21 03:58:01 UTC|
|nodejs||xenial||0.12.18-1nodesource1~xenial1||2016-12-22 01:10:49 UTC|
|nodejs||trusty||0.12.18-1nodesource1~trusty1||2016-12-22 01:10:48 UTC|
Packages in PPA for Disco
Deleted packages are displayed in grey.