Skip to content

Commit cd17157

Browse files
committed
2022-07-13, Version 18.6.0 (Current)
Notable changes: - esm: add chaining to loaders PR-URL: #43789
1 parent 7fc075b commit cd17157

File tree

8 files changed

+225
-17
lines changed

8 files changed

+225
-17
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ release.
3535
</tr>
3636
<tr>
3737
<td valign="top">
38-
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a></b><br/>
38+
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.6.0">18.6.0</a></b><br/>
39+
<a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a><br/>
3940
<a href="doc/changelogs/CHANGELOG_V18.md#18.4.0">18.4.0</a><br/>
4041
<a href="doc/changelogs/CHANGELOG_V18.md#18.3.0">18.3.0</a><br/>
4142
<a href="doc/changelogs/CHANGELOG_V18.md#18.2.0">18.2.0</a><br/>

doc/api/errors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2104,7 +2104,7 @@ for more information.
21042104
### `ERR_LOADER_CHAIN_INCOMPLETE`
21052105

21062106
<!-- YAML
2107-
added: REPLACEME
2107+
added: v18.6.0
21082108
-->
21092109

21102110
An ESM loader hook returned without calling `next()` and without explicitly

doc/api/esm.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
added: v8.5.0
99
changes:
1010
- version:
11-
- REPLACEME
11+
- v18.6.0
1212
pr-url: https://github.com/nodejs/node/pull/42623
1313
description: Add support for chaining loaders.
1414
- version:
@@ -681,7 +681,7 @@ of Node.js applications.
681681
added: v8.8.0
682682
changes:
683683
- version:
684-
- REPLACEME
684+
- v18.6.0
685685
pr-url: https://github.com/nodejs/node/pull/42623
686686
description: Add support for chaining loaders.
687687
- version: v16.12.0
@@ -731,7 +731,7 @@ prevent unintentional breaks in the chain.
731731
732732
<!-- YAML
733733
changes:
734-
- version: REPLACEME
734+
- version: v18.6.0
735735
pr-url: https://github.com/nodejs/node/pull/42623
736736
description: Add support for chaining resolve hooks. Each hook must either
737737
call `nextResolve()` or include a `shortCircuit` property set to `true`
@@ -823,7 +823,7 @@ export async function resolve(specifier, context, nextResolve) {
823823
824824
<!-- YAML
825825
changes:
826-
- version: REPLACEME
826+
- version: v18.6.0
827827
pr-url: https://github.com/nodejs/node/pull/42623
828828
description: Add support for chaining load hooks. Each hook must either
829829
call `nextLoad()` or include a `shortCircuit` property set to `true` in
@@ -921,7 +921,7 @@ source to a supported one (see [Examples](#examples) below).
921921
922922
<!-- YAML
923923
changes:
924-
- version: REPLACEME
924+
- version: v18.6.0
925925
pr-url: https://github.com/nodejs/node/pull/42623
926926
description: Add support for chaining globalPreload hooks.
927927
-->

doc/api/module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const siblingModule = require('./sibling-module');
6565
### `module.isBuiltin(moduleName)`
6666
6767
<!-- YAML
68-
added: REPLACEME
68+
added: v18.6.0
6969
-->
7070
7171
* `moduleName` {string} name of the module

doc/api/net.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Emitted when the server has been bound after calling [`server.listen()`][].
284284
### Event: `'drop'`
285285

286286
<!-- YAML
287-
added: REPLACEME
287+
added: v18.6.0
288288
-->
289289

290290
When the number of connections reaches the threshold of `server.maxConnections`,

doc/api/v8.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ occur synchronously in the case of `Promise.resolve()` or `Promise.reject()`.
879879
## Startup Snapshot API
880880

881881
<!-- YAML
882-
added: REPLACEME
882+
added: v18.6.0
883883
-->
884884

885885
> Stability: 1 - Experimental
@@ -950,7 +950,7 @@ snapshot cannot use these APIs again.
950950
### `v8.startupSnapshot.addSerializeCallback(callback[, data])`
951951

952952
<!-- YAML
953-
added: REPLACEME
953+
added: v18.6.0
954954
-->
955955

956956
* `callback` {Function} Callback to be invoked before serialization.
@@ -965,7 +965,7 @@ into a form more suitable for serialization.
965965
### `v8.startupSnapshot.addDeserializeCallback(callback[, data])`
966966

967967
<!-- YAML
968-
added: REPLACEME
968+
added: v18.6.0
969969
-->
970970

971971
* `callback` {Function} Callback to be invoked after the snapshot is
@@ -982,7 +982,7 @@ when the application is restarted from the snapshot.
982982
### `v8.startupSnapshot.setDeserializeMainFunction(callback[, data])`
983983

984984
<!-- YAML
985-
added: REPLACEME
985+
added: v18.6.0
986986
-->
987987

988988
* `callback` {Function} Callback to be invoked as the entry point after the
@@ -1000,7 +1000,7 @@ needs to be provided to the deserialized application.
10001000
### `v8.startupSnapshot.isBuildingSnapshot()`
10011001

10021002
<!-- YAML
1003-
added: REPLACEME
1003+
added: v18.6.0
10041004
-->
10051005

10061006
* Returns: {boolean}

doc/changelogs/CHANGELOG_V18.md

+207
Large diffs are not rendered by default.

src/node_version.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
#define SRC_NODE_VERSION_H_
2424

2525
#define NODE_MAJOR_VERSION 18
26-
#define NODE_MINOR_VERSION 5
27-
#define NODE_PATCH_VERSION 1
26+
#define NODE_MINOR_VERSION 6
27+
#define NODE_PATCH_VERSION 0
2828

2929
#define NODE_VERSION_IS_LTS 0
3030
#define NODE_VERSION_LTS_CODENAME ""
3131

32-
#define NODE_VERSION_IS_RELEASE 0
32+
#define NODE_VERSION_IS_RELEASE 1
3333

3434
#ifndef NODE_STRINGIFY
3535
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)

0 commit comments

Comments
 (0)