Skip to content

Commit 7162e68

Browse files
committed
2021-04-20, Version 16.0.0 (Current)
Notable changes: Deprecations and Removals: - **(SEMVER-MAJOR)** **fs**: remove permissive rmdir recursive (Antoine du Hamel) [#37216] - **(SEMVER-MAJOR)** **fs**: runtime deprecate rmdir recursive option (Antoine du Hamel) [#37302] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('http_parser') (James M Snell) [#37813] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('url') (James M Snell) [#37799] - **(SEMVER-MAJOR)** **lib**: make process.binding('util') return only type checkers (Anna Henningsen) [#37819] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('crypto') (James M Snell) [#37790] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('signal_wrap') (James M Snell) [#37800] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('v8') (James M Snell) [#37789] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('async_wrap') (James M Snell) [#37576] - **(SEMVER-MAJOR)** **module**: remove module.createRequireFromPath (Antoine du Hamel) [#37201] - **(SEMVER-MAJOR)** **module**: runtime deprecate subpath folder mappings (Antoine du Hamel) [#37215] - **(SEMVER-MAJOR)** **module**: runtime deprecate "main" index and extension lookups (Antoine du Hamel) [#37206] - **(SEMVER-MAJOR)** **module**: runtime deprecate invalid package.json main entries (Antoine du Hamel) [#37204] - **(SEMVER-MAJOR)** **process**: runtime deprecate changing process.config (James M Snell) [#36902] Stable Timers Promises API: The Timers Promises API provides an alternative set of timer functions that return Promise objects. Added in Node.js v15.0.0, in this release they graduate from experimental status to stable. Contributed by James Snell - [#38112] Toolchain and Compiler Upgrades: Node.js v16.0.0 will be the first release where we ship prebuilt binaries for Apple Silicon. While we’ll be providing separate tarballs for the Intel (`darwin-x64`) and ARM (`darwin-arm64`) architectures the macOS installer (`.pkg`) will be shipped as a ‘fat’ (multi-architecture) binary. - **(SEMVER-MAJOR)** **build**: remove support for Python 2 (Christian Clauss) [#36691] - **(SEMVER-MAJOR)** **build**: default PYTHON to python3 in Makefile (Michaël Zasso) [#37764] - **build**: update Makefile to support fat binary (Ash Cripps) [#37861] - **(SEMVER-MAJOR)** **build**: enable ASLR (PIE) on OS X (woodfairy) [#35704] - **build**: warn for gcc versions earlier than 8.3.0 (Richard Lau) [#37935] - **(SEMVER-MAJOR)** **doc**: update minimum supported Xcode to 11 (Michaël Zasso) [#37872] - **(SEMVER-MAJOR)** **doc**: update minimum supported GCC to 8.3 (Michaël Zasso) [#37871] - **(SEMVER-MAJOR)** **doc**: update AIX to GCC8 for v16.x (Ash Cripps) [#37677] - **tools**: set arch in Distribution.xml (Ash Cripps) [#38261] V8 9.0: The V8 JavaScript engine is updated to V8 9.0, including performance tweaks and improvements. This update also brings the ECMAScript RegExp Match Indices, which provide the start and end indices of the captured string. The indices array is available via the `.indices` property on match objects when the regular expression has the `/d` flag. Contributed by Michaël Zasso - [#37587] Other Notable Changes: - **(SEMVER-MINOR)** **assert**: graduate assert.match and assert.doesNotMatch (James M Snell) [#38111] - **(SEMVER-MAJOR)** **buffer**: expose btoa and atob as globals (James M Snell) [#37786] - **(SEMVER-MAJOR)** **deps**: bump minimum ICU version to 68 (Michaël Zasso) [#37330] - **deps**: update ICU to 69.1 (Michaël Zasso) [#38178] - **deps**: update llhttp to 6.0.0 (Fedor Indutny) [#38277] - **deps**: upgrade npm to 7.10.0 (Ruy Adorno) [#38254] - **(SEMVER-MINOR)** **http**: add http.ClientRequest.getRawHeaderNames() (simov) [#37660] - **(SEMVER-MAJOR)** **lib,src**: update cluster to use Parent (Michael Dawson) [#36478] - **(SEMVER-MINOR)** **module**: add support for `node:`‑prefixed `require(…)` calls (ExE Boss) [#37246] - **(SEMVER-MINOR)** **perf_hooks**: add histogram option to timerify (James M Snell) [#37475] - **(SEMVER-MINOR)** **repl**: add auto‑completion for `node:`‑prefixed `require(…)` calls (ExE Boss) [#37246] - **(SEMVER-MINOR)** **util**: add getSystemErrorMap() impl (eladkeyshawn) [#38101] Semver-Major Commits: - **(SEMVER-MAJOR)** **async_hooks**: add thisArg to AsyncResource.bind (James M Snell) [#36782] - **(SEMVER-MAJOR)** **buffer**: expose btoa and atob as globals (James M Snell) [#37786] - **(SEMVER-MAJOR)** **build**: remove support for Python 2 (Christian Clauss) [#36691] - **(SEMVER-MAJOR)** **build**: default PYTHON to python3 in Makefile (Michaël Zasso) [#37764] - **(SEMVER-MAJOR)** **build**: update Makefile to support fat binary (Ash Cripps) [#37861] - **(SEMVER-MAJOR)** **build**: include minimal V8 headers in distribution (Michaël Zasso) [#37570] - **(SEMVER-MAJOR)** **build**: use C++11 ABI with libstdc++ (Anna Henningsen) [#36634] - **(SEMVER-MAJOR)** **build**: enable ASLR (PIE) on OS X (woodfairy) [#35704] - **(SEMVER-MAJOR)** **deps**: update V8 to 9.0.257.11 (Michaël Zasso) [#37587] - **(SEMVER-MAJOR)** **deps**: bump minimum ICU version to 68 (Michaël Zasso) [#37330] - **(SEMVER-MAJOR)** **deps**: update V8 to 8.9.255.19 (Michaël Zasso) [#37330] - **(SEMVER-MAJOR)** **deps**: update V8 to 8.8.278.17 (Michaël Zasso) [#36139] - **(SEMVER-MAJOR)** **deps**: update V8 to 8.7.220 (Michaël Zasso) [#35700] - **(SEMVER-MAJOR)** **dns**: use url module instead of punycode for IDNA (Antoine du Hamel) [#35091] - **(SEMVER-MAJOR)** **doc**: update minimum supported Xcode to 11 (Michaël Zasso) [#37872] - **(SEMVER-MAJOR)** **doc**: update minimum supported GCC to 8.3 (Michaël Zasso) [#37871] - **(SEMVER-MAJOR)** **doc**: update AIX to GCC8 for v16.x (Ash Cripps) [#37677] - **(SEMVER-MAJOR)** **doc**: add http.IncomingMessage#connection (Pranshu Srivastava) [#33768] - **(SEMVER-MAJOR)** **events**: change EventTarget handler exception behavior (Nitzan Uziely) [#37237] - **(SEMVER-MAJOR)** **fs**: remove permissive rmdir recursive (Antoine du Hamel) [#37216] - **(SEMVER-MAJOR)** **fs**: add validation for fd and path (Dylan Elliott) [#35187] - **(SEMVER-MAJOR)** **fs**: runtime deprecate rmdir recursive option (Antoine du Hamel) [#37302] - **(SEMVER-MAJOR)** **fs**: fix flag and mode validation (James M Snell) [#37480] - **(SEMVER-MAJOR)** **http**: use objects with null prototype in Agent (Michaël Zasso) [#36409] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('http_parser') (James M Snell) [#37813] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('url') (James M Snell) [#37799] - **(SEMVER-MAJOR)** **lib**: make process.binding('util') return only type checkers (Anna Henningsen) [#37819] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('crypto') (James M Snell) [#37790] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('signal_wrap') (James M Snell) [#37800] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('v8') (James M Snell) [#37789] - **(SEMVER-MAJOR)** **lib**: aggregate errors to avoid error swallowing (Antoine du Hamel) [#37460] - **(SEMVER-MAJOR)** **lib**: runtime deprecate access to process.binding('async_wrap') (James M Snell) [#37576] - **(SEMVER-MAJOR)** **lib**: remove usage of url.parse (raisinten) [#36853] - **(SEMVER-MAJOR)** **lib**: add error handling for input stream (rexagod) [#31603] - **(SEMVER-MAJOR)** **lib,src**: update cluster to use Parent (Michael Dawson) [#36478] - **(SEMVER-MAJOR)** **module**: runtime deprecate subpath folder mappings (Antoine du Hamel) [#37215] - **(SEMVER-MAJOR)** **module**: runtime deprecate "main" index and extension lookups (Antoine du Hamel) [#37206] - **(SEMVER-MAJOR)** **module**: runtime deprecate invalid package.json main entries (Antoine du Hamel) [#37204] - **(SEMVER-MAJOR)** **module**: remove module.createRequireFromPath (Antoine du Hamel) [#37201] - **(SEMVER-MAJOR)** **module**: only set cache when finding module succeeds (Yongsheng Zhang) [#36642] - **(SEMVER-MAJOR)** **perf_hooks**: make performance a global (James M Snell) [#37970] - **(SEMVER-MAJOR)** **perf_hooks**: complete overhaul of the implementation (James M Snell) [#37136] - **(SEMVER-MAJOR)** **process**: disallow adding options to process.allowedNodeEnvironmentFlags (Antoine du Hamel) [#36660] - **(SEMVER-MAJOR)** **process**: runtime deprecate changing process.config (James M Snell) [#36902] - **(SEMVER-MAJOR)** **readline**: cursorTo throw error on NaN (Zijian Liu) [#36379] - **(SEMVER-MAJOR)** **src**: mark internally exported functions as explicitly internal (Tyler Ang-Wanek) [#37000] - **(SEMVER-MAJOR)** **src**: inline AsyncCleanupHookHandle in headers (Tyler Ang-Wanek) [#37000] - **(SEMVER-MAJOR)** **src**: clean up embedder API (Anna Henningsen) [#35897] - **(SEMVER-MAJOR)** **worker**: send correct error status for worker init (Yash Ladha) [#36242] PR-URL: #37678
1 parent a0261d2 commit 7162e68

33 files changed

+465
-57
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Select a Node.js version below to view the changelog history:
44

5+
* [Node.js 16](doc/changelogs/CHANGELOG_V16.md) **Current**
56
* [Node.js 15](doc/changelogs/CHANGELOG_V15.md) **Current**
67
* [Node.js 14](doc/changelogs/CHANGELOG_V14.md) **Long Term Support**
78
* [Node.js 13](doc/changelogs/CHANGELOG_V13.md) End-of-Life
@@ -25,13 +26,17 @@ release.
2526
<!--lint disable maximum-line-length-->
2627
<table>
2728
<tr>
29+
<th title="Current"><a href="doc/changelogs/CHANGELOG_V16.md">16</a><sup>Current</sup></th>
2830
<th title="Current"><a href="doc/changelogs/CHANGELOG_V15.md">15</a><sup>Current</sup></th>
2931
<th title="LTS Until 2023-04"><a href="doc/changelogs/CHANGELOG_V14.md">14</a><sup>LTS</sup></th>
3032
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a><sup>LTS</sup></th>
3133
<th title="LTS Until 2021-04"><a href="doc/changelogs/CHANGELOG_V10.md">10</a><sup>LTS</sup></th>
3234
</tr>
3335
<tr>
3436
<td valign="top">
37+
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.0.0">16.0.0</a></b><br/>
38+
</td>
39+
<td valign="top">
3540
<b><a href="doc/changelogs/CHANGELOG_V15.md#15.14.0">15.14.0</a></b><br/>
3641
<a href="doc/changelogs/CHANGELOG_V15.md#15.13.0">15.13.0</a><br/>
3742
<a href="doc/changelogs/CHANGELOG_V15.md#15.12.0">15.12.0</a><br/>

doc/abi_version_registry.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"NODE_MODULE_VERSION": [
3-
{ "modules": 93, "runtime": "node", "variant": "v8_9.0", "versions": "16.0.0-pre" },
3+
{ "modules": 93, "runtime": "node", "variant": "v8_9.0", "versions": "16.0.0" },
44
{ "modules": 92, "runtime": "node", "variant": "v8_8.9", "versions": "16.0.0-pre" },
55
{ "modules": 91, "runtime": "node", "variant": "v8_8.8", "versions": "16.0.0-pre" },
66
{ "modules": 90, "runtime": "node", "variant": "v8_8.7", "versions": "16.0.0-pre" },

doc/api/assert.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ An alias of [`assert.ok()`][].
455455
<!-- YAML
456456
added: v0.1.21
457457
changes:
458-
- version: REPLACEME
458+
- version: v16.0.0
459459
pr-url: https://github.com/nodejs/node/pull/38113
460460
description: In Legacy assertion mode, changed status from Deprecated to
461461
Legacy.
@@ -881,7 +881,7 @@ added:
881881
- v13.6.0
882882
- v12.16.0
883883
changes:
884-
- version: REPLACEME
884+
- version: v16.0.0
885885
pr-url: https://github.com/nodejs/node/pull/38111
886886
description: This API is no longer experimental.
887887
-->
@@ -1126,7 +1126,7 @@ assert.doesNotThrow(
11261126
<!-- YAML
11271127
added: v0.1.21
11281128
changes:
1129-
- version: REPLACEME
1129+
- version: v16.0.0
11301130
pr-url: https://github.com/nodejs/node/pull/38113
11311131
description: In Legacy assertion mode, changed status from Deprecated to
11321132
Legacy.
@@ -1406,7 +1406,7 @@ added:
14061406
- v13.6.0
14071407
- v12.16.0
14081408
changes:
1409-
- version: REPLACEME
1409+
- version: v16.0.0
14101410
pr-url: https://github.com/nodejs/node/pull/38111
14111411
description: This API is no longer experimental.
14121412
-->
@@ -1454,7 +1454,7 @@ instance of an [`Error`][] then it will be thrown instead of the
14541454
<!-- YAML
14551455
added: v0.1.21
14561456
changes:
1457-
- version: REPLACEME
1457+
- version: v16.0.0
14581458
pr-url: https://github.com/nodejs/node/pull/38113
14591459
description: In Legacy assertion mode, changed status from Deprecated to
14601460
Legacy.
@@ -1634,7 +1634,7 @@ instead of the [`AssertionError`][].
16341634
<!-- YAML
16351635
added: v0.1.21
16361636
changes:
1637-
- version: REPLACEME
1637+
- version: v16.0.0
16381638
pr-url: https://github.com/nodejs/node/pull/38113
16391639
description: In Legacy assertion mode, changed status from Deprecated to
16401640
Legacy.

doc/api/async_hooks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ added:
738738
- v14.8.0
739739
- v12.19.0
740740
changes:
741-
- version: REPLACEME
741+
- version: v16.0.0
742742
pr-url: https://github.com/nodejs/node/pull/36782
743743
description: Added optional thisArg.
744744
-->
@@ -759,7 +759,7 @@ added:
759759
- v14.8.0
760760
- v12.19.0
761761
changes:
762-
- version: REPLACEME
762+
- version: v16.0.0
763763
pr-url: https://github.com/nodejs/node/pull/36782
764764
description: Added optional thisArg.
765765
-->

doc/api/cluster.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -688,15 +688,15 @@ This can only be called from the primary process.
688688
## `cluster.isMaster`
689689
<!-- YAML
690690
added: v0.8.1
691-
deprecated: REPLACEME
691+
deprecated: v16.0.0
692692
-->
693693

694694
Deprecated alias for [`cluster.isPrimary`][].
695695
details.
696696

697697
## `cluster.isPrimary`
698698
<!-- YAML
699-
added: REPLACEME
699+
added: v16.0.0
700700
-->
701701

702702
* {boolean}
@@ -789,7 +789,7 @@ This object is not intended to be changed or set manually.
789789
## `cluster.setupMaster([settings])`
790790
<!-- YAML
791791
added: v0.7.1
792-
deprecated: REPLACEME
792+
deprecated: v16.0.0
793793
changes:
794794
- version: v6.4.0
795795
pr-url: https://github.com/nodejs/node/pull/7838
@@ -800,7 +800,7 @@ Deprecated alias for [`.setupPrimary()`][].
800800

801801
## `cluster.setupPrimary([settings])`
802802
<!-- YAML
803-
added: REPLACEME
803+
added: v16.0.0
804804
-->
805805

806806
* `settings` {Object} See [`cluster.settings`][].

doc/api/deprecations.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -2052,7 +2052,7 @@ expose values under these names.
20522052
### DEP0109: `http`, `https`, and `tls` support for invalid URLs
20532053
<!-- YAML
20542054
changes:
2055-
- version: REPLACEME
2055+
- version: v16.0.0
20562056
pr-url: https://github.com/nodejs/node/pull/36853
20572057
description: End-of-Life.
20582058
- version: v11.0.0
@@ -2354,7 +2354,7 @@ with no performance impact since Node.js 10.
23542354
### DEP0128: modules with an invalid `main` entry and an `index.js` file
23552355
<!-- YAML
23562356
changes:
2357-
- version: REPLACEME
2357+
- version: v16.0.0
23582358
pr-url: https://github.com/nodejs/node/pull/37204
23592359
description: Runtime deprecation.
23602360
- version: v12.0.0
@@ -2389,7 +2389,7 @@ instead.
23892389
### DEP0130: `Module.createRequireFromPath()`
23902390
<!-- YAML
23912391
changes:
2392-
- version: REPLACEME
2392+
- version: v16.0.0
23932393
pr-url: https://github.com/nodejs/node/pull/37201
23942394
description: End-of-life.
23952395
- version: v13.0.0
@@ -2678,7 +2678,7 @@ The [`crypto.Certificate()` constructor][] is deprecated. Use
26782678
### DEP0147: `fs.rmdir(path, { recursive: true })`
26792679
<!-- YAML
26802680
changes:
2681-
- version: REPLACEME
2681+
- version: v16.0.0
26822682
pr-url: https://github.com/nodejs/node/pull/37302
26832683
description: Runtime deprecation.
26842684
- version: v15.0.0
@@ -2701,7 +2701,7 @@ Use `fs.rm(path, { recursive: true, force: true })`,
27012701
### DEP0148: Folder mappings in `"exports"` (trailing `"/"`)
27022702
<!-- YAML
27032703
changes:
2704-
- version: REPLACEME
2704+
- version: v16.0.0
27052705
pr-url: https://github.com/nodejs/node/pull/37215
27062706
description: Runtime deprecation.
27072707
- version: v15.1.0
@@ -2721,7 +2721,7 @@ Using a trailing `"/"` to define
27212721
### DEP0149: `http.IncomingMessage#connection`
27222722
<!-- YAML
27232723
changes:
2724-
- version: REPLACEME
2724+
- version: v16.0.0
27252725
pr-url: https://github.com/nodejs/node/pull/33768
27262726
description: Documentation-only deprecation.
27272727
-->
@@ -2733,7 +2733,7 @@ Prefer [`message.socket`][] over [`message.connection`][].
27332733
### DEP0150: Changing the value of `process.config`
27342734
<!-- YAML
27352735
changes:
2736-
- version: REPLACEME
2736+
- version: v16.0.0
27372737
pr-url: https://github.com/nodejs/node/pull/36902
27382738
description: Runtime deprecation.
27392739
-->
@@ -2748,7 +2748,7 @@ change the value has been deprecated and will be disabled in the future.
27482748
### DEP0151: Main index lookup and extension searching
27492749
<!-- YAML
27502750
changes:
2751-
- version: REPLACEME
2751+
- version: v16.0.0
27522752
pr-url: https://github.com/nodejs/node/pull/37206
27532753
description: Runtime deprecation.
27542754
- version: v15.8.0
@@ -2768,7 +2768,7 @@ an explicit [`"exports"` or `"main"` entry][] with the exact file extension.
27682768
### DEP0152: Extension PerformanceEntry properties
27692769
<!-- YAML
27702770
changes:
2771-
- version: REPLACEME
2771+
- version: v16.0.0
27722772
pr-url: https://github.com/nodejs/node/pull/37136
27732773
description: Runtime deprecation.
27742774
-->

doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ added:
206206
- v14.13.1
207207
- v12.20.0
208208
changes:
209-
- version: REPLACEME
209+
- version: v16.0.0
210210
pr-url: https://github.com/nodejs/node/pull/37246
211211
description: Added `node:` import support to `require(...)`.
212212
-->

doc/api/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ setMaxListeners(5, target, emitter);
11411141
<!-- YAML
11421142
added: v14.5.0
11431143
changes:
1144-
- version: REPLACEME
1144+
- version: v16.0.0
11451145
pr-url: https://github.com/nodejs/node/pull/37237
11461146
description: changed EventTarget error handling.
11471147
- version: v15.4.0

doc/api/fs.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -1049,17 +1049,17 @@ Renames `oldPath` to `newPath`.
10491049
<!-- YAML
10501050
added: v10.0.0
10511051
changes:
1052-
- version: REPLACEME
1052+
- version: v16.0.0
10531053
pr-url: https://github.com/nodejs/node/pull/37216
10541054
description: "Using `fsPromises.rmdir(path, { recursive: true })` on a `path`
10551055
that is a file is no longer permitted and results in an
10561056
`ENOENT` error on Windows and an `ENOTDIR` error on POSIX."
1057-
- version: REPLACEME
1057+
- version: v16.0.0
10581058
pr-url: https://github.com/nodejs/node/pull/37216
10591059
description: "Using `fsPromises.rmdir(path, { recursive: true })` on a `path`
10601060
that does not exist is no longer permitted and results in a
10611061
`ENOENT` error."
1062-
- version: REPLACEME
1062+
- version: v16.0.0
10631063
pr-url: https://github.com/nodejs/node/pull/37302
10641064
description: The `recursive` option is deprecated, using it triggers a
10651065
deprecation warning.
@@ -2346,7 +2346,7 @@ descriptor. See [`fs.utimes()`][].
23462346
<!-- YAML
23472347
deprecated: v0.4.7
23482348
changes:
2349-
- version: REPLACEME
2349+
- version: v16.0.0
23502350
pr-url: https://github.com/nodejs/node/pull/37460
23512351
description: The error returned may be an `AggregateError` if more than one
23522352
error is returned.
@@ -2828,7 +2828,7 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
28282828
<!-- YAML
28292829
added: v0.1.29
28302830
changes:
2831-
- version: REPLACEME
2831+
- version: v16.0.0
28322832
pr-url: https://github.com/nodejs/node/pull/37460
28332833
description: The error returned may be an `AggregateError` if more than one
28342834
error is returned.
@@ -3158,17 +3158,17 @@ rename('oldFile.txt', 'newFile.txt', (err) => {
31583158
<!-- YAML
31593159
added: v0.0.2
31603160
changes:
3161-
- version: REPLACEME
3161+
- version: v16.0.0
31623162
pr-url: https://github.com/nodejs/node/pull/37216
31633163
description: "Using `fs.rmdir(path, { recursive: true })` on a `path` that is
31643164
a file is no longer permitted and results in an `ENOENT` error
31653165
on Windows and an `ENOTDIR` error on POSIX."
3166-
- version: REPLACEME
3166+
- version: v16.0.0
31673167
pr-url: https://github.com/nodejs/node/pull/37216
31683168
description: "Using `fs.rmdir(path, { recursive: true })` on a `path` that
31693169
does not exist is no longer permitted and results in a `ENOENT`
31703170
error."
3171-
- version: REPLACEME
3171+
- version: v16.0.0
31723172
pr-url: https://github.com/nodejs/node/pull/37302
31733173
description: The `recursive` option is deprecated, using it triggers a
31743174
deprecation warning.
@@ -3418,7 +3418,7 @@ example/
34183418
<!-- YAML
34193419
added: v0.8.6
34203420
changes:
3421-
- version: REPLACEME
3421+
- version: v16.0.0
34223422
pr-url: https://github.com/nodejs/node/pull/37460
34233423
description: The error returned may be an `AggregateError` if more than one
34243424
error is returned.
@@ -3875,7 +3875,7 @@ details.
38753875
<!-- YAML
38763876
added: v0.1.29
38773877
changes:
3878-
- version: REPLACEME
3878+
- version: v16.0.0
38793879
pr-url: https://github.com/nodejs/node/pull/37460
38803880
description: The error returned may be an `AggregateError` if more than one
38813881
error is returned.
@@ -4797,17 +4797,17 @@ See the POSIX rename(2) documentation for more details.
47974797
<!-- YAML
47984798
added: v0.1.21
47994799
changes:
4800-
- version: REPLACEME
4800+
- version: v16.0.0
48014801
pr-url: https://github.com/nodejs/node/pull/37216
48024802
description: "Using `fs.rmdirSync(path, { recursive: true })` on a `path`
48034803
that is a file is no longer permitted and results in an
48044804
`ENOENT` error on Windows and an `ENOTDIR` error on POSIX."
4805-
- version: REPLACEME
4805+
- version: v16.0.0
48064806
pr-url: https://github.com/nodejs/node/pull/37216
48074807
description: "Using `fs.rmdirSync(path, { recursive: true })` on a `path`
48084808
that does not exist is no longer permitted and results in a
48094809
`ENOENT` error."
4810-
- version: REPLACEME
4810+
- version: v16.0.0
48114811
pr-url: https://github.com/nodejs/node/pull/37302
48124812
description: The `recursive` option is deprecated, using it triggers a
48134813
deprecation warning.

doc/api/globals.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ This variable may appear to be global but is not. See [`__filename`][].
148148

149149
## `atob(data)`
150150
<!-- YAML
151-
added: REPLACEME
151+
added: v16.0.0
152152
-->
153153

154154
> Stability: 3 - Legacy. Use `Buffer.from(data, 'base64')` instead.
@@ -157,7 +157,7 @@ Global alias for [`buffer.atob()`][].
157157

158158
## `btoa(data)`
159159
<!-- YAML
160-
added: REPLACEME
160+
added: v16.0.0
161161
-->
162162

163163
> Stability: 3 - Legacy. Use `buf.toString('base64')` instead.

doc/api/http.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ terminates them.
272272
<!-- YAML
273273
added: v0.11.4
274274
changes:
275-
- version: REPLACEME
275+
- version: v16.0.0
276276
pr-url: https://github.com/nodejs/node/pull/36409
277277
description: The property now has a `null` prototype.
278278
-->
@@ -342,7 +342,7 @@ can have open. Unlike `maxSockets`, this parameter applies across all origins.
342342
<!-- YAML
343343
added: v0.5.9
344344
changes:
345-
- version: REPLACEME
345+
- version: v16.0.0
346346
pr-url: https://github.com/nodejs/node/pull/36409
347347
description: The property now has a `null` prototype.
348348
-->
@@ -356,7 +356,7 @@ sockets. Do not modify.
356356
<!-- YAML
357357
added: v0.3.6
358358
changes:
359-
- version: REPLACEME
359+
- version: v16.0.0
360360
pr-url: https://github.com/nodejs/node/pull/36409
361361
description: The property now has a `null` prototype.
362362
-->
@@ -2020,7 +2020,7 @@ const req = http.request({
20202020
### `message.connection`
20212021
<!-- YAML
20222022
added: v0.1.90
2023-
deprecated: REPLACEME
2023+
deprecated: v16.0.0
20242024
-->
20252025

20262026
> Stability: 0 - Deprecated. Use [`message.socket`][].

0 commit comments

Comments
 (0)