Skip to content

Commit

Permalink
2021-09-28, Version 14.18.0 'Fermium' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

assert:
  * change status of legacy asserts (James M Snell) #38113
buffer:
  * (SEMVER-MINOR) introduce Blob (James M Snell) #36811
  * (SEMVER-MINOR) add base64url encoding option (Filip Skokan) #36952
child_process:
  * (SEMVER-MINOR) allow `options.cwd` receive a URL (Khaidi Chu) #38862
  * (SEMVER-MINOR) add timeout to spawn and fork (Nitzan Uziely) #37256
  * (SEMVER-MINOR) allow promisified exec to be cancel (Carlos Fuentes) #34249
  * (SEMVER-MINOR) add 'overlapped' stdio flag (Thiago Padilha) #29412
cli:
  * (SEMVER-MINOR) add -C alias for --conditions flag (Guy Bedford) #38755
  * (SEMVER-MINOR) add --node-memory-debug option (Anna Henningsen) #35537
dns:
  * (SEMVER-MINOR) add "tries" option to Resolve options (Luan Devecchi) #39610
  * (SEMVER-MINOR) allow `--dns-result-order` to change default dns verbatim (Ouyang Yadong) #38099
doc:
  * (SEMVER-MINOR) add missing change to resolver ctor (Luan Devecchi) #39610
  * refactor fs docs structure (James M Snell) #37170
errors:
  * (SEMVER-MINOR) remove experimental from --enable-source-maps (Benjamin Coe) #37362
esm:
  * deprecate legacy main lookup for modules (Guy Bedford) #36918
fs:
  * (SEMVER-MINOR) allow empty string for temp directory prefix (Voltrex) #39028
  * (SEMVER-MINOR) allow no-params fsPromises fileHandle read (Nitzan Uziely) #38287
  * (SEMVER-MINOR) add support for async iterators to `fsPromises.writeFile` (HiroyukiYagihashi) #37490
  * improve fsPromises readFile performance (Nitzan Uziely) #37608
  * (SEMVER-MINOR) add fsPromises.watch() (James M Snell) #37179
  * (SEMVER-MINOR) allow `position` parameter to be a `BigInt` in read and readSync (Darshan Sen) #36190
http2:
  * (SEMVER-MINOR) add support for sensitive headers (Anna Henningsen) #34145
  * (SEMVER-MINOR) allow setting the local window size of a session (Yongsheng Zhang) #35978
inspector:
  * mark as stable (Gireesh Punathil) #37748
module:
  * (SEMVER-MINOR) add support for `URL` to `import.meta.resolve` (Antoine du Hamel) #38587
  * (SEMVER-MINOR) add support for `node:`‑prefixed `require(…)` calls (ExE Boss) #37246
net:
  * (SEMVER-MINOR) introduce net.BlockList (James M Snell) #34625
node-api:
  * (SEMVER-MINOR) allow retrieval of add-on file name (Gabriel Schulhof) #37195
os:
  * (SEMVER-MINOR) add os.devNull (Luigi Pinca) #38569
perf_hooks:
  * (SEMVER-MINOR) introduce createHistogram (James M Snell) #37155
process:
  * (SEMVER-MINOR) add api to enable source-maps programmatically (legendecas) #39085
  * (SEMVER-MINOR) add `'worker'` event (James M Snell) #38659
  * (SEMVER-MINOR) add direct access to rss without iterating pages (Adrien Maret) #34291
readline:
  * (SEMVER-MINOR) add AbortSignal support to interface (Nitzan Uziely) #37932
  * (SEMVER-MINOR) add support for the AbortController to the question method (Mattias Runge-Broberg) #33676
  * (SEMVER-MINOR) add history event and option to set initial history (Mattias Runge-Broberg) #33662
repl:
  * (SEMVER-MINOR) add auto‑completion for `node:`‑prefixed `require(…)` calls (ExE Boss) #37246
src:
  * (SEMVER-MINOR) call overload ctor from the original ctor (Darshan Sen) #39768
  * (SEMVER-MINOR) add a constructor overload for CallbackScope (Darshan Sen) #39768
  * (SEMVER-MINOR) allow to negate boolean CLI flags (Michaël Zasso) #39023
  * (SEMVER-MINOR) add --heapsnapshot-near-heap-limit option (Joyee Cheung) #33010
  * (SEMVER-MINOR) add way to get IsolateData and allocator from Environment (Anna Henningsen) #36441
  * (SEMVER-MINOR) allow preventing SetPrepareStackTraceCallback (Shelley Vohr) #36447
  * (SEMVER-MINOR) add maybe versions of EmitExit and EmitBeforeExit (Anna Henningsen) #35486
stream:
  * (SEMVER-MINOR) add readableDidRead if has been read from (Robert Nagy) #39589
  * (SEMVER-MINOR) pipeline accept Buffer as a valid first argument (Nitzan Uziely) #37739
tls:
  * (SEMVER-MINOR) allow reading data into a static buffer (Andrey Pechkurov) #35753
tools:
  * (SEMVER-MINOR) add `Worker` to type-parser (James M Snell) #38659
url:
  * (SEMVER-MINOR) expose urlToHttpOptions utility (Yongsheng Zhang) #35960
util:
  * (SEMVER-MINOR) expose toUSVString (Robert Nagy) #39814
v8:
  * (SEMVER-MINOR) implement v8.stopCoverage() (Joyee Cheung) #33807
  * (SEMVER-MINOR) implement v8.takeCoverage() (Joyee Cheung) #33807
worker:
  * (SEMVER-MINOR) add setEnvironmentData/getEnvironmentData (James M Snell) #37486

PR-URL: #39990
  • Loading branch information
targos committed Sep 28, 2021
1 parent 2caa308 commit d9ebc04
Show file tree
Hide file tree
Showing 27 changed files with 758 additions and 104 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V16.md#16.0.0">16.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.17.6">14.17.6</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.18.0">14.18.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.6">14.17.6</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.5">14.17.5</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.4">14.17.4</a><br/>
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.3">14.17.3</a><br/>
Expand Down
40 changes: 24 additions & 16 deletions doc/api/assert.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,9 @@ An alias of [`assert.ok()`][].
<!-- YAML
added: v0.1.21
changes:
- version: v16.0.0
- version:
- v16.0.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38113
description: In Legacy assertion mode, changed status from Deprecated to
Legacy.
Expand All @@ -475,18 +477,18 @@ changes:
pr-url: https://github.com/nodejs/node/pull/12142
description: The `Set` and `Map` content is also compared.
- version:
- v6.4.0
- v4.7.1
- v6.4.0
- v4.7.1
pr-url: https://github.com/nodejs/node/pull/8002
description: Typed array slices are handled correctly now.
- version:
- v6.1.0
- v4.5.0
- v6.1.0
- v4.5.0
pr-url: https://github.com/nodejs/node/pull/6432
description: Objects with circular references can be used as inputs now.
- version:
- v5.10.1
- v4.4.3
- v5.10.1
- v4.4.3
pr-url: https://github.com/nodejs/node/pull/5910
description: Handle non-`Uint8Array` typed arrays correctly.
-->
Expand Down Expand Up @@ -1127,7 +1129,9 @@ assert.doesNotThrow(
<!-- YAML
added: v0.1.21
changes:
- version: v16.0.0
- version:
- v16.0.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38113
description: In Legacy assertion mode, changed status from Deprecated to
Legacy.
Expand Down Expand Up @@ -1455,7 +1459,9 @@ instance of an [`Error`][] then it will be thrown instead of the
<!-- YAML
added: v0.1.21
changes:
- version: v16.0.0
- version:
- v16.0.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38113
description: In Legacy assertion mode, changed status from Deprecated to
Legacy.
Expand All @@ -1470,18 +1476,18 @@ changes:
pr-url: https://github.com/nodejs/node/pull/12142
description: The `Set` and `Map` content is also compared.
- version:
- v6.4.0
- v4.7.1
- v6.4.0
- v4.7.1
pr-url: https://github.com/nodejs/node/pull/8002
description: Typed array slices are handled correctly now.
- version:
- v6.1.0
- v4.5.0
- v6.1.0
- v4.5.0
pr-url: https://github.com/nodejs/node/pull/6432
description: Objects with circular references can be used as inputs now.
- version:
- v5.10.1
- v4.4.3
- v5.10.1
- v4.4.3
pr-url: https://github.com/nodejs/node/pull/5910
description: Handle non-`Uint8Array` typed arrays correctly.
-->
Expand Down Expand Up @@ -1635,7 +1641,9 @@ instead of the [`AssertionError`][].
<!-- YAML
added: v0.1.21
changes:
- version: v16.0.0
- version:
- v16.0.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38113
description: In Legacy assertion mode, changed status from Deprecated to
Legacy.
Expand Down
32 changes: 24 additions & 8 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ const buf7 = Buffer.from('tést', 'latin1');
## Buffers and character encodings
<!-- YAML
changes:
- version: v15.7.0
- version:
- v15.7.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/36952
description: Introduced `base64url` encoding.
- version: v6.4.0
Expand Down Expand Up @@ -448,7 +450,9 @@ Additionally, the [`buf.values()`][], [`buf.keys()`][], and

## Class: `Blob`
<!-- YAML
added: v15.7.0
added:
- v15.7.0
- v14.18.0
-->

> Stability: 1 - Experimental
Expand All @@ -458,7 +462,9 @@ multiple worker threads.

### `new buffer.Blob([sources[, options]])`
<!-- YAML
added: v15.7.0
added:
- v15.7.0
- v14.18.0
changes:
- version: v16.7.0
pr-url: https://github.com/nodejs/node/pull/39708
Expand Down Expand Up @@ -488,7 +494,9 @@ U+FFFD replacement characters.

### `blob.arrayBuffer()`
<!-- YAML
added: v15.7.0
added:
- v15.7.0
- v14.18.0
-->

* Returns: {Promise}
Expand All @@ -498,14 +506,18 @@ the `Blob` data.

### `blob.size`
<!-- YAML
added: v15.7.0
added:
- v15.7.0
- v14.18.0
-->

The total size of the `Blob` in bytes.

### `blob.slice([start, [end, [type]]])`
<!-- YAML
added: v15.7.0
added:
- v15.7.0
- v14.18.0
-->

* `start` {number} The starting index.
Expand All @@ -526,7 +538,9 @@ Returns a new `ReadableStream` that allows the content of the `Blob` to be read.

### `blob.text()`
<!-- YAML
added: v15.7.0
added:
- v15.7.0
- v14.18.0
-->

* Returns: {Promise}
Expand All @@ -536,7 +550,9 @@ UTF-8 string.

### `blob.type`
<!-- YAML
added: v15.7.0
added:
- v15.7.0
- v14.18.0
-->

* Type: {string}
Expand Down
48 changes: 36 additions & 12 deletions doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
<!-- YAML
added: v0.1.90
changes:
- version: v16.4.0
- version:
- v16.4.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38862
description: The `cwd` option can be a WHATWG `URL` object using
`file:` protocol.
Expand Down Expand Up @@ -275,7 +277,9 @@ controller.abort();
<!-- YAML
added: v0.1.91
changes:
- version: v16.4.0
- version:
- v16.4.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38862
description: The `cwd` option can be a WHATWG `URL` object using
`file:` protocol.
Expand Down Expand Up @@ -384,14 +388,20 @@ controller.abort();
<!-- YAML
added: v0.5.0
changes:
- version: v16.4.0
- version:
- v16.4.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38862
description: The `cwd` option can be a WHATWG `URL` object using
`file:` protocol.
- version: v15.13.0
- version:
- v15.13.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/37256
description: timeout was added.
- version: v15.11.0
- version:
- v15.11.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/37325
description: killSignal for AbortSignal was added.
- version:
Expand Down Expand Up @@ -499,14 +509,20 @@ if (process.argv[2] === 'child') {
<!-- YAML
added: v0.1.90
changes:
- version: v16.4.0
- version:
- v16.4.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38862
description: The `cwd` option can be a WHATWG `URL` object using
`file:` protocol.
- version: v15.13.0
- version:
- v15.13.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/37256
description: timeout was added.
- version: v15.11.0
- version:
- v15.11.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/37325
description: killSignal for AbortSignal was added.
- version:
Expand Down Expand Up @@ -746,7 +762,9 @@ subprocess.unref();
<!-- YAML
added: v0.7.10
changes:
- version: v15.6.0
- version:
- v15.6.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/29412
description: Added the `overlapped` stdio flag.
- version: v3.3.1
Expand Down Expand Up @@ -861,7 +879,9 @@ configuration at startup.
<!-- YAML
added: v0.11.12
changes:
- version: v16.4.0
- version:
- v16.4.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38862
description: The `cwd` option can be a WHATWG `URL` object using
`file:` protocol.
Expand Down Expand Up @@ -934,7 +954,9 @@ arbitrary command execution.**
<!-- YAML
added: v0.11.12
changes:
- version: v16.4.0
- version:
- v16.4.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38862
description: The `cwd` option can be a WHATWG `URL` object using
`file:` protocol.
Expand Down Expand Up @@ -998,7 +1020,9 @@ metacharacters may be used to trigger arbitrary command execution.**
<!-- YAML
added: v0.11.12
changes:
- version: v16.4.0
- version:
- v16.4.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/38862
description: The `cwd` option can be a WHATWG `URL` object using
`file:` protocol.
Expand Down
16 changes: 12 additions & 4 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ code from strings throw an exception instead. This does not affect the Node.js

### `--dns-result-order=order`
<!-- YAML
added: v16.4.0
added:
- v16.4.0
- v14.18.0
-->

Set the default value of `verbatim` in [`dns.lookup()`][] and
Expand All @@ -213,7 +215,9 @@ against FIPS-compatible OpenSSL.)
<!-- YAML
added: v12.12.0
changes:
- version: v15.11.0
- version:
- v15.11.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/37362
description: This API is no longer experimental.
-->
Expand Down Expand Up @@ -363,7 +367,9 @@ be added.

### `--heapsnapshot-near-heap-limit=max_count`
<!-- YAML
added: v15.1.0
added:
- v15.1.0
- v14.18.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -647,7 +653,9 @@ Silence all process warnings (including deprecations).

### `--node-memory-debug`
<!-- YAML
added: v15.0.0
added:
- v15.0.0
- v14.18.0
-->

Enable extra debug checks for memory leaks in Node.js internals. This is
Expand Down
4 changes: 3 additions & 1 deletion doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2760,7 +2760,9 @@ changes:
- version: v16.0.0
pr-url: https://github.com/nodejs/node/pull/37206
description: Runtime deprecation.
- version: v15.8.0
- version:
- v15.8.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/36918
description: Documentation-only deprecation
with `--pending-deprecation` support.
Expand Down
12 changes: 9 additions & 3 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ The following methods from the `dns` module are available:
<!-- YAML
added: v8.3.0
changes:
- version: v16.7.0
- version:
- v16.7.0
- v14.18.0
pr-url: https://github.com/nodejs/node/pull/39610
description: The `options` object now accepts a `tries` option.
- version: v12.18.3
Expand Down Expand Up @@ -643,7 +645,9 @@ one of the [DNS error codes][].

## `dns.setDefaultResultOrder(order)`
<!-- YAML
added: v16.4.0
added:
- v16.4.0
- v14.18.0
-->

* `order` {string} must be `'ipv4first'` or `'verbatim'`.
Expand Down Expand Up @@ -1168,7 +1172,9 @@ is one of the [DNS error codes]().

### `dnsPromises.setDefaultResultOrder(order)`
<!-- YAML
added: v16.4.0
added:
- v16.4.0
- v14.18.0
-->

* `order` {string} must be `'ipv4first'` or `'verbatim'`.
Expand Down
Loading

0 comments on commit d9ebc04

Please sign in to comment.