Skip to content

Commit

Permalink
2017-07-19, Version 8.2.0 (Current)
Browse files Browse the repository at this point in the history
Big thanks to @addaleax who prepared the vast majority of this release.

Notable changes:

* **Async Hooks**
  * Multiple improvements to Promise support in `async_hooks` have been made.

* **Build**
  * The compiler version requirement to build Node with GCC has been raised to
    GCC 4.9.4.
    [[`820b011ed6`](820b011ed6)]
    [#13466](#13466)

* **Cluster**
  * Users now have more fine-grained control over the inspector port used by
    individual cluster workers. Previously, cluster workers would simply
    increment from the master's debug port.
    [[`dfc46e262a`](dfc46e262a)]
    [#14140](#14140)

* **DNS**
  * The server used for DNS queries can now use a custom port.
    [[`ebe7bb29aa`](ebe7bb29aa)]
    [#13723](#13723)
  * Support for `dns.resolveAny()` has been added.
    [[`6e30e2558e`](6e30e2558e)]
    [#13137](#13137)

* **npm**
  * The `npm` CLI has been updated to version 5.3.0. In particular, it now comes
    with the `npx` binary, which is also shipped with Node.
    [[`dc3f6b9ac1`](dc3f6b9ac1)]
    [#14235](#14235)
  * `npm` Changelogs:
      - [v5.0.4](https://github.com/npm/npm/releases/tag/v5.0.4)
      - [v5.1.0](https://github.com/npm/npm/releases/tag/v5.1.0)
      - [v5.2.0](https://github.com/npm/npm/releases/tag/v5.2.0)
      - [v5.3.0](https://github.com/npm/npm/releases/tag/v5.3.0)

PR-URL: #13744
  • Loading branch information
Fishrock123 committed Jul 19, 2017
1 parent 64867a9 commit eb66efd
Show file tree
Hide file tree
Showing 7 changed files with 309 additions and 15 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V8.md#8.1.4">8.1.4</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V8.md#8.2.0">8.2.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V8.md#8.1.4">8.1.4</a><br/>
<a href="doc/changelogs/CHANGELOG_V8.md#8.1.3">8.1.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V8.md#8.1.2">8.1.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V8.md#8.1.1">8.1.1</a><br/>
Expand Down
8 changes: 4 additions & 4 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ A `TypeError` will be thrown if `str` is not a string.

### Class Method: Buffer.from(object[, offsetOrEncoding[, length]])
<!-- YAML
added: REPLACEME
added: v8.2.0
-->

* `object` {Object} An object supporting `Symbol.toPrimitive` or `valueOf()`
Expand Down Expand Up @@ -2665,15 +2665,15 @@ console.log(buf);

## Buffer Constants
<!-- YAML
added: REPLACEME
added: 8.2.0
-->

Note that `buffer.constants` is a property on the `buffer` module returned by
`require('buffer')`, not on the `Buffer` global or a `Buffer` instance.

### buffer.constants.MAX_LENGTH
<!-- YAML
added: REPLACEME
added: 8.2.0
-->

* {integer} The largest size allowed for a single `Buffer` instance
Expand All @@ -2685,7 +2685,7 @@ This value is also available as [`buffer.kMaxLength`][].

### buffer.constants.MAX_STRING_LENGTH
<!-- YAML
added: REPLACEME
added: 8.2.0
-->

* {integer} The largest length allowed for a single `string` instance
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ values are `"rr"` and `"none"`.
<!-- YAML
added: v0.7.1
changes:
- version: REPLACEME
- version: 8.2.0
pr-url: https://github.com/nodejs/node/pull/14140
description: The `inspectPort` option is supported now.
- version: v6.4.0
Expand Down
8 changes: 4 additions & 4 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ thrown to immediately terminate the process.
#### napi_fatal_error
<!-- YAML
added: REPLACEME
added: v8.2.0
-->
```C
NAPI_EXTERN NAPI_NO_RETURN void napi_fatal_error(const char* location, const char* message);
Expand Down Expand Up @@ -2295,7 +2295,7 @@ This API checks if the Object passed in has the named property.

#### *napi_delete_property*
<!-- YAML
added: REPLACEME
added: v8.2.0
-->
```C
napi_status napi_delete_property(napi_env env,
Expand All @@ -2317,7 +2317,7 @@ This API attempts to delete the `key` own property from `object`.
#### *napi_has_own_property*
<!-- YAML
added: REPLACEME
added: v8.2.0
-->
```C
napi_status napi_has_own_property(napi_env env,
Expand Down Expand Up @@ -2464,7 +2464,7 @@ requested index.

#### *napi_delete_element*
<!-- YAML
added: REPLACEME
added: v8.2.0
-->
```C
napi_status napi_delete_element(napi_env env,
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const util = require('util');

## util.callbackify(original)
<!-- YAML
added: REPLACEME
added: v8.2.0
-->

* `original` {Function} An `async` function
Expand Down
295 changes: 294 additions & 1 deletion doc/changelogs/CHANGELOG_V8.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 8
#define NODE_MINOR_VERSION 1
#define NODE_PATCH_VERSION 5
#define NODE_MINOR_VERSION 2
#define NODE_PATCH_VERSION 0

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit eb66efd

Please sign in to comment.