Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2023-05-03, Version 20.1.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

assert:
  * deprecate `CallTracker` (Moshe Atlow) #47740
crypto:
  * update root certificates to NSS 3.89 (Node.js GitHub Bot) #47659
dns:
  * (SEMVER-MINOR) expose `getDefaultResultOrder` (btea) #46973
doc:
  * add KhafraDev to collaborators (Matthew Aitken) #47510
fs:
  * (SEMVER-MINOR) add `recursive` option to `readdir` and `opendir` (Ethan Arrowood) #41439
  * (SEMVER-MINOR) add support for `mode` flag to specify the copy behavior of the `cp` methods (Tetsuharu Ohzeki) #47084
http:
  * (SEMVER-MINOR) add `highWaterMark` option `http.createServer` (HinataKah0) #47405
stream:
  * (SEMVER-MINOR) preserve object mode in `compose` (Raz Luvaton) #47413
test_runner:
  * (SEMVER-MINOR) add `testNamePatterns` to `run` API (Chemi Atlow) #47648
  * (SEMVER-MINOR) execute `before` hook on test (Chemi Atlow) #47586
  * (SEMVER-MINOR) support combining coverage reports (Colin Ihrig) #47686
wasi:
  * (SEMVER-MINOR) make `returnOnExit` true by default (Michael Dawson) #47390

PR-URL: #47820
targos committed May 3, 2023

Verified

This commit was signed with the committer’s verified signature.
joyeecheung Joyee Cheung
1 parent d16d4c9 commit 501dad8
Showing 12 changed files with 197 additions and 26 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -37,7 +37,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.0.0">20.0.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.1.0">20.1.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.0.0">20.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V19.md#19.9.0">19.9.0</a></b><br/>
2 changes: 1 addition & 1 deletion doc/api/assert.md
Original file line number Diff line number Diff line change
@@ -222,7 +222,7 @@ added:
- v14.2.0
- v12.19.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47740
description: the `assert.CallTracker` class has been deprecated and will be
removed in a future version.
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
@@ -625,7 +625,7 @@ added:
- v19.7.0
- v18.15.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47686
description: This option can be used with `--test`.
-->
2 changes: 1 addition & 1 deletion doc/api/deprecations.md
Original file line number Diff line number Diff line change
@@ -3364,7 +3364,7 @@ be added when a function is bound to an `AsyncResource`.

<!-- YAML
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47740
description: Documentation-only deprecation.
-->
4 changes: 2 additions & 2 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
@@ -795,7 +795,7 @@ dns orders in workers.
## `dns.getDefaultResultOrder()`

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

Get the default value for `verbatim` in [`dns.lookup()`][] and
@@ -1366,7 +1366,7 @@ default dns orders in workers.
### `dnsPromises.getDefaultResultOrder()`

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

Get the value of `dnsOrder`.
20 changes: 10 additions & 10 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
@@ -966,7 +966,7 @@ try {
<!-- YAML
added: v16.7.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47084
description: Accept an additional `mode` option to specify
the copy behavior as the `mode` argument of `fs.copyFile()`.
@@ -1220,7 +1220,7 @@ a colon, Node.js will open a file system stream, as described by
<!-- YAML
added: v12.12.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/41439
description: Added `recursive` option.
- version:
@@ -1271,7 +1271,7 @@ closed after the iterator exits.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/41439
description: Added `recursive` option.
- version: v10.11.0
@@ -2301,7 +2301,7 @@ copyFile('source.txt', 'destination.txt', constants.COPYFILE_EXCL, callback);
<!-- YAML
added: v16.7.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47084
description: Accept an additional `mode` option to specify
the copy behavior as the `mode` argument of `fs.copyFile()`.
@@ -3410,7 +3410,7 @@ const { openAsBlob } = require('node:fs');
<!-- YAML
added: v12.12.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/41439
description: Added `recursive` option.
- version: v18.0.0
@@ -3550,7 +3550,7 @@ above values.
<!-- YAML
added: v0.1.8
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/41439
description: Added `recursive` option.
- version: v18.0.0
@@ -5222,7 +5222,7 @@ copyFileSync('source.txt', 'destination.txt', constants.COPYFILE_EXCL);
<!-- YAML
added: v16.7.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47084
description: Accept an additional `mode` option to specify
the copy behavior as the `mode` argument of `fs.copyFile()`.
@@ -5562,7 +5562,7 @@ object with an `encoding` property specifying the character encoding to use.
<!-- YAML
added: v12.12.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/41439
description: Added `recursive` option.
- version:
@@ -5622,7 +5622,7 @@ this API: [`fs.open()`][].
<!-- YAML
added: v0.1.21
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/41439
description: Added `recursive` option.
- version: v10.10.0
@@ -6495,7 +6495,7 @@ value is determined by the `options.encoding` passed to [`fs.readdir()`][] or
#### `dirent.path`
<!-- YAML
added: REPLACEME
added: v20.1.0
-->
* {string}
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
@@ -3192,7 +3192,7 @@ Found'`.
<!-- YAML
added: v0.1.13
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47405
description: The `highWaterMark` option is supported now.
- version: v18.0.0
2 changes: 1 addition & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
@@ -1539,7 +1539,7 @@ then returns the `net.Socket` that starts the connection.
<!-- YAML
added: v0.5.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47405
description: The `highWaterMark` option is supported now.
- version:
6 changes: 3 additions & 3 deletions doc/api/test.md
Original file line number Diff line number Diff line change
@@ -728,7 +728,7 @@ added:
- v18.9.0
- v16.19.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47628
description: Add a testNamePatterns option.
-->
@@ -1508,7 +1508,7 @@ added:
- v18.0.0
- v16.17.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47586
description: The `before` function was added to TestContext.
-->
@@ -1520,7 +1520,7 @@ exposed as part of the API.
### `context.before([fn][, options])`

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

* `fn` {Function|AsyncFunction} The hook function. The first argument
2 changes: 1 addition & 1 deletion doc/api/wasi.md
Original file line number Diff line number Diff line change
@@ -118,7 +118,7 @@ added:
- v13.3.0
- v12.16.0
changes:
- version: REPLACEME
- version: v20.1.0
pr-url: https://github.com/nodejs/node/pull/47390
description: default value of returnOnExit changed to true.
- version: v20.0.0
172 changes: 171 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
@@ -23,13 +23,13 @@
#define SRC_NODE_VERSION_H_

#define NODE_MAJOR_VERSION 20
#define NODE_MINOR_VERSION 0
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 1
#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)

0 comments on commit 501dad8

Please sign in to comment.