Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.0.0 Proposal #19091

Merged
merged 2 commits into from
Apr 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ release lines.

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

* [Node.js 10](doc/changelogs/CHANGELOG_V10.md)
* [Node.js 9](doc/changelogs/CHANGELOG_V9.md)
* [Node.js 8](doc/changelogs/CHANGELOG_V8.md)
* [Node.js 7](doc/changelogs/CHANGELOG_V7.md)
Expand All @@ -24,13 +25,17 @@ release.

<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V9.md">9</a><sup>Current</sup></th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>Current</sup></th>
<th><a href="doc/changelogs/CHANGELOG_V9.md">9</a></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>
<th title="LTS Until 2018-04"><a href="doc/changelogs/CHANGELOG_V4.md">4</a><sup>LTS</sup></th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.0.0">10.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.11.1">9.11.1</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.11.0">9.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V9.md#9.10.1">9.10.1</a><br/>
Expand Down
16 changes: 8 additions & 8 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the

## assert.doesNotReject(block[, error][, message])
<!-- YAML
added: REPLACEME
added: v10.0.0
-->
* `block` {Function|Promise}
* `error` {RegExp|Function}
Expand Down Expand Up @@ -565,7 +565,7 @@ See below for further details.
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18418
description: Calling `assert.fail()` with more than one argument is
deprecated and emits a warning.
Expand Down Expand Up @@ -627,11 +627,11 @@ suppressFrame();
<!-- YAML
added: v0.1.97
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18247
description: Instead of throwing the original error it is now wrapped into
a AssertionError that contains the full stack trace.
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18247
description: Value may now only be `undefined` or `null`. Before any truthy
input was accepted.
Expand Down Expand Up @@ -816,7 +816,7 @@ instance of an [`Error`][] then it will be thrown instead of the
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/17003
description: Used comparison changed from Strict Equality to `Object.is()`
-->
Expand Down Expand Up @@ -850,7 +850,7 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18319
description: assert.ok() (no arguments) will now use a predefined error msg.
-->
Expand Down Expand Up @@ -920,7 +920,7 @@ assert(0);

## assert.rejects(block[, error][, message])
<!-- YAML
added: REPLACEME
added: v10.0.0
-->
* `block` {Function|Promise}
* `error` {RegExp|Function|Object|Error}
Expand Down Expand Up @@ -980,7 +980,7 @@ argument gets considered.
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/17003
description: Used comparison changed from Strict Equality to `Object.is()`
-->
Expand Down
60 changes: 30 additions & 30 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ It can be constructed in a variety of ways.
<!-- YAML
deprecated: v6.0.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/19524
description: Calling this constructor emits a deprecation warning when
run from code outside the `node_modules` directory.
Expand Down Expand Up @@ -330,7 +330,7 @@ const buf = new Buffer([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);
added: v3.0.0
deprecated: v6.0.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/19524
description: Calling this constructor emits a deprecation warning when
run from code outside the `node_modules` directory.
Expand Down Expand Up @@ -386,7 +386,7 @@ console.log(buf);
<!-- YAML
deprecated: v6.0.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/19524
description: Calling this constructor emits a deprecation warning when
run from code outside the `node_modules` directory.
Expand Down Expand Up @@ -421,7 +421,7 @@ console.log(buf2.toString());
<!-- YAML
deprecated: v6.0.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/19524
description: Calling this constructor emits a deprecation warning when
run from code outside the `node_modules` directory.
Expand Down Expand Up @@ -462,7 +462,7 @@ console.log(buf);
<!-- YAML
deprecated: v6.0.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/19524
description: Calling this constructor emits a deprecation warning when
run from code outside the `node_modules` directory.
Expand Down Expand Up @@ -499,11 +499,11 @@ console.log(buf1.toString('ascii'));
<!-- YAML
added: v5.10.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18129
description: Attempting to fill a non-zero length buffer with a zero length
buffer triggers a thrown exception.
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/17427
description: Specifying an invalid string for `fill` triggers a thrown
exception.
Expand Down Expand Up @@ -1171,14 +1171,14 @@ console.log(buf1.equals(buf3));
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18790
description: Negative `end` values throw an `ERR_INDEX_OUT_OF_RANGE` error.
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18129
description: Attempting to fill a non-zero length buffer with a zero length
buffer triggers a thrown exception.
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/17427
description: Specifying an invalid string for `value` triggers a thrown
exception.
Expand Down Expand Up @@ -1505,7 +1505,7 @@ The `buf.parent` property is a deprecated alias for `buf.buffer`.
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -1535,7 +1535,7 @@ console.log(buf.readDoubleLE(1));
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -1564,7 +1564,7 @@ console.log(buf.readFloatLE(1));
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -1594,7 +1594,7 @@ console.log(buf.readInt8(2));
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -1626,7 +1626,7 @@ console.log(buf.readInt16LE(1));
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -1658,7 +1658,7 @@ console.log(buf.readInt32LE(1));
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset and
byteLength to uint32 anymore.
Expand Down Expand Up @@ -1691,7 +1691,7 @@ console.log(buf.readIntBE(1, 0).toString(16));
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -1719,7 +1719,7 @@ console.log(buf.readUInt8(2));
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -1753,7 +1753,7 @@ console.log(buf.readUInt16LE(2).toString(16));
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -1783,7 +1783,7 @@ console.log(buf.readUInt32LE(1).toString(16));
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset and
byteLength to uint32 anymore.
Expand Down Expand Up @@ -2100,7 +2100,7 @@ console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`);
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -2135,7 +2135,7 @@ console.log(buf);
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -2169,7 +2169,7 @@ console.log(buf);
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -2201,7 +2201,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -2234,7 +2234,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -2267,7 +2267,7 @@ console.log(buf);
<!-- YAML
added: v0.11.15
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset and
byteLength to uint32 anymore.
Expand Down Expand Up @@ -2302,7 +2302,7 @@ console.log(buf);
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -2334,7 +2334,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -2371,7 +2371,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset to
uint32 anymore.
Expand Down Expand Up @@ -2406,7 +2406,7 @@ console.log(buf);
<!-- YAML
added: v0.5.5
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed noAssert and no implicit coercion of the offset and
byteLength to uint32 anymore.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Enable experimental ES module support and caching modules.

### `--experimental-repl-await`
<!-- YAML
added: REPLACEME
added: v10.0.0
-->

Enable experimental top-level `await` keyword support in REPL.
Expand Down Expand Up @@ -397,7 +397,7 @@ added:
- v5.0.0
- v4.2.0
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/19600
description: The `--require` option is now supported when checking a file.
-->
Expand Down
6 changes: 3 additions & 3 deletions doc/api/console.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ changes:
- version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/9744
description: The `ignoreErrors` option was introduced.
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/19372
description: The `Console` constructor now supports an `options` argument,
and the `colorMode` option was introduced.
Expand Down Expand Up @@ -128,7 +128,7 @@ new Console({ stdout: process.stdout, stderr: process.stderr });
<!-- YAML
added: v0.1.101
changes:
- version: REPLACEME
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/17706
description: The implementation is now spec compliant and does not throw
anymore.
Expand Down Expand Up @@ -347,7 +347,7 @@ See [`util.format()`][] for more information.

### console.table(tabularData[, properties])
<!-- YAML
added: REPLACEME
added: v10.0.0
-->

* `tabularData` {any}
Expand Down
Loading