Skip to content

Commit f23e58d

Browse files
committed
2022-04-26, Version 16.15.0 'Gallium' (LTS)
Notable changes: Add fetch API Adds experimental support to the fetch API. This adds a `--experimental-fetch` flag that installs the `fetch`, `Request`, `Reponse` and `Headers` globals. * (SEMVER-MINOR) add fetch (Michaël Zasso) #41749 Other notable changes * build: * remove broken x32 arch support (Ben Noordhuis) #41905 * crypto: * (SEMVER-MINOR) add KeyObject.prototype.equals method (Filip Skokan) #42093 * doc: * add @ShogunPanda to collaborators (Paolo Insogna) #42362 * add JakobJingleheimer to collaborators list (Jacob Smith) #42185 * add joesepi to collaborators (Joe Sepi) #41914 * add marsonya to collaborators (Akhil Marsonya) #41991 * deprecate string coercion in `fs.write`, `fs.writeFileSync` (Livia Medeiros) #42149 * deprecate notice for process methods (Yash Ladha) #41587 * esm: * (SEMVER-MINOR) support https remotely and http locally under flag (Bradley Farias) #36328 * module: * (SEMVER-MINOR) unflag esm json modules (Geoffrey Booth) #41736 * node-api: * (SEMVER-MINOR) add node_api_symbol_for() (Darshan Sen) #41329 * process: * deprecate multipleResolves (Benjamin Gruenbaum) #41872 * stream: * (SEMVER-MINOR) support some and every (Benjamin Gruenbaum) #41573 * (SEMVER-MINOR) add toArray (Benjamin Gruenbaum) #41553 * (SEMVER-MINOR) add forEach method (Benjamin Gruenbaum) #41445 PR-URL: #42847
1 parent 166eb78 commit f23e58d

16 files changed

+343
-46
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ release.
3333
</tr>
3434
<tr>
3535
<td valign="top">
36-
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.14.2">16.14.2</a></b><br/>
36+
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.15.0">16.15.0</a></b><br/>
37+
<a href="doc/changelogs/CHANGELOG_V16.md#16.14.2">16.14.2</a><br/>
3738
<a href="doc/changelogs/CHANGELOG_V16.md#16.14.1">16.14.1</a><br/>
3839
<a href="doc/changelogs/CHANGELOG_V16.md#16.14.0">16.14.0</a><br/>
3940
<a href="doc/changelogs/CHANGELOG_V16.md#16.13.2">16.13.2</a><br/>

doc/api/async_context.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ added:
446446
- v14.8.0
447447
- v12.19.0
448448
changes:
449-
- version: REPLACEME
449+
- version: v16.15.0
450450
pr-url: https://github.com/nodejs/node/pull/42177
451451
description: Changed the default when `thisArg` is undefined to use `this`
452452
from the caller.
@@ -472,7 +472,7 @@ added:
472472
- v14.8.0
473473
- v12.19.0
474474
changes:
475-
- version: REPLACEME
475+
- version: v16.15.0
476476
pr-url: https://github.com/nodejs/node/pull/42177
477477
description: Changed the default when `thisArg` is undefined to use `this`
478478
from the caller.

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3371,7 +3371,7 @@ console.log(buf.subarray(-5, -2).toString());
33713371
<!-- YAML
33723372
added: v0.3.0
33733373
changes:
3374-
- version: REPLACEME
3374+
- version: v16.15.0
33753375
pr-url: https://github.com/nodejs/node/pull/41596
33763376
description: The buf.slice() method has been deprecated.
33773377
- version:

doc/api/cli.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,15 @@ modifying the stack trace.
275275
### `--experimental-fetch`
276276

277277
<!-- YAML
278-
added: REPLACEME
278+
added: v16.15.0
279279
-->
280280

281281
Enable experimental support for the [Fetch API][].
282282

283283
### `--experimental-global-webcrypto`
284284

285285
<!-- YAML
286-
added: REPLACEME
286+
added: v16.15.0
287287
-->
288288

289289
Expose the [Web Crypto API][] on the global scope.
@@ -310,7 +310,7 @@ Specify the `module` of a custom experimental [ECMAScript module loader][].
310310
### `--experimental-network-imports`
311311

312312
<!-- YAML
313-
added: REPLACEME
313+
added: v16.15.0
314314
-->
315315

316316
> Stability: 1 - Experimental

doc/api/crypto.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ PKCS#1 and SEC1 encryption.
20852085
### `keyObject.equals(otherKeyObject)`
20862086

20872087
<!-- YAML
2088-
added: REPLACEME
2088+
added: v16.15.0
20892089
-->
20902090

20912091
* `otherKeyObject`: {KeyObject} A `KeyObject` with which to
@@ -2488,7 +2488,7 @@ added: v15.6.0
24882488
<!-- YAML
24892489
added: v15.6.0
24902490
changes:
2491-
- version: REPLACEME
2491+
- version: v16.15.0
24922492
pr-url: https://github.com/nodejs/node/pull/41569
24932493
description: The subject option can now be set to `'default'`.
24942494
- version: v16.14.1
@@ -2527,7 +2527,7 @@ considered, even if the certificate contains no subject alternative names.
25272527
<!-- YAML
25282528
added: v15.6.0
25292529
changes:
2530-
- version: REPLACEME
2530+
- version: v16.15.0
25312531
pr-url: https://github.com/nodejs/node/pull/41569
25322532
description: The subject option can now be set to `'default'`.
25332533
-->

doc/api/deprecations.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3039,7 +3039,7 @@ const w = new Writable({
30393039

30403040
<!-- YAML
30413041
changes:
3042-
- version: REPLACEME
3042+
- version: v16.15.0
30433043
pr-url: https://github.com/nodejs/node/pull/41596
30443044
description: Documentation-only deprecation.
30453045
-->
@@ -3057,7 +3057,7 @@ Use [`buffer.subarray`][] which does the same thing instead.
30573057

30583058
<!-- YAML
30593059
changes:
3060-
- version: REPLACEME
3060+
- version: v16.15.0
30613061
pr-url: https://github.com/nodejs/node/pull/41872
30623062
description: Documentation-only deprecation.
30633063
-->
@@ -3071,7 +3071,7 @@ which diminished its usefulness.
30713071

30723072
<!-- YAML
30733073
changes:
3074-
- version: REPLACEME
3074+
- version: v16.15.0
30753075
pr-url: https://github.com/nodejs/node/pull/41587
30763076
description: Documentation-only deprecation.
30773077
-->
@@ -3089,7 +3089,7 @@ resources and not the actual references.
30893089

30903090
<!-- YAML
30913091
changes:
3092-
- version: REPLACEME
3092+
- version: v16.15.0
30933093
pr-url: https://github.com/nodejs/node/pull/42149
30943094
description: Documentation-only deprecation.
30953095
-->

doc/api/fs.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ try {
828828
<!-- YAML
829829
added: v16.7.0
830830
changes:
831-
- version: REPLACEME
831+
- version: v16.15.0
832832
pr-url: https://github.com/nodejs/node/pull/41819
833833
description: Accepts an additional `verbatimSymlinks` option to specify
834834
whether to perform path resolution for symlinks.
@@ -2014,7 +2014,7 @@ copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback);
20142014
<!-- YAML
20152015
added: v16.7.0
20162016
changes:
2017-
- version: REPLACEME
2017+
- version: v16.15.0
20182018
pr-url: https://github.com/nodejs/node/pull/41819
20192019
description: Accepts an additional `verbatimSymlinks` option to specify
20202020
whether to perform path resolution for symlinks.
@@ -4596,7 +4596,7 @@ copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
45964596
<!-- YAML
45974597
added: v16.7.0
45984598
changes:
4599-
- version: REPLACEME
4599+
- version: v16.15.0
46004600
pr-url: https://github.com/nodejs/node/pull/41819
46014601
description: Accepts an additional `verbatimSymlinks` option to specify
46024602
whether to perform path resolution for symlinks.

doc/api/globals.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Used to print to stdout and stderr. See the [`console`][] section.
264264
## `Crypto`
265265

266266
<!-- YAML
267-
added: REPLACEME
267+
added: v16.15.0
268268
-->
269269

270270
> Stability: 1 - Experimental. Enable this API with the
@@ -277,7 +277,7 @@ only if the Node.js binary was compiled with including support for the
277277
## `crypto`
278278

279279
<!-- YAML
280-
added: REPLACEME
280+
added: v16.15.0
281281
-->
282282

283283
> Stability: 1 - Experimental. Enable this API with the
@@ -288,7 +288,7 @@ A browser-compatible implementation of the [Web Crypto API][].
288288
## `CryptoKey`
289289

290290
<!-- YAML
291-
added: REPLACEME
291+
added: v16.15.0
292292
-->
293293

294294
> Stability: 1 - Experimental. Enable this API with the
@@ -335,7 +335,7 @@ This variable may appear to be global but is not. See [`exports`][].
335335
## `fetch`
336336

337337
<!-- YAML
338-
added: REPLACEME
338+
added: v16.15.0
339339
-->
340340

341341
> Stability: 1 - Experimental. Enable this API with the [`--experimental-fetch`][]
@@ -346,7 +346,7 @@ A browser-compatible implementation of the [`fetch()`][] function.
346346
## Class `FormData`
347347

348348
<!-- YAML
349-
added: REPLACEME
349+
added: v16.15.0
350350
-->
351351

352352
> Stability: 1 - Experimental. Enable this API with the [`--experimental-fetch`][]
@@ -372,7 +372,7 @@ Node.js this is different. The top-level scope is not the global scope;
372372
## Class `Headers`
373373

374374
<!-- YAML
375-
added: REPLACEME
375+
added: v16.15.0
376376
-->
377377

378378
> Stability: 1 - Experimental. Enable this API with the [`--experimental-fetch`][]
@@ -477,7 +477,7 @@ This variable may appear to be global but is not. See [`require()`][].
477477
## `Response`
478478

479479
<!-- YAML
480-
added: REPLACEME
480+
added: v16.15.0
481481
-->
482482

483483
> Stability: 1 - Experimental. Enable this API with the [`--experimental-fetch`][]
@@ -488,7 +488,7 @@ A browser-compatible implementation of {Response}.
488488
## `Request`
489489

490490
<!-- YAML
491-
added: REPLACEME
491+
added: v16.15.0
492492
-->
493493

494494
> Stability: 1 - Experimental. Enable this API with the [`--experimental-fetch`][]
@@ -529,7 +529,7 @@ added: v0.0.1
529529
## `SubtleCrypto`
530530

531531
<!-- YAML
532-
added: REPLACEME
532+
added: v16.15.0
533533
-->
534534

535535
> Stability: 1 - Experimental. Enable this API with the

doc/api/http.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ removed from the array on `'timeout'`.
299299
<!-- YAML
300300
added: v0.11.4
301301
changes:
302-
- version: REPLACEME
302+
- version: v16.15.0
303303
pr-url: https://github.com/nodejs/node/pull/41906
304304
description: The `options` parameter is now optional.
305305
-->
@@ -2824,7 +2824,7 @@ Found'`.
28242824
<!-- YAML
28252825
added: v0.1.13
28262826
changes:
2827-
- version: REPLACEME
2827+
- version: v16.15.0
28282828
pr-url: https://github.com/nodejs/node/pull/41310
28292829
description: The `noDelay`, `keepAlive` and `keepAliveInitialDelay`
28302830
options are supported now.

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2502,8 +2502,8 @@ of the ECMAScript Language Specification.
25022502
#### `node_api_symbol_for`
25032503
25042504
<!-- YAML
2505-
added: REPLACEME
2506-
napiVersion: REPLACEME
2505+
added: v16.15.0
2506+
napiVersion: v16.15.0
25072507
-->
25082508
25092509
> Stability: 1 - Experimental

doc/api/net.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ behavior.
798798
<!-- YAML
799799
added: v0.1.90
800800
changes:
801-
- version: REPLACEME
801+
- version: v16.15.0
802802
pr-url: https://github.com/nodejs/node/pull/41310
803803
description: The `noDelay`, `keepAlive` and `keepAliveInitialDelay`
804804
options are supported now.

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ See [Advanced serialization for `child_process`][] for more details.
181181

182182
<!-- YAML
183183
added: v10.12.0
184-
deprecated: REPLACEME
184+
deprecated: v16.15.0
185185
-->
186186

187187
> Stability: 0 - Deprecated

doc/api/stream.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ for await (const result of dnsResults) {
17781778
##### `readable.forEach(fn[, options])`
17791779

17801780
<!-- YAML
1781-
added: REPLACEME
1781+
added: v16.15.0
17821782
-->
17831783

17841784
> Stability: 1 - Experimental
@@ -1837,7 +1837,7 @@ console.log('done'); // Stream has finished
18371837
##### `readable.toArray([options])`
18381838

18391839
<!-- YAML
1840-
added: REPLACEME
1840+
added: v16.15.0
18411841
-->
18421842

18431843
> Stability: 1 - Experimental
@@ -1877,7 +1877,7 @@ const dnsResults = await Readable.from([
18771877
##### `readable.some(fn[, options])`
18781878

18791879
<!-- YAML
1880-
added: REPLACEME
1880+
added: v16.15.0
18811881
-->
18821882

18831883
> Stability: 1 - Experimental
@@ -1926,7 +1926,7 @@ console.log('done'); // Stream has finished
19261926
##### `readable.every(fn[, options])`
19271927

19281928
<!-- YAML
1929-
added: REPLACEME
1929+
added: v16.15.0
19301930
-->
19311931

19321932
> Stability: 1 - Experimental
@@ -1975,7 +1975,7 @@ console.log('done'); // Stream has finished
19751975
##### `readable.flatMap(fn[, options])`
19761976

19771977
<!-- YAML
1978-
added: REPLACEME
1978+
added: v16.15.0
19791979
-->
19801980

19811981
> Stability: 1 - Experimental
@@ -2024,7 +2024,7 @@ for await (const result of concatResult) {
20242024
##### `readable.drop(limit[, options])`
20252025

20262026
<!-- YAML
2027-
added: REPLACEME
2027+
added: v16.15.0
20282028
-->
20292029

20302030
> Stability: 1 - Experimental
@@ -2046,7 +2046,7 @@ await Readable.from([1, 2, 3, 4]).drop(2).toArray(); // [3, 4]
20462046
##### `readable.take(limit[, options])`
20472047

20482048
<!-- YAML
2049-
added: REPLACEME
2049+
added: v16.15.0
20502050
-->
20512051

20522052
> Stability: 1 - Experimental
@@ -2068,7 +2068,7 @@ await Readable.from([1, 2, 3, 4]).take(2).toArray(); // [1, 2]
20682068
##### `readable.asIndexedPairs([options])`
20692069

20702070
<!-- YAML
2071-
added: REPLACEME
2071+
added: v16.15.0
20722072
-->
20732073

20742074
> Stability: 1 - Experimental
@@ -2092,7 +2092,7 @@ console.log(pairs); // [[0, 'a'], [1, 'b'], [2, 'c']]
20922092
##### `readable.reduce(fn[, initial[, options]])`
20932093

20942094
<!-- YAML
2095-
added: REPLACEME
2095+
added: v16.15.0
20962096
-->
20972097

20982098
> Stability: 1 - Experimental

doc/api/worker_threads.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ added:
6868
- v15.12.0
6969
- v14.18.0
7070
changes:
71-
- version: REPLACEME
71+
- version: v16.15.0
7272
pr-url: https://github.com/nodejs/node/pull/41272
7373
description: No longer experimental.
7474
-->
@@ -298,7 +298,7 @@ added:
298298
- v15.12.0
299299
- v14.18.0
300300
changes:
301-
- version: REPLACEME
301+
- version: v16.15.0
302302
pr-url: https://github.com/nodejs/node/pull/41272
303303
description: No longer experimental.
304304
-->

0 commit comments

Comments
 (0)