Notable changes

Importing JSON modules now requires experimental import assertions syntax

This release adds experimental support for the import assertions stage 3 proposal.

To keep Node.js ESM implementation as compatible as possible with the HTML spec, import assertions are now required to import JSON modules (still behind the

1
--experimental-json-modules

CLI flag):


1
import info from `./package.json` assert { type: `json` };

Or use dynamic import:


1
const info = await import(`./package.json`, { assert: { type: `json` } });

Contributed by Antoine du Hamel and Geoffrey Booth #40250

Other notable changes

  • async_hooks:

    • (SEMVER-MINOR) expose async_wrap providers (Rafael Gonzaga) #40760
  • child_process:

    • (SEMVER-MINOR) add support for URL to

      1
      cp.fork

      (Antoine du Hamel) #41225

  • doc:

    • add @Mesteery to collaborators (Mestery) #41543
    • add @bnb as a collaborator (Tierney Cyren) #41100
  • esm:

    • (SEMVER-MINOR) graduate capturerejections to supported (James M Snell) #41267
    • (SEMVER-MINOR) add EventEmitterAsyncResource to core (James M Snell) #41246
  • events:

    • (SEMVER-MINOR) propagate weak option for kNewListener (James M Snell) #40899
  • fs:

    • (SEMVER-MINOR) accept URL as argument for

      1
      fs.rm

      and

      1
      fs.rmSync

      (Antoine du Hamel) #41132

  • lib:

    • (SEMVER-MINOR) make AbortSignal cloneable/transferable (James M Snell) #41050
    • (SEMVER-MINOR) add AbortSignal.timeout (James M Snell) #40899
    • (SEMVER-MINOR) add reason to AbortSignal (James M Snell) #40807
    • (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
  • loader:

    • (SEMVER-MINOR) return package format from defaultResolve if known (Gabriel Bota) #40980
  • perf_hooks:

    • (SEMVER-MINOR) multiple fixes for Histogram (James M Snell) #41153
  • process:

    • (SEMVER-MINOR) add

      1
      getActiveResourcesInfo()

      (Darshan Sen) #40813

  • src:

    • (SEMVER-MINOR) add x509.fingerprint512 to crypto module (3nprob) #39809
    • (SEMVER-MINOR) add flags for controlling process behavior (Cheng Zhao) #40339
  • stream:

    • (SEMVER-MINOR) add filter method to readable (Benjamin Gruenbaum) #41354
    • (SEMVER-MINOR) add isReadable helper (Robert Nagy) #41199
    • (SEMVER-MINOR) add map method to Readable (Benjamin Gruenbaum) #40815
    • deprecate thenable support (Antoine du Hamel) #40860
  • util:

    • (SEMVER-MINOR) pass through the inspect function to custom inspect functions (Ruben Bridgewater) #41019
    • (SEMVER-MINOR) add numericSeparator to util.inspect (Ruben Bridgewater) #41003
    • (SEMVER-MINOR) always visualize cause property in errors during inspection (Ruben Bridgewater) #41002
  • timers:

    • (SEMVER-MINOR) add experimental scheduler api (James M Snell) #40909
  • v8:

    • (SEMVER-MINOR) multi-tenant promise hook api (Stephen Belanger) #39283

Commits

Windows 32-bit Installer: https://nodejs.org/dist/v16.14.0/node-v16.14.0-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v16.14.0/node-v16.14.0-x64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v16.14.0/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v16.14.0/win-x64/node.exe
macOS 64-bit Installer: https://nodejs.org/dist/v16.14.0/node-v16.14.0.pkg
macOS Apple Silicon 64-bit Binary: https://nodejs.org/dist/v16.14.0/node-v16.14.0-darwin-arm64.tar.gz
macOS Intel 64-bit Binary: https://nodejs.org/dist/v16.14.0/node-v16.14.0-darwin-x64.tar.gz
Linux 64-bit Binary: https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-x64.tar.xz
Linux PPC LE 64-bit Binary: https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-ppc64le.tar.xz
Linux s390x 64-bit Binary: https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-s390x.tar.xz
AIX 64-bit Binary: https://nodejs.org/dist/v16.14.0/node-v16.14.0-aix-ppc64.tar.gz
ARMv7 32-bit Binary: https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-armv7l.tar.xz
ARMv8 64-bit Binary: https://nodejs.org/dist/v16.14.0/node-v16.14.0-linux-arm64.tar.xz
Source Code: https://nodejs.org/dist/v16.14.0/node-v16.14.0.tar.gz
Other release files: https://nodejs.org/dist/v16.14.0/
Documentation: https://nodejs.org/docs/v16.14.0/api/

SHASUMS


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

e31a1478b50814848089bc11fb58d463c180ac5e08ec95f6bd314b2a7209d23a  node-v16.14.0-aix-ppc64.tar.gz
56e547d22bc7be8aa40c8cfd604c156a5bcf8692f643ec1801c1fa2390498542  node-v16.14.0-darwin-arm64.tar.gz
42eb3b1dc00b44a1e2cb70ddbf5e5e838354dafb969bb54db8b3b287f8df862f  node-v16.14.0-darwin-arm64.tar.xz
26702ab17903ad1ea4e13133bd423c1176db3384b8cf08559d385817c9ca58dc  node-v16.14.0-darwin-x64.tar.gz
8c0ad2f0c890385242e4f8886e7ddf7cfa14868415113ada5a08130d5a83fc9e  node-v16.14.0-darwin-x64.tar.xz
0cb39adcabb513d2651fa25ea39c88cebd76200ea922e619e3b9799fa599ca81  node-v16.14.0-headers.tar.gz
aee577d58e8dd6d1a54f3e37f046db8a7233b8d41abfafe45ce366b020d0675d  node-v16.14.0-headers.tar.xz
82d71968c82eb391f463df62ba277563a3bd01ce43bba0e7e1c533991567b8fe  node-v16.14.0-linux-arm64.tar.gz
5a6e818c302527a4b1cdf61d3188408c8a3e4a1bbca1e3f836c93ea8469826ce  node-v16.14.0-linux-arm64.tar.xz
2df94404f4dd22aee67370cd24b2c802f82409434e5ed26061c7aaec74a8ebc2  node-v16.14.0-linux-armv7l.tar.gz
a27a5866445cbe70e086d1a2b6cda27f1127b0b8c5eced31204e4e524790727a  node-v16.14.0-linux-armv7l.tar.xz
247cbaa1e3376913ae565f2dfa6dd16f973f72b05786896236b16d92aac4ee7a  node-v16.14.0-linux-ppc64le.tar.gz
d1012696cacb3833b8b33748905e716f2524766b29a2a4c405f34ed2f3e5fdb4  node-v16.14.0-linux-ppc64le.tar.xz
e31023ffaa61ee0e6182e9c21c31dab1a9fbc80975aaedb421ca1261debc0f9a  node-v16.14.0-linux-s390x.tar.gz
1c98494bc097547bcadb972780aec58bb40b9c094f0daed75debfee4cb980fd9  node-v16.14.0-linux-s390x.tar.xz
2c69e7b040c208b61ebf9735c63d2e5bcabfed32ef05a9b8dd5823489ea50d6b  node-v16.14.0-linux-x64.tar.gz
0570b9354959f651b814e56a4ce98d4a067bf2385b9a0e6be075739bc65b0fae  node-v16.14.0-linux-x64.tar.xz
cde4f7535328263e96b6b027cd26ee9b9ddccd1e4c4e33fbcabea5118a8c1ba0  node-v16.14.0.pkg
29dfce13650f063ff009d18349636333fa4305468b6a8965d442c2e88b1dd60f  node-v16.14.0.tar.gz
05eb64193e391fa8a2c159c0f60c171824715165f80c67fcab9dbc944e30c623  node-v16.14.0.tar.xz
936a7096244591f044232b6c023b59301d0d2d3819df0310701d3e9d2be0d7ff  node-v16.14.0-win-x64.7z
c783f32aa22758e9fdcabb23daf348cc52f876fbd679d54edc2c4921ccd6d6c5  node-v16.14.0-win-x64.zip
509f2b68d13fde1808c933840e2b1e15fc48a137153496f4bac52f875ad7eeac  node-v16.14.0-win-x86.7z
552535c00d30b55257e7436d34ea18fd80848f7fefe5d4edfb9a068033e48c08  node-v16.14.0-win-x86.zip
4d2adf5b11877a9017a0eef735dcc344ceb849bf3bb02da4f5dc1e756cfc9300  node-v16.14.0-x64.msi
7f59dcf386d8386ceab18426381cebbdc17d437209c72a1694acfa1511c1844e  node-v16.14.0-x86.msi
4a9a110c6569503ed83069d19d1c2c604f831cc35c47850fd474c1870b76682e  win-x64/node.exe
b3cd2185d41c52a9db8d172b9fb78305798db6efc56a71a0677a33d0000ec9de  win-x64/node.lib
2ecc02154165f14bf8b5fe9961ff51d98d18199b6cca0af2392445a24189282a  win-x64/node_pdb.7z
c199d6ae1992e54885acd17810dc96e9ff9ec4c72c9be41ff143c068b810187a  win-x64/node_pdb.zip
b512a47fb2f8aaa43cad3f489ad76aa76071d572f45436414208fd67cc849c37  win-x86/node.exe
0f1312661ce6d91d315779ba9b378c2a8ebe17cb2f855773eddea4158c14f2d8  win-x86/node.lib
19fd911408283f7a4c6dd6b20450f2c185fd17091bcbe2fbe5209c63e89ec65e  win-x86/node_pdb.7z
a594a4108a7d99ca109072297bb555655951d2e2cbc467ceacadc88890a74d26  win-x86/node_pdb.zip
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEdPEmArbxxOkT+qN606iWE2Q7YgEFAmICxXUACgkQ06iWE2Q7
YgEHrw//TpMMwRLiRQ6IJIuFkhJjpd6e7KicZxau1eaajtUako9OVEriJrzIItcw
2dhxh5TU9qZvmhm7D86sQaF2Zuhuh1/XPS4lUeF33zM5+DaRyVO0HwYIWWrbEWzK
LN7BSr0waqBxMP9vwxJklDFk7t2SuxU4kyz3yHws1GdamNNWE21qG6FCD0EnJC/m
kJrku3L6WjM5BChqqY5FJ0/YqfSe8P1tyWqCuEXEfJ+IpbCbrdNFLpRJ4pPwR7DO
GCcD9rRAsigR+fWF73J1XYfYr+MciH5EZjCjSinXb7jCsyQ9OIY7BvfhcEqg18N4
9n1C54sbsvYFkhubt9qgTuqvFXFQFQ1mxlwl6EDfxZSiKF9CYPnavvGHHBf/LEbp
fqPR54c+As6Q/lCHgRsNXlwlbWBmd4n+9NKqiWSiELwukwj5e8sTWEB6OhWUkqJk
NZ4wolPCSJnzVokjB4aOlTLRg7IyC1e2KMZdpahGWKpfhO7HSqVF7YvoolpbbD4C
rhfvoIAmLNxI0EhMnTk68PMvsOpKJt9MPhle6xgSwIMxMSDMOCyuPBisBiCzDien
99zoDZ49FF5R/ri+UU+cEFzqHhZtA20Demmu7apF7tY27ajqxYCC9iqZzhE9eYdr
o9k4b5NMKuNJgR7ohMl4X439J+OY9ivAYieu7Z+eSnV4DELLQXY=
=+i0z
-----END PGP SIGNATURE-----
Categories: NewsReleases

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *