주요 변경사항
실험적인 ESM 로더 훅 API
Node.js ESM 로거 훅이 통합되어 미래의 로더 체인을 가능하게 하는데 필요한 과정을 보여줍니다.
resolve:resolve[+getFormat]load:getFormat+getSource+transformSource
일관성을 위해 getGlobalPreloadCode가 globalPreload로 이름이 바뀌었습니다.
이전의 훅을 내보내는 로더는 잘못된 훅의 목록을 보여주면서 폐기 예정 경고(로더마다)를 보여줄 것입니다.
Jacob Smith, Geoffrey Booth, Bradley Farias가 기여했습니다. - https://github.com/nodejs/node/pull/37468
Other Notable Changes
- [
8fdabcb918] - deps: npm의 버전을 8.1.0으로 업그레이드했습니다. (npm team) #40463 - [
d1d9f2de30] - doc: http에서 abort와 관련된 부분을 문서에서만 먼저 폐기 예정으로 표시합니다. (dr-js) #36670 - [
4116b6c907] - (SEMVER-MINOR) vm: 동적 임포트에서 임포트 단언문을 지원합니다. (Antoine du Hamel) #40249
Commits
- [
8bb3951e41] - build: remove duplicate check for authors.yml (Rich Trott) #40393 - [
2de57edced] - build: make scripts in gyp run with right python (Cheng Zhao) #39730 - [
a8926d199d] - crypto: remove incorrect constructor invocation (gc) #40300 - [
8fdabcb918] - deps: upgrade npm to 8.1.0 (npm team) #40463 - [
dca5ac1539] - deps: suppress zlib compiler warnings (Daniel Bevenius) #40343 - [
91c3bf6a7f] - deps: upgrade Corepack to 0.10 (Maël Nison) #40374 - [
7e02124a06] - dgram: addnreadassertion toUDPWrap::OnRecv(Darshan Sen) #40295 - [
2d409ed29e] - dns: refactor and use validators (Voltrex) #40022 - [
dc7291dab8] - doc: remove ESLint comments which were breaking the CJS/ESM toggles (Mark Skelton) #40408 - [
85b7385115] - doc: add pronouns for tniessen to README (Tobias Nießen) #40412 - [
1d5857c9f4] - doc: format changelogs (Rich Trott) #40388 - [
5eb9402b50] - doc: fix missing variable in deepStrictEqual example (OliverOdo) #40396 - [
6f77d1a1d5] - doc: fix asyncLocalStorage.run() description (Constantine Kim) #40381 - [
93a48e02dc] - doc: fix typos in n-api docs (Ignacio Carbajo) #40402 - [
fb7afb91c2] - doc: format doc/guides using format-md task (Rich Trott) #40358 - [
6c091c7878] - doc: improve phrasing in fs.md (Arslan Ali) #40255 - [
38d81380ac] - doc: add link to core promises tracking issue (Michael Dawson) #40355 - [
71a94aa82a] - doc: correct ESM load hook table header (Jacob Smith) #40234 - [
5b074affb4] - doc: fix typo in esm.md (Mason Malone) #40273 - [
3b3aaa0a37] - doc: fix typo in ESM example (Tobias Nießen) #40275 - [
f848553fb8] - doc: assign missing deprecation number (Michaël Zasso) #40324 - [
d1d9f2de30] - doc: deprecate (doc-only) http abort related (dr-js) #36670 - [
1ef2cf8413] - doc: anchor link parity between markdown and html-generated docs (foxxyz) #39304 - [
3743406b0a] - (SEMVER-MINOR) esm: consolidate ESM loader hooks (Jacob Smith) #37468 - [
168020e1c8] - lib: refactor to use let (gdccwxx) #40364 - [
bcd59d70bb] - meta: consolidate AUTHORS entries for gabrielschulhof (Rich Trott) #40420 - [
80b4245db8] - meta: consolidate AUTHORS information for geirha (Rich Trott) #40406 - [
93cecb4700] - meta: consolidate duplicate AUTHORS entries for hassaanp (Rich Trott) #40391 - [
fff3135909] - meta: update AUTHORS (Node.js GitHub Bot) #40392 - [
122481713d] - meta: consolidate AUTHORS entry for thw0rted (Rich Trott) #40387 - [
7f50313fcc] - meta: update label-pr-config (Mestery) #40199 - [
5668182665] - meta: use .mailmap to consolidate AUTHORS entries for ide (Rich Trott) #40367 - [
bc86084a3e] - net: check if option is undefined (Daijiro Wachi) #40344 - [
4564a93e5e] - net: remove unused ObjectKeys (Daijiro Wachi) #40344 - [
dbb2e6f429] - net: check objectMode first and then readble || writable (Daijiro Wachi) #40344 - [
a672be57c8] - net: throw error to object mode in Socket (Daijiro Wachi) #40344 - [
faf9e28c36] - src: remove usage ofAllocatedBufferfromstream_*(Darshan Sen) #40293 - [
857af2ba99] - src: add missing initialization (Michael Dawson) #40370 - [
2bfa87edbc] - stream: fix fromAsyncGen (Robert Nagy) #40499 - [
1e15137e71] - test: replace common port with specific number (Daijiro Wachi) #40344 - [
6f6b99c302] - test: fix typos in whatwg-webstreams explanations (Tobias Nießen) #40389 - [
641b1bb052] - test: add test for readStream.path when fd is specified (Qingyu Deng) #40359 - [
07dae7ff50] - test: replace .then chains with await (gdccwxx) #40348 - [
d8a36ee1de] - test: fix “test/common/debugger” identify async function (gdccwxx) #40348 - [
13d6a56c7d] - test: improve test coverage offs.ReadStreamwithFileHandle(Antoine du Hamel) #40018 - [
50f91ab059] - tools: udpate @babel/eslint-parser (Rich Trott) #40394 - [
3611073145] - tools: remove @babel/plugin-syntax-import-assertions (Rich Trott) #40394 - [
b72d693a3a] - tools: remove @bable/plugin-syntax-class-properties (Rich Trott) #40394 - [
d6a99b77da] - tools: remove @babel/plugin-syntax-top-level-await (Rich Trott) #40394 - [
d9157aa5fe] - tools: update ESLint to 8.0.0 (Rich Trott) #40394 - [
43b97c7984] - tools: prepare ESLint rules for 8.0.0 requirements (Rich Trott) #40394 - [
282b6eb4b0] - tools: fix ESLint update scripts (Rich Trott) #40394 - [
c3a744f7bf] - tools: warn about duplicates when generating AUTHORS file (Rich Trott) #40304 - [
7733b5e55d] - typings: define types for os binding (Michaël Zasso) #40222 - [
ca9a854877] - typings: add missing types to options and util bindings (Michaël Zasso) #40222 - [
c3a7a0bd59] - typings: define types for timers binding (Michaël Zasso) #40222 - [
65b51d05fa] - typings: fix declaration of primordials (Michaël Zasso) #40222 - [
5f3f3a5128] - v8: remove --harmony-top-level-await (Geoffrey Booth) #40226 - [
4116b6c907] - (SEMVER-MINOR) vm: add support for import assertions in dynamic imports (Antoine du Hamel) #40249
Windows 32-bit Installer: https://nodejs.org/dist/v16.12.0/node-v16.12.0-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v16.12.0/node-v16.12.0-x64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v16.12.0/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v16.12.0/win-x64/node.exe
macOS 64-bit Installer: https://nodejs.org/dist/v16.12.0/node-v16.12.0.pkg
macOS Apple Silicon 64-bit Binary: https://nodejs.org/dist/v16.12.0/node-v16.12.0-darwin-arm64.tar.gz
macOS Intel 64-bit Binary: https://nodejs.org/dist/v16.12.0/node-v16.12.0-darwin-x64.tar.gz
Linux 64-bit Binary: https://nodejs.org/dist/v16.12.0/node-v16.12.0-linux-x64.tar.xz
Linux PPC LE 64-bit Binary: https://nodejs.org/dist/v16.12.0/node-v16.12.0-linux-ppc64le.tar.xz
Linux s390x 64-bit Binary: https://nodejs.org/dist/v16.12.0/node-v16.12.0-linux-s390x.tar.xz
AIX 64-bit Binary: https://nodejs.org/dist/v16.12.0/node-v16.12.0-aix-ppc64.tar.gz
ARMv7 32-bit Binary: https://nodejs.org/dist/v16.12.0/node-v16.12.0-linux-armv7l.tar.xz
ARMv8 64-bit Binary: https://nodejs.org/dist/v16.12.0/node-v16.12.0-linux-arm64.tar.xz
Source Code: https://nodejs.org/dist/v16.12.0/node-v16.12.0.tar.gz
Other release files: https://nodejs.org/dist/v16.12.0/
Documentation: https://nodejs.org/docs/v16.12.0/api/
SHASUMS
1 | -----BEGIN PGP SIGNED MESSAGE----- |