Node v4.2.4 (LTS)

James M Snell

Notable changes

Node.js v4.2.4 is a Long Term Support Maintenance Update. There are a number of fixes and documentation updates.

  • Roughly 78% of the commits are documentation and test improvements
  • domains:
    • Fix handling of uncaught exceptions (Julien Gilli) #3884
  • deps:
    • Upgrade to npm 2.14.12 (Kat Marchán) #4110
    • Backport 819b40a from V8 upstream (Michaël Zasso) #3938
    • Updated node LICENSE file with new npm license (Kat Marchán) #4110

Known issues

  • Some problems with unreferenced timers running during beforeExit are still to be resolved. See #1264.
  • 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

  • [907a13a07f] - Add missing va_end before return (Ömer Fadıl Usta) #3565
  • [7ffc01756f] - buffer: fix writeInt{B,L}E for some neg values (Peter A. Bigot) #3994
  • [db0186e435] - buffer: let WriteFloatGeneric silently drop values (P.S.V.R)
  • [5c6740865a] - build: update signtool description, add url (Rod Vagg) #4011
  • [60dda70f89] - build: fix --with-intl=system-icu for x-compile (Steven R. Loomis) #3808
  • [22208b067c] - build: fix configuring with prebuilt libraries (Markus Tzoe) #3135
  • [914caf9c69] - child_process: add safety checks on stdio access (cjihrig) #3799
  • [236ad90a84] - child_process: don't fork bomb ourselves from -e (Ben Noordhuis) #3575
  • [f28f69dac4] - cluster: remove handles when disconnecting worker (Ben Noordhuis) #3677
  • [f5c5e8bf91] - cluster: send suicide message on disconnect (cjihrig) #3720
  • [629d5d18d7] - configure: v8_use_snapshot should be true (Fedor Indutny) #3962
  • [3094464871] - configure: use __ARM_ARCH to determine arm version (João Reis) #4123
  • [1e1173fc5c] - configure: respect CC_host in host arch detection (João Reis) #4117
  • [2e9b886fbf] - crypto: DSA parameter validation in FIPS mode (Stefan Budeanu) #3756
  • [00b77d9e84] - crypto: Improve error checking and reporting (Stefan Budeanu) #3753
  • [3dd90ddc73] - deps: upgrade to npm 2.14.12 (Kat Marchán) #4110
  • [51ae8d10b3] - deps: Updated node LICENSE file with new npm license (Kat Marchán) #4110
  • [9e1edead22] - deps: backport 819b40a from V8 upstream (Michaël Zasso) #3938
  • [a2ce3843cc] - deps: upgrade npm to 2.14.9 (Forrest L Norvell) #3686
  • [b140cb29f4] - dns: prevent undefined values in results (Junliang Yan) #3696
  • [8aafa2ecc0] - doc: standardize references to node.js in docs (Scott Buchanan) #4136
  • [72f43a263a] - doc: fix internal link to child.send() (Luigi Pinca) #4089
  • [dcfdbac457] - doc: reword https.Agent example text (Jan Krems) #4075
  • [f93d268dec] - doc: add HTTP working group (James M Snell) #3919
  • [beee0553ca] - doc: update WORKING_GROUPS.md - add missing groups (Michael Dawson) #3450
  • [3327415fc4] - doc: fix the exception description (yorkie) #3658
  • [da8d012c88] - doc: clarify v4.2.3 notable items (Rod Vagg) #4155
  • [44a2d8ca24] - doc: fix color of linked code blocks (jpersson) #4068
  • [bebde48ebc] - doc: fix typo in README (Rich Trott) #4000
  • [b48d5ec301] - doc: message.header duplication correction (Bryan English) #3997
  • [6ef3625456] - doc: replace sane with reasonable (Lewis Cowper) #3980
  • [c5be3c63f0] - doc: fix rare case of misaligned columns (Roman Reiss) #3948
  • [bd82fb06ff] - doc: fix broken references (Alexander Gromnitsky) #3944
  • [8eb28c3d50] - doc: add reference for buffer.inspect() (cjihrig) #3921
  • [4bc71e0078] - doc: clarify module loading behavior (cjihrig) #3920
  • [4c382e7aaa] - doc: numeric flags to fs.open (Carl Lei) #3641
  • [5207099dc9] - doc: clarify that fs streams expect blocking fd (Carl Lei) #3641
  • [753c5071ea] - doc: Adding best practises for crypto.pbkdf2 (Tom Gallacher) #3290
  • [8f0291beba] - doc: update WORKING_GROUPS.md to include Intl (Steven R. Loomis) #3251
  • [c31d472487] - doc: sort repl alphabetically (Tristian Flanagan) #3859
  • [6b172d9fe8] - doc: consistent reference-style links (Bryan English) #3845
  • [ffd3335e29] - doc: address use of profanity in code of conduct (James M Snell) #3827
  • [a36a5b63cf] - doc: reword message.headers to indicate they are not read-only (Tristian Flanagan) #3814
  • [6de77cd320] - doc: clarify duplicate header handling (Bryan English) #3810
  • [b22973af81] - doc: replace head of readme with updated text (Rod Vagg) #3482
  • [eab0d56ea9] - doc: repl: add defineComand and displayPrompt (Bryan English) #3765
  • [15fb02985f] - doc: document release types in readme (Rod Vagg) #3482
  • [29f26b882f] - doc: add link to [customizing util.inspect colors]. (Jesse McCarthy) #3749
  • [90fdb4f7b3] - doc: sort tls alphabetically (Tristian Flanagan) #3662
  • [39fa9fa85c] - doc: sort stream alphabetically (Tristian Flanagan) #3662
  • [e98e8afb2b] - doc: sort net alphabetically (Tristian Flanagan) #3662
  • [6de887483d] - doc: sort process alphabetically (Tristian Flanagan) #3662
  • [37033dcb71] - doc: sort zlib alphabetically (Tristian Flanagan) #3662
  • [9878034567] - doc: sort util alphabetically (Tristian Flanagan) #3662
  • [48fc765eb6] - doc: sort https alphabetically (Tristian Flanagan) #3662
  • [3546eb4f40] - doc: sort http alphabetically (Tristian Flanagan) #3662
  • [dedfb1156a] - doc: sort modules alphabetically (Tristian Flanagan) #3662
  • [71722fe1a1] - doc: sort readline alphabetically (Tristian Flanagan) #3662
  • [660062bf9e] - doc: sort repl alphabetically (Tristian Flanagan) #3662
  • [34b8d28725] - doc: sort string_decoder alphabetically (Tristian Flanagan) #3662
  • [3f3b9ed7d7] - doc: sort timers alphabetically (Tristian Flanagan) #3662
  • [af876ddc64] - doc: sort tty alphabetically (Tristian Flanagan) #3662
  • [3c2068704a] - doc: sort url alphabetically (Tristian Flanagan) #3662
  • [363692fd0c] - doc: sort vm alphabetically (Tristian Flanagan) #3662
  • [ca41b55166] - doc: sort querystring alphabetically (Tristian Flanagan) #3662
  • [f37ff22b9f] - doc: sort punycode alphabetically (Tristian Flanagan) #3662
  • [4d569607af] - doc: sort path alphabetically (Tristian Flanagan) #3662
  • [daa62447d1] - doc: sort os alphabetically (Tristian Flanagan) #3662
  • [0906f9a8bb] - doc: sort globals alphabetically (Tristian Flanagan) #3662
  • [6cd06c1319] - doc: sort fs alphabetically (Tristian Flanagan) #3662
  • [5b310f8d9e] - doc: sort events alphabetically (Tristian Flanagan) #3662
  • [782cb7d15b] - doc: sort errors alphabetically (Tristian Flanagan) #3662
  • [c39eabbec4] - doc: sort dgram alphabetically (Tristian Flanagan) #3662
  • [261e0f3a21] - doc: sort crypto alphabetically (Tristian Flanagan) #3662
  • [0e6121d04d] - doc: sort dns alphabetically (Tristian Flanagan) #3662
  • [435ffb79f7] - doc: sort console alphabetically (Tristian Flanagan) #3662
  • [28935a10d6] - doc: sort cluster alphabetically (Tristian Flanagan) #3662
  • [5e79dc4406] - doc: sort child_process alphabetically (Tristian Flanagan) #3662
  • [af0bf1a72c] - doc: sort buffer alphabetically (Tristian Flanagan) #3662
  • [f43a0330aa] - doc: sort assert alphabetically (Tristian Flanagan) #3662
  • [1bbc3b3ff8] - doc: add note on tls connection meta data methods (Tyler Henkel) #3746
  • [3c415bbb12] - doc: add note to util.isBuffer (Evan Lucas) #3790
  • [7b5e4574fd] - doc: add romankl to collaborators (Roman Klauke) #3725
  • [4f7c638a7a] - doc: add saghul as a collaborator (Saúl Ibarra Corretgé)
  • [523251270a] - doc: add thealphanerd to collaborators (Myles Borins) #3723
  • [488e74f27d] - doc: update lts description in the collaborator guide (James M Snell) #3668
  • [fe3ae3cea4] - doc: add LTS info to COLLABORATOR_GUIDE.md (Myles Borins) #3442
  • [daa10a345e] - doc: typo fix in readme.md (Sam P Gallagher-Bishop) #3649
  • [eca5720761] - doc: fix wrong date and known issue in changelog.md (James M Snell) #3650
  • [83494f8f3e] - doc: rename iojs-* groups to nodejs-* (Steven R. Loomis) #3634
  • [347fb65aee] - doc: fix crypto spkac function descriptions (Jason Gerfen) #3614
  • [11d2050d63] - doc: Updated streams simplified constructor API (Tom Gallacher) #3602
  • [6db4392bfb] - doc: made code spans more visible in the API docs (phijohns) #3573
  • [8a7dd73af1] - doc: added what buf.copy returns (Manuel B) #3555
  • [cf4b65c2d6] - doc: fix function param order in assert doc (David Woods) #3533
  • [a2efe4c72b] - doc: add note about timeout delay > TIMEOUT_MAX (Guilherme Souza) #3512
  • [d1b5833476] - doc: add caveats of algs and key size in crypto (Shigeki Ohtsu) #3479
  • [12cdf6fcf3] - doc: add method links in events.markdown (Alejandro Oviedo) #3187
  • [f50f19e384] - doc: stdout/stderr can block when directed to file (Ben Noordhuis) #3170
  • [b2cc1302e0] - docs: improve discoverability of Code of Conduct (Ashley Williams) #3774
  • [fa1ab497f1] - docs: fs - change links to buffer encoding to Buffer class anchor (fansworld-claudio) #2796
  • [34e64e5390] - domains: fix handling of uncaught exceptions (Julien Gilli) #3884
  • [0311836e7a] - meta: remove use of profanity in source (Myles Borins) #4122
  • [971762ada9] - module: cache regular expressions (Evan Lucas) #3869
  • [d80fa2c77c] - module: remove unnecessary JSON.stringify (Andres Suarez) #3578
  • [aa85d62f09] - net: add local address/port for better errors (Jan Schär) #3946
  • [803a56de52] - querystring: Parse multiple separator characters (Yosuke Furukawa) #3807
  • [ff02b295fc] - repl: don't crash if cannot open history file (Evan Lucas) #3630
  • [329e88e545] - repl: To exit, press ^C again or type .exit. (Hemanth.HM) #3368
  • [9b05905361] - src: Revert "nix stdin _readableState.reading" (Roman Reiss) #3490
  • [957c1f2543] - stream_wrap: error if stream has StringDecoder (Fedor Indutny) #4031
  • [43e3b69dae] - test: refactor test-http-exit-delay (Rich Trott) #4055
  • [541d0d21be] - test: fix cluster-disconnect-handles flakiness (Santiago Gimeno) #4009
  • [5f66d66e84] - test: don't check the # of chunks in test-http-1.0 (Santiago Gimeno) #3961
  • [355edf585b] - test: fix cluster-worker-isdead (Santiago Gimeno) #3954
  • [4e46e04002] - test: add test for repl.defineCommand() (Bryan English) #3908
  • [4ea1a69c53] - test: mark test flaky on FreeBSD (Rich Trott) #4016
  • [05b64c11f5] - test: mark cluster-net-send test flaky on windows (Rich Trott) #4006
  • [695015579b] - test: remove flaky designation from ls-no-sslv3 (Rich Trott) #3620
  • [abbd87b273] - test: mark fork regression test flaky on windows (Rich Trott) #4005
  • [38ba152a7a] - test: skip test if in FreeBSD jail (Rich Trott) #3995
  • [cc24f0ea58] - test: fix test-domain-exit-dispose-again (Julien Gilli) #3990
  • [b2f1014d26] - test: remove flaky status for cluster test (Rich Trott) #3975
  • [e66794fd30] - test: address flaky test-http-client-timeout-event (Rich Trott) #3968
  • [5a2727421a] - test: retry on smartos if ECONNREFUSED (Rich Trott) #3941
  • [dbc85a275c] - test: avoid test timeouts on rpi (Stefan Budeanu) #3902
  • [b9d7378d20] - test: fix flaky test-child-process-spawnsync-input (Rich Trott) #3889
  • [cca216a034] - test: move test-specific function out of common (Rich Trott) #3871
  • [fb8df8d6c2] - test: module loading error fix solaris #3798 (fansworld-claudio) #3855
  • [9ea6bc1e0f] - test: skip test if FreeBSD jail will break it (Rich Trott) #3839
  • [150f126618] - test: fix flaky SmartOS test (Rich Trott) #3830
  • [603a6f5405] - test: run pipeline flood test in parallel (Rich Trott) #3811
  • [4a26f74ee3] - test: skip/replace weak crypto tests in FIPS mode (Stefan Budeanu) #3757
  • [3f9562b6bd] - test: stronger crypto in test fixtures (Stefan Budeanu) #3759
  • [1f83eebec5] - test: increase crypto strength for FIPS standard (Stefan Budeanu) #3758
  • [7c5fbf7850] - test: add hasFipsCrypto to test/common.js (Stefan Budeanu) #3756
  • [f30214f135] - test: add test for invalid DSA key size (Stefan Budeanu) #3756
  • [9a6c9faafb] - test: numeric flags to fs.open (Carl Lei) #3641
  • [93d1d3cfcd] - test: refactor test-http-pipeline-flood (Rich Trott) #3636
  • [6c23f67504] - test: fix flaky test test-http-pipeline-flood (Devin Nakamura) #3636
  • [4e5cae4360] - test: use really invalid hostname (Sakthipriyan Vairamani) #3711
  • [da189f793b] - test: Fix test-cluster-worker-exit.js for AIX (Imran Iqbal) #3666
  • [7b4194a863] - test: fix test-module-loading-error for musl (Hugues Malphettes) #3657
  • [3dc52e99df] - test: fix test-net-persistent-keepalive for AIX (Imran Iqbal) #3646
  • [0e8eb66a78] - test: fix path to module for repl test on Windows (Michael Cornacchia) #3608
  • [3aecbc86d2] - test: add test-zlib-flush-drain (Myles Borins) #3534
  • [542d05cbe1] - test: enhance fs-watch-recursive test (Sakthipriyan Vairamani) #2599
  • [0eb0119d64] - tls: Use SHA1 for sessionIdContext in FIPS mode (Stefan Budeanu) #3755
  • [c10c08604c] - tls: remove util and calls to util.format (Myles Borins) #3456
  • [a558a570c0] - util: use regexp instead of str.replace().join() (qinjia) #3689
  • [47bb94a0c3] - zlib: only apply drain listener if given callback (Craig Cavalier) #3534
  • [4733a60158] - zlib: pass kind to recursive calls to flush (Myles Borins) #3534

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

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

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

3260412c210099b82a42316d614dec3313f4684a8ec63fca8684423675c37b0b  node-v4.2.4-darwin-x64.tar.gz
c0385cc23e931547b5f5c190eeaad18301c132ad6a81f70b82b1a41e6567e035  node-v4.2.4-darwin-x64.tar.xz
b1375e5296d0df6919fb1c3485d7174ac43a55a9507432d0e182c43c1cb5e3a0  node-v4.2.4-headers.tar.gz
33b9e7cf0ab9c93455e28b6df5aea852b1d99fc6e8a3af84eb5bc7cb093984e5  node-v4.2.4-headers.tar.xz
96b5d86ca677ddfa351289ea78a338f3a66ef57ceb485cdddb4798ae33e52a08  node-v4.2.4-linux-arm64.tar.gz
387981a1c8f8e6033c82f74f5552e15f021bbf94ab3d4d781651ae3ad0e62c7f  node-v4.2.4-linux-arm64.tar.xz
7d3645a032b56aefe1e1a023a6592b4900d4966312d034beac352bb833a74b60  node-v4.2.4-linux-armv7l.tar.gz
118be7c8c9894c37c86974a11cce2e659c64e4b265c69d5c6b046762300dc96f  node-v4.2.4-linux-armv7l.tar.xz
dcae0c0faf9841ef38953075e67ca477ef9d2ea7c14ac2221de2429813f83a62  node-v4.2.4-linux-x64.tar.gz
af71f7e5acd7a98fbc2d9a7a96a03d481d6d0bb77b9fe810c56a0fb3c68b088a  node-v4.2.4-linux-x64.tar.xz
39c0d90eb65f38f24a4cd2939212b655ea0e8685b92b7de6f407d0df5d6c261c  node-v4.2.4-linux-x86.tar.gz
f2d17bf370329293716ac5840b8839e2c161d23dd8343391489cefc82da79834  node-v4.2.4-linux-x86.tar.xz
2dff0a6e14ff25d7aa34b47f1863a0de61cd26918d0954055b783186a3a7614e  node-v4.2.4.pkg
0a90e813eb1e8bcbdbb55f9b3594f1a93e64bef710a7276bcf94dbf6de79e8f6  node-v4.2.4-sunos-x64.tar.gz
38fe0e73c11562d6f37d5b47831501077decc9363e110244773016b62b88e312  node-v4.2.4-sunos-x64.tar.xz
214178bc2dc35b96ff73c49f7908c509213aecf355859eb9a3f26a487959afaa  node-v4.2.4-sunos-x86.tar.gz
c2da2cc30de4cfab7e323e67c0dafd005df910c03e312d2676bbe5848ea380a4  node-v4.2.4-sunos-x86.tar.xz
4ee244ffede7328d9fa24c3024787e71225b7abaac49fe2b30e68b27460c10ec  node-v4.2.4.tar.gz
75cf0bb4b6bab5f864adaf3031d7c9757486dd00eadda4b8c51c40881451fae0  node-v4.2.4.tar.xz
1b645f3c2ebefeba0ec21de94435878f5f4d885a41725d3b349da4c8d78cf4b8  node-v4.2.4-x64.msi
c7c9ab4a1917add9289230805cc070c9daf383eecfe77540ee7ae31218bdbec3  node-v4.2.4-x86.msi
761c1f14f34231bf184fc2a7a65ab2fbed4a57940e040ea74173e5882abe7f64  win-x64/node.exe
a6c638bdf4d46c74d230bd99858de9e6b1da59f1176bc49234727daec1d61a46  win-x64/node.lib
0c32e6dfdf483d8dd72cb017978b643e02578e537a94c545a78415275b5dab17  win-x86/node.exe
aa1af8ba2c4545518962100b700532f3ed7dbf373b1f1ec45285c3bc94295e36  win-x86/node.lib
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWetOlAAoJEHNBsVwHCHesch8IAJBeFs4XFV0fwbSri5emiAvb
Z/2KjZ4wPHWYzp2ytSpq9aFnTlO3RAzFmwSANxbhTA26eZyEqMuI5j4KfTG8X67n
0+dAWAmOIQGwdd/n4Z/IWlQuGWDrL/ZEJkRsaF/ZBR+KE/j9iqgRzxoXx4GsTqV3
qXSH9XBZyrA66FMcRcG/Ce4gqNtJ17Ckm3QvfSuKq/PQt9ntPYmTpACdgE3WXn+i
pWwILoUlnNKwEdLRIGL+uJXJz6EmQhoWu5LHXUtEtr++tN8/PgPwHNhLMZTk+VKi
aq9TqTPQASxd3RWT+2PGF1/orqEw+qlGFC3bdnEDnZKJuX5TUvj+JeVohs7S8r0=
=Lc6h
-----END PGP SIGNATURE-----

Last Updated
Dec 23, 2015
Reading Time
9 min read
Contribute
Edit this page
Table of Contents
  1. Notable changes
  2. Known issues
  3. Commits