Skip Navigation

Node v4.2.2 (LTS)

James M Snell

Notable changes

This is an LTS maintenance release that addresses a number of issues:

  • [1d0f2cbf87] - buffer: fix value check for writeUInt{B,L}E (Trevor Norris) #3500
  • [2a45b72b4a] - buffer: don't CHECK on zero-sized realloc (Ben Noordhuis) #3499
  • [a6469e901a] - deps: backport 010897c from V8 upstream (Ali Ijaz Sheikh) #3520
  • [cadee67c25] - deps: backport 8d6a228 from the v8's upstream (Fedor Indutny) #3549
  • [46c8c94055] - fs: reduced duplicate code in fs.write() (ronkorving) #2947
  • [0427cdf094] - http: fix stalled pipeline bug (Fedor Indutny) #3342
  • [2109708186] - lib: fix cluster handle leak (Rich Trott) #3510
  • [f49c7c6955] - lib: avoid REPL exit on completion error (Rich Trott) #3358
  • [8a2c4aeeaa] - repl: handle comments properly (Sakthipriyan Vairamani) #3515
  • [a04408acce] - repl: limit persistent history correctly on load (Jeremiah Senkpiel) #2356
  • [3bafe1a59b] - src: fix race condition in debug signal on exit (Ben Noordhuis) #3528
  • [fe01d0df7a] - src: fix exception message encoding on Windows (Brian White) #3288
  • [4bac5d9ddf] - stream: avoid unnecessary concat of a single buffer. (Calvin Metcalf) #3300
  • [8d78d687d5] - timers: reuse timer in setTimeout().unref() (Fedor Indutny) #3407
  • [e69c869399] - tls: TLSSocket options default isServer false (Yuval Brik) #2614

Known issues

  • Surrogate pair in REPL can freeze terminal. #690
  • Calling dns.setServers() while a DNS query is in progress can cause the process to crash on a failed assertion. #894
  • url.resolve may transfer the auth portion of the url when resolving between two full hosts, see #1435.

Commits

  • [1d0f2cbf87] - buffer: fix value check for writeUInt{B,L}E (Trevor Norris) #3500
  • [2a45b72b4a] - buffer: don't CHECK on zero-sized realloc (Ben Noordhuis) #3499
  • [dc655e1dd2] - build: rectify --link-module help text (P.S.V.R) #3379
  • [a6469e901a] - deps: backport 010897c from V8 upstream (Ali Ijaz Sheikh) #3520
  • [cadee67c25] - deps: backport 8d6a228 from the v8's upstream (Fedor Indutny) #3549
  • [1ebd35550b] - doc: fix typos in changelog (reggi) #3291
  • [fbd93d4c1c] - doc: more use-cases for promise events (Domenic Denicola) #3438
  • [6ceb9af407] - doc: remove old note, 'cluster' is marked stable (Balázs Galambosi) #3314
  • [a5f0d64ddc] - doc: createServer's key option can be an array (Sakthipriyan Vairamani) #3123
  • [317e0ec6b3] - doc: binary encoding is not deprecated (Trevor Norris) #3441
  • [b422f6ee1a] - doc: mention the behaviour if URL is invalid (Sakthipriyan Vairamani) #2966
  • [bc29aad22b] - doc: fix indent in tls resumption example (Roman Reiss) #3372
  • [313877bd8f] - doc: fix typo in changelog (Timothy Gu) #3353
  • [4be432862a] - doc: show keylen in pbkdf2 as a byte length (calebboyd) #3334
  • [23a1140ddb] - doc: add information about Assert behavior and maintenance (Rich Trott) #3330
  • [e04cb1e1fc] - doc: clarify API buffer.concat (Martii) #3255
  • [eae714c370] - doc: clarify the use of option.detached (Kyle Smith) #3250
  • [b884899e67] - doc: label v4.2.1 as LTS in changelog heading (Phillip Johnsen) #3360
  • [9120a04981] - docs: add missing shell option to execSync (fansworld-claudio) #3440
  • [46c8c94055] - fs: reduced duplicate code in fs.write() (ronkorving) #2947
  • [0427cdf094] - http: fix stalled pipeline bug (Fedor Indutny) #3342
  • [2109708186] - lib: fix cluster handle leak (Rich Trott) #3510
  • [f49c7c6955] - lib: avoid REPL exit on completion error (Rich Trott) #3358
  • [8a2c4aeeaa] - repl: handle comments properly (Sakthipriyan Vairamani) #3515
  • [a04408acce] - repl: limit persistent history correctly on load (Jeremiah Senkpiel) #2356
  • [5d1f1c5fa8] - src: wrap source before doing syntax check (Evan Lucas) #3587
  • [3bafe1a59b] - src: fix race condition in debug signal on exit (Ben Noordhuis) #3528
  • [fe01d0df7a] - src: fix exception message encoding on Windows (Brian White) #3288
  • [4bac5d9ddf] - stream: avoid unnecessary concat of a single buffer. (Calvin Metcalf) #3300
  • [117fb47a16] - stream: fix signature of _write() in a comment (Fábio Santos) #3248
  • [c563a34427] - test: split independent tests into separate files (Rich Trott) #3548
  • [3f62952d42] - test: add node::MakeCallback() test coverage (Ben Noordhuis) #3478
  • [6b75f10d8a] - test: use port number from env in tls socket test (Stefan Budeanu) #3557
  • [39ff44e94f] - test: fix heap-profiler link error LNK1194 on win (Junliang Yan) #3572
  • [a2786dd408] - test: fix missing unistd.h on windows (Junliang Yan) #3532
  • [5e6f7c9a23] - test: add regression test for --debug-brk -e 0 (Ben Noordhuis) #3585
  • [7cad182cb6] - test: port domains regression test from v0.10 (Jonas Dohse) #3356
  • [78d854c6ce] - test: remove util from common (Rich Trott) #3324
  • [c566c8b8c0] - test: remove util properties from common (Rich Trott) #3304
  • [eb7c3fb2f4] - test: split up buffer tests for reliability (Rich Trott) #3323
  • [b398a85e19] - test: parallelize long-running test (Rich Trott) #3287
  • [b5f3b4956b] - test: change call to deprecated util.isError() (Rich Trott) #3084
  • [32149cacb5] - test: improve tests for util.inherits (Michaël Zasso) #3507
  • [5be686fab8] - test: print helpful err msg on test-dns-ipv6.js (Junliang Yan) #3501
  • [0429131e32] - test: fix domain with abort-on-uncaught on PPC (Julien Gilli) #3354
  • [788106eee9] - test: cleanup, improve repl-persistent-history (Jeremiah Senkpiel) #2356
  • [ea58fa0bac] - test: add Symbol test for assert.deepEqual() (Rich Trott) #3327
  • [d409ac473b] - test: disable test-tick-processor - aix and be ppc (Michael Dawson) #3491
  • [c1623039dd] - test: harden test-child-process-fork-regr-gh-2847 (Michael Dawson) #3459
  • [3bb4437abb] - test: fix test-net-keepalive for AIX (Imran Iqbal) #3458
  • [af55641a69] - test: wrap assert.fail when passed to callback (Myles Borins) #3453
  • [7c7ef01e65] - test: skip test-dns-ipv6.js if ipv6 is unavailable (Junliang Yan) #3444
  • [a4d1510ba4] - test: repl-persistent-history is no longer flaky (Jeremiah Senkpiel) #3437
  • [a5d968b8a2] - test: fix flaky test-child-process-emfile (Rich Trott) #3430
  • [eac2acca76] - test: remove flaky status from eval_messages test (Rich Trott) #3420
  • [155c778584] - test: fix flaky test for symlinks (Rich Trott) #3418
  • [74eb632483] - test: apply correct assert.fail() arguments (Rich Trott) #3378
  • [0a4323dd82] - test: replace util with backtick strings (Myles Borins) #3359
  • [93847694ec] - test: add test-child-process-emfile fail message (Rich Trott) #3335
  • [8d78d687d5] - timers: reuse timer in setTimeout().unref() (Fedor Indutny) #3407
  • [e69c869399] - tls: TLSSocket options default isServer false (Yuval Brik) #2614
  • [0b32bbbf69] - v8: pull fix for builtin code size on PPC (Michael Dawson) #3474

Windows 32-bit Installer: https://nodejs.org/dist/v4.2.2/node-v4.2.2-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v4.2.2/node-v4.2.2-x64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v4.2.2/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v4.2.2/win-x64/node.exe
Mac OS X 64-bit Installer: https://nodejs.org/dist/v4.2.2/node-v4.2.2.pkg
Mac OS X 64-bit Binary: https://nodejs.org/dist/v4.2.2/node-v4.2.2-darwin-x64.tar.gz
Linux 32-bit Binary: https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-x86.tar.gz
Linux 64-bit Binary: https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-x64.tar.gz
SmartOS 32-bit Binary: https://nodejs.org/dist/v4.2.2/node-v4.2.2-sunos-x86.tar.gz
SmartOS 64-bit Binary: https://nodejs.org/dist/v4.2.2/node-v4.2.2-sunos-x64.tar.gz
ARMv6 32-bit Binary: https://nodejs.org/download/release/latest-v4.x/node-v4.2.2-linux-armv6l.tar.gz
ARMv7 32-bit Binary: https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-armv7l.tar.gz
ARMv8 64-bit Binary: https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-arm64.tar.gz
Source Code: https://nodejs.org/dist/v4.2.2/node-v4.2.2.tar.gz
Other release files: https://nodejs.org/dist/v4.2.2/
Documentation: https://nodejs.org/docs/v4.2.2/api/

Shasums (GPG signing hash: SHA512, file hash: SHA256):

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

17e60f59cfd40bd0a74f62106dfe2d6cf14aea53490c5e872fa7530138d0dfef  node-v4.2.2-darwin-x64.tar.gz
949fe7a06e097e1f1b15196020e4c0ef5f132b146b000811e59513de9d22a9ef  node-v4.2.2-darwin-x64.tar.xz
787a89963b9b0ea41f7d4964705ed3561d16d023e1b5aae80700f973ba7ec4e7  node-v4.2.2-headers.tar.gz
663c5a6fdc2c6abab7e8e528299f414a75b544d775c43aef2303272c8a3560bf  node-v4.2.2-headers.tar.xz
125b2236da6c0c7fed39b6652b3867646200c3fe7c9284df3f8ac07a84d39010  node-v4.2.2-linux-arm64.tar.gz
d51b08a018f91440658b077c7ea92296516208f008df66cebfc882086be9e2b0  node-v4.2.2-linux-arm64.tar.xz
dfe30ab4dbfb66c31259c0b176609f2dbace29f03d3cf12c5d8bee3dd25db035  node-v4.2.2-linux-armv6l.tar.gz
35015424950ec585f4c4f882f0433bd2b64111020c59075d4de19b34d1990a97  node-v4.2.2-linux-armv6l.tar.xz
2170dea2d74b6a1c5c82be6b93a9b84ad5a78cafa47415661095be2b358d964a  node-v4.2.2-linux-armv7l.tar.gz
7ce4aa955d98a1023b13c11175a8381db78fac0ea91d69ad9ec48f7f16993eec  node-v4.2.2-linux-armv7l.tar.xz
5c39fac55c945be3b8ac381a12bdbe3a64a9bdc5376d27e2ce0c72160eff5942  node-v4.2.2-linux-x64.tar.gz
8e08eb5da9d2ea14c5dcf268a09725f0e44ba3f03b2c549949a827f97f893611  node-v4.2.2-linux-x64.tar.xz
7fe7d716cf52db39fa0590885e2f39a0bdee9ecbba230621f042c8154e8100fe  node-v4.2.2-linux-x86.tar.gz
5b8e8a25faad1d4600c695df9887b6925eff8a9bb9151576f845fb3ab7e01fd2  node-v4.2.2-linux-x86.tar.xz
0b2ca2deecfeb37d23745c374c2332a11b291b58df8b39803c27b089c16bb1d2  node-v4.2.2.pkg
23d47dee4057a4105c53158b07c2362ad0e962332e9a939c841de9867e541da3  node-v4.2.2-sunos-x64.tar.gz
5dff7b74011335176af73e845e0f0aff2b21fb72e472bfa961c0269e0b7554c9  node-v4.2.2-sunos-x64.tar.xz
ed69c2a73a55100c044ae16f244119e889d502722ada7df8640793c1fb1a5195  node-v4.2.2-sunos-x86.tar.gz
9c433f01cb09f3bcd8a10646195bbe5b408bf329ca5e87b68477bcb590002968  node-v4.2.2-sunos-x86.tar.xz
00e709353435b436b5bbf5e62272ebb15fe801065422c4c2afe2b93456210cb1  node-v4.2.2.tar.gz
b016c3d2f434f86d8d3da9ad90ffb2fd35b32223e9081e3d4f67b8de0370ce69  node-v4.2.2.tar.xz
aee3b5506adcef036b5db4d2cbc978fe4de5786cdd4803fc65305482904c26fe  node-v4.2.2-x64.msi
84dcb146c2eef134643d47f9f772a6a3a84c5bb8d254cef223cb4df43698b7c9  node-v4.2.2-x86.msi
56b7acccf89d073b7e71ef73b19fcb02bc7ac23f3222528f1d36c0c83c114c9a  win-x64/node.exe
e73cbd09bac9338df5f5aea804358e36ae33af1a1664f1d9c6d6161801e3147c  win-x64/node.lib
ca722e26b0edc14043085e1a7794b1281b4cfacd11ae00a96d9009e97d8ecb0b  win-x86/node.exe
238388ba03873b40988e37a5f83867f9fb6dbe51a1c9f85e5fc371f555a3f648  win-x86/node.lib
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWORyQAAoJEHNBsVwHCHesJfMH/19SGfkAjguPYgfprKyG32jZ
rE9slmg0pz+VGEJCv+yepgvRBHfu0w9sxZ/TjBHg2ioh4ZgWNoLrZcTNmYvaqY/K
ifyLeoDcOSoXbYmqw8vZvKbGTpS7p10Bi9cNfr49YiE814RbdRulIDqKlcymxYIt
vecnX+X/ZiFBipIDmak1n582dikmFe5gPvwx5vCydKCo89l7Ja7XCLy484cEkQo/
aRHI0dnjwcC7+/EBXBhpGAM42ls4AcN5FtuUKgpUT609rcH0Z4SwKW3CShU3nDO1
IecVUMtE1G8uy4dmCFozpA2IXzGSoNSGIEWYAWNDbc8JtPMRyBhcBOUDox2utjY=
=0leN
-----END PGP SIGNATURE-----
Last Updated
Nov 03, 2015
Reading Time
5 min read
Contribute
Edit this page
Table of Contents
  1. Notable changes
  2. Known issues
  3. Commits