Skip to content

Commit

Permalink
2022-07-13, Version 18.6.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

- esm: add chaining to loaders

PR-URL: #43789
  • Loading branch information
targos committed Jul 13, 2022
1 parent 7fc075b commit cd17157
Show file tree
Hide file tree
Showing 8 changed files with 225 additions and 17 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.6.0">18.6.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.4.0">18.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.3.0">18.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.2.0">18.2.0</a><br/>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,7 @@ for more information.
### `ERR_LOADER_CHAIN_INCOMPLETE`

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

An ESM loader hook returned without calling `next()` and without explicitly
Expand Down
10 changes: 5 additions & 5 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
added: v8.5.0
changes:
- version:
- REPLACEME
- v18.6.0
pr-url: https://github.com/nodejs/node/pull/42623
description: Add support for chaining loaders.
- version:
Expand Down Expand Up @@ -681,7 +681,7 @@ of Node.js applications.
added: v8.8.0
changes:
- version:
- REPLACEME
- v18.6.0
pr-url: https://github.com/nodejs/node/pull/42623
description: Add support for chaining loaders.
- version: v16.12.0
Expand Down Expand Up @@ -731,7 +731,7 @@ prevent unintentional breaks in the chain.
<!-- YAML
changes:
- version: REPLACEME
- version: v18.6.0
pr-url: https://github.com/nodejs/node/pull/42623
description: Add support for chaining resolve hooks. Each hook must either
call `nextResolve()` or include a `shortCircuit` property set to `true`
Expand Down Expand Up @@ -823,7 +823,7 @@ export async function resolve(specifier, context, nextResolve) {
<!-- YAML
changes:
- version: REPLACEME
- version: v18.6.0
pr-url: https://github.com/nodejs/node/pull/42623
description: Add support for chaining load hooks. Each hook must either
call `nextLoad()` or include a `shortCircuit` property set to `true` in
Expand Down Expand Up @@ -921,7 +921,7 @@ source to a supported one (see [Examples](#examples) below).
<!-- YAML
changes:
- version: REPLACEME
- version: v18.6.0
pr-url: https://github.com/nodejs/node/pull/42623
description: Add support for chaining globalPreload hooks.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const siblingModule = require('./sibling-module');
### `module.isBuiltin(moduleName)`
<!-- YAML
added: REPLACEME
added: v18.6.0
-->
* `moduleName` {string} name of the module
Expand Down
2 changes: 1 addition & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Emitted when the server has been bound after calling [`server.listen()`][].
### Event: `'drop'`

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

When the number of connections reaches the threshold of `server.maxConnections`,
Expand Down
10 changes: 5 additions & 5 deletions doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ occur synchronously in the case of `Promise.resolve()` or `Promise.reject()`.
## Startup Snapshot API

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

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

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

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

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

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

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

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

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

* Returns: {boolean}
Expand Down
207 changes: 207 additions & 0 deletions doc/changelogs/CHANGELOG_V18.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 18
#define NODE_MINOR_VERSION 5
#define NODE_PATCH_VERSION 1
#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 cd17157

Please sign in to comment.