Skip to content

Commit f226165

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 55493f2 commit f226165

28 files changed

+574
-86
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ release.
3030
</tr>
3131
<tr>
3232
<td valign="top">
33-
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.17.6">14.17.6</a></b><br/>
33+
<b><a href="doc/changelogs/CHANGELOG_V14.md#14.18.0">14.18.0</a></b><br/>
34+
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.6">14.17.6</a><br/>
3435
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.5">14.17.5</a><br/>
3536
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.4">14.17.4</a><br/>
3637
<a href="doc/changelogs/CHANGELOG_V14.md#14.17.3">14.17.3</a><br/>

doc/api/assert.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ An alias of [`assert.ok()`][].
304304
<!-- YAML
305305
added: v0.1.21
306306
changes:
307-
- version: REPLACEME
307+
- version: v14.18.0
308308
pr-url: https://github.com/nodejs/node/pull/38113
309309
description: In Legacy assertion mode, changed status from Deprecated to
310310
Legacy.
@@ -758,7 +758,7 @@ assert.doesNotThrow(
758758
<!-- YAML
759759
added: v0.1.21
760760
changes:
761-
- version: REPLACEME
761+
- version: v14.18.0
762762
pr-url: https://github.com/nodejs/node/pull/38113
763763
description: In Legacy assertion mode, changed status from Deprecated to
764764
Legacy.
@@ -985,7 +985,7 @@ instance of an [`Error`][] then it will be thrown instead of the
985985
<!-- YAML
986986
added: v0.1.21
987987
changes:
988-
- version: REPLACEME
988+
- version: v14.18.0
989989
pr-url: https://github.com/nodejs/node/pull/38113
990990
description: In Legacy assertion mode, changed status from Deprecated to
991991
Legacy.
@@ -1125,7 +1125,7 @@ instead of the [`AssertionError`][].
11251125
<!-- YAML
11261126
added: v0.1.21
11271127
changes:
1128-
- version: REPLACEME
1128+
- version: v14.18.0
11291129
pr-url: https://github.com/nodejs/node/pull/38113
11301130
description: In Legacy assertion mode, changed status from Deprecated to
11311131
Legacy.

doc/api/buffer.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const buf7 = Buffer.from('tést', 'latin1');
5050
## Buffers and character encodings
5151
<!-- YAML
5252
changes:
53-
- version: REPLACEME
53+
- version: v14.18.0
5454
pr-url: https://github.com/nodejs/node/pull/36952
5555
description: Introduced `base64url` encoding.
5656
- version: v6.4.0
@@ -289,7 +289,7 @@ Additionally, the [`buf.values()`][], [`buf.keys()`][], and
289289

290290
## Class: `Blob`
291291
<!-- YAML
292-
added: REPLACEME
292+
added: v14.18.0
293293
-->
294294

295295
> Stability: 1 - Experimental
@@ -299,7 +299,7 @@ multiple worker threads.
299299

300300
### `new buffer.Blob([sources[, options]])`
301301
<!-- YAML
302-
added: REPLACEME
302+
added: v14.18.0
303303
-->
304304

305305
* `sources` {string[]|ArrayBuffer[]|TypedArray[]|DataView[]|Blob[]} An array
@@ -321,7 +321,7 @@ String sources are also copied into the `Blob`.
321321

322322
### `blob.arrayBuffer()`
323323
<!-- YAML
324-
added: REPLACEME
324+
added: v14.18.0
325325
-->
326326

327327
* Returns: {Promise}
@@ -331,14 +331,14 @@ the `Blob` data.
331331

332332
### `blob.size`
333333
<!-- YAML
334-
added: REPLACEME
334+
added: v14.18.0
335335
-->
336336

337337
The total size of the `Blob` in bytes.
338338

339339
### `blob.slice([start, [end, [type]]])`
340340
<!-- YAML
341-
added: REPLACEME
341+
added: v14.18.0
342342
-->
343343

344344
* `start` {number} The starting index.
@@ -350,7 +350,7 @@ data. The original `Blob` is not alterered.
350350

351351
### `blob.text()`
352352
<!-- YAML
353-
added: REPLACEME
353+
added: v14.18.0
354354
-->
355355

356356
* Returns: {Promise}
@@ -360,7 +360,7 @@ string.
360360

361361
### `blob.type`
362362
<!-- YAML
363-
added: REPLACEME
363+
added: v14.18.0
364364
-->
365365

366366
* Type: {string}

doc/api/child_process.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
146146
<!-- YAML
147147
added: v0.1.90
148148
changes:
149-
- version: REPLACEME
149+
- version: v14.18.0
150150
pr-url: https://github.com/nodejs/node/pull/38862
151151
description: The `cwd` option can be a WHATWG `URL` object using
152152
`file:` protocol.
@@ -275,7 +275,7 @@ controller.abort();
275275
<!-- YAML
276276
added: v0.1.91
277277
changes:
278-
- version: REPLACEME
278+
- version: v14.18.0
279279
pr-url: https://github.com/nodejs/node/pull/38862
280280
description: The `cwd` option can be a WHATWG `URL` object using
281281
`file:` protocol.
@@ -382,14 +382,14 @@ controller.abort();
382382
<!-- YAML
383383
added: v0.5.0
384384
changes:
385-
- version: REPLACEME
385+
- version: v14.18.0
386386
pr-url: https://github.com/nodejs/node/pull/38862
387387
description: The `cwd` option can be a WHATWG `URL` object using
388388
`file:` protocol.
389-
- version: REPLACEME
389+
- version: v14.18.0
390390
pr-url: https://github.com/nodejs/node/pull/37256
391391
description: timeout was added.
392-
- version: REPLACEME
392+
- version: v14.18.0
393393
pr-url: https://github.com/nodejs/node/pull/37325
394394
description: killSignal for AbortSignal was added.
395395
- version: v14.17.0
@@ -495,14 +495,14 @@ if (process.argv[2] === 'child') {
495495
<!-- YAML
496496
added: v0.1.90
497497
changes:
498-
- version: REPLACEME
498+
- version: v14.18.0
499499
pr-url: https://github.com/nodejs/node/pull/38862
500500
description: The `cwd` option can be a WHATWG `URL` object using
501501
`file:` protocol.
502-
- version: REPLACEME
502+
- version: v14.18.0
503503
pr-url: https://github.com/nodejs/node/pull/37256
504504
description: timeout was added.
505-
- version: REPLACEME
505+
- version: v14.18.0
506506
pr-url: https://github.com/nodejs/node/pull/37325
507507
description: killSignal for AbortSignal was added.
508508
- version: v14.17.0
@@ -740,7 +740,7 @@ subprocess.unref();
740740
<!-- YAML
741741
added: v0.7.10
742742
changes:
743-
- version: REPLACEME
743+
- version: v14.18.0
744744
pr-url: https://github.com/nodejs/node/pull/29412
745745
description: Added the `overlapped` stdio flag.
746746
- version: v3.3.1
@@ -855,7 +855,7 @@ configuration at startup.
855855
<!-- YAML
856856
added: v0.11.12
857857
changes:
858-
- version: REPLACEME
858+
- version: v14.18.0
859859
pr-url: https://github.com/nodejs/node/pull/38862
860860
description: The `cwd` option can be a WHATWG `URL` object using
861861
`file:` protocol.
@@ -928,7 +928,7 @@ arbitrary command execution.**
928928
<!-- YAML
929929
added: v0.11.12
930930
changes:
931-
- version: REPLACEME
931+
- version: v14.18.0
932932
pr-url: https://github.com/nodejs/node/pull/38862
933933
description: The `cwd` option can be a WHATWG `URL` object using
934934
`file:` protocol.
@@ -992,7 +992,7 @@ metacharacters may be used to trigger arbitrary command execution.**
992992
<!-- YAML
993993
added: v0.11.12
994994
changes:
995-
- version: REPLACEME
995+
- version: v14.18.0
996996
pr-url: https://github.com/nodejs/node/pull/38862
997997
description: The `cwd` option can be a WHATWG `URL` object using
998998
`file:` protocol.

doc/api/cli.md

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

186186
### `--dns-result-order=order`
187187
<!-- YAML
188-
added: REPLACEME
188+
added: v14.18.0
189189
-->
190190

191191
Set the default value of `verbatim` in [`dns.lookup()`][] and
@@ -208,7 +208,7 @@ Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with
208208
<!-- YAML
209209
added: v12.12.0
210210
changes:
211-
- version: REPLACEME
211+
- version: v14.18.0
212212
pr-url: https://github.com/nodejs/node/pull/37362
213213
description: This API is no longer experimental.
214214
-->
@@ -352,7 +352,7 @@ be added.
352352

353353
### `--heapsnapshot-near-heap-limit=max_count`
354354
<!-- YAML
355-
added: REPLACEME
355+
added: v14.18.0
356356
-->
357357

358358
> Stability: 1 - Experimental
@@ -611,7 +611,7 @@ Silence all process warnings (including deprecations).
611611

612612
### `--node-memory-debug`
613613
<!-- YAML
614-
added: REPLACEME
614+
added: v14.18.0
615615
-->
616616

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

doc/api/deprecations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2656,7 +2656,7 @@ Use `fs.rm(path, { recursive: true, force: true })` instead.
26562656
### DEP0151: Main index lookup and extension searching
26572657
<!-- YAML
26582658
changes:
2659-
- version: REPLACEME
2659+
- version: v14.18.0
26602660
pr-url: https://github.com/nodejs/node/pull/36918
26612661
description: Documentation-only deprecation
26622662
with `--pending-deprecation` support.

doc/api/dns.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The following methods from the `dns` module are available:
9797
<!-- YAML
9898
added: v8.3.0
9999
changes:
100-
- version: REPLACEME
100+
- version: v14.18.0
101101
pr-url: https://github.com/nodejs/node/pull/39610
102102
description: The `options` object now accepts a `tries` option.
103103
- version: v14.5.0
@@ -635,7 +635,7 @@ one of the [DNS error codes][].
635635

636636
## `dns.setDefaultResultOrder(order)`
637637
<!-- YAML
638-
added: REPLACEME
638+
added: v14.18.0
639639
-->
640640

641641
* `order` {string} must be `'ipv4first'` or `'verbatim'`.
@@ -1153,7 +1153,7 @@ is one of the [DNS error codes](#dns_error_codes).
11531153

11541154
### `dnsPromises.setDefaultResultOrder(order)`
11551155
<!-- YAML
1156-
added: REPLACEME
1156+
added: v14.18.0
11571157
-->
11581158

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

doc/api/errors.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ An unknown Diffie-Hellman group name was given. See
879879
<a id="ERR_DLOPEN_FAILED"></a>
880880
### `ERR_DLOPEN_FAILED`
881881
<!-- YAML
882-
added: REPLACEME
882+
added: v14.18.0
883883
-->
884884

885885
A call to `process.dlopen()` failed.
@@ -1432,7 +1432,7 @@ An IP address is not valid.
14321432
<a id="ERR_INVALID_MODULE"></a>
14331433
### `ERR_INVALID_MODULE`
14341434
<!-- YAML
1435-
added: REPLACEME
1435+
added: v14.18.0
14361436
-->
14371437

14381438
An attempt was made to load a module that does not exist or was otherwise not

doc/api/esm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ added:
203203
- v14.13.1
204204
- v12.20.0
205205
changes:
206-
- version: REPLACEME
206+
- version: v14.18.0
207207
pr-url: https://github.com/nodejs/node/pull/37246
208208
description: Added `node:` import support to `require(...)`.
209209
-->
@@ -282,7 +282,7 @@ added:
282282
- v13.9.0
283283
- v12.16.2
284284
changes:
285-
- version: REPLACEME
285+
- version: v14.18.0
286286
pr-url: https://github.com/nodejs/node/pull/38587
287287
description: Add support for WHATWG `URL` object to `parentURL` parameter.
288288
-->

doc/api/fs.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ the end of the file.
494494
<!-- YAML
495495
added: v10.0.0
496496
changes:
497-
- version: REPLACEME
497+
- version: v14.18.0
498498
pr-url: https://github.com/nodejs/node/pull/37490
499499
description: The `data` argument supports `AsyncIterable`, `Iterable` and `Stream`.
500500
- version: v14.12.0
@@ -799,7 +799,7 @@ rejection only when `recursive` is false.
799799
<!-- YAML
800800
added: v10.0.0
801801
changes:
802-
- version: REPLACEME
802+
- version: v14.18.0
803803
pr-url: https://github.com/nodejs/node/pull/39028
804804
description: The `prefix` parameter now accepts an empty string.
805805
-->
@@ -1203,7 +1203,7 @@ The `atime` and `mtime` arguments follow these rules:
12031203
12041204
### `fsPromises.watch(filename[, options])`
12051205
<!-- YAML
1206-
added: REPLACEME
1206+
added: v14.18.0
12071207
-->
12081208
12091209
* `filename` {string|Buffer|URL}
@@ -1254,7 +1254,7 @@ All the [caveats][] for `fs.watch()` also apply to `fsPromises.watch()`.
12541254
<!-- YAML
12551255
added: v10.0.0
12561256
changes:
1257-
- version: REPLACEME
1257+
- version: v14.18.0
12581258
pr-url: https://github.com/nodejs/node/pull/37490
12591259
description: The `data` argument supports `AsyncIterable`, `Iterable` and `Stream`.
12601260
- version: v14.17.0
@@ -2560,7 +2560,7 @@ See the POSIX mkdir(2) documentation for more details.
25602560
<!-- YAML
25612561
added: v5.10.0
25622562
changes:
2563-
- version: REPLACEME
2563+
- version: v14.18.0
25642564
pr-url: https://github.com/nodejs/node/pull/39028
25652565
description: The `prefix` parameter now accepts an empty string.
25662566
- version: v10.0.0
@@ -4496,7 +4496,7 @@ See the POSIX mkdir(2) documentation for more details.
44964496
<!-- YAML
44974497
added: v5.10.0
44984498
changes:
4499-
- version: REPLACEME
4499+
- version: v14.18.0
45004500
pr-url: https://github.com/nodejs/node/pull/39028
45014501
description: The `prefix` parameter now accepts an empty string.
45024502
-->

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2767,7 +2767,7 @@ This can be overridden for servers and client requests by passing the
27672767
<!-- YAML
27682768
added: v0.3.6
27692769
changes:
2770-
- version: REPLACEME
2770+
- version: v14.18.0
27712771
pr-url: https://github.com/nodejs/node/pull/39310
27722772
description: When using a `URL` object parsed username and
27732773
password will now be properly URI decoded.

doc/api/http2.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ A prototype-less object describing the current remote settings of this
520520

521521
#### `http2session.setLocalWindowSize(windowSize)`
522522
<!-- YAML
523-
added: REPLACEME
523+
added: v14.18.0
524524
-->
525525

526526
* `windowSize` {number}
@@ -2597,7 +2597,7 @@ the given `Buffer` as generated by `http2.getPackedSettings()`.
25972597

25982598
### `http2.sensitiveHeaders`
25992599
<!-- YAML
2600-
added: REPLACEME
2600+
added: v14.18.0
26012601
-->
26022602

26032603
* {symbol}

0 commit comments

Comments
 (0)