Node.js 7.7.4 Release Brief
This week's Current release comes with an update to node inspect, fixing several issues.
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 46 commits:
- 14 were documentation-only commits, and 10 only modify tests.
- 1 dependency was upgraded:
- [
a7e4b029da] - deps: Add node-inspect 1.10.6 (Jan Krems) #11869
- [
- 1 patch was backported from upstream V8:
- [
ca0f9573asca319862fd- (Ali Ijaz Sheikh)
- [
The remaining significant commits are as follows:
- [
f48763c5b9] - benchmark: remove benchmarks forced optimizations (Bartosz Sosnowski) - [
dcac2d8f04] - benchmark: benchmark comparingforEachwithfor(James M Snell) #11582 - [
80949f3d88] - build: add cpp linting to windows build (liusi) #11856 - [
5244ee346b] - build: macOBJ_DIRshould point toobj.target(Daniel Bevenius) #11857 - [
5b1d61ce09] - child_process: fix deoptimizing use of arguments (Vse Mozhet Byt) #11748 - [
d0fb578d64] - fs: avoid usingforEach(James M Snell) #11582 - [
14e3ad0c5e] - inspector: proper WS URLs when bound to0.0.0.0(Eugene Ostroukhov) #11850 - [
fbbcd1aa89] - lib: Fix swallowed events in inspect integration (Jan Krems) #11869 - [
9cc712ca18] - lib: remove unused msg parameter indebug_agent(mr-spd) #11833 - [
77c69f7ace] - lib, test: add duplicate symbol checking inE()(DavidCai) #11829 - [
7e230727fc] - module: avoid usingforEach(James M Snell) #11582 - [
c0a2e02f51] - net: avoid usingforEach(James M Snell) #11582 - [
a0b1aa1161] - readline: avoid usingforEach(James M Snell) #11582 - [
e19ca8ba11] - readline: remove unneeded eslint-disable comment (Rich Trott) #11836 - [
62e726109a] - repl: avoid usingforEach(James M Snell) #11582 - [
90be5a1f19] - stream: avoid usingforEach(James M Snell) #11582 - [
c626734409] - tls: fix segfault on destroy after partial read (Ben Noordhuis) #11898 - [
646ee559df] - tls: avoid usingforEach(James M Snell) #11582 - [
540830116b] - tls: keep track of stream that is closed (jBarz) #11776 - [
9a59913039] - util: avoid usingforEach(James M Snell) #11582
Notable Changes
- inspector: Upgraded internal node-inspect version to 1.10.6, containing several fixes. (Jan Krems) #11869
- lib: Removed the internal use of
forEachfrom 8 subsystems in favor of faster alternatives. (James M Snell) #11582 - tls: Fixed a segfault when the handle was destroyed after a partial read. (Ben Noordhuis) #11898
Git Diffstats
(Showing the delta between v7.7.3 and v7.7.4, ignoring deps/npm.)
Without deps, tools, docs, benchmarks, or tests:
common.gypi | 2 +-
lib/_debug_agent.js | 2 +-
lib/_stream_readable.js | 9 +++---
lib/_stream_wrap.js | 5 ++--
lib/_tls_wrap.js | 16 ++++++++--
lib/child_process.js | 32 ++++++++------------
lib/fs.js | 9 +++---
lib/internal/bootstrap_node.js | 4 ++-
lib/internal/errors.js | 2 ++
lib/internal/readline.js | 1 -
lib/module.js | 5 ++--
lib/net.js | 11 ++++---
lib/readline.js | 5 ++--
lib/repl.js | 63 +++++++++++++++++++++-------------------
lib/util.js | 23 ++++++++-------
src/inspector_socket_server.cc | 26 ++++++++++++++++-
src/node_version.h | 2 +-
src/tls_wrap.cc | 17 ++++++++++-
src/tls_wrap.h | 1 +
vcbuild.bat | 55 +++++++++++++++++++++++++++++++----
20 files changed, 191 insertions(+), 99 deletions(-)
Tools only:
tools/cpplint.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Deps only:
deps/node-inspect/CHANGELOG.md | 27 ++++++
deps/node-inspect/CONTRIBUTING.md | 14 ++--
deps/node-inspect/GOVERNANCE.md | 5 +-
deps/node-inspect/examples/alive.js | 1 -
deps/node-inspect/examples/backtrace.js | 1 -
deps/node-inspect/examples/cjs/index.js | 4 +-
deps/node-inspect/examples/cjs/other.js | 1 -
deps/node-inspect/examples/exceptions.js | 1 -
deps/node-inspect/examples/three-lines.js | 1 -
deps/node-inspect/examples/use-strict.js | 2 +
deps/node-inspect/lib/_inspect.js | 91 ++++++++++++++++++---
deps/node-inspect/lib/internal/inspect_client.js | 15 +---
deps/node-inspect/lib/internal/inspect_repl.js | 53 ++++++++----
deps/node-inspect/package.json | 8 +-
deps/node-inspect/test/cli/backtrace.test.js | 4 +-
deps/node-inspect/test/cli/exceptions.test.js | 6 +-
deps/node-inspect/test/cli/launch.test.js | 4 +-
.../node-inspect/test/cli/preserve-breaks.test.js | 13 ++-
deps/node-inspect/test/cli/use-strict.test.js | 27 ++++++
deps/v8/include/v8-version.h | 2 +-
deps/v8/src/api.cc | 14 +++-
21 files changed, 219 insertions(+), 75 deletions(-)
Docs only:
.github/PULL_REQUEST_TEMPLATE.md | 4 +-
BUILDING.md | 2 +-
CHANGELOG.md | 3 +-
CONTRIBUTING.md | 5 +-
README.md | 2 +
benchmark/README.md | 9 ---
doc/api/buffer.md | 4 ++
doc/api/cli.md | 21 ++++++
doc/api/debugger.md | 11 ++-
doc/api/dns.md | 139 ++++++++++++++++++++++++-------------
doc/api/events.md | 37 ++++++----
doc/api/process.md | 4 +-
doc/api/stream.md | 18 ++---
doc/api/vm.md | 3 +
doc/changelogs/CHANGELOG_V7.md | 61 ++++++++++++++++
doc/node.1 | 11 +++
16 files changed, 244 insertions(+), 90 deletions(-)
Tests & Benchmarks only:
2.1% benchmark/buffers/
6.6% benchmark/child_process/
0.4% benchmark/crypto/
3.3% benchmark/es/
1.4% benchmark/misc/
9.1% benchmark/path/
1.4% benchmark/querystring/
2.1% benchmark/streams/
0.3% benchmark/tls/
0.7% benchmark/url/
0.3% benchmark/util/
0.7% benchmark/
5.8% test/inspector/
2.9% test/known_issues/
50.0% test/parallel/
1.8% test/pseudo-tty/
10.3% test/sequential/
66 files changed, 1236 insertions(+), 648 deletions(-)
Most active commit
Of the 46 commits, a7e4b02 was the most active:
(Excluding docs, npm, eslint, and tests.)
commit a7e4b029da9018a468fcf28e9e19a9b6a3b6f997
Author: Jan Krems <jan.krems@groupon.com>
Date: Wed Mar 15 11:05:23 2017 -0700
deps: Add node-inspect 1.10.6
This updates the bundled `node-inspect` to 1.10.6.
Highlights:
* `node --debug-port=1234 inspect` respects the custom port.
* Test stability improvements on various platforms.
Compare: https://github.com/nodejs/node-inspect/compare/v1.10.4...v1.10.6
PR-URL: https://github.com/nodejs/node/pull/11869
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
deps/node-inspect/CHANGELOG.md | 27 ++++++
deps/node-inspect/CONTRIBUTING.md | 14 ++--
deps/node-inspect/GOVERNANCE.md | 5 +-
deps/node-inspect/examples/alive.js | 1 -
deps/node-inspect/examples/backtrace.js | 1 -
deps/node-inspect/examples/cjs/index.js | 4 +-
deps/node-inspect/examples/cjs/other.js | 1 -
deps/node-inspect/examples/exceptions.js | 1 -
deps/node-inspect/examples/three-lines.js | 1 -
deps/node-inspect/examples/use-strict.js | 2 +
deps/node-inspect/lib/_inspect.js | 91 ++++++++++++++++++---
deps/node-inspect/lib/internal/inspect_client.js | 15 +---
deps/node-inspect/lib/internal/inspect_repl.js | 53 ++++++++----
deps/node-inspect/package.json | 8 +-
deps/node-inspect/test/cli/backtrace.test.js | 4 +-
deps/node-inspect/test/cli/exceptions.test.js | 6 +-
deps/node-inspect/test/cli/launch.test.js | 4 +-
.../node-inspect/test/cli/preserve-breaks.test.js | 13 ++-
deps/node-inspect/test/cli/use-strict.test.js | 27 ++++++
19 files changed, 207 insertions(+), 71 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.