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 8, 2021
1 parent 5bef743 commit 2b1744b
Show file tree
Hide file tree
Showing 7 changed files with 149 additions and 16 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 @@ -225,7 +225,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 @@ -632,7 +632,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
132 changes: 132 additions & 0 deletions doc/changelogs/CHANGELOG_V17.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 17
#define NODE_MINOR_VERSION 0
#define NODE_PATCH_VERSION 2
#define NODE_MINOR_VERSION 1
#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 2b1744b

Please sign in to comment.