The NodeSource Blog

Node.js 7.7.2 Release Brief

This is a routine patch release with a relatively small assortment of fixes and documentation improvements.

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 47 commits:

  • 16 were documentation-only commits.
  • 14 only modify tests and 1 only affects internal tooling.
  • 1 patch was backported from upstream zlib:
    • [ed6d7412a7] - Fix CLEAR_HASH macro to be usable as a single statement. (Sam Roberts) #11616

The remaining significant commits are as follows:

Notable Changes

  • meta: Added Daijiro Wachi as a collaborator. (Daijiro Wachi) #11676
  • tty: tty_wrap now has a ref() method for consistency. (Ben Schmidt) #7360
  • util: inspect() now correctly formats Symbol properties when showHidden: true is set. (Ali BARIN) #11672

Git Diffstats

(Showing the delta between v7.7.1 and v7.7.2, ignoring deps/npm.)

Without deps, tools, docs, benchmarks, or tests:

 configure              |   6 +-
 lib/buffer.js          |  10 ++-
 lib/dns.js             | 130 ++++++++++++++++++++---------------
 lib/net.js             | 174 +++++++++++++++++++++++++++--------------------
 lib/os.js              |  23 ++++++-
 lib/url.js             |  17 ++---
 lib/util.js            |   4 ++
 src/debug-agent.cc     |   2 +-
 src/inspector_agent.cc |  17 +++--
 src/node.cc            |   4 +-
 src/node_constants.cc  |   2 +-
 src/node_crypto.cc     |  19 +++---
 src/node_crypto.h      |   6 +-
 src/node_i18n.cc       |  20 ++++--
 src/node_i18n.h        |   6 +-
 src/node_os.cc         |  58 +++++++++-------
 src/node_util.cc       |   6 ++
 src/node_version.h     |   2 +-
 src/string_search.h    |  12 ++--
 src/tls_wrap.cc        |   2 +-
 src/tty_wrap.cc        |   1 +
 21 files changed, 311 insertions(+), 210 deletions(-)

Tools only:

 tools/test.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Deps only:

 deps/zlib/deflate.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Docs only:

 CHANGELOG.md                        |   3 +-
 CONTRIBUTING.md                     |   9 --
 README.md                           |   7 +
 ROADMAP.md                          |  84 ----------
 WORKING_GROUPS.md                   | 281 ----------------------------------
 doc/STYLE_GUIDE.md                  |   2 +-
 doc/api/buffer.md                   |  12 +-
 doc/api/cli.md                      |   2 +-
 doc/api/console.md                  |  24 ++-
 doc/api/documentation.md            |   6 -
 doc/api/errors.md                   |  45 ++----
 doc/api/modules.md                  |   2 +-
 doc/api/net.md                      |   3 +-
 doc/api/stream.md                   |   4 +-
 doc/api/timers.md                   |   4 +-
 doc/api/url.md                      |  38 ++++-
 doc/api_assets/dnt_helper.js        |   2 +-
 doc/changelogs/CHANGELOG_ARCHIVE.md |   2 +-
 doc/changelogs/CHANGELOG_V5.md      |   2 +-
 doc/changelogs/CHANGELOG_V7.md      |  59 +++++++
 20 files changed, 158 insertions(+), 433 deletions(-)

Tests & Benchmarks only:

 benchmark/compare.R                               |   2 +-
 benchmark/compare.js                              |   2 +-
 benchmark/os/cpus.js                              |  17 ++
 test/fixtures/url-idna.js                         | 217 ++++++++++++++++++++
 test/fixtures/url-tests.js                        |  90 +++++---
 test/inspector/inspector-helper.js                |  21 +-
 test/inspector/test-not-blocked-on-idle.js        |  20 ++
 .../test-dgram-broadcast-multi-process.js         |   2 +-
 test/parallel/test-buffer-prototype-inspect.js    |  23 +++
 test/parallel/test-child-process-fork-dgram.js    |   2 +-
 test/parallel/test-cluster-message.js             |   2 +-
 .../test-cluster-setup-master-multiple.js         |   2 +-
 test/parallel/test-crypto-authenticated.js        |   2 +-
 test/parallel/test-crypto-binary-default.js       |   4 +-
 test/parallel/test-crypto-cipheriv-decipheriv.js  |   4 +-
 test/parallel/test-event-emitter-add-listeners.js |  12 +-
 test/parallel/test-fs-access.js                   |   4 +-
 test/parallel/test-fs-null-bytes.js               |  12 +-
 test/parallel/test-handle-wrap-isrefed-tty.js     |  33 ---
 test/parallel/test-handle-wrap-isrefed.js         | 129 +++++++-----
 test/parallel/test-http-parser-bad-ref.js         |   2 -
 .../test-https-agent-create-connection.js         | 146 +++++++++++++
 test/parallel/test-icu-punycode.js                |  85 +++-----
 test/parallel/test-internal-util-assertCrypto.js  |   2 +-
 test/parallel/test-process-no-deprecation.js      |   2 +-
 test/parallel/test-repl.js                        |  71 ++++---
 test/parallel/test-setproctitle.js                |   8 +-
 .../parallel/test-stream-readable-needReadable.js |   2 +-
 ...et-timeout-removes-other-socket-unref-timer.js |   2 +-
 test/parallel/test-tls-alpn-server-client.js      |   8 +-
 test/parallel/test-tls-check-server-identity.js   |   2 +-
 test/parallel/test-tls-empty-sni-context.js       |   6 +-
 test/parallel/test-tls-npn-server-client.js       |   4 +-
 test/parallel/test-util-inspect.js                |   3 +
 test/parallel/test-vm-timeout.js                  |   2 +-
 test/parallel/test-whatwg-url-domainto.js         |  36 ++++
 test/pseudo-tty/ref_keeps_node_running.js         |  27 +++
 test/pseudo-tty/ref_keeps_node_running.out        |   0
 test/pseudo-tty/test-handle-wrap-isrefed-tty.js   |  23 +++
 test/pseudo-tty/test-handle-wrap-isrefed-tty.out  |   0
 40 files changed, 786 insertions(+), 245 deletions(-)

Most active commit

Of the 47 commits, 3c54f81 was the most active:
(Excluding docs, npm, eslint, and tests.)

commit 3c54f8199c80fbc5b5d710938e1eaf3c8b84019e
Author: Ben Schmidt <insightfuls@users.noreply.github.com>
Date:   Tue Jul 19 13:50:27 2016 +1000

    tty: add ref() so process.stdin.ref() etc. work

    Also squashed from:
    * test: move tty-wrap isrefed test to pseudo-tty/
    * test: test tty-wrap handle isrefed properly
    * test: improve failure messages in isrefed tests

    PR-URL: https://github.com/nodejs/node/pull/7360
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell.gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>

 src/tty_wrap.cc                                  |   1 +
 test/README.md                                   |   5 +
 test/parallel/test-handle-wrap-isrefed-tty.js    |  33 ------
 test/parallel/test-handle-wrap-isrefed.js        | 129 +++++++++++++--------
 test/pseudo-tty/ref_keeps_node_running.js        |  27 +++++
 test/pseudo-tty/ref_keeps_node_running.out       |   0
 test/pseudo-tty/test-handle-wrap-isrefed-tty.js  |  23 ++++
 test/pseudo-tty/test-handle-wrap-isrefed-tty.out |   0
 8 files changed, 135 insertions(+), 83 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.

The NodeSource platform offers a high-definition view of the performance, security and behavior of Node.js applications and functions.

Start for Free