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:
  • Loading branch information
BethGriggs committed Sep 1, 2020
1 parent d5fa6a8 commit f664450
Show file tree
Hide file tree
Showing 30 changed files with 333 additions and 197 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.9.0">14.9.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.8.0">14.8.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.7.0">14.7.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
4 changes: 2 additions & 2 deletions doc/api/cli.md
Expand Up @@ -197,9 +197,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 @@ -481,7 +481,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 @@ -1438,7 +1438,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 @@ -1553,7 +1553,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 @@ -1570,7 +1570,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 @@ -1634,7 +1634,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 @@ -1702,7 +1702,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 @@ -2403,7 +2403,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
12 changes: 6 additions & 6 deletions doc/api/errors.md
Expand Up @@ -1443,7 +1443,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 @@ -1617,14 +1617,14 @@ is thrown if a required option is missing.
<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
was found in the object passed to a [`postMessage()`][] call, but 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 @@ -2394,11 +2394,11 @@ A given index was out of the accepted range (e.g. negative offsets).
<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 @@ -2419,7 +2419,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
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 @@ -2495,7 +2495,7 @@ the given `Buffer` as generated by `http2.getPackedSettings()`.

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

* {symbol}
Expand Down
8 changes: 4 additions & 4 deletions doc/api/n-api.md
Expand Up @@ -625,7 +625,7 @@ typedef struct {

#### napi_async_cleanup_hook_handle
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

An opaque value returned by [`napi_add_async_cleanup_hook`][]. It must be passed
Expand Down Expand Up @@ -762,7 +762,7 @@ handle and/or callback scope inside the function body is not necessary.
#### napi_async_cleanup_hook
<!-- YAML
added: REPLACEME
added: v15.0.0
-->
Function pointer used with [`napi_add_async_cleanup_hook`][]. It will be called
Expand Down Expand Up @@ -1614,7 +1614,7 @@ with `napi_add_env_cleanup_hook`, otherwise the process will abort.
<!-- YAML
added: v14.8.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34819
description: Changed signature of the `hook` callback.
-->
Expand Down Expand Up @@ -1653,7 +1653,7 @@ is being torn down anyway.
<!-- YAML
added: v14.8.0
changes:
- version: REPLACEME
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/34819
description: Removed `env` parameter.
-->
Expand Down
14 changes: 7 additions & 7 deletions doc/api/net.md
Expand Up @@ -57,7 +57,7 @@ net.createServer().listen(

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

The `BlockList` object can be used with some network APIs to specify rules for
Expand All @@ -66,7 +66,7 @@ IP subnets.

### `blockList.addAddress(address[, type])`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* `address` {string} An IPv4 or IPv6 address.
Expand All @@ -76,7 +76,7 @@ Adds a rule to block the given IP address.

### `blockList.addRange(start, end[, type])`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* `start` {string} The starting IPv4 or IPv6 address in the range.
Expand All @@ -88,7 +88,7 @@ Adds a rule to block a range of IP addresses from `start` (inclusive) to

### `blockList.addSubnet(net, prefix[, type])`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* `net` {string} The network IPv4 or IPv6 address.
Expand All @@ -101,7 +101,7 @@ Adds a rule to block a range of IP addresses specified as a subnet mask.

### `blockList.check(address[, type])`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* `address` {string} The IP address to check
Expand All @@ -128,7 +128,7 @@ console.log(blockList.check('::ffff:123.123.123.123', 'ipv6')); // Prints: true

### `blockList.rules`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* Type: {string[]}
Expand Down Expand Up @@ -1193,7 +1193,7 @@ then returns the `net.Socket` that starts the connection.

## `net.createQuicSocket([options])`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

Creates and returns a new `QuicSocket`. Please refer to the [QUIC documentation][]
Expand Down
4 changes: 2 additions & 2 deletions doc/api/perf_hooks.md
Expand Up @@ -55,7 +55,7 @@ Performance Timeline. If `name` is provided, removes only the named mark.

### `performance.eventLoopUtilization([util1][,util2])`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* `util1` {Object} The result of a previous call to `eventLoopUtilization()`
Expand Down Expand Up @@ -348,7 +348,7 @@ initialized.

### `performanceNodeTiming.idleTime`
<!-- YAML
added: REPLACEME
added: v15.0.0
-->

* {number}
Expand Down

0 comments on commit f664450

Please sign in to comment.