Skip to content

Commit

Permalink
2021-10-19, Version 17.0.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

Deprecations and Removals:

PR-URL: #40119
  • Loading branch information
BethGriggs committed Oct 14, 2021
1 parent f9996d5 commit 41ad333
Show file tree
Hide file tree
Showing 33 changed files with 265 additions and 49 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 17](doc/changelogs/CHANGELOG\_V17.md) **Current**
* [Node.js 16](doc/changelogs/CHANGELOG\_V16.md) **Current**
* [Node.js 15](doc/changelogs/CHANGELOG\_V15.md) End-of-Life
* [Node.js 14](doc/changelogs/CHANGELOG\_V14.md) **Long Term Support**
Expand All @@ -27,11 +28,15 @@ release.

<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V17.md">17</a><sup>Current</sup></th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V16.md">16</a><sup>Current</sup></th>
<th title="LTS Until 2023-04"><a href="doc/changelogs/CHANGELOG_V14.md">14</a><sup>LTS</sup></th>
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a><sup>LTS</sup></th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.0.0">17.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.11.1">16.11.1</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V16.md#16.11.0">16.11.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/abi_version_registry.json
@@ -1,6 +1,6 @@
{
"NODE_MODULE_VERSION": [
{ "modules": 102,"runtime": "node", "variant": "v8_9.5", "versions": "17.0.0-pre" },
{ "modules": 102,"runtime": "node", "variant": "v8_9.5", "versions": "17.0.0" },
{ "modules": 101,"runtime": "electron", "variant": "electron", "versions": "17" },
{ "modules": 100,"runtime": "node", "variant": "v8_9.4", "versions": "17.0.0-pre" },
{ "modules": 99, "runtime": "electron", "variant": "electron", "versions": "16" },
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Expand Up @@ -623,7 +623,7 @@ Silence deprecation warnings.

### `--no-extra-info-on-fatal-exception`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

Hide extra information on fatal exception that causes exit.
Expand Down
8 changes: 4 additions & 4 deletions doc/api/deprecations.md
Expand Up @@ -2707,7 +2707,7 @@ Use `fs.rm(path, { recursive: true, force: true })`,
### DEP0148: Folder mappings in `"exports"` (trailing `"/"`)
<!-- YAML
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/40121
description: End-of-Life.
- version: v16.0.0
Expand Down Expand Up @@ -2795,7 +2795,7 @@ deprecated and should no longer be used.
### DEP0153: `dns.lookup` and `dnsPromises.lookup` options type coercion
<!-- YAML
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/39793
description: Runtime deprecation.
- version: v16.8.0
Expand Down Expand Up @@ -2826,7 +2826,7 @@ and `'mgf1HashAlgorithm'`.
### DEP0155: Trailing slashes in pattern specifier resolutions
<!-- YAML
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/40117
description: Runtime deprecation.
- version: v16.10.0
Expand All @@ -2843,7 +2843,7 @@ for package `"exports"` and `"imports"` pattern resolutions.
### DEP0156: `.aborted` property and `'abort'`, `'aborted'` event in `http`
<!-- YAML
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/36670
description: Documentation-only deprecation.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dgram.md
Expand Up @@ -468,7 +468,7 @@ if the socket is not connected.
<!-- YAML
added: v0.1.99
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/39190
description: The `address` parameter now only accepts a `string`, `null`
or `undefined`.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/dns.md
Expand Up @@ -172,7 +172,7 @@ section if a custom port is used.
<!-- YAML
added: v0.1.90
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/39987
description: The `verbatim` options defaults to `true` now.
- version: v8.5.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/esm.md
Expand Up @@ -8,7 +8,7 @@
added: v8.5.0
changes:
- version:
- REPLACEME
- v17.0.0
pr-url: https://github.com/nodejs/node/pull/37468
description:
Consolidate loader hooks, removed `getFormat`, `getSource`,
Expand Down
2 changes: 1 addition & 1 deletion doc/api/fs.md
Expand Up @@ -395,7 +395,7 @@ number of bytes read is zero.
#### `filehandle.readableWebStream()`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->
> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/globals.md
Expand Up @@ -383,7 +383,7 @@ added: v0.0.1

## `DOMException`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

<!-- type=global -->
Expand Down
8 changes: 4 additions & 4 deletions doc/api/http.md
Expand Up @@ -407,7 +407,7 @@ body which has been transmitted are equal or not.
### Event: `'abort'`
<!-- YAML
added: v1.4.1
deprecated: REPLACEME
deprecated: v17.0.0
-->

> Stability: 0 - Deprecated. Listen for the `'close'` event instead.
Expand Down Expand Up @@ -648,7 +648,7 @@ in the response to be dropped and the socket to be destroyed.
### `request.aborted`
<!-- YAML
added: v0.11.14
deprecated: REPLACEME
deprecated: v17.0.0
changes:
- version: v11.0.0
pr-url: https://github.com/nodejs/node/pull/20230
Expand Down Expand Up @@ -1994,7 +1994,7 @@ may be reused multiple times in case of keep-alive.
### Event: `'aborted'`
<!-- YAML
added: v0.3.8
deprecated: REPLACEME
deprecated: v17.0.0
-->

> Stability: 0 - Deprecated. Listen for `'close'` event instead.
Expand All @@ -2011,7 +2011,7 @@ Indicates that the underlying connection was closed.
### `message.aborted`
<!-- YAML
added: v10.1.0
deprecated: REPLACEME
deprecated: v17.0.0
-->

> Stability: 0 - Deprecated. Check `message.destroyed` from {stream.Readable}.
Expand Down
26 changes: 13 additions & 13 deletions doc/api/readline.md
Expand Up @@ -536,14 +536,14 @@ line prompts are included in the calculations.

## Promises API
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

> Stability: 1 - Experimental
### Class: `readlinePromises.Interface`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* Extends: {readline.InterfaceConstructor}
Expand All @@ -556,7 +556,7 @@ and is read from, the `input` stream.

#### `rl.question(query[, options])`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* `query` {string} A statement or query to write to `output`, prepended to the
Expand Down Expand Up @@ -602,12 +602,12 @@ setTimeout(() => ac.abort(), 10000);

### Class: `readlinePromises.Readline`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

#### `new readlinePromises.Readline(stream[, options])`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* `stream` {stream.Writable} A [TTY][] stream.
Expand All @@ -616,7 +616,7 @@ added: REPLACEME

#### `rl.clearLine(dir)`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* `dir` {integer}
Expand All @@ -633,7 +633,7 @@ was passed to the constructor.

#### `rl.clearScreenDown()`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* Returns: this
Expand All @@ -646,7 +646,7 @@ was passed to the constructor.

#### `rl.commit()`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* Returns: {Promise}
Expand All @@ -656,7 +656,7 @@ The `rl.commit()` method sends all the pending actions to the associated

#### `rl.cursorTo(x[, y])`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* `x` {integer}
Expand All @@ -670,7 +670,7 @@ was passed to the constructor.

#### `rl.moveCursor(dx, dy)`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* `dx` {integer}
Expand All @@ -685,7 +685,7 @@ was passed to the constructor.

#### `rl.rollback()`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* Returns: this
Expand All @@ -695,7 +695,7 @@ sending it to the associated `stream`.

### `readlinePromises.createInterface(options)`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

* `options` {Object}
Expand Down Expand Up @@ -797,7 +797,7 @@ added: v0.1.104
<!-- YAML
added: v0.1.104
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/37947
description: The class `readline.Interface` now inherits from `Interface`.
-->
Expand Down
10 changes: 5 additions & 5 deletions doc/api/stream.md
Expand Up @@ -2108,7 +2108,7 @@ Returns whether the stream has been read from or cancelled.

### `stream.Readable.toWeb(streamReadable)`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

> Stability: 1 - Experimental
Expand All @@ -2118,7 +2118,7 @@ added: REPLACEME

### `stream.Writable.fromWeb(writableStream[, options])`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

> Stability: 1 - Experimental
Expand All @@ -2133,7 +2133,7 @@ added: REPLACEME

### `stream.Writable.toWeb(streamWritable)`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -2171,7 +2171,7 @@ A utility method for creating duplex streams.

### `stream.Duplex.fromWeb(pair[, options])`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

> Stability: 1 - Experimental
Expand All @@ -2190,7 +2190,7 @@ added: REPLACEME

### `stream.Duplex.toWeb(streamDuplex)`
<!-- YAML
added: REPLACEME
added: v17.0.0
-->

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/url.md
Expand Up @@ -1386,7 +1386,7 @@ forward-slash characters (`/`) are required following the colon in the
<!-- YAML
added: v0.1.25
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/38631
description: Now throws an `ERR_INVALID_URL` exception when Punycode
conversion of a hostname introduces changes that could cause
Expand Down
12 changes: 6 additions & 6 deletions doc/api/vm.md
Expand Up @@ -54,7 +54,7 @@ executed in specific contexts.
<!-- YAML
added: v0.3.1
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/40249
description: Added support for import assertions to the
`importModuleDynamically` parameter.
Expand Down Expand Up @@ -651,7 +651,7 @@ defined in the ECMAScript specification.
### `new vm.SourceTextModule(code[, options])`
<!-- YAML
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/40249
description: Added support for import assertions to the
`importModuleDynamically` parameter.
Expand Down Expand Up @@ -869,7 +869,7 @@ const vm = require('vm');
<!-- YAML
added: v10.10.0
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/40249
description: Added support for import assertions to the
`importModuleDynamically` parameter.
Expand Down Expand Up @@ -1092,7 +1092,7 @@ vm.measureMemory({ mode: 'detailed', execution: 'eager' })
<!-- YAML
added: v0.3.1
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/40249
description: Added support for import assertions to the
`importModuleDynamically` parameter.
Expand Down Expand Up @@ -1176,7 +1176,7 @@ console.log(contextObject);
<!-- YAML
added: v0.3.1
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/40249
description: Added support for import assertions to the
`importModuleDynamically` parameter.
Expand Down Expand Up @@ -1285,7 +1285,7 @@ console.log(contextObject);
<!-- YAML
added: v0.3.1
changes:
- version: REPLACEME
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/40249
description: Added support for import assertions to the
`importModuleDynamically` parameter.
Expand Down

0 comments on commit 41ad333

Please sign in to comment.