Skip to content

Commit 3120691

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 the `--experimental-fetch` flag that installs the `fetch`, `Request`, `Response`, `Headers`, and `FormData` globals. * (SEMVER-MINOR) add fetch (Michaël Zasso) #41749 * (SEMVER-MINOR) add FormData global when fetch is enabled (Michaël Zasso) #41956 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 8f248d4 commit 3120691

15 files changed

+423
-42
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ release.
5353
<a href="doc/changelogs/CHANGELOG_V17.md#17.0.0">17.0.0</a><br/>
5454
</td>
5555
<td valign="top">
56-
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.14.2">16.14.2</a></b><br/>
56+
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.15.0">16.15.0</a></b><br/>
57+
<a href="doc/changelogs/CHANGELOG_V16.md#16.14.2">16.14.2</a><br/>
5758
<a href="doc/changelogs/CHANGELOG_V16.md#16.14.1">16.14.1</a><br/>
5859
<a href="doc/changelogs/CHANGELOG_V16.md#16.14.0">16.14.0</a><br/>
5960
<a href="doc/changelogs/CHANGELOG_V16.md#16.13.2">16.13.2</a><br/>

doc/api/async_context.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,9 @@ added:
446446
- v14.8.0
447447
- v12.19.0
448448
changes:
449-
- version: v17.8.0
449+
- version:
450+
- v17.8.0
451+
- v16.15.0
450452
pr-url: https://github.com/nodejs/node/pull/42177
451453
description: Changed the default when `thisArg` is undefined to use `this`
452454
from the caller.
@@ -472,7 +474,9 @@ added:
472474
- v14.8.0
473475
- v12.19.0
474476
changes:
475-
- version: v17.8.0
477+
- version:
478+
- v17.8.0
479+
- v16.15.0
476480
pr-url: https://github.com/nodejs/node/pull/42177
477481
description: Changed the default when `thisArg` is undefined to use `this`
478482
from the caller.

doc/api/buffer.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3389,7 +3389,9 @@ console.log(buf.subarray(-5, -2).toString());
33893389
<!-- YAML
33903390
added: v0.3.0
33913391
changes:
3392-
- version: v17.5.0
3392+
- version:
3393+
- v17.5.0
3394+
- v16.15.0
33933395
pr-url: https://github.com/nodejs/node/pull/41596
33943396
description: The buf.slice() method has been deprecated.
33953397
- version:

doc/api/cli.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@ modifying the stack trace.
283283
### `--experimental-global-webcrypto`
284284

285285
<!-- YAML
286-
added: v17.6.0
286+
added:
287+
- v17.6.0
288+
- v16.15.0
287289
-->
288290

289291
Expose the [Web Crypto API][] on the global scope.
@@ -315,7 +317,9 @@ Specify the `module` of a custom experimental [ECMAScript module loader][].
315317
### `--experimental-network-imports`
316318

317319
<!-- YAML
318-
added: v17.6.0
320+
added:
321+
- v17.6.0
322+
- v16.15.0
319323
-->
320324

321325
> Stability: 1 - Experimental

doc/api/crypto.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,9 @@ PKCS#1 and SEC1 encryption.
20902090
### `keyObject.equals(otherKeyObject)`
20912091

20922092
<!-- YAML
2093-
added: v17.7.0
2093+
added:
2094+
- v17.7.0
2095+
- v16.15.0
20942096
-->
20952097

20962098
* `otherKeyObject`: {KeyObject} A `KeyObject` with which to
@@ -2503,7 +2505,9 @@ changes:
25032505
description: The `wildcards`, `partialWildcards`, `multiLabelWildcards`, and
25042506
`singleLabelSubdomains` options have been removed since they
25052507
had no effect.
2506-
- version: v17.5.0
2508+
- version:
2509+
- v17.5.0
2510+
- v16.15.0
25072511
pr-url: https://github.com/nodejs/node/pull/41569
25082512
description: The subject option can now be set to `'default'`.
25092513
-->
@@ -2536,7 +2540,9 @@ changes:
25362540
- version: v18.0.0
25372541
pr-url: https://github.com/nodejs/node/pull/41600
25382542
description: The subject option now defaults to `'default'`.
2539-
- version: v17.5.0
2543+
- version:
2544+
- v17.5.0
2545+
- v16.15.0
25402546
pr-url: https://github.com/nodejs/node/pull/41569
25412547
description: The subject option can now be set to `'default'`.
25422548
-->

doc/api/deprecations.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -3057,7 +3057,9 @@ const w = new Writable({
30573057

30583058
<!-- YAML
30593059
changes:
3060-
- version: v17.5.0
3060+
- version:
3061+
- v17.5.0
3062+
- v16.15.0
30613063
pr-url: https://github.com/nodejs/node/pull/41596
30623064
description: Documentation-only deprecation.
30633065
-->
@@ -3090,7 +3092,9 @@ changes:
30903092
- version: v18.0.0
30913093
pr-url: https://github.com/nodejs/node/pull/41896
30923094
description: Runtime deprecation.
3093-
- version: v17.6.0
3095+
- version:
3096+
- v17.6.0
3097+
- v16.15.0
30943098
pr-url: https://github.com/nodejs/node/pull/41872
30953099
description: Documentation-only deprecation.
30963100
-->
@@ -3104,7 +3108,9 @@ which diminished its usefulness.
31043108

31053109
<!-- YAML
31063110
changes:
3107-
- version: v17.6.0
3111+
- version:
3112+
- v17.6.0
3113+
- v16.15.0
31083114
pr-url: https://github.com/nodejs/node/pull/41587
31093115
description: Documentation-only deprecation.
31103116
-->
@@ -3125,7 +3131,9 @@ changes:
31253131
- version: v18.0.0
31263132
pr-url: https://github.com/nodejs/node/pull/42607
31273133
description: Runtime deprecation.
3128-
- version: v17.8.0
3134+
- version:
3135+
- v17.8.0
3136+
- v16.15.0
31293137
pr-url: https://github.com/nodejs/node/pull/42149
31303138
description: Documentation-only deprecation.
31313139
-->

doc/api/fs.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,9 @@ try {
870870
<!-- YAML
871871
added: v16.7.0
872872
changes:
873-
- version: v17.6.0
873+
- version:
874+
- v17.6.0
875+
- v16.15.0
874876
pr-url: https://github.com/nodejs/node/pull/41819
875877
description: Accepts an additional `verbatimSymlinks` option to specify
876878
whether to perform path resolution for symlinks.
@@ -2093,7 +2095,9 @@ changes:
20932095
description: Passing an invalid callback to the `callback` argument
20942096
now throws `ERR_INVALID_ARG_TYPE` instead of
20952097
`ERR_INVALID_CALLBACK`.
2096-
- version: v17.6.0
2098+
- version:
2099+
- v17.6.0
2100+
- v16.15.0
20972101
pr-url: https://github.com/nodejs/node/pull/41819
20982102
description: Accepts an additional `verbatimSymlinks` option to specify
20992103
whether to perform path resolution for symlinks.
@@ -4859,7 +4863,9 @@ copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
48594863
<!-- YAML
48604864
added: v16.7.0
48614865
changes:
4862-
- version: v17.6.0
4866+
- version:
4867+
- v17.6.0
4868+
- v16.15.0
48634869
pr-url: https://github.com/nodejs/node/pull/41819
48644870
description: Accepts an additional `verbatimSymlinks` option to specify
48654871
whether to perform path resolution for symlinks.

doc/api/globals.md

+27-9
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,9 @@ A browser-compatible implementation of [`CountQueuingStrategy`][].
340340
## `Crypto`
341341

342342
<!-- YAML
343-
added: v17.6.0
343+
added:
344+
- v17.6.0
345+
- v16.15.0
344346
-->
345347

346348
> Stability: 1 - Experimental. Enable this API with the
@@ -353,7 +355,9 @@ only if the Node.js binary was compiled with including support for the
353355
## `crypto`
354356

355357
<!-- YAML
356-
added: v17.6.0
358+
added:
359+
- v17.6.0
360+
- v16.15.0
357361
-->
358362

359363
> Stability: 1 - Experimental. Enable this API with the
@@ -364,7 +368,9 @@ A browser-compatible implementation of the [Web Crypto API][].
364368
## `CryptoKey`
365369

366370
<!-- YAML
367-
added: v17.6.0
371+
added:
372+
- v17.6.0
373+
- v16.15.0
368374
-->
369375

370376
> Stability: 1 - Experimental. Enable this API with the
@@ -421,7 +427,9 @@ This variable may appear to be global but is not. See [`exports`][].
421427
## `fetch`
422428

423429
<!-- YAML
424-
added: v17.5.0
430+
added:
431+
- v17.5.0
432+
- v16.15.0
425433
-->
426434

427435
> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
@@ -432,7 +440,9 @@ A browser-compatible implementation of the [`fetch()`][] function.
432440
## Class `FormData`
433441

434442
<!-- YAML
435-
added: v17.6.0
443+
added:
444+
- v17.6.0
445+
- v16.15.0
436446
-->
437447

438448
> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
@@ -458,7 +468,9 @@ Node.js this is different. The top-level scope is not the global scope;
458468
## Class `Headers`
459469

460470
<!-- YAML
461-
added: v17.5.0
471+
added:
472+
- v17.5.0
473+
- v16.15.0
462474
-->
463475

464476
> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
@@ -623,7 +635,9 @@ This variable may appear to be global but is not. See [`require()`][].
623635
## `Response`
624636

625637
<!-- YAML
626-
added: v17.5.0
638+
added:
639+
- v17.5.0
640+
- v16.15.0
627641
-->
628642

629643
> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
@@ -634,7 +648,9 @@ A browser-compatible implementation of {Response}.
634648
## `Request`
635649

636650
<!-- YAML
637-
added: v17.5.0
651+
added:
652+
- v17.5.0
653+
- v16.15.0
638654
-->
639655

640656
> Stability: 1 - Experimental. Disable this API with the [`--no-experimental-fetch`][]
@@ -685,7 +701,9 @@ The WHATWG [`structuredClone`][] method.
685701
## `SubtleCrypto`
686702

687703
<!-- YAML
688-
added: v17.6.0
704+
added:
705+
- v17.6.0
706+
- v16.15.0
689707
-->
690708

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

doc/api/http.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,9 @@ removed from the array on `'timeout'`.
301301
<!-- YAML
302302
added: v0.11.4
303303
changes:
304-
- version: v17.7.0
304+
- version:
305+
- v17.7.0
306+
- v16.15.0
305307
pr-url: https://github.com/nodejs/node/pull/41906
306308
description: The `options` parameter is now optional.
307309
-->
@@ -2948,7 +2950,9 @@ changes:
29482950
- version: v18.0.0
29492951
pr-url: https://github.com/nodejs/node/pull/42163
29502952
description: The `noDelay` option now defaults to `true`.
2951-
- version: v17.7.0
2953+
- version:
2954+
- v17.7.0
2955+
- v16.15.0
29522956
pr-url: https://github.com/nodejs/node/pull/41310
29532957
description: The `noDelay`, `keepAlive` and `keepAliveInitialDelay`
29542958
options are supported now.

doc/api/n-api.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -2507,8 +2507,12 @@ of the ECMAScript Language Specification.
25072507
#### `node_api_symbol_for`
25082508

25092509
<!-- YAML
2510-
added: v17.5.0
2511-
napiVersion: v17.5.0
2510+
added:
2511+
- v17.5.0
2512+
- v16.15.0
2513+
napiVersion:
2514+
- v17.5.0
2515+
- v16.15.0
25122516
-->
25132517

25142518
> Stability: 1 - Experimental

doc/api/net.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,9 @@ behavior.
830830
<!-- YAML
831831
added: v0.1.90
832832
changes:
833-
- version: v17.7.0
833+
- version:
834+
- v17.7.0
835+
- v16.15.0
834836
pr-url: https://github.com/nodejs/node/pull/41310
835837
description: The `noDelay`, `keepAlive` and `keepAliveInitialDelay`
836838
options are supported now.

doc/api/process.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ See [Advanced serialization for `child_process`][] for more details.
180180

181181
<!-- YAML
182182
added: v10.12.0
183-
deprecated: v17.6.0
183+
deprecated:
184+
- v17.6.0
185+
- v16.15.0
184186
-->
185187

186188
> Stability: 0 - Deprecated

0 commit comments

Comments
 (0)