Skip to content

Commit

Permalink
2020-10-20, Version 15.0.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

* TBD

PR-URL: #35014
  • Loading branch information
BethGriggs committed Sep 22, 2020
1 parent d71b467 commit ded2338
Show file tree
Hide file tree
Showing 31 changed files with 343 additions and 207 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@

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

* [Node.js 15](doc/changelogs/CHANGELOG_V15.md) **Current**
* [Node.js 14](doc/changelogs/CHANGELOG_V14.md) **Current**
* [Node.js 13](doc/changelogs/CHANGELOG_V13.md) End-of-Life
* [Node.js 12](doc/changelogs/CHANGELOG_V12.md) **Long Term Support**
Expand All @@ -24,12 +25,16 @@ release.
<!--lint disable maximum-line-length-->
<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V15.md">15</a><sup>Current</sup></th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V14.md">14</a><sup>Current</sup></th>
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a><sup>LTS</sup></th>
<th title="LTS Until 2021-04"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>LTS</sup></th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V15.md#15.0.0">15.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.11.0">14.11.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.10.1">14.10.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.10.0">14.10.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/assert.md
Expand Up @@ -13,7 +13,7 @@ invariants.
<!-- YAML
added: v9.9.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34001
description: Exposed as `require('assert/strict')`
- version:
Expand Down
6 changes: 3 additions & 3 deletions doc/api/buffer.md
Expand Up @@ -288,7 +288,7 @@ It can be constructed in a variety of ways.
<!-- YAML
added: v5.10.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34682
description: Throw ERR_INVALID_ARG_VALUE instead of ERR_INVALID_OPT_VALUE
for invalid input arguments.
Expand Down Expand Up @@ -357,7 +357,7 @@ A `TypeError` will be thrown if `size` is not a number.
<!-- YAML
added: v5.10.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34682
description: Throw ERR_INVALID_ARG_VALUE instead of ERR_INVALID_OPT_VALUE
for invalid input arguments.
Expand Down Expand Up @@ -410,7 +410,7 @@ additional performance that [`Buffer.allocUnsafe()`][] provides.
<!-- YAML
added: v5.12.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34682
description: Throw ERR_INVALID_ARG_VALUE instead of ERR_INVALID_OPT_VALUE
for invalid input arguments.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/cli.md
Expand Up @@ -201,9 +201,9 @@ Currently, overriding `Error.prepareStackTrace` is ignored when the

### `--experimental-abortcontroller`
<!-- YAML
added: REPLACEME
added: v15.0.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33527
description: --experimental-abortcontroller is no longer required.
-->
Expand Down
14 changes: 7 additions & 7 deletions doc/api/deprecations.md
Expand Up @@ -461,7 +461,7 @@ This behavior has been removed.
### DEP0020: `Server.connections`
<!-- YAML
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33647
description: Server.connections has been removed.
- version:
Expand Down Expand Up @@ -1370,7 +1370,7 @@ an officially supported API.
### DEP0068: `node debug`
<!-- YAML
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33648
description: The legacy `node debug` command was removed.
- version: v8.0.0
Expand Down Expand Up @@ -1479,7 +1479,7 @@ code, no replacement API is provided.
### DEP0074: `REPLServer.bufferedCommand`
<!-- YAML
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33286
description: End-of-Life.
- version: v9.0.0
Expand All @@ -1495,7 +1495,7 @@ The `REPLServer.bufferedCommand` property was deprecated in favor of
### DEP0075: `REPLServer.parseREPLKeyword()`
<!-- YAML
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33286
description: End-of-Life.
- version: v9.0.0
Expand Down Expand Up @@ -1556,7 +1556,7 @@ supported API.
### DEP0078: `REPLServer.turnOffEditorMode()`
<!-- YAML
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33286
description: End-of-Life.
- version: v9.0.0
Expand Down Expand Up @@ -1620,7 +1620,7 @@ file descriptors.
### DEP0082: `REPLServer.prototype.memory()`
<!-- YAML
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33286
description: End-of-Life.
- version: v9.0.0
Expand Down Expand Up @@ -2281,7 +2281,7 @@ Setting the TLS ServerName to an IP address is not permitted by
### DEP0124: using `REPLServer.rli`
<!-- YAML
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/33286
description: End-of-Life.
- version: v12.0.0
Expand Down
16 changes: 8 additions & 8 deletions doc/api/errors.md
Expand Up @@ -1438,7 +1438,7 @@ type on execution, such as when a function is expected to return a promise.
<a id="ERR_INVALID_STATE"></a>
### `ERR_INVALID_STATE`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

Indicates that an operation cannot be completed due to an invalid state.
Expand Down Expand Up @@ -1624,14 +1624,14 @@ this error will not occur with standard builds of Node.js.
<a id="ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST"></a>
### `ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

An object that needs to be explicitly listed in the `transferList` argument
is in the object passed to a [`postMessage()`][] call, but is not provided
in the `transferList` for that call. Usually, this is a `MessagePort`.

In Node.js versions prior to REPLACEME, the error code being used here was
In Node.js versions prior to v15.0.0, the error code being used here was
[`ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST`][]. However, the set of
transferable object types has been expanded to cover more types than
`MessagePort`.
Expand Down Expand Up @@ -2390,7 +2390,7 @@ A given index was out of the accepted range (e.g. negative offsets).
### `ERR_INVALID_OPT_VALUE`
<!-- YAML
added: v8.0.0
removed: REPLACEME
removed: v15.0.0
-->

An invalid or unexpected value was passed in an options object.
Expand All @@ -2399,19 +2399,19 @@ An invalid or unexpected value was passed in an options object.
### `ERR_INVALID_OPT_VALUE_ENCODING`
<!-- YAML
added: v9.0.0
removed: REPLACEME
removed: v15.0.0
-->

An invalid or unknown file encoding was passed.

<a id="ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST"></a>
### `ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST`
<!-- YAML
removed: REPLACEME
removed: v15.0.0
-->

This error code was replaced by [`ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST`][]
in Node.js REPLACEME, because it is no longer accurate as other types of
in Node.js v15.0.0, because it is no longer accurate as other types of
transferable objects also exist now.

<a id="ERR_NAPI_CONS_PROTOTYPE_OBJECT"></a>
Expand All @@ -2432,7 +2432,7 @@ A Node.js API was called in an unsupported manner, such as
<a id="ERR_OPERATION_FAILED"></a>
### `ERR_OPERATION_FAILED`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

An operation failed. This is typically used to signal the general failure
Expand Down
20 changes: 10 additions & 10 deletions doc/api/fs.md
Expand Up @@ -4167,7 +4167,7 @@ This happens when:
<!-- YAML
added: v0.0.2
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `buffer` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -4233,7 +4233,7 @@ the end of the file.
<!-- YAML
added: v0.11.5
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `string` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -4296,7 +4296,7 @@ details.
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `data` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -4391,7 +4391,7 @@ to contain only `', World'`.
<!-- YAML
added: v0.1.29
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `data` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -4427,7 +4427,7 @@ this API: [`fs.writeFile()`][].
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `buffer` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -4461,7 +4461,7 @@ this API: [`fs.write(fd, buffer...)`][].
<!-- YAML
added: v0.11.5
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `string` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -4842,7 +4842,7 @@ This function does not work on AIX versions before 7.1, it will resolve the
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `buffer` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -4883,7 +4883,7 @@ the end of the file.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `string` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -4923,7 +4923,7 @@ the end of the file.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `data` parameter will stringify an object with an
explicit `toString` function.
Expand Down Expand Up @@ -5558,7 +5558,7 @@ The `atime` and `mtime` arguments follow these rules:
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34993
description: The `data` parameter will stringify an object with an
explicit `toString` function.
Expand Down
14 changes: 7 additions & 7 deletions doc/api/globals.md
Expand Up @@ -19,7 +19,7 @@ accessible.

## Class: `AbortController`
<!--YAML
added: REPLACEME
added: v15.0.0
-->

> Stability: 1 - Experimental
Expand All @@ -42,22 +42,22 @@ console.log(ac.signal.aborted); // Prints True

### `abortController.abort()`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

Triggers the abort signal, causing the `abortController.signal` to emit
the `'abort'` event.

### `abortController.signal`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* Type: {AbortSignal}

### Class: `AbortSignal`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* Extends: {EventTarget}
Expand All @@ -67,7 +67,7 @@ The `AbortSignal` is used to notify observers when the

#### Event: `'abort'`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

The `'abort'` event is emitted when the `abortController.abort()` method
Expand Down Expand Up @@ -97,14 +97,14 @@ Failure to do so may result in memory leaks.

#### `abortSignal.aborted`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* Type: {boolean} True after the `AbortController` has been aborted.

#### `abortSignal.onabort`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* Type: {Function}
Expand Down
4 changes: 2 additions & 2 deletions doc/api/http2.md
Expand Up @@ -2,7 +2,7 @@
<!-- YAML
added: v8.4.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34664
description: Requests with the `host` header (with or without
`:authority`) can now be sent/received.
Expand Down Expand Up @@ -2494,7 +2494,7 @@ the given `Buffer` as generated by `http2.getPackedSettings()`.

### `http2.sensitiveHeaders`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* {symbol}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Expand Up @@ -3751,7 +3751,7 @@ if (status != napi_ok) return status;
#### napi_property_attributes
<!-- YAML
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35214
description: added `napi_default_method` and `napi_default_property`
-->
Expand Down

0 comments on commit ded2338

Please sign in to comment.