Skip to content

Commit

Permalink
2018-10-23, Version 11.0.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* Build
  * FreeBSD 10 is no longer supported.[#22617](#22617)
* `child_process`
  * The default value of the `windowsHide` option has been changed
    to `true`. [#21316](#21316)
* `console`
  * `console.countReset()` will emit a warning if the timer
    being reset does not exist. [#21649](#21649)
  * `console.time()` will no longer reset a timer if it already
    exists. [#20442](#20442)
* Dependencies
  * V8 has been updated to 7.0.
    [#22754](#22754)
* `fs`
  * The `fs.read()` method now requires a callback.
    [#22146](#22146)
  * The previously deprecated `fs.SyncWriteStream` utility has been
    removed.[#20735](#20735)
* `http`
  * The `http`, `https`, and `tls` modules now use the WHATWG URL parser
    by default. [#20270](#20270)
* General
  * Use of `process.binding()` has been deprecated. Userland code using
    `process.binding()` should re-evaluate that use and begin migrating. If
    there are no supported API alternatives, please open an issue in the
    Node.js GitHub repository so that a suitable alternative may be discussed.
  * An experimental implementation of `queueMicrotask()` has been added.
    [#22951](#22951)
* Internal
  * Windows performance-counter support has been removed.
    [#22485](#22485)
  * The `--expose-http2` command-line option has been removed.
    [#20887](#20887)
* Timers
  * Interval timers will be rescheduled even if previous interval threw
    an error. [#20002](#20002)
* `util`
  * The WHATWG `TextEncoder` and `TextDecoder` are now globals.
    [#22281](#22281)
  * `util.inspect()` output size is limited to 128 MB by default.
    [#22756](#22756)
  * A runtime warning will be emitted when `NODE_DEBUG` is set for
    either `http` or `http2`. [#21914](#21914)
  • Loading branch information
jasnell committed Oct 17, 2018
1 parent b5c75a3 commit 839823a
Show file tree
Hide file tree
Showing 27 changed files with 566 additions and 51 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ release lines.

Select a Node.js version below to view the changelog history:

* [Node.js 10](doc/changelogs/CHANGELOG_V10.md)**Current**
* [Node.js 11](doc/changelogs/CHANGELOG_V11.md) - **Current**
* [Node.js 10](doc/changelogs/CHANGELOG_V10.md) — Current
* [Node.js 9](doc/changelogs/CHANGELOG_V9.md) — End-of-Life
* [Node.js 8](doc/changelogs/CHANGELOG_V8.md)**Long Term Support**
* [Node.js 7](doc/changelogs/CHANGELOG_V7.md) — End-of-Life
Expand All @@ -25,12 +26,16 @@ release.

<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V11.md">11</a><sup>Current</sup></th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>Current</sup></th>
<th title="LTS Until 2019-12"><a href="doc/changelogs/CHANGELOG_V8.md">8</a><sup>LTS</sup></th>
<th title="LTS Until 2019-04"><a href="doc/changelogs/CHANGELOG_V6.md">6</a><sup>LTS</sup></th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V11.md#11.0.0">11.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.12.0">10.12.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.11.0">10.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.10.0">10.10.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ console.log(buf1.equals(buf3));
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/22969
description: Throws `ERR_OUT_OF_RANGE` instead of `ERR_INDEX_OUT_OF_RANGE`.
- version: v10.0.0
Expand Down
12 changes: 6 additions & 6 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
<!-- YAML
added: v0.1.90
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21316
description: The `windowsHide` option now defaults to `true`.
- version: v8.8.0
Expand Down Expand Up @@ -235,7 +235,7 @@ lsExample();
<!-- YAML
added: v0.1.91
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21316
description: The `windowsHide` option now defaults to `true`.
- version: v8.8.0
Expand Down Expand Up @@ -381,7 +381,7 @@ The `shell` option available in [`child_process.spawn()`][] is not supported by
<!-- YAML
added: v0.1.90
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21316
description: The `windowsHide` option now defaults to `true`.
- version: v8.8.0
Expand Down Expand Up @@ -690,7 +690,7 @@ changes:
pr-url: https://github.com/nodejs/node/pull/22409
description: The `input` option can now be any `TypedArray` or a
`DataView`.
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21316
description: The `windowsHide` option now defaults to `true`.
- version: v8.8.0
Expand Down Expand Up @@ -760,7 +760,7 @@ changes:
pr-url: https://github.com/nodejs/node/pull/22409
description: The `input` option can now be any `TypedArray` or a
`DataView`.
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21316
description: The `windowsHide` option now defaults to `true`.
- version: v8.8.0
Expand Down Expand Up @@ -822,7 +822,7 @@ changes:
pr-url: https://github.com/nodejs/node/pull/22409
description: The `input` option can now be any `TypedArray` or a
`DataView`.
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21316
description: The `windowsHide` option now defaults to `true`.
- version: v8.8.0
Expand Down
4 changes: 4 additions & 0 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ If this flag is passed, the behavior can still be set to not abort through

### `--completion-bash`
<!-- YAML
<<<<<<< HEAD
added: v10.12.0
=======
added: v11.0.0
>>>>>>> 2018-10-23, Version 11.0.0 (Current)
-->

Print source-able bash completion script for Node.js.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ values are `'rr'` and `'none'`.
<!-- YAML
added: v0.7.1
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21316
description: The `windowsHide` option now defaults to `true`.
- version: v9.5.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ The `decipher.setAAD()` method must be called before [`decipher.update()`][].
<!-- YAML
added: v1.0.0
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/17825
description: This method now throws if the GCM tag length is invalid.
- version: v7.2.0
Expand Down
40 changes: 20 additions & 20 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ to the `constants` property exposed by the relevant module. For instance,
### DEP0009: crypto.pbkdf2 without digest
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/22861
description: Runtime deprecation (for `digest === null`).
- version: v8.0.0
Expand All @@ -249,15 +249,15 @@ in Node.js 6.0 because the method defaulted to using the non-recommended
Node.js 8.0.0, calling `crypto.pbkdf2()` or `crypto.pbkdf2Sync()` with
`digest` set to `undefined` will throw a `TypeError`.

Beginning in Node.js REPLACEME, calling these functions with `digest` set to
Beginning in Node.js v11.0.0, calling these functions with `digest` set to
`null` will print a deprecation warning to align with the behavior when `digest`
is `undefined`.

<a id="DEP0010"></a>
### DEP0010: crypto.createCredentials
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21153
description: End-of-Life.
- version:
Expand All @@ -279,7 +279,7 @@ The `crypto.createCredentials()` API was removed. Please use
### DEP0011: crypto.Credentials
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/21153
description: End-of-Life.
- version:
Expand Down Expand Up @@ -1240,7 +1240,7 @@ The [`util._extend()`][] API is deprecated.
### DEP0061: fs.SyncWriteStream
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/20735
description: End-of-Life.
- version: v8.0.0
Expand Down Expand Up @@ -1582,7 +1582,7 @@ Type: Runtime
### DEP0079: Custom inspection function on Objects via .inspect()
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/20722
description: End-of-Life.
- version: v10.0.0
Expand Down Expand Up @@ -1761,7 +1761,7 @@ same as the legacy assert but it will always use strict equality checks.
### DEP0090: Invalid GCM authentication tag lengths
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/17825
description: End-of-Life.
- version: v10.0.0
Expand All @@ -1772,7 +1772,7 @@ changes:
Type: End-of-Life
Node.js used to support all GCM authentication tag lengths which are accepted by
OpenSSL when calling [`decipher.setAuthTag()`][]. Beginning with node REPLACEME,
OpenSSL when calling [`decipher.setAuthTag()`][]. Beginning with node v11.0.0,
only authentication tag lengths of 128, 120, 112, 104, 96, 64, and 32 bits are
allowed. Authentication tags whose length is not included in this list are
considered invalid in compliance with [NIST SP 800-38D][].
Expand Down Expand Up @@ -2000,7 +2000,7 @@ assigning it to `process.env`.
### DEP0105: decipher.finaltol
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/19941
description: End-of-Life.
- version: v10.0.0
Expand All @@ -2018,7 +2018,7 @@ Type: End-of-Life
### DEP0106: crypto.createCipher and crypto.createDecipher
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/22089
description: Runtime deprecation.
- version: v10.0.0
Expand All @@ -2039,7 +2039,7 @@ initialization vectors. It is recommended to derive a key using
### DEP0107: tls.convertNPNProtocols()
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/20736
description: End-of-Life.
- version: v10.0.0
Expand All @@ -2056,7 +2056,7 @@ core and obsoleted by the removal of NPN (Next Protocol Negotiation) support.
### DEP0108: zlib.bytesRead
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/23308
description: Runtime deprecation.
- version: v10.0.0
Expand All @@ -2075,7 +2075,7 @@ expose values under these names.
### DEP0109: http, https, and tls support for invalid URLs
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/20270
description: Runtime deprecation.
-->
Expand Down Expand Up @@ -2121,7 +2121,7 @@ only. Use of `process.binding()` by userland code is unsupported.
### DEP0112: dgram private APIs
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/22011
description: Runtime deprecation.
-->
Expand All @@ -2139,7 +2139,7 @@ accessed outside of Node.js core: `Socket.prototype._handle`,
### DEP0113: Cipher.setAuthTag(), Decipher.getAuthTag()
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/22126
description: Runtime deprecation.
-->
Expand All @@ -2155,7 +2155,7 @@ release.
### DEP0114: crypto._toBuf()
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/22501
description: Runtime deprecation.
-->
Expand All @@ -2169,7 +2169,7 @@ of Node.js core and will be removed in the future.
### DEP0115: crypto.prng(), crypto.pseudoRandomBytes(), crypto.rng()
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url:
- https://github.com/nodejs/node/pull/22519
- https://github.com/nodejs/node/pull/23017
Expand Down Expand Up @@ -2204,7 +2204,7 @@ use the [WHATWG URL API][] instead.
### DEP0117: Native crypto handles
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/22747
description: Runtime deprecation.
-->
Expand All @@ -2221,7 +2221,7 @@ improper use of the native object can lead to crashing the application.
### DEP0118: dns.lookup() support for a falsy hostname
<!-- YAML
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/23173
description: Runtime deprecation.
-->
Expand All @@ -2237,7 +2237,7 @@ It will become an error in future versions of Node.js.
### DEP0119: process.binding('uv').errname() private API
<!--
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/23597
description: Documentation-only deprecation.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@ Used when an invalid character is found in an HTTP response status message
### ERR_INDEX_OUT_OF_RANGE
<!-- YAML
added: v10.0.0
removed: REPLACEME
removed: v11.0.0
-->
A given index was out of the accepted range (e.g. negative offsets).

Expand Down
6 changes: 5 additions & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ fs.copyFileSync('source.txt', 'destination.txt', COPYFILE_EXCL);
<!-- YAML
added: v0.1.31
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/19898
description: Impose new restrictions on `start` and `end`, throwing
more appropriate errors in cases when we cannot reasonably
Expand Down Expand Up @@ -2193,7 +2193,11 @@ See also: mkdir(2).
<!-- YAML
added: v0.1.21
changes:
<<<<<<< HEAD
- version: v10.12.0
=======
- version: v11.0.0
>>>>>>> 2018-10-23, Version 11.0.0 (Current)
pr-url: https://github.com/nodejs/node/pull/21875
description: The second argument can now be an `options` object with
`recursive` and `mode` properties.
Expand Down
6 changes: 3 additions & 3 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The process object. See the [`process` object][] section.

## queueMicrotask(callback)
<!-- YAML
added: REPLACEME
added: v11.0.0
-->

<!-- type=global -->
Expand Down Expand Up @@ -180,7 +180,7 @@ added: v0.0.1

## TextDecoder
<!-- YAML
added: REPLACEME
added: v11.0.0
-->

<!-- type=global -->
Expand All @@ -189,7 +189,7 @@ The WHATWG `TextDecoder` class. See the [`TextDecoder`][] section.

## TextEncoder
<!-- YAML
added: REPLACEME
added: v11.0.0
-->

<!-- type=global -->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ in the response to be dropped and the socket to be destroyed.
<!-- YAML
added: v0.11.14
changes:
- version: REPLACEME
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/20230
description: The `aborted` property is no longer a timestamp number.
-->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ functions that can be used to control this default behavior.

### immediate.hasRef()
<!-- YAML
added: REPLACEME
added: v11.0.0
-->

* Returns: {boolean}
Expand Down Expand Up @@ -72,7 +72,7 @@ control this default behavior.

### timeout.hasRef()
<!-- YAML
added: REPLACEME
added: v11.0.0
-->

* Returns: {boolean}
Expand Down
Loading

0 comments on commit 839823a

Please sign in to comment.