Skip to content

Commit

Permalink
2023-07-05, 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 5, 2023
1 parent 56b8de1 commit 8fc3851
Show file tree
Hide file tree
Showing 10 changed files with 202 additions and 15 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,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 @@ -1507,7 +1507,7 @@ set to `true`.

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

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

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

Enables timer mocking for the specified timers.
Expand Down Expand Up @@ -1565,7 +1565,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 @@ -1593,7 +1593,7 @@ Calls `timers.reset()`.

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

Advances time for all mocked timers.
Expand Down Expand Up @@ -1867,7 +1867,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 @@ -2049,7 +2049,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.

0 comments on commit 8fc3851

Please sign in to comment.