Skip to content

Commit

Permalink
2021-05-18, Version 16.2.0 (Current)
Browse files Browse the repository at this point in the history
Notable changes:

async_hooks:
  * (SEMVER-MINOR) use new v8::Context PromiseHook API (Stephen Belanger) #36394
lib:
  * support setting process.env.TZ on windows (James M Snell) #38642
module:
  * (SEMVER-MINOR) add support for `URL` to `import.meta.resolve` (Antoine du Hamel) #38587
process:
  * (SEMVER-MINOR) add `'worker'` event (James M Snell) #38659
util:
  * (SEMVER-MINOR) add util.types.isKeyObject and util.types.isCryptoKey (Filip Skokan) #38619

PR-URL: #38719
  • Loading branch information
targos committed May 18, 2021
1 parent 267a84f commit 32a8e15
Show file tree
Hide file tree
Showing 8 changed files with 112 additions and 11 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_V16.md#16.1.0">16.1.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V16.md#16.2.0">16.2.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V16.md#16.1.0">16.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V16.md#16.0.0">16.0.0</a><br/>
</td>
<td valign="top">
Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ may cause them to trust the same CAs as node.
added: v0.0.1
changes:
- version:
- REPLACEME
- v16.2.0
pr-url: https://github.com/nodejs/node/pull/38642
description:
Changing the TZ variable using process.env.TZ = changes the timezone
Expand Down
4 changes: 2 additions & 2 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -717,12 +717,12 @@ STDERR/STDOUT, and the data's length is longer than the `maxBuffer` option.
<a id="ERR_CLOSED_MESSAGE_PORT"></a>
### `ERR_CLOSED_MESSAGE_PORT`
<!--
added: REPLACEME
added: v16.2.0
changes:
- version: 11.12.0
pr-url: https://github.com/nodejs/node/pull/26487
description: The error message was removed.
- version: REPLACEME
- version: v16.2.0
pr-url: https://github.com/nodejs/node/pull/38510
description: The error message was reintroduced.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ added:
- v13.9.0
- v12.16.2
changes:
- version: REPLACEME
- version: v16.2.0
pr-url: https://github.com/nodejs/node/pull/38587
description: Add support for WHATWG `URL` object to `parentURL` parameter.
-->
Expand Down
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ The `*-deprecation` command-line flags only affect warnings that use the name

### Event: `'worker'`
<!-- YAML
added: REPLACEME
added: v16.2.0
-->

* `worker` {Worker} The {Worker} that was created.
Expand Down
4 changes: 2 additions & 2 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ util.types.isBoxedPrimitive(Object(BigInt(5))); // Returns true

### `util.types.isCryptoKey(value)`
<!-- YAML
added: REPLACEME
added: v16.2.0
-->

* `value` {Object}
Expand Down Expand Up @@ -1690,7 +1690,7 @@ util.types.isInt32Array(new Float64Array()); // Returns false

### `util.types.isKeyObject(value)`
<!-- YAML
added: REPLACEME
added: v16.2.0
-->

* `value` {Object}
Expand Down
100 changes: 100 additions & 0 deletions doc/changelogs/CHANGELOG_V16.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 16
#define NODE_MINOR_VERSION 1
#define NODE_PATCH_VERSION 1
#define NODE_MINOR_VERSION 2
#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 32a8e15

Please sign in to comment.