Skip to content

Commit e4e9f09

Browse files
committed
2023-07-04, Version 20.4.0 (Current)
Notable changes: crypto: * update root certificates to NSS 3.90 (Node.js GitHub Bot) #48416 doc: * add vmoroz to collaborators (Vladimir Morozov) #48527 * add kvakil to collaborators (Keyhan Vakil) #48449 fs, stream: * initial `Symbol.dispose` and `Symbol.asyncDispose` support (Moshe Atlow) #48518 test_runner: * (SEMVER-MINOR) add initial draft for fakeTimers (Erick Wendel) #47775 tls: * (SEMVER-MINOR) add ALPNCallback server option for dynamic ALPN negotiation (Tim Perry) #45190 PR-URL: TODO
1 parent 97bd9cc commit e4e9f09

13 files changed

+6540
-17
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ release.
3636
</tr>
3737
<tr>
3838
<td valign="top">
39-
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.3.1">20.3.1</a></b><br/>
39+
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.4.0">20.4.0</a></b><br/>
40+
<a href="doc/changelogs/CHANGELOG_V20.md#20.3.1">20.3.1</a><br/>
4041
<a href="doc/changelogs/CHANGELOG_V20.md#20.3.0">20.3.0</a><br/>
4142
<a href="doc/changelogs/CHANGELOG_V20.md#20.2.0">20.2.0</a><br/>
4243
<a href="doc/changelogs/CHANGELOG_V20.md#20.1.0">20.1.0</a><br/>

doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ the end of the file.
820820
#### `filehandle[Symbol.asyncDispose]()`
821821
822822
<!-- YAML
823-
added: REPLACEME
823+
added: v20.4.0
824824
-->
825825
826826
> Stability: 1 - Experimental

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,7 @@ affects new connections to the server, not any existing connections.
16701670
### `server[Symbol.asyncDispose]()`
16711671

16721672
<!-- YAML
1673-
added: REPLACEME
1673+
added: v20.4.0
16741674
-->
16751675

16761676
> Stability: 1 - Experimental

doc/api/http2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,7 @@ closed, although the server has already stopped allowing new sessions. See
20732073
#### `server[Symbol.asyncDispose]()`
20742074

20752075
<!-- YAML
2076-
added: REPLACEME
2076+
added: v20.4.0
20772077
-->
20782078

20792079
> Stability: 1 - Experimental

doc/api/https.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ See [`server.close()`][] in the `node:http` module.
138138
### `server[Symbol.asyncDispose]()`
139139

140140
<!-- YAML
141-
added: REPLACEME
141+
added: v20.4.0
142142
-->
143143

144144
> Stability: 1 - Experimental

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2894,7 +2894,7 @@ The JavaScript `string` type is described in
28942894
#### `node_api_create_external_string_latin1`
28952895

28962896
<!-- YAML
2897-
added: REPLACEME
2897+
added: v20.4.0
28982898
-->
28992899

29002900
> Stability: 1 - Experimental
@@ -2972,7 +2972,7 @@ The JavaScript `string` type is described in
29722972
#### `node_api_create_external_string_utf16`
29732973

29742974
<!-- YAML
2975-
added: REPLACEME
2975+
added: v20.4.0
29762976
-->
29772977

29782978
> Stability: 1 - Experimental

doc/api/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ has less then 64 KiB of data because no `highWaterMark` option is provided to
19071907
##### `readable[Symbol.asyncDispose]()`
19081908

19091909
<!-- YAML
1910-
added: REPLACEME
1910+
added: v20.4.0
19111911
-->
19121912

19131913
> Stability: 1 - Experimental

doc/api/test.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ set to `true`.
15231523

15241524
<!-- YAML
15251525
added:
1526-
- REPLACEME
1526+
- v20.4.0
15271527
-->
15281528

15291529
> Stability: 1 - Experimental
@@ -1539,7 +1539,7 @@ which is a `MockTimers` instance.
15391539

15401540
<!-- YAML
15411541
added:
1542-
- REPLACEME
1542+
- v20.4.0
15431543
-->
15441544

15451545
Enables timer mocking for the specified timers.
@@ -1581,7 +1581,7 @@ and `globalThis` will be mocked.
15811581

15821582
<!-- YAML
15831583
added:
1584-
- REPLACEME
1584+
- v20.4.0
15851585
-->
15861586

15871587
This function restores the default behavior of all mocks that were previously
@@ -1609,7 +1609,7 @@ Calls `timers.reset()`.
16091609

16101610
<!-- YAML
16111611
added:
1612-
- REPLACEME
1612+
- v20.4.0
16131613
-->
16141614

16151615
Advances time for all mocked timers.
@@ -1883,7 +1883,7 @@ test('should tick five times testing a real use case', async (context) => {
18831883

18841884
<!-- YAML
18851885
added:
1886-
- REPLACEME
1886+
- v20.4.0
18871887
-->
18881888

18891889
Triggers all pending mocked timers immediately.

doc/api/tls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,7 @@ where `secureSocket` has the same API as `pair.cleartext`.
20472047
<!-- YAML
20482048
added: v0.3.2
20492049
changes:
2050-
- version: REPLACEME
2050+
- version: v20.4.0
20512051
pr-url: https://github.com/nodejs/node/pull/45190
20522052
description: The `options` parameter can now include `ALPNCallback`.
20532053
- version: v19.0.0

doc/changelogs/CHANGELOG_V20.md

+185
Large diffs are not rendered by default.

src/node_version.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
#define SRC_NODE_VERSION_H_
2424

2525
#define NODE_MAJOR_VERSION 20
26-
#define NODE_MINOR_VERSION 3
27-
#define NODE_PATCH_VERSION 2
26+
#define NODE_MINOR_VERSION 4
27+
#define NODE_PATCH_VERSION 0
2828

2929
#define NODE_VERSION_IS_LTS 0
3030
#define NODE_VERSION_LTS_CODENAME ""
3131

32-
#define NODE_VERSION_IS_RELEASE 0
32+
#define NODE_VERSION_IS_RELEASE 1
3333

3434
#ifndef NODE_STRINGIFY
3535
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)

tags.lock

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3851371

tags.temp

+6,336
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)