Skip to content

Commit

Permalink
2023-11-14, Version 21.2.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

doc:
  * add MrJithil to collaborators (Jithil P Ponnan) #50666
  * add Ethan-Arrowood as a collaborator (Ethan Arrowood) #50393
esm:
  * (SEMVER-MINOR) add import.meta.dirname and import.meta.filename (James Sumners) #48740
fs:
  * add stacktrace to fs/promises (翠 / green) #49849
lib:
  * (SEMVER-MINOR) add navigator.platform (Aras Abbasi) #50385
stream:
  * (SEMVER-MINOR) add support for `deflate-raw` format to webstreams compression (Damian Krzeminski) #50097
  * use Array for Readable buffer (Robert Nagy) #50341
  * optimize creation (Robert Nagy) #50337
test_runner:
  * adds built in lcov reporter (Phil Nash) #50018
  * (SEMVER-MINOR) add Date to the supported mock APIs (Lucas Santos) #48638
test_runner, cli:
  * (SEMVER-MINOR) add --test-timeout flag (Shubham Pandey) #50443

PR-URL: #50681
  • Loading branch information
targos committed Nov 12, 2023
1 parent 6e8097a commit 9183a07
Show file tree
Hide file tree
Showing 10 changed files with 185 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_V21.md#21.1.0">21.1.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V21.md#21.2.0">21.2.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.1.0">21.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V21.md#21.0.0">21.0.0</a><br/>
</td>
<td valign="top">
Expand Down
4 changes: 2 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ Disable exposition of [CustomEvent Web API][] on the global scope.
### `--no-experimental-global-navigator`

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

> Stability: 1 - Experimental
Expand Down Expand Up @@ -1784,7 +1784,7 @@ node --test --test-shard=3/3
### `--test-timeout`

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

A number of milliseconds the test execution will fail after. If unspecified,
Expand Down
4 changes: 2 additions & 2 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ properties.
### `import.meta.dirname`

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

> Stability: 1.2 - Release candidate
Expand All @@ -348,7 +348,7 @@ added: REPLACEME
### `import.meta.filename`

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

> Stability: 1.2 - Release candidate
Expand Down
6 changes: 3 additions & 3 deletions doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ console.log(`This process is running on ${navigator.hardwareConcurrency} logical
### `navigator.language`

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

* {string}
Expand All @@ -655,7 +655,7 @@ console.log(`The preferred language of the Node.js instance has the tag '${navig
### `navigator.languages`

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

* {Array<string>}
Expand All @@ -675,7 +675,7 @@ console.log(`The preferred languages are '${navigator.languages}'`);
### `navigator.platform`

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

* {string}
Expand Down
4 changes: 2 additions & 2 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,7 @@ which is a `MockTimers` instance.
added:
- v20.4.0
changes:
- version: REPLACEME
- version: v21.2.0
pr-url: https://github.com/nodejs/node/pull/48638

Check warning on line 1821 in doc/api/test.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Updated parameters to be an option object with available APIs
and the default initial epoch.
Expand Down Expand Up @@ -2303,7 +2303,7 @@ clocks or actual timers outside of the mocking environment.

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

Sets the current Unix timestamp that will be used as reference for any mocked
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ function with the given `params`.
<!-- YAML
added: v0.3.1
changes:
- version: REPLACEME
- version: v21.2.0
pr-url: https://github.com/nodejs/node/pull/50360

Check warning on line 1056 in doc/api/vm.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 `importModuleDynamically` option is supported now.
- version: v14.6.0
Expand Down
4 changes: 2 additions & 2 deletions doc/api/wasi.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ wat2wasm demo.wat
## Security

<!-- YAML
added: REPLACEME
added: v21.2.0
changes:
- version: REPLACEME
- version: v21.2.0
pr-url: https://github.com/nodejs/node/pull/50396

Check warning on line 111 in doc/api/wasi.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Clarify WASI security properties.
-->
Expand Down
4 changes: 2 additions & 2 deletions doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,7 @@ changes:
<!-- YAML
added: v17.0.0
changes:
- version: REPLACEME
- version: v21.2.0
pr-url: https://github.com/nodejs/node/pull/50097

Check warning on line 1425 in doc/api/webstreams.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: format now accepts `deflate-raw` value.
-->
Expand Down Expand Up @@ -1459,7 +1459,7 @@ changes:
<!-- YAML
added: v17.0.0
changes:
- version: REPLACEME
- version: v21.2.0
pr-url: https://github.com/nodejs/node/pull/50097

Check warning on line 1463 in doc/api/webstreams.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: format now accepts `deflate-raw` value.
-->
Expand Down
166 changes: 166 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 1
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 2
#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 9183a07

Please sign in to comment.