Skip to content

Commit

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

crypto:
  * (SEMVER-MAJOR) use WebIDL converters in WebCryptoAPI (Filip Skokan) #46067
deps:
  * update ada to 2.0.0 (Node.js GitHub Bot) #47339
esm:
  * move hook execution to separate thread (Jacob Smith) #44710
sea:
  * use JSON configuration and blob content for SEA (Joyee Cheung) #47125
src,process:
  * (SEMVER-MINOR) add permission model (Rafael Gonzaga) #44004
url:
  * drop ICU requirement for parsing hostnames (Yagiz Nizipli) #47339
  * use ada::url_aggregator for parsing urls (Yagiz Nizipli) #47339
  * (SEMVER-MAJOR) runtime-deprecate url.parse() with invalid ports (Rich Trott) #45526

Semver-Major Commits:

* [9fafb0a] - (SEMVER-MAJOR) async_hooks: deprecate the AsyncResource.bind asyncResource property (James M Snell) #46432
* [1948d37] - (SEMVER-MAJOR) buffer: check INSPECT_MAX_BYTES with validateNumber (Umuoy) #46599
* [7bc0e6a] - (SEMVER-MAJOR) buffer: graduate File from experimental and expose as global (Khafra) #47153
* [671ffd7] - (SEMVER-MAJOR) buffer: use min/max of `validateNumber` (Deokjin Kim) #45796
* [ab1614d] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #47251
* [c1bcdbc] - (SEMVER-MAJOR) build: warn for gcc versions earlier than 10.1 (Richard Lau) #46806
* [649f68f] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Yagiz Nizipli) #45579
* [9374700] - (SEMVER-MAJOR) crypto: remove DEFAULT_ENCODING (Tobias Nießen) #47182
* [1640aeb] - (SEMVER-MAJOR) crypto: remove obsolete SSL_OP_* constants (Tobias Nießen) #47073
* [c2e4b1f] - (SEMVER-MAJOR) crypto: remove ALPN_ENABLED (Tobias Nießen) #47028
* [3ef38c4] - (SEMVER-MAJOR) crypto: use WebIDL converters in WebCryptoAPI (Filip Skokan) #46067
* [08af023] - (SEMVER-MAJOR) crypto: runtime deprecate replaced rsa-pss keygen parameters (Filip Skokan) #45653
* [7eb0ac3] - (SEMVER-MAJOR) deps: patch V8 to support compilation on win-arm64 (Michaël Zasso) #47251
* [a7c129f] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #47251
* [6f5655a] - (SEMVER-MAJOR) deps: always define V8_EXPORT_PRIVATE as no-op (Michaël Zasso) #47251
* [f226350] - (SEMVER-MAJOR) deps: update V8 to 11.3.244.4 (Michaël Zasso) #47251
* [d6dae74] - (SEMVER-MAJOR) deps: V8: cherry-pick f1c888e7093e (Michaël Zasso) #45579
* [56c4365] - (SEMVER-MAJOR) deps: fix V8 build on Windows with MSVC (Michaël Zasso) #45579
* [51ab98c] - (SEMVER-MAJOR) deps: silence irrelevant V8 warning (Michaël Zasso) #45579
* [9f84d3e] - (SEMVER-MAJOR) deps: V8: fix v8-cppgc.h for MSVC (Jiawen Geng) #45579
* [f2318cd] - (SEMVER-MAJOR) deps: fix V8 build issue with inline methods (Jiawen Geng) #45579
* [16e03e7] - (SEMVER-MAJOR) deps: update V8 to 10.9.194.4 (Yagiz Nizipli) #45579
* [6473f5e] - (SEMVER-MAJOR) doc: update toolchains used for Node.js 20 releases (Richard Lau) #47352
* [cc18fd9] - (SEMVER-MAJOR) events: refactor to use `validateNumber` (Deokjin Kim) #45770
* [ff92b40] - (SEMVER-MAJOR) http: close the connection after sending a body without declared length (Tim Perry) #46333
* [2a29df6] - (SEMVER-MAJOR) http: keep HTTP/1.1 conns alive even if the Connection header is removed (Tim Perry) #46331
* [391dc74] - (SEMVER-MAJOR) http: throw error if options of http.Server is array (Deokjin Kim) #46283
* [ed3604c] - (SEMVER-MAJOR) http: server check Host header, to meet RFC 7230 5.4 requirement (wwwzbwcom) #45597
* [88d71dc] - (SEMVER-MAJOR) lib: refactor to use min/max of `validateNumber` (Deokjin Kim) #45772
* [e4d641f] - (SEMVER-MAJOR) lib: refactor to use validators in http2 (Debadree Chatterjee) #46174
* [0f3e531] - (SEMVER-MAJOR) lib: performance improvement on readline async iterator (Thiago Oliveira Santos) #41276
* [5b5898a] - (SEMVER-MAJOR) lib,src: update exit codes as per todos (Debadree Chatterjee) #45841
* [55321ba] - (SEMVER-MAJOR) net: enable autoSelectFamily by default (Paolo Insogna) #46790
* [2d0d997] - (SEMVER-MAJOR) process: remove `process.exit()`, `process.exitCode` coercion to integer (Daeyeon Jeong) #43716
* [dc06df3] - (SEMVER-MAJOR) readline: refactor to use `validateNumber` (Deokjin Kim) #45801
* [295b2f3] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 115 (Michaël Zasso) #47251
* [3803b02] - (SEMVER-MAJOR) src: share common code paths for SEA and embedder script (Anna Henningsen) #46825
* [e8bddac] - (SEMVER-MAJOR) src: apply ABI-breaking API simplifications (Anna Henningsen) #46705
* [f84de0a] - (SEMVER-MAJOR) src: use uint32_t for process initialization flags enum (Anna Henningsen) #46427
* [a624277] - (SEMVER-MAJOR) src: fix ArrayBuffer::Detach deprecation (Michaël Zasso) #45579
* [dd5c39a] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 112 (Yagiz Nizipli) #45579
* [63eca7f] - (SEMVER-MAJOR) stream: validate readable defaultEncoding (Marco Ippolito) #46430
* [9e7093f] - (SEMVER-MAJOR) stream: validate writable defaultEncoding (Marco Ippolito) #46322
* [fb91ee4] - (SEMVER-MAJOR) test: make trace-gc-flag tests less strict (Yagiz Nizipli) #45579
* [eca6180] - (SEMVER-MAJOR) test: adapt test-v8-stats for V8 update (Michaël Zasso) #45579
* [c03354d] - (SEMVER-MAJOR) test: test case for multiple res.writeHead and res.getHeader (Marco Ippolito) #45508
* [c733cc0] - (SEMVER-MAJOR) test_runner: mark module as stable (Colin Ihrig) #46983
* [7ce2232] - (SEMVER-MAJOR) tools: update V8 gypfiles for 11.1 (Michaël Zasso) #47251
* [ca4bd30] - (SEMVER-MAJOR) tools: update V8 gypfiles for 11.0 (Michaël Zasso) #47251
* [58b06a2] - (SEMVER-MAJOR) tools: update V8 gypfiles (Michaël Zasso) #45579
* [027841c] - (SEMVER-MAJOR) url: use private properties for brand check (Yagiz Nizipli) #46904
* [3bed5f1] - (SEMVER-MAJOR) url: runtime-deprecate url.parse() with invalid ports (Rich Trott) #45526
* [7c76fdd] - (SEMVER-MAJOR) util,doc: mark parseArgs() as stable (Colin Ihrig) #46718
* [4b52727] - (SEMVER-MAJOR) wasi: make version non-optional (Michael Dawson) #47391

Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>

PR-URL: #47441
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
  • Loading branch information
RafaelGSS committed Apr 17, 2023
1 parent 8bcf0a4 commit e7618fb
Show file tree
Hide file tree
Showing 37 changed files with 357 additions and 39 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,7 @@

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

* [Node.js 20](doc/changelogs/CHANGELOG_V20.md) **Current**
* [Node.js 19](doc/changelogs/CHANGELOG_V19.md) **Current**
* [Node.js 18](doc/changelogs/CHANGELOG_V18.md) **Long Term Support**
* [Node.js 17](doc/changelogs/CHANGELOG_V17.md) End-of-Life
Expand All @@ -28,13 +29,17 @@ release.

<table>
<tr>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V20.md">20</a> (Current)</th>
<th title="Current"><a href="doc/changelogs/CHANGELOG_V19.md">19</a> (Current)</th>
<th title="LTS Until 2025-04"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (LTS)</th>
<th title="LTS Until 2023-09"><a href="doc/changelogs/CHANGELOG_V16.md">16</a> (LTS)</th>
<th title="LTS Until 2023-04"><a href="doc/changelogs/CHANGELOG_V14.md">14</a> (LTS)</th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.0.0">20.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V19.md#19.9.0">19.9.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V19.md#19.8.1">19.8.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V19.md#19.8.0">19.8.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/abi_version_registry.json
@@ -1,7 +1,7 @@
{
"NODE_MODULE_VERSION": [
{ "modules": 116,"runtime": "electron", "variant": "electron", "versions": "25" },
{ "modules": 115,"runtime": "node", "variant": "v8_11.2", "versions": "20.0.0-pre" },
{ "modules": 115,"runtime": "node", "variant": "v8_11.3", "versions": "20.0.0" },
{ "modules": 114,"runtime": "electron", "variant": "electron", "versions": "24" },
{ "modules": 113,"runtime": "electron", "variant": "electron", "versions": "23" },
{ "modules": 112,"runtime": "node", "variant": "v8_10.9", "versions": "20.0.0-pre" },
Expand Down
4 changes: 2 additions & 2 deletions doc/api/async_context.md
Expand Up @@ -505,7 +505,7 @@ added:
- v14.8.0
- v12.19.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46432
description: The `asyncResource` property added to the bound function
has been deprecated and will be removed in a future
Expand Down Expand Up @@ -535,7 +535,7 @@ added:
- v14.8.0
- v12.19.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46432
description: The `asyncResource` property added to the bound function
has been deprecated and will be removed in a future
Expand Down
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Expand Up @@ -5055,7 +5055,7 @@ added:
- v19.2.0
- v18.13.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/47153
description: No longer experimental.
-->
Expand Down
26 changes: 13 additions & 13 deletions doc/api/cli.md
Expand Up @@ -103,7 +103,7 @@ If this flag is passed, the behavior can still be set to not abort through
### `--allow-child-process`

<!-- YAML
added: REPLACEME
added: v20.0.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -144,7 +144,7 @@ Error: Access to this API has been restricted
### `--allow-fs-read`

<!-- YAML
added: REPLACEME
added: v20.0.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -190,7 +190,7 @@ $ node --experimental-permission --allow-fs-read=/path/to/index.js index.js
### `--allow-fs-write`

<!-- YAML
added: REPLACEME
added: v20.0.0
-->

> Stability: 1 - Experimental
Expand All @@ -210,7 +210,7 @@ Relative paths are NOT supported through the CLI flag.
### `--allow-worker`

<!-- YAML
added: REPLACEME
added: v20.0.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -467,7 +467,7 @@ against FIPS-compatible OpenSSL.)
<!-- YAML
added: v19.4.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46790
description: The flag was renamed from `--no-enable-network-family-autoselection`
to `--no-network-family-autoselection`. The old name can still work as
Expand Down Expand Up @@ -543,7 +543,7 @@ Enable experimental support for the `https:` protocol in `import` specifiers.
### `--experimental-permission`

<!-- YAML
added: REPLACEME
added: v20.0.0
-->

Enable the Permission Model for current process. When enabled, the
Expand Down Expand Up @@ -597,7 +597,7 @@ Use this flag to disable top-level await in REPL.
### `--experimental-sea-config`

<!-- YAML
added: REPLACEME
added: v20.0.0
-->

> Stability: 1 - Experimental
Expand Down Expand Up @@ -644,7 +644,7 @@ added:
- v13.3.0
- v12.16.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/47286
description: This option is no longer required as WASI is
enabled by default, but can still be passed.
Expand Down Expand Up @@ -1418,7 +1418,7 @@ added:
- v18.1.0
- v16.17.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46983
description: The test runner is now stable.
- version:
Expand All @@ -1438,7 +1438,7 @@ for more details.
<!-- YAML
added: v18.11.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46983
description: The test runner is now stable.
-->
Expand All @@ -1454,7 +1454,7 @@ added:
- v19.6.0
- v18.15.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46983
description: The test runner is now stable.
-->
Expand All @@ -1469,7 +1469,7 @@ added:
- v19.6.0
- v18.15.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46983
description: The test runner is now stable.
-->
Expand All @@ -1484,7 +1484,7 @@ added:
- v18.0.0
- v16.17.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46983
description: The test runner is now stable.
-->
Expand Down
10 changes: 5 additions & 5 deletions doc/api/deprecations.md
Expand Up @@ -1864,7 +1864,7 @@ bits are allowed. Authentication tags of other lengths are invalid per

<!-- YAML
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/47182
description: End-of-Life.
- version: v10.0.0
Expand Down Expand Up @@ -2979,7 +2979,7 @@ option, or a non-nullish non-boolean value for `verbatim` option in

<!-- YAML
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/45653
description: Runtime deprecation.
- version: v16.10.0
Expand Down Expand Up @@ -3187,7 +3187,7 @@ thing instead.

<!-- YAML
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/43716
description: End-of-Life.
- version: v19.0.0
Expand Down Expand Up @@ -3313,7 +3313,7 @@ issued for `url.parse()` vulnerabilities.
<!-- YAML
changes:
- version:
- REPLACEME
- v20.0.0
pr-url: https://github.com/nodejs/node/pull/45526
description: Runtime deprecation.
- version:
Expand Down Expand Up @@ -3350,7 +3350,7 @@ In a future version of Node.js, [`message.headers`][],

<!-- YAML
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46432
description: Runtime-deprecation.
-->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/esm.md
Expand Up @@ -7,7 +7,7 @@
<!-- YAML
added: v8.5.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/44710
description: Loader hooks are executed off the main thread.
- version:
Expand Down Expand Up @@ -328,7 +328,7 @@ added:
- v13.9.0
- v12.16.2
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/44710
description: This API now returns a string synchronously instead of a Promise.
- version:
Expand Down
2 changes: 1 addition & 1 deletion doc/api/fs.md
Expand Up @@ -451,7 +451,7 @@ number of bytes read is zero.
<!-- YAML
added: v17.0.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46933
description: Added option to create a 'bytes' stream.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/globals.md
Expand Up @@ -477,7 +477,7 @@ A browser-compatible implementation of the [`fetch()`][] function.
## Class: `File`

<!-- YAML
added: REPLACEME
added: v20.0.0
-->

<!-- type=global -->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/net.md
Expand Up @@ -870,7 +870,7 @@ behavior.
<!-- YAML
added: v0.1.90
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46790
description: The default value for the autoSelectFamily option is now true.
The `--enable-network-family-autoselection` CLI flag has been renamed
Expand Down
8 changes: 4 additions & 4 deletions doc/api/process.md
Expand Up @@ -1728,7 +1728,7 @@ that started the Node.js process. Symbolic links, if any, are resolved.
<!-- YAML
added: v0.1.13
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/43716
description: Only accepts a code of type number, or of type string if it
represents an integer.
Expand Down Expand Up @@ -1836,7 +1836,7 @@ than the current process.
<!-- YAML
added: v0.11.8
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/43716
description: Only accepts a code of type number, or of type string if it
represents an integer.
Expand Down Expand Up @@ -2623,7 +2623,7 @@ flag's behavior.
## `process.permission`
<!-- YAML
added: REPLACEME
added: v20.0.0
-->
* {Object}
Expand All @@ -2637,7 +2637,7 @@ for the current process. Additional documentation is available in the
### `process.permission.has(scope[, reference])`
<!-- YAML
added: REPLACEME
added: v20.0.0
-->
* `scopes` {string}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/test.md
Expand Up @@ -7,7 +7,7 @@ added:
- v18.0.0
- v16.17.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46983
description: The test runner is now stable.
-->
Expand Down
6 changes: 3 additions & 3 deletions doc/api/url.md
Expand Up @@ -131,7 +131,7 @@ return `true`.

<!--
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/47339
description: ICU requirement is removed.
-->
Expand Down Expand Up @@ -1034,7 +1034,7 @@ added:
- v7.4.0
- v6.13.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/47339
description: ICU requirement is removed.
-->
Expand Down Expand Up @@ -1076,7 +1076,7 @@ added:
- v7.4.0
- v6.13.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/47339
description: ICU requirement is removed.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.md
Expand Up @@ -1385,7 +1385,7 @@ added:
- v16.17.0
changes:
- version:
- REPLACEME
- v20.0.0
pr-url: https://github.com/nodejs/node/pull/46718
description: The API is no longer experimental.
- version:
Expand Down
2 changes: 1 addition & 1 deletion doc/api/wasi.md
Expand Up @@ -118,7 +118,7 @@ added:
- v13.3.0
- v12.16.0
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/47391
description: The version option is now required and has no default value.
- version: v19.8.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/webcrypto.md
Expand Up @@ -2,7 +2,7 @@

<!-- YAML
changes:
- version: REPLACEME
- version: v20.0.0
pr-url: https://github.com/nodejs/node/pull/46067
description: Arguments are now coersed and validated as per their WebIDL
definitions like in other Web Crypto API implementations.
Expand Down
1 change: 1 addition & 0 deletions doc/changelogs/CHANGELOG_ARCHIVE.md
Expand Up @@ -154,6 +154,7 @@
</table>

* Other Versions
* [20.x](CHANGELOG_V20.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_IOJS.md
Expand Up @@ -62,6 +62,7 @@
</table>

* Other Versions
* [20.x](CHANGELOG_V20.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_V010.md
Expand Up @@ -64,6 +64,7 @@
</table>

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

* Other Versions
* [20.x](CHANGELOG_V20.md)
* [18.x](CHANGELOG_V18.md)
* [17.x](CHANGELOG_V17.md)
* [16.x](CHANGELOG_V16.md)
Expand Down

1 comment on commit e7618fb

@RafaelGSS
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The correct PR-URL metadata is: #47381

Please sign in to comment.