Skip to content

Commit

Permalink
2023-07-04, Version 20.4.0 (Current)
Browse files Browse the repository at this point in the history
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: #48643
  • Loading branch information
RafaelGSS committed Jul 3, 2023
1 parent 97bd9cc commit 51174cd
Show file tree
Hide file tree
Showing 11 changed files with 205 additions and 18 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.3.1">20.3.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.4.0">20.4.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.3.1">20.3.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.3.0">20.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.2.0">20.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.1.0">20.1.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ the end of the file.
#### `filehandle[Symbol.asyncDispose]()`
<!-- YAML
added: REPLACEME
added: v20.4.0
-->
> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ affects new connections to the server, not any existing connections.
### `server[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,7 @@ closed, although the server has already stopped allowing new sessions. See
#### `server[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ See [`server.close()`][] in the `node:http` module.
### `server[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down
4 changes: 2 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2894,7 +2894,7 @@ The JavaScript `string` type is described in
#### `node_api_create_external_string_latin1`

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

> Stability: 1 - Experimental
Expand Down Expand Up @@ -2972,7 +2972,7 @@ The JavaScript `string` type is described in
#### `node_api_create_external_string_utf16`

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

> Stability: 1 - Experimental
Expand Down
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1907,7 +1907,7 @@ has less then 64 KiB of data because no `highWaterMark` option is provided to
##### `readable[Symbol.asyncDispose]()`

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

> Stability: 1 - Experimental
Expand Down
10 changes: 5 additions & 5 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ set to `true`.

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

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

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

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

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

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

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

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

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

Triggers all pending mocked timers immediately.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@ where `secureSocket` has the same API as `pair.cleartext`.
<!-- YAML
added: v0.3.2
changes:
- version: REPLACEME
- version: v20.4.0
pr-url: https://github.com/nodejs/node/pull/45190
description: The `options` parameter can now include `ALPNCallback`.
- version: v19.0.0
Expand Down
188 changes: 187 additions & 1 deletion doc/changelogs/CHANGELOG_V20.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/node_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 20
#define NODE_MINOR_VERSION 3
#define NODE_PATCH_VERSION 2
#define NODE_MINOR_VERSION 4
#define NODE_PATCH_VERSION 0

#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 51174cd

Please sign in to comment.