Skip to content

Commit

Permalink
2024-05-07, Version 20.13.0 'Iron' (LTS)
Browse files Browse the repository at this point in the history
Notable changes:

benchmark:
  * add AbortSignal.abort benchmarks (Raz Luvaton) nodejs#52408
buffer:
  * improve `base64` and `base64url` performance (Yagiz Nizipli) nodejs#52428
crypto:
  * deprecate implicitly shortened GCM tags (Tobias Nießen) nodejs#52345
deps:
  * (SEMVER-MINOR) update simdutf to 5.0.0 (Daniel Lemire) nodejs#52138
  * (SEMVER-MINOR) update undici to 6.3.0 (Node.js GitHub Bot) nodejs#51462
  * (SEMVER-MINOR) update undici to 6.2.1 (Node.js GitHub Bot) nodejs#51278
dns:
  * (SEMVER-MINOR) add order option and support ipv6first (Paolo Insogna) nodejs#52492
doc:
  * update release gpg keyserver (marco-ippolito) nodejs#52257
  * add release key for marco-ippolito (marco-ippolito) nodejs#52257
  * add UlisesGascon as a collaborator (Ulises Gascón) nodejs#51991
  * (SEMVER-MINOR) deprecate fs.Stats public constructor (Marco Ippolito) nodejs#51879
events,doc:
  * mark CustomEvent as stable (Daeyeon Jeong) nodejs#52618
fs:
  * add stacktrace to fs/promises (翠 / green) nodejs#49849
lib, url:
  * (SEMVER-MINOR) add a `windows` option to path parsing (Aviv Keller) nodejs#52509
net:
  * (SEMVER-MINOR) add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) nodejs#52474
report:
  * (SEMVER-MINOR) add `--report-exclude-network` option (Ethan Arrowood) nodejs#51645
src:
  * (SEMVER-MINOR) add `string_view` overload to snapshot FromBlob (Anna Henningsen) nodejs#52595
  * (SEMVER-MINOR) add C++ ProcessEmitWarningSync() (Joyee Cheung) nodejs#51977
  * (SEMVER-MINOR) add uv_get_available_memory to report and process (theanarkh) nodejs#52023
  * (SEMVER-MINOR) preload function for Environment (Cheng Zhao) nodejs#51539
stream:
  * (SEMVER-MINOR) support typed arrays (IlyasShabi) nodejs#51866
test_runner:
  * (SEMVER-MINOR) add suite() (Colin Ihrig) nodejs#52127
  * (SEMVER-MINOR) add `test:complete` event to reflect execution order (Moshe Atlow) nodejs#51909
util:
  * (SEMVER-MINOR) support array of formats in util.styleText (Marco Ippolito) nodejs#52040
v8:
  * (SEMVER-MINOR) implement v8.queryObjects() for memory leak regression testing (Joyee Cheung) nodejs#51927
watch:
  * mark as stable (Moshe Atlow) nodejs#52074

PR-URL: nodejs#52793
  • Loading branch information
marco-ippolito authored and eliphazbouye committed Jun 20, 2024
1 parent 9098090 commit 66ad117
Show file tree
Hide file tree
Showing 14 changed files with 458 additions and 33 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ release.
<a href="doc/changelogs/CHANGELOG_V21.md#21.0.0">21.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.12.2">20.12.2</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.13.0">20.13.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.12.2">20.12.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.12.1">20.12.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.12.0">20.12.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.11.1">20.11.1</a><br/>
Expand Down
20 changes: 15 additions & 5 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,9 @@ added:
- v16.4.0
- v14.18.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52492
description: The `ipv6first` is supported now.
- version: v17.0.0
Expand Down Expand Up @@ -1338,7 +1340,9 @@ This option is a no-op. It is kept for compatibility.
### `--network-family-autoselection-attempt-timeout`

<!-- YAML
added: v22.1.0
added:
- v22.1.0
- v20.13.0
-->

Sets the default value for the network family autoselection attempt timeout.
Expand Down Expand Up @@ -1777,7 +1781,9 @@ native stack and other runtime environment data.
### `--report-exclude-network`

<!-- YAML
added: v22.0.0
added:
- v22.0.0
- v20.13.0
-->

Exclude `header.networkInterfaces` from the diagnostic report. By default
Expand Down Expand Up @@ -2366,7 +2372,9 @@ added:
- v18.11.0
- v16.19.0
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52074
description: Watch mode is now stable.
- version:
Expand Down Expand Up @@ -2399,7 +2407,9 @@ added:
- v18.11.0
- v16.19.0
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52074
description: Watch mode is now stable.
-->
Expand Down
4 changes: 3 additions & 1 deletion doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,9 @@ When passing a string as the `buffer`, please consider
<!-- YAML
added: v1.0.0
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52345
description: Using GCM tag lengths other than 128 bits without specifying
the `authTagLength` option when creating `decipher` is
Expand Down
6 changes: 3 additions & 3 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3645,7 +3645,7 @@ changes:
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52067
description: Runtime deprecation.
- version: v22.0.0
- version: v20.13.0
pr-url: https://github.com/nodejs/node/pull/51879
description: Documentation-only deprecation.
-->
Expand All @@ -3662,7 +3662,7 @@ changes:
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52071
description: Runtime deprecation.
- version: v22.0.0
- version: v20.13.0
pr-url: https://github.com/nodejs/node/pull/51881
description: Documentation-only deprecation.
-->
Expand All @@ -3680,7 +3680,7 @@ changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/52552
description: Runtime deprecation.
- version: v22.0.0
- version: v20.13.0
pr-url: https://github.com/nodejs/node/pull/52345
description: Documentation-only deprecation.
-->
Expand Down
20 changes: 15 additions & 5 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ section if a custom port is used.
<!-- YAML
added: v0.1.90
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52492
description: The `verbatim` option is now deprecated in favor of the new `order` option.
- version: v18.4.0
Expand Down Expand Up @@ -787,7 +789,9 @@ added:
- v16.4.0
- v14.18.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52492
description: The `ipv6first` value is supported now.
- version: v17.0.0
Expand Down Expand Up @@ -816,7 +820,9 @@ added:
- v20.1.0
- v18.17.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52492
description: The `ipv6first` value is supported now.
-->
Expand Down Expand Up @@ -971,7 +977,9 @@ section if a custom port is used.
<!-- YAML
added: v10.6.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52492
description: The `verbatim` option is now deprecated in favor of the new `order` option.
-->
Expand Down Expand Up @@ -1383,7 +1391,9 @@ added:
- v16.4.0
- v14.18.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52492
description: The `ipv6first` value is supported now.
- version: v17.0.0
Expand Down
12 changes: 9 additions & 3 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,9 @@ added:
- v13.6.0
- v12.16.0
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52080
description: Support `highWaterMark` and `lowWaterMark` options,
For consistency. Old options are still supported.
Expand Down Expand Up @@ -2427,7 +2429,9 @@ added:
- v18.7.0
- v16.17.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52618
description: CustomEvent is now stable.
-->
Expand All @@ -2446,7 +2450,9 @@ added:
- v18.7.0
- v16.17.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52618
description: CustomEvent is now stable.
-->
Expand Down
4 changes: 3 additions & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7026,7 +7026,9 @@ i.e. before the `'ready'` event is emitted.
<!-- YAML
added: v0.1.21
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/51879
description: Public constructor is deprecated.
- version: v8.1.0
Expand Down
8 changes: 6 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,9 @@ added:
- v19.6.0
- v18.15.0
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52039
description: Aligned return value with `uv_get_constrained_memory`.
-->
Expand All @@ -1134,7 +1136,9 @@ information.
## `process.availableMemory()`

<!-- YAML
added: v22.0.0
added:
- v22.0.0
- v20.13.0
-->

> Stability: 1 - Experimental
Expand Down
4 changes: 3 additions & 1 deletion doc/api/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

<!-- YAML
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/51645
description: Added `--report-exclude-network` option for excluding networking operations that can slow down report generation in some cases.
-->
Expand Down
16 changes: 12 additions & 4 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,9 @@ console.log(myStream.destroyed); // true
<!-- YAML
added: v0.9.4
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/51866
description: The `chunk` argument can now be a `TypedArray` or `DataView` instance.
- version: v15.0.0
Expand Down Expand Up @@ -944,7 +946,9 @@ Getter for the property `objectMode` of a given `Writable` stream.
<!-- YAML
added: v0.9.4
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/51866
description: The `chunk` argument can now be a `TypedArray` or `DataView` instance.
- version: v8.0.0
Expand Down Expand Up @@ -1784,7 +1788,9 @@ setTimeout(() => {
<!-- YAML
added: v0.9.11
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/51866
description: The `chunk` argument can now be a `TypedArray` or `DataView` instance.
- version: v8.0.0
Expand Down Expand Up @@ -4092,7 +4098,9 @@ It can be overridden by child classes but it **must not** be called directly.

<!-- YAML
changes:
- version: v22.0.0
- version:
- v22.0.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/51866
description: The `chunk` argument can now be a `TypedArray` or `DataView` instance.
- version: v8.0.0
Expand Down
16 changes: 12 additions & 4 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,9 @@ run({ files: [path.resolve('./tests/test.js')] })
## `suite([name][, options][, fn])`

<!-- YAML
added: v22.0.0
added:
- v22.0.0
- v20.13.0
-->

* `name` {string} The name of the suite, which is displayed when reporting test
Expand All @@ -1295,7 +1297,9 @@ The `suite()` function is imported from the `node:test` module.
## `suite.skip([name][, options][, fn])`

<!-- YAML
added: v22.0.0
added:
- v22.0.0
- v20.13.0
-->

Shorthand for skipping a suite. This is the same as
Expand All @@ -1304,7 +1308,9 @@ Shorthand for skipping a suite. This is the same as
## `suite.todo([name][, options][, fn])`

<!-- YAML
added: v22.0.0
added:
- v22.0.0
- v20.13.0
-->

Shorthand for marking a suite as `TODO`. This is the same as
Expand All @@ -1313,7 +1319,9 @@ Shorthand for marking a suite as `TODO`. This is the same as
## `suite.only([name][, options][, fn])`

<!-- YAML
added: v22.0.0
added:
- v22.0.0
- v20.13.0
-->

Shorthand for marking a suite as `only`. This is the same as
Expand Down
8 changes: 6 additions & 2 deletions doc/api/url.md
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,9 @@ console.log(url.domainToUnicode('xn--iñvalid.com'));
<!-- YAML
added: v10.12.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52509
description: The `options` argument can now be used to
determine how to parse the `path` argument.
Expand Down Expand Up @@ -1266,7 +1268,9 @@ console.log(url.format(myURL, { fragment: false, unicode: true, auth: false }));
<!-- YAML
added: v10.12.0
changes:
- version: v22.1.0
- version:
- v22.1.0
- v20.13.0
pr-url: https://github.com/nodejs/node/pull/52509
description: The `options` argument can now be used to
determine how to return the `path` value.
Expand Down
4 changes: 3 additions & 1 deletion doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ buffers and external strings.
## `v8.queryObjects(ctor[, options])`

<!-- YAML
added: v22.0.0
added:
- v22.0.0
- v20.13.0
-->

> Stability: 1.1 - Active development
Expand Down
Loading

0 comments on commit 66ad117

Please sign in to comment.