Skip to content

Commit

Permalink
2023-10-24, Version 21.1.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

doc:
  * add H4ad to collaborators (Vinícius Lourenço) #50217
esm:
  * (SEMVER-MINOR) detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) #50096
fs:
  * (SEMVER-MINOR) add flush option to appendFile() functions (Colin Ihrig) #50095
lib:
  * (SEMVER-MINOR) add `navigator.userAgent` (Yagiz Nizipli) #50200
stream:
  * (SEMVER-MINOR) allow pass stream class to `stream.compose` (Alex Yang) #50187
  * call helper function from push and unshift (Raz Luvaton) #50173

PR-URL: #50335
  • Loading branch information
targos committed Oct 23, 2023
1 parent 6e537ae commit 5168feb
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 16 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_V21.md#21.0.0">21.0.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.1.0">21.1.0</a></b><br/>
<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.8.1">20.8.1</a></b><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ JavaScript.

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

> Stability: 1.0 - Early development
Expand Down
10 changes: 5 additions & 5 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ An attempt was made to construct an object using a non-public constructor.

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

An import `type` attribute was provided, but the specified module is of a
Expand All @@ -1767,7 +1767,7 @@ different type.

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

An import attribute is missing, preventing the specified module to be imported.
Expand Down Expand Up @@ -3302,7 +3302,7 @@ An invalid transfer object was passed to `postMessage()`.
added:
- v17.1.0
- v16.14.0
removed: REPLACEME
removed: v21.1.0
-->

An import assertion has failed, preventing the specified module to be imported.
Expand All @@ -3315,7 +3315,7 @@ An import assertion has failed, preventing the specified module to be imported.
added:
- v17.1.0
- v16.14.0
removed: REPLACEME
removed: v21.1.0
-->

An import assertion is missing, preventing the specified module to be imported.
Expand All @@ -3328,7 +3328,7 @@ An import assertion is missing, preventing the specified module to be imported.
added:
- v17.1.0
- v16.14.0
removed: REPLACEME
removed: v21.1.0
-->

An import attribute is not supported by this version of Node.js.
Expand Down
8 changes: 4 additions & 4 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ longer be used.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v21.1.0
pr-url: https://github.com/nodejs/node/pull/50095

Check warning on line 184 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version:
Expand Down Expand Up @@ -902,7 +902,7 @@ the error raised if the file is not accessible.
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v21.1.0
pr-url: https://github.com/nodejs/node/pull/50095

Check warning on line 906 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
-->
Expand Down Expand Up @@ -2063,7 +2063,7 @@ the user from reading or writing to it.
<!-- YAML
added: v0.6.7
changes:
- version: REPLACEME
- version: v21.1.0
pr-url: https://github.com/nodejs/node/pull/50095

Check warning on line 2067 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version: v18.0.0
Expand Down Expand Up @@ -5158,7 +5158,7 @@ try {
<!-- YAML
added: v0.6.7
changes:
- version: REPLACEME
- version: v21.1.0
pr-url: https://github.com/nodejs/node/pull/50095

Check warning on line 5162 in doc/api/fs.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: The `flush` option is now supported.
- version: v7.0.0
Expand Down
2 changes: 1 addition & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ console.log(`This process is running on ${navigator.hardwareConcurrency}`);
### `navigator.userAgent`

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

* {string}
Expand Down
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -2823,7 +2823,7 @@ const server = http.createServer((req, res) => {
<!-- YAML
added: v16.9.0
changes:
- version: REPLACEME
- version: v21.1.0
pr-url: https://github.com/nodejs/node/pull/50187

Check warning on line 2827 in doc/api/stream.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Added support for stream class.
- version:
Expand Down
113 changes: 113 additions & 0 deletions doc/changelogs/CHANGELOG_V21.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 21
#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)
Expand Down

0 comments on commit 5168feb

Please sign in to comment.