Skip to content

Commit

Permalink
2023-10-18, Version 21.0.0 (Current)
Browse files Browse the repository at this point in the history
Notable Changes:

TODO

Semver-Major Commits:

* (SEMVER-MAJOR) bump supported macOS and Xcode versions (Michaël Zasso) #49164
* (SEMVER-MAJOR) do not overwrite _writableState.defaultEncoding (Tobias Nießen) #49140
* (SEMVER-MAJOR) update llhttp to 9.1.2 (Paolo Insogna) #48981
* (SEMVER-MAJOR) validate options of `on` and `once` (Deokjin Kim) #46018
* (SEMVER-MAJOR) adjust `position` validation in reading methods (Livia Medeiros) #42835
* (SEMVER-MAJOR) add globSync implementation (Moshe Atlow) #47653
* (SEMVER-MAJOR) mark URL/URLSearchParams as uncloneable and untransferable (Chengzhong Wu) #47497
* (SEMVER-MAJOR) remove aix directory case for package reader (Yagiz Nizipli) #48605
* (SEMVER-MAJOR) add `navigator.hardwareConcurrency` (Yagiz Nizipli) #47769
* (SEMVER-MAJOR) runtime deprecate punycode (Yagiz Nizipli) #47202
* (SEMVER-MAJOR) harmonize error code between ESM and CJS (Antoine du Hamel) #48606
* (SEMVER-MAJOR) do not treat `server.maxConnections=0` as `Infinity` (ignoramous) #48276
* (SEMVER-MAJOR) only defer _final call when connecting (Jason Zhang) #47385
* (SEMVER-MAJOR) rename internal NAPI_VERSION definition (Chengzhong Wu) #48501
* (SEMVER-MAJOR) throw DOMException on cloning non-serializable objects (Chengzhong Wu) #47839
* (SEMVER-MAJOR) throw DataCloneError on transfering untransferable objects (Chengzhong Wu) #47604
* (SEMVER-MAJOR) use private properties for strategies (Yagiz Nizipli) #47218
* (SEMVER-MAJOR) use private properties for encoding (Yagiz Nizipli) #47218
* (SEMVER-MAJOR) use private properties for compression (Yagiz Nizipli) #47218
* (SEMVER-MAJOR) disallow array in `run` options (Raz Luvaton) #49935
* (SEMVER-MAJOR) support passing globs (Moshe Atlow) #47653
* (SEMVER-MAJOR) use `validateNumber` for `options.minDHSize` (Deokjin Kim) #49973
* (SEMVER-MAJOR) use validateFunction for `options.checkServerIdentity` (Deokjin Kim) #49896
* (SEMVER-MAJOR) runtime deprecate `promisify`-ing a function returning a `Promise` (Antoine du Hamel) #49609
* (SEMVER-MAJOR) freeze `dependencySpecifiers` array (Antoine du Hamel) #49720

PR-URL: #49870
Co-authored-by: Michaël Zasso <[email protected]>
  • Loading branch information
RafaelGSS and targos committed Oct 9, 2023
1 parent f10928f commit e6b23ad
Show file tree
Hide file tree
Showing 24 changed files with 113 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

* [Node.js 21](doc/changelogs/CHANGELOG_V21.md) **Current**
* [Node.js 20](doc/changelogs/CHANGELOG_V20.md) **Current**
* [Node.js 19](doc/changelogs/CHANGELOG_V19.md) End-of-Life
* [Node.js 18](doc/changelogs/CHANGELOG_V18.md) **Long Term Support**
Expand Down Expand Up @@ -29,11 +30,15 @@ release.

<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V21.md">21</a> (Current)</th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V20.md">20</a> (Current)</th>
<th title="LTS Until 2025-04"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (LTS)</th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.0.0">21.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.8.0">20.8.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.7.0">20.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.6.1">20.6.1</a><br/>
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_ARCHIVE.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_IOJS.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V010.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V012.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V10.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V11.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V12.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V13.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V14.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V15.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V16.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V17.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V18.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V19.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V20.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
Expand Down
86 changes: 86 additions & 0 deletions doc/changelogs/CHANGELOG_V21.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Node.js 21 ChangeLog

<!--lint disable maximum-line-length no-literal-urls prohibited-strings-->

<table>
<tr>
<th>Current</th>
</tr>
<tr>
<td>
<a href="#21.0.0">21.0.0</a><br/>
</td>
</tr>
</table>

* Other Versions
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
* [16.x](CHANGELOG_V16.md)
* [15.x](CHANGELOG_V15.md)
* [14.x](CHANGELOG_V14.md)
* [13.x](CHANGELOG_V13.md)
* [12.x](CHANGELOG_V12.md)
* [11.x](CHANGELOG_V11.md)
* [10.x](CHANGELOG_V10.md)
* [9.x](CHANGELOG_V9.md)
* [8.x](CHANGELOG_V8.md)
* [7.x](CHANGELOG_V7.md)
* [6.x](CHANGELOG_V6.md)
* [5.x](CHANGELOG_V5.md)
* [4.x](CHANGELOG_V4.md)
* [0.12.x](CHANGELOG_V012.md)
* [0.10.x](CHANGELOG_V010.md)
* [io.js](CHANGELOG_IOJS.md)
* [Archive](CHANGELOG_ARCHIVE.md)

<a id="21.0.0"></a>

## 2023-10-17, Version 21.0.0 (Current), @RafaelGSS and @targos

// Intro

Node.js 21 will replace Node.js 20 as our ‘Current’ release line when Node.js 20 enters long-term support (LTS) later this month.
As per the release schedule, Node.js 21 will be ‘Current' release for the next 6 months, until April 2024.

### Notable Changes

//

### Semver-Major Commits

* \[[`4e3983031a`](https://github.com/nodejs/node/commit/4e3983031a)] - **(SEMVER-MAJOR)** **build**: bump supported macOS and Xcode versions (Michaël Zasso) [#49164](https://github.com/nodejs/node/pull/49164)
* \[[`5a0777776d`](https://github.com/nodejs/node/commit/5a0777776d)] - **(SEMVER-MAJOR)** **crypto**: do not overwrite \_writableState.defaultEncoding (Tobias Nießen) [#49140](https://github.com/nodejs/node/pull/49140)
* \[[`e9ff81016d`](https://github.com/nodejs/node/commit/e9ff81016d)] - **(SEMVER-MAJOR)** **deps**: update llhttp to 9.1.2 (Paolo Insogna) [#48981](https://github.com/nodejs/node/pull/48981)
* \[[`7ace5aba75`](https://github.com/nodejs/node/commit/7ace5aba75)] - **(SEMVER-MAJOR)** **events**: validate options of `on` and `once` (Deokjin Kim) [#46018](https://github.com/nodejs/node/pull/46018)
* \[[`b3ec13d449`](https://github.com/nodejs/node/commit/b3ec13d449)] - **(SEMVER-MAJOR)** **fs**: adjust `position` validation in reading methods (Livia Medeiros) [#42835](https://github.com/nodejs/node/pull/42835)
* \[[`1948dce707`](https://github.com/nodejs/node/commit/1948dce707)] - **(SEMVER-MAJOR)** **fs**: add globSync implementation (Moshe Atlow) [#47653](https://github.com/nodejs/node/pull/47653)
* \[[`c5b0b894ed`](https://github.com/nodejs/node/commit/c5b0b894ed)] - **(SEMVER-MAJOR)** **lib**: mark URL/URLSearchParams as uncloneable and untransferable (Chengzhong Wu) [#47497](https://github.com/nodejs/node/pull/47497)
* \[[`3205b1936a`](https://github.com/nodejs/node/commit/3205b1936a)] - **(SEMVER-MAJOR)** **lib**: remove aix directory case for package reader (Yagiz Nizipli) [#48605](https://github.com/nodejs/node/pull/48605)
* \[[`b40f0c3074`](https://github.com/nodejs/node/commit/b40f0c3074)] - **(SEMVER-MAJOR)** **lib**: add `navigator.hardwareConcurrency` (Yagiz Nizipli) [#47769](https://github.com/nodejs/node/pull/47769)
* \[[`4b08c4c047`](https://github.com/nodejs/node/commit/4b08c4c047)] - **(SEMVER-MAJOR)** **lib**: runtime deprecate punycode (Yagiz Nizipli) [#47202](https://github.com/nodejs/node/pull/47202)
* \[[`3ce51ae9c0`](https://github.com/nodejs/node/commit/3ce51ae9c0)] - **(SEMVER-MAJOR)** **module**: harmonize error code between ESM and CJS (Antoine du Hamel) [#48606](https://github.com/nodejs/node/pull/48606)
* \[[`7202859402`](https://github.com/nodejs/node/commit/7202859402)] - **(SEMVER-MAJOR)** **net**: do not treat `server.maxConnections=0` as `Infinity` (ignoramous) [#48276](https://github.com/nodejs/node/pull/48276)
* \[[`c15bafdaf4`](https://github.com/nodejs/node/commit/c15bafdaf4)] - **(SEMVER-MAJOR)** **net**: only defer \_final call when connecting (Jason Zhang) [#47385](https://github.com/nodejs/node/pull/47385)
* \[[`6ffacbf0f9`](https://github.com/nodejs/node/commit/6ffacbf0f9)] - **(SEMVER-MAJOR)** **node-api**: rename internal NAPI\_VERSION definition (Chengzhong Wu) [#48501](https://github.com/nodejs/node/pull/48501)
* \[[`d920b7c94b`](https://github.com/nodejs/node/commit/d920b7c94b)] - **(SEMVER-MAJOR)** **src**: throw DOMException on cloning non-serializable objects (Chengzhong Wu) [#47839](https://github.com/nodejs/node/pull/47839)
* \[[`64549731b6`](https://github.com/nodejs/node/commit/64549731b6)] - **(SEMVER-MAJOR)** **src**: throw DataCloneError on transfering untransferable objects (Chengzhong Wu) [#47604](https://github.com/nodejs/node/pull/47604)
* \[[`dac8de689b`](https://github.com/nodejs/node/commit/dac8de689b)] - **(SEMVER-MAJOR)** **stream**: use private properties for strategies (Yagiz Nizipli) [#47218](https://github.com/nodejs/node/pull/47218)
* \[[`1fa084ecdf`](https://github.com/nodejs/node/commit/1fa084ecdf)] - **(SEMVER-MAJOR)** **stream**: use private properties for encoding (Yagiz Nizipli) [#47218](https://github.com/nodejs/node/pull/47218)
* \[[`4e93247079`](https://github.com/nodejs/node/commit/4e93247079)] - **(SEMVER-MAJOR)** **stream**: use private properties for compression (Yagiz Nizipli) [#47218](https://github.com/nodejs/node/pull/47218)
* \[[`527589b755`](https://github.com/nodejs/node/commit/527589b755)] - **(SEMVER-MAJOR)** **test\_runner**: disallow array in `run` options (Raz Luvaton) [#49935](https://github.com/nodejs/node/pull/49935)
* \[[`7cd4e70948`](https://github.com/nodejs/node/commit/7cd4e70948)] - **(SEMVER-MAJOR)** **test\_runner**: support passing globs (Moshe Atlow) [#47653](https://github.com/nodejs/node/pull/47653)
* \[[`2ef170254b`](https://github.com/nodejs/node/commit/2ef170254b)] - **(SEMVER-MAJOR)** **tls**: use `validateNumber` for `options.minDHSize` (Deokjin Kim) [#49973](https://github.com/nodejs/node/pull/49973)
* \[[`092fb9f541`](https://github.com/nodejs/node/commit/092fb9f541)] - **(SEMVER-MAJOR)** **tls**: use validateFunction for `options.checkServerIdentity` (Deokjin Kim) [#49896](https://github.com/nodejs/node/pull/49896)
* \[[`ccca547e28`](https://github.com/nodejs/node/commit/ccca547e28)] - **(SEMVER-MAJOR)** **util**: runtime deprecate `promisify`-ing a function returning a `Promise` (Antoine du Hamel) [#49609](https://github.com/nodejs/node/pull/49609)
* \[[`4038cf0513`](https://github.com/nodejs/node/commit/4038cf0513)] - **(SEMVER-MAJOR)** **vm**: freeze `dependencySpecifiers` array (Antoine du Hamel) [#49720](https://github.com/nodejs/node/pull/49720)

### Semver-Minor Commits

//

### Semver-Patch Commits

//
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V4.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V5.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V6.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V7.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V8.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_V9.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
</table>

* Other Versions
* [21.x](CHANGELOG_V21.md)
* [20.x](CHANGELOG_V20.md)
* [19.x](CHANGELOG_V19.md)
* [18.x](CHANGELOG_V18.md)
Expand Down
2 changes: 1 addition & 1 deletion src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#define NODE_VERSION_IS_LTS 0
#define NODE_VERSION_LTS_CODENAME ""

#define NODE_VERSION_IS_RELEASE 0
#define NODE_VERSION_IS_RELEASE 1

#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
Expand Down

0 comments on commit e6b23ad

Please sign in to comment.