Node.js v6.2.2 Release Brief
This week’s Current release is a relatively small patch while we wait for the security fixes due next week. Some http fixes and an npm upgrade are the only notable things.
As with all releases within major version lines, minor and patch upgrades should be drop-in replacements for previous versions.
Overview
Of a total of 63 commits:
- 29 were documentation-only commits.
- 11 only modify tests and 2 only affect internal tooling.
- 1 dependency was updated:
- npm @ 3.9.5 (Kat Marchán) #7139
The remaining significant commits are as follows:
- [
d71ede8113
] - benchmark: don't convert arguments to numbers (Brian White) #6570 - [
32f76983e2
] - benchmark: increase http token check iterations (Brian White) #6570 - [
23a495a9a9
] - benchmark: add benchmark forurl.format()
(Rich Trott) #7250 - [
27ed7fc56c
] - benchmark: fixchild-process-exec-stdout
on Windows (Bartosz Sosnowski) #7178 - [
5e5af8b4bb
] - benchmark: fixchild-process-read
on Windows (Bartosz Sosnowski) #6971 - [
d24e4095bf
] - benchmark: add benchmark forBuffer.concat()
(Anna Henningsen) #7054 - [
666b6f9302
] - build: addREPLACEME
tag for version info in docs (Ben Noordhuis) #6864 - [
6d3d2d1ae4
] - cluster: don't send messages if no IPC channel (Santiago Gimeno) #7132 - [
068718c91c
] - debugger: remove obsoletesetTimeout()
(Rich Trott) #7154 - [
2961f06f6f
] - debugger: fix--debug-brk
interaction with-e
(Rich Trott) #7089 - [
1600966f59
] - fs: executemkdtemp()
's callback with no context (Sakthipriyan Vairamani) #7068 - [
ad1045c829
] - http: fix no dumping aftermaybeReadMore()
(Fedor Indutny) #7211 - [
2a462ba1e2
] - http: optimizecheckInvalidHeaderChar()
(Brian White) #6570 - [
4a63be031f
] - http: optimizecheckIsHttpToken()
(Brian White) #6570 - [
40e49dee82
] - http: wait for bothprefinish
/end
tokeepAlive
(Fedor Indutny) #7149 - [
e8c91e7557
] - repl: refine handling of illegal tokens (Rich Trott) #7104 - [
cf0928ccb7
] - src: clean upstring_search
(Brian White) #7174 - [
b0225e5926
] - stream: ensureawaitDrain
is increased once (David Halls) #7292 - [
9c6b69ec1b
] - stream: resetawaitDrain
after manual.resume()
(Anna Henningsen) #7160 - [
798a737f45
] - Revert "test: changeduration_ms
toduration
" (Rod Vagg) #7216
Notable Changes
- http:
- Fixed a bug where
req.read(0)
could cause incoming connections to stall and time out under certain conditions. (Fedor Indutny) #7211 - When freeing the socket to be reused in
keep-alive
Agent
, wait for bothprefinish
andend
events. (Fedor Indutny) #7149 - This is to prevent the next request from being written before the previous one has finished sending the body, leading to parser errors.
- Fixed a bug where
- npm: upgrade npm to 3.9.5 (Kat Marchán) #7139
Git Diffstats
(Showing the delta between v6.2.1 and v6.2.2, ignoring deps/npm
.)
Without deps, docs, benchmarks, or tests:
Makefile | 10 +++-
lib/_debugger.js | 8 +--
lib/_http_client.js | 27 ++++++++--
lib/_http_common.js | 114 +++++++++++++++++++++++++--------------
lib/_http_incoming.js | 9 ++++
lib/_stream_readable.js | 10 +++-
lib/cluster.js | 3 ++
lib/fs.js | 4 +-
lib/internal/bootstrap_node.js | 59 +++++++++++---------
lib/repl.js | 18 +++++--
src/node_version.h | 2 +-
src/string_search.h | 18 ++-----
tools/license-builder.sh | 12 ++++-
tools/test.py | 2 +
14 files changed, 195 insertions(+), 101 deletions(-)
Docs only:
.github/PULL_REQUEST_TEMPLATE.md | 10 +-
CHANGELOG.md | 3 +-
CONTRIBUTING.md | 6 +
GOVERNANCE.md | 2 +-
LICENSE | 4 +-
README.md | 4 +-
doc/api/cluster.md | 3 -
doc/api/console.md | 4 +-
doc/api/dns.md | 48 +
doc/api/fs.md | 19 +-
doc/api/http.md | 16 +-
doc/api/net.md | 179 ++-
doc/api/path.md | 421 +++++--
doc/api/process.md | 867 ++++++++------
doc/api/punycode.md | 78 +-
doc/api/querystring.md | 119 +-
doc/api/readline.md | 559 +++++----
doc/api/repl.md | 541 +++++----
doc/api/stream.md | 2321 +++++++++++++++++++-----------------
doc/api/url.md | 15 +-
doc/api/util.md | 2 +-
doc/changelogs/CHANGELOG_V6.md | 79 +-
22 files changed, 3209 insertions(+), 2091 deletions(-)
Tests & Benchmarks only:
0.4% benchmark/buffers/
1.1% benchmark/child_process/
0.6% benchmark/http/
0.6% benchmark/url/
0.3% benchmark/
2.8% test/disabled/
0.8% test/message/
92.5% test/parallel/
0.4% test/sequential/
403 files changed, 2133 insertions(+), 1728 deletions(-)
Most active commit
Of the 63 commits, 2961f06
was the most active:
(Excluding docs, npm, eslint, and tests.)
commit 2961f06f6f940306866f988f175e5f38c6fceb59
Author: Rich Trott <rtrott@gmail.com>
Date: Tue May 31 23:48:32 2016 -0700
debugger: fix --debug-brk interaction with -e
The command line flag `--debug-brk` was ignored when the `-e` flag was
also present. This change allows the flags to both be honored when they
are used in a single command line.
PR-URL: https://github.com/nodejs/node/pull/7089
Fixes: https://github.com/nodejs/node/issues/3589
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
lib/internal/bootstrap_node.js | 59 ++++++++++++---------
test/message/core_line_numbers.out | 4 +-
test/message/error_exit.out | 3 +-
test/message/nexttick_throw.out | 3 +-
.../undefined_reference_in_new_context.out | 2 +-
test/message/vm_display_runtime_error.out | 4 +-
test/message/vm_display_syntax_error.out | 8 +--
test/message/vm_dont_display_runtime_error.out | 4 +-
test/message/vm_dont_display_syntax_error.out | 4 +-
test/parallel/test-debug-brk.js | 36 +++++++++++--
10 files changed, 81 insertions(+), 46 deletions(-)
This is a regular and routine release for a Node.js Current release line. We will be sure to let you know when a release contains a critical update and a recommendation to upgrade. Of course, we'd love you to upgrade, but this release is not critical unless you are experiencing one of the issues identified and fixed above.