Skip to content

Commit d9ebc04

Browse files
committed
2021-09-28, Version 14.18.0 'Fermium' (LTS)
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
1 parent 2caa308 commit d9ebc04

27 files changed

+758
-104
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ release.
5151
<a href="doc/changelogs/CHANGELOG_V16.md#16.0.0">16.0.0</a><br/>
5252
</td>
5353
<td valign="top">
54-
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.17.6">14.17.6</a></b><br/>
54+
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.18.0">14.18.0</a></b><br/>
55+
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.6">14.17.6</a><br/>
5556
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.5">14.17.5</a><br/>
5657
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.4">14.17.4</a><br/>
5758
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.3">14.17.3</a><br/>

doc/api/assert.md

+24-16
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,9 @@ An alias of [`assert.ok()`][].
456456
<!-- YAML
457457
added: v0.1.21
458458
changes:
459-
- version: v16.0.0
459+
- version:
460+
- v16.0.0
461+
- v14.18.0
460462
pr-url: https://github.com/nodejs/node/pull/38113
461463
description: In Legacy assertion mode, changed status from Deprecated to
462464
Legacy.
@@ -475,18 +477,18 @@ changes:
475477
pr-url: https://github.com/nodejs/node/pull/12142
476478
description: The `Set` and `Map` content is also compared.
477479
- version:
478-
- v6.4.0
479-
- v4.7.1
480+
- v6.4.0
481+
- v4.7.1
480482
pr-url: https://github.com/nodejs/node/pull/8002
481483
description: Typed array slices are handled correctly now.
482484
- version:
483-
- v6.1.0
484-
- v4.5.0
485+
- v6.1.0
486+
- v4.5.0
485487
pr-url: https://github.com/nodejs/node/pull/6432
486488
description: Objects with circular references can be used as inputs now.
487489
- version:
488-
- v5.10.1
489-
- v4.4.3
490+
- v5.10.1
491+
- v4.4.3
490492
pr-url: https://github.com/nodejs/node/pull/5910
491493
description: Handle non-`Uint8Array` typed arrays correctly.
492494
-->
@@ -1127,7 +1129,9 @@ assert.doesNotThrow(
11271129
<!-- YAML
11281130
added: v0.1.21
11291131
changes:
1130-
- version: v16.0.0
1132+
- version:
1133+
- v16.0.0
1134+
- v14.18.0
11311135
pr-url: https://github.com/nodejs/node/pull/38113
11321136
description: In Legacy assertion mode, changed status from Deprecated to
11331137
Legacy.
@@ -1455,7 +1459,9 @@ instance of an [`Error`][] then it will be thrown instead of the
14551459
<!-- YAML
14561460
added: v0.1.21
14571461
changes:
1458-
- version: v16.0.0
1462+
- version:
1463+
- v16.0.0
1464+
- v14.18.0
14591465
pr-url: https://github.com/nodejs/node/pull/38113
14601466
description: In Legacy assertion mode, changed status from Deprecated to
14611467
Legacy.
@@ -1470,18 +1476,18 @@ changes:
14701476
pr-url: https://github.com/nodejs/node/pull/12142
14711477
description: The `Set` and `Map` content is also compared.
14721478
- version:
1473-
- v6.4.0
1474-
- v4.7.1
1479+
- v6.4.0
1480+
- v4.7.1
14751481
pr-url: https://github.com/nodejs/node/pull/8002
14761482
description: Typed array slices are handled correctly now.
14771483
- version:
1478-
- v6.1.0
1479-
- v4.5.0
1484+
- v6.1.0
1485+
- v4.5.0
14801486
pr-url: https://github.com/nodejs/node/pull/6432
14811487
description: Objects with circular references can be used as inputs now.
14821488
- version:
1483-
- v5.10.1
1484-
- v4.4.3
1489+
- v5.10.1
1490+
- v4.4.3
14851491
pr-url: https://github.com/nodejs/node/pull/5910
14861492
description: Handle non-`Uint8Array` typed arrays correctly.
14871493
-->
@@ -1635,7 +1641,9 @@ instead of the [`AssertionError`][].
16351641
<!-- YAML
16361642
added: v0.1.21
16371643
changes:
1638-
- version: v16.0.0
1644+
- version:
1645+
- v16.0.0
1646+
- v14.18.0
16391647
pr-url: https://github.com/nodejs/node/pull/38113
16401648
description: In Legacy assertion mode, changed status from Deprecated to
16411649
Legacy.

doc/api/buffer.md

+24-8
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ const buf7 = Buffer.from('tést', 'latin1');
8585
## Buffers and character encodings
8686
<!-- YAML
8787
changes:
88-
- version: v15.7.0
88+
- version:
89+
- v15.7.0
90+
- v14.18.0
8991
pr-url: https://github.com/nodejs/node/pull/36952
9092
description: Introduced `base64url` encoding.
9193
- version: v6.4.0
@@ -448,7 +450,9 @@ Additionally, the [`buf.values()`][], [`buf.keys()`][], and
448450

449451
## Class: `Blob`
450452
<!-- YAML
451-
added: v15.7.0
453+
added:
454+
- v15.7.0
455+
- v14.18.0
452456
-->
453457

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

459463
### `new buffer.Blob([sources[, options]])`
460464
<!-- YAML
461-
added: v15.7.0
465+
added:
466+
- v15.7.0
467+
- v14.18.0
462468
changes:
463469
- version: v16.7.0
464470
pr-url: https://github.com/nodejs/node/pull/39708
@@ -488,7 +494,9 @@ U+FFFD replacement characters.
488494

489495
### `blob.arrayBuffer()`
490496
<!-- YAML
491-
added: v15.7.0
497+
added:
498+
- v15.7.0
499+
- v14.18.0
492500
-->
493501

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

499507
### `blob.size`
500508
<!-- YAML
501-
added: v15.7.0
509+
added:
510+
- v15.7.0
511+
- v14.18.0
502512
-->
503513

504514
The total size of the `Blob` in bytes.
505515

506516
### `blob.slice([start, [end, [type]]])`
507517
<!-- YAML
508-
added: v15.7.0
518+
added:
519+
- v15.7.0
520+
- v14.18.0
509521
-->
510522

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

527539
### `blob.text()`
528540
<!-- YAML
529-
added: v15.7.0
541+
added:
542+
- v15.7.0
543+
- v14.18.0
530544
-->
531545

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

537551
### `blob.type`
538552
<!-- YAML
539-
added: v15.7.0
553+
added:
554+
- v15.7.0
555+
- v14.18.0
540556
-->
541557

542558
* Type: {string}

doc/api/child_process.md

+36-12
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
146146
<!-- YAML
147147
added: v0.1.90
148148
changes:
149-
- version: v16.4.0
149+
- version:
150+
- v16.4.0
151+
- v14.18.0
150152
pr-url: https://github.com/nodejs/node/pull/38862
151153
description: The `cwd` option can be a WHATWG `URL` object using
152154
`file:` protocol.
@@ -275,7 +277,9 @@ controller.abort();
275277
<!-- YAML
276278
added: v0.1.91
277279
changes:
278-
- version: v16.4.0
280+
- version:
281+
- v16.4.0
282+
- v14.18.0
279283
pr-url: https://github.com/nodejs/node/pull/38862
280284
description: The `cwd` option can be a WHATWG `URL` object using
281285
`file:` protocol.
@@ -384,14 +388,20 @@ controller.abort();
384388
<!-- YAML
385389
added: v0.5.0
386390
changes:
387-
- version: v16.4.0
391+
- version:
392+
- v16.4.0
393+
- v14.18.0
388394
pr-url: https://github.com/nodejs/node/pull/38862
389395
description: The `cwd` option can be a WHATWG `URL` object using
390396
`file:` protocol.
391-
- version: v15.13.0
397+
- version:
398+
- v15.13.0
399+
- v14.18.0
392400
pr-url: https://github.com/nodejs/node/pull/37256
393401
description: timeout was added.
394-
- version: v15.11.0
402+
- version:
403+
- v15.11.0
404+
- v14.18.0
395405
pr-url: https://github.com/nodejs/node/pull/37325
396406
description: killSignal for AbortSignal was added.
397407
- version:
@@ -499,14 +509,20 @@ if (process.argv[2] === 'child') {
499509
<!-- YAML
500510
added: v0.1.90
501511
changes:
502-
- version: v16.4.0
512+
- version:
513+
- v16.4.0
514+
- v14.18.0
503515
pr-url: https://github.com/nodejs/node/pull/38862
504516
description: The `cwd` option can be a WHATWG `URL` object using
505517
`file:` protocol.
506-
- version: v15.13.0
518+
- version:
519+
- v15.13.0
520+
- v14.18.0
507521
pr-url: https://github.com/nodejs/node/pull/37256
508522
description: timeout was added.
509-
- version: v15.11.0
523+
- version:
524+
- v15.11.0
525+
- v14.18.0
510526
pr-url: https://github.com/nodejs/node/pull/37325
511527
description: killSignal for AbortSignal was added.
512528
- version:
@@ -746,7 +762,9 @@ subprocess.unref();
746762
<!-- YAML
747763
added: v0.7.10
748764
changes:
749-
- version: v15.6.0
765+
- version:
766+
- v15.6.0
767+
- v14.18.0
750768
pr-url: https://github.com/nodejs/node/pull/29412
751769
description: Added the `overlapped` stdio flag.
752770
- version: v3.3.1
@@ -861,7 +879,9 @@ configuration at startup.
861879
<!-- YAML
862880
added: v0.11.12
863881
changes:
864-
- version: v16.4.0
882+
- version:
883+
- v16.4.0
884+
- v14.18.0
865885
pr-url: https://github.com/nodejs/node/pull/38862
866886
description: The `cwd` option can be a WHATWG `URL` object using
867887
`file:` protocol.
@@ -934,7 +954,9 @@ arbitrary command execution.**
934954
<!-- YAML
935955
added: v0.11.12
936956
changes:
937-
- version: v16.4.0
957+
- version:
958+
- v16.4.0
959+
- v14.18.0
938960
pr-url: https://github.com/nodejs/node/pull/38862
939961
description: The `cwd` option can be a WHATWG `URL` object using
940962
`file:` protocol.
@@ -998,7 +1020,9 @@ metacharacters may be used to trigger arbitrary command execution.**
9981020
<!-- YAML
9991021
added: v0.11.12
10001022
changes:
1001-
- version: v16.4.0
1023+
- version:
1024+
- v16.4.0
1025+
- v14.18.0
10021026
pr-url: https://github.com/nodejs/node/pull/38862
10031027
description: The `cwd` option can be a WHATWG `URL` object using
10041028
`file:` protocol.

doc/api/cli.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ code from strings throw an exception instead. This does not affect the Node.js
190190

191191
### `--dns-result-order=order`
192192
<!-- YAML
193-
added: v16.4.0
193+
added:
194+
- v16.4.0
195+
- v14.18.0
194196
-->
195197

196198
Set the default value of `verbatim` in [`dns.lookup()`][] and
@@ -213,7 +215,9 @@ against FIPS-compatible OpenSSL.)
213215
<!-- YAML
214216
added: v12.12.0
215217
changes:
216-
- version: v15.11.0
218+
- version:
219+
- v15.11.0
220+
- v14.18.0
217221
pr-url: https://github.com/nodejs/node/pull/37362
218222
description: This API is no longer experimental.
219223
-->
@@ -363,7 +367,9 @@ be added.
363367

364368
### `--heapsnapshot-near-heap-limit=max_count`
365369
<!-- YAML
366-
added: v15.1.0
370+
added:
371+
- v15.1.0
372+
- v14.18.0
367373
-->
368374

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

648654
### `--node-memory-debug`
649655
<!-- YAML
650-
added: v15.0.0
656+
added:
657+
- v15.0.0
658+
- v14.18.0
651659
-->
652660

653661
Enable extra debug checks for memory leaks in Node.js internals. This is

doc/api/deprecations.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2760,7 +2760,9 @@ changes:
27602760
- version: v16.0.0
27612761
pr-url: https://github.com/nodejs/node/pull/37206
27622762
description: Runtime deprecation.
2763-
- version: v15.8.0
2763+
- version:
2764+
- v15.8.0
2765+
- v14.18.0
27642766
pr-url: https://github.com/nodejs/node/pull/36918
27652767
description: Documentation-only deprecation
27662768
with `--pending-deprecation` support.

doc/api/dns.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ The following methods from the `dns` module are available:
9797
<!-- YAML
9898
added: v8.3.0
9999
changes:
100-
- version: v16.7.0
100+
- version:
101+
- v16.7.0
102+
- v14.18.0
101103
pr-url: https://github.com/nodejs/node/pull/39610
102104
description: The `options` object now accepts a `tries` option.
103105
- version: v12.18.3
@@ -643,7 +645,9 @@ one of the [DNS error codes][].
643645

644646
## `dns.setDefaultResultOrder(order)`
645647
<!-- YAML
646-
added: v16.4.0
648+
added:
649+
- v16.4.0
650+
- v14.18.0
647651
-->
648652

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

11691173
### `dnsPromises.setDefaultResultOrder(order)`
11701174
<!-- YAML
1171-
added: v16.4.0
1175+
added:
1176+
- v16.4.0
1177+
- v14.18.0
11721178
-->
11731179

11741180
* `order` {string} must be `'ipv4first'` or `'verbatim'`.

0 commit comments

Comments
 (0)