Skip to content

Commit

Permalink
2023-08-21, Version 20.6.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

deps:
  * V8: cherry-pick 93275031284c (Joyee Cheung) #48660
doc:
  * add new TSC members (Michael Dawson) #48841
  * add rluvaton to collaborators (Raz Luvaton) #49215
esm:
  * unflag import.meta.resolve (Guy Bedford) #49028
  * add `initialize` hook, integrate with `register` (Izaak Schroeder) #48842
  * unflag `Module.register` and allow nested loader `import()` (Izaak Schroeder) #48559
inspector:
  * (SEMVER-MINOR) open add `SymbolDispose` (Chemi Atlow) #48765
test_runner:
  * (SEMVER-MINOR) expose location of tests (Colin Ihrig) #48975
module:
  * implement `register` utility (João Lenon) #46826
  * make CJS load from ESM loader (Antoine du Hamel) #47999
src:
  * add built-in `.env` file support (Yagiz Nizipli) #48890

PR-URL: #49185
  • Loading branch information
UlisesGascon committed Aug 18, 2023
1 parent 099159c commit 6673b86
Show file tree
Hide file tree
Showing 10 changed files with 213 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.5.1">20.5.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V20.md#20.6.0">20.6.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.5.1">20.5.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.5.0">20.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.4.0">20.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V20.md#20.3.1">20.3.1</a><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 @@ -513,7 +513,7 @@ added:
- v13.9.0
- v12.16.2
changes:
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/49028

Check warning on line 517 in doc/api/cli.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: synchronous import.meta.resolve made available by default, with
the flag retained for enabling the experimental second argument
Expand Down
10 changes: 5 additions & 5 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ changes:
pr-url: https://github.com/nodejs/node/pull/38587
description: Add support for WHATWG `URL` object to `parentURL` parameter.
- version:
- REPLACEME
- v20.6.0
pr-url: https://github.com/nodejs/node/pull/49028

Check warning on line 342 in doc/api/esm.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Unflag import.meta.resolve, with `parentURL` parameter still
flagged.
Expand Down Expand Up @@ -694,7 +694,7 @@ of Node.js applications.
<!-- YAML
added: v8.8.0
changes:
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/48842

Check warning on line 698 in doc/api/esm.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 `initialize` hook to replace `globalPreload`.
- version:
Expand Down Expand Up @@ -754,7 +754,7 @@ operations (like `console.log`) to complete.
#### `initialize()`
<!-- YAML
added: REPLACEME
added: v20.6.0
-->
> The loaders API is being redesigned. This hook may disappear or its
Expand Down Expand Up @@ -917,7 +917,7 @@ export function resolve(specifier, context, nextResolve) {
<!-- YAML
changes:
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/47999

Check warning on line 921 in doc/api/esm.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: Add support for `source` with format `commonjs`.
- version:
Expand Down Expand Up @@ -1329,7 +1329,7 @@ the output will be `some module!`.
### Register loaders programmatically
<!-- YAML
added: REPLACEME
added: v20.6.0
-->
In addition to using the `--experimental-loader` option in the CLI,
Expand Down
6 changes: 3 additions & 3 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ makeDirectory().catch(console.error);
<!-- YAML
added: v10.0.0
changes:
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/48828

Check warning on line 1163 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 `prefix` parameter now accepts buffers and URL.
- version:
Expand Down Expand Up @@ -3247,7 +3247,7 @@ See the POSIX mkdir(2) documentation for more details.
<!-- YAML
added: v5.10.0
changes:
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/48828

Check warning on line 3251 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 `prefix` parameter now accepts buffers and URL.
- version: v18.0.0
Expand Down Expand Up @@ -5556,7 +5556,7 @@ See the POSIX mkdir(2) documentation for more details.
<!-- YAML
added: v5.10.0
changes:
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/48828

Check warning on line 5560 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 `prefix` parameter now accepts buffers and URL.
- version:
Expand Down
2 changes: 1 addition & 1 deletion doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ console.

<!-- YAML
changes:
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/48765

Check warning on line 425 in doc/api/inspector.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
description: inspector.open() now returns a `Disposable` object.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ isBuiltin('wss'); // false
### `module.register()`
<!-- YAML
added: REPLACEME
added: v20.6.0
-->
In addition to using the `--experimental-loader` option in the CLI,
Expand Down
4 changes: 2 additions & 2 deletions doc/api/single-executable-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ added:
- v19.7.0
- v18.16.0
changes:
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/46824

Check warning on line 11 in doc/api/single-executable-applications.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 "useSnapshot".
- version: REPLACEME
- version: v20.6.0
pr-url: https://github.com/nodejs/node/pull/48191

Check warning on line 14 in doc/api/single-executable-applications.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 "useCodeCache".
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ port2.postMessage(stream, [stream]);
### `ReadableStream.from(iterable)`

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

* `iterable` {Iterable} Object implementing the `Symbol.asyncIterator` or
Expand Down
194 changes: 194 additions & 0 deletions 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 5
#define NODE_PATCH_VERSION 2
#define NODE_MINOR_VERSION 6
#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 6673b86

Please sign in to comment.