Skip to content

Commit

Permalink
2021-11-09, Version 17.1.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

doc:
  * add VoltrexMaster to collaborators (voltrexmaster) #40566
esm:
  * (SEMVER-MINOR) add support for JSON import assertion (Antoine du Hamel) #40250
lib:
  * (SEMVER-MINOR) add unsubscribe method to non-active DC channels (simon-id) #40433
  * (SEMVER-MINOR) add return value for DC channel.unsubscribe (simon-id) #40433
v8:
  * (SEMVER-MINOR) multi-tenant promise hook api (Stephen Belanger) #39283

PR-URL: #40758
  • Loading branch information
targos committed Nov 9, 2021
1 parent 43a267f commit b022d19
Show file tree
Hide file tree
Showing 6 changed files with 146 additions and 13 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.0.1">17.0.1</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.1.0">17.1.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.0.1">17.0.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.0.0">17.0.0</a><br/>
</td>
<td valign="top">
Expand Down
2 changes: 1 addition & 1 deletion doc/api/diagnostics_channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ added:
- v15.1.0
- v14.17.0
changes:
- version: REPLACEME
- version: v17.1.0
pr-url: https://github.com/nodejs/node/pull/40433
description: Added return value. Added to channels without subscribers.
-->
Expand Down
6 changes: 3 additions & 3 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1694,7 +1694,7 @@ An attempt was made to construct an object using a non-public constructor.
### `ERR_IMPORT_ASSERTION_TYPE_FAILED`

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

An import assertion has failed, preventing the specified module to be imported.
Expand All @@ -1704,7 +1704,7 @@ An import assertion has failed, preventing the specified module to be imported.
### `ERR_IMPORT_ASSERTION_TYPE_MISSING`

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

An import assertion is missing, preventing the specified module to be imported.
Expand All @@ -1714,7 +1714,7 @@ An import assertion is missing, preventing the specified module to be imported.
### `ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED`

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

An import assertion is not supported by this version of Node.js.
Expand Down
6 changes: 3 additions & 3 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- YAML
added: v8.5.0
changes:
- version: REPLACEME
- version: v17.1.0
pr-url: https://github.com/nodejs/node/pull/40250
description: Add support for import assertions.
- version:
Expand Down Expand Up @@ -226,7 +226,7 @@ import fs from 'node:fs/promises';
## Import assertions

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

The [Import Assertions proposal][] adds an inline syntax for module import
Expand Down Expand Up @@ -633,7 +633,7 @@ CommonJS modules loaded.
<!-- YAML
changes:
- version: REPLACEME
- version: v17.1.0
pr-url: https://github.com/nodejs/node/pull/40250
description: Add support for import assertions.
-->
Expand Down
10 changes: 5 additions & 5 deletions doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ stopHookSet();
### `promiseHooks.onInit(init)`

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

* `init` {Function} The [`init` callback][] to call when a promise is created.
Expand All @@ -653,7 +653,7 @@ const stop = promiseHooks.onInit((promise, parent) => {});
### `promiseHooks.onSettled(settled)`

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

* `settled` {Function} The [`settled` callback][] to call when a promise
Expand All @@ -678,7 +678,7 @@ const stop = promiseHooks.onSettled((promise) => {});
### `promiseHooks.onBefore(before)`

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

* `before` {Function} The [`before` callback][] to call before a promise
Expand All @@ -703,7 +703,7 @@ const stop = promiseHooks.onBefore((promise) => {});
### `promiseHooks.onAfter(after)`

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

* `after` {Function} The [`after` callback][] to call after a promise
Expand All @@ -728,7 +728,7 @@ const stop = promiseHooks.onAfter((promise) => {});
### `promiseHooks.createHook(callbacks)`

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

* `callbacks` {Object} The [Hook Callbacks][] to register
Expand Down
Loading

0 comments on commit b022d19

Please sign in to comment.