皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

Node 19.4.0发布

Node 19.4.0发布

Notable Changes

  • buffer:
    • (SEMVER-MINOR) add buffer.isUtf8 for utf8 validation (Yagiz Nizipli) #45947
  • http:
    • (SEMVER-MINOR) improved timeout defaults handling (Paolo Insogna) #45778
  • net:
    • add autoSelectFamily global getter and setter (Paolo Insogna) #45777
  • os:
    • (SEMVER-MINOR) add availableParallelism() (Colin Ihrig) #45895
  • util:
    • add fast path for text-decoder fatal flag (Yagiz Nizipli) #45803

Commits

  • [54b748acc0] – async_hooks: refactor to use validateObject (Deokjin Kim) #46004
  • [cf2ff81f26] – benchmark: include webstreams benchmark (Rafael Gonzaga) #45876
  • [6e3d7f8c2d] – bootstrap: optimize modules loaded in the built-in snapshot (Joyee Cheung) #45849
  • [d181b76374] – bootstrap: make CJS loader snapshotable (Joyee Cheung) #45849
  • [508e830765] – bootstrap: include event_target into the built-in snapshot (Joyee Cheung) #45849
  • [dd77c05480] – bootstrap: support module_wrap binding in snapshot (Joyee Cheung) #45849
  • [fbe399c75c] – (SEMVER-MINOR) buffer: add buffer.isUtf8 for utf8 validation (Yagiz Nizipli) #45947
  • [233a66f937] – build: fix arm64 cross-compile from powershell (Stefan Stojanovic) #45890
  • [e7b98a3da2] – build: add option to disable shared readonly heap (Anna Henningsen) #45887
  • [777c551edf] – crypto: ensure exported webcrypto EC keys use uncompressed point format (Ben Noordhuis) #46021
  • [f7dba5bef7] – crypto: fix globalThis.crypto this check (Filip Skokan) #45857
  • [56f3ad101b] – crypto: fix CryptoKey prototype WPT (Filip Skokan) #45857
  • [c9747f1140] – crypto: use globalThis.crypto over require(‘crypto’).webcrypto (Filip Skokan) #45817
  • [6eede72241] – crypto: fix CryptoKey WebIDL conformance (Filip Skokan) #45855
  • [c9802862b7] – crypto: fix error when getRandomValues is called without arguments (Filip Skokan) #45854
  • [3d09754186] – debugger: refactor console in lib/internal/debugger/inspect.js (Debadree Chatterjee) #45847
  • [fdda2ff53b] – deps: V8: cherry-pick 30861a39323d (Aaron Friel) #45851
  • [71bf513062] – deps: patch V8 to 10.8.168.25 (Michaël Zasso) #45996
  • [0552b13232] – deps: update simdutf to 2.0.9 (Node.js GitHub Bot) #45975
  • [e73be1b3b9] – deps: update to uvwasi 0.0.14 (Colin Ihrig) #45970
  • [e4323f01c1] – deps: fix updater github workflow job (Yagiz Nizipli) #45972
  • [05fee67238] – Revert “deps: disable avx512 for simutf on benchmark ci” (Yagiz Nizipli) #45948
  • [98fc94a444] – deps: disable avx512 for simutf on benchmark ci (Yagiz Nizipli) #45803
  • [344c5ec0ea] – deps: add simdutf dependency (Yagiz Nizipli) #45803
  • [7bdad948c8] – deps: V8: backport 8ca9f77d0f7c (Anna Henningsen) #45871
  • [29f90cf5af] – deps: update timezone to 2022g (Node.js GitHub Bot) #45731
  • [99fec0bf64] – deps: update undici to 5.14.0 (Node.js GitHub Bot) #45812
  • [faee973fa7] – deps: V8: cherry-pick bc831f8ba33b (Yagiz Nizipli) #45788
  • [e2944109c6] – deps: V8: cherry-pick bf0bd4868dde (Michaël Zasso) #45908
  • [e113d169ee] – doc: update isUtf8 description (Yagiz Nizipli) #45973
  • [9e16406066] – doc: sort http.createServer() options alphabetically (Luigi Pinca) #45680
  • [49253e1a8f] – doc: use console.error for error case in timers and tls (Deokjin Kim) #46002
  • [8be1b666a7] – doc: fix wrong output of example in url.protocol (Deokjin Kim) #45954
  • [9251dce8b2] – doc: use os.availableParallelism() in async_context and cluster (Deokjin Kim) #45979
  • [952e03ae66] – doc: make EventEmitterAsyncResource’s options as optional (Deokjin Kim) #45985
  • [71cc3b3712] – doc: replace single executable champion in strategic initiatives doc (Darshan Sen) #45956
  • [eaf6b63637] – doc: update error message of example in repl (Deokjin Kim) #45920
  • [d8b5b7da75] – doc: fix typos in packages.md (Eric Mutta) #45957
  • [4457e051c9] – doc: remove port from example in url.hostname (Deokjin Kim) #45927
  • [908f4fab52] – doc: show output of example in http (Deokjin Kim) #45915
  • [faf5c23084] – (SEMVER-MINOR) doc: add parallelism note to os.cpus() (Colin Ihrig) #45895
  • [9ed547b73c] – doc: fix wrong output of example in url.password (Deokjin Kim) #45928
  • [a89f8c1337] – doc: fix some history entries in deprecations.md (Antoine du Hamel) #45891
  • [cf30fca23f] – doc: add tip for NODE_MODULE (theanarkh) #45797
  • [d500445aec] – doc: reduce likelihood of mismerges during release (Richard Lau) #45864
  • [e229f060e3] – doc: add backticks to webcrypto rsaOaepParams (Filip Skokan) #45883
  • [dfa58c1947] – doc: remove release cleanup step (Michaël Zasso) #45858
  • [b93a9670a8] – doc: add stream/promises pipeline and finished to doc (Marco Ippolito) #45832
  • [c86f4a17d6] – doc: remove Juan Jose keys (Rafael Gonzaga) #45827
  • [c37a119f90] – doc: remove last example use of require(‘crypto’).webcrypto (Filip Skokan) #45819
  • [7e047dfcbb] – doc: fix wrong output of example in util (Deokjin Kim) #45825
  • [8046e0ef53] – errors: refactor to use a method that formats a list string (Daeyeon Jeong) #45793
  • [2d49e0e635] – esm: rewrite loader hooks test (Geoffrey Booth) #46016
  • [47cc0e4bdb] – events: fix violation of symbol naming convention (Deokjin Kim) #45978
  • [22a66cff66] – fs: refactor to use validateInteger (Deokjin Kim) #46008
  • [bc43922949] – http: replace var with const on code of comment (Deokjin Kim) #45951
  • [7ea72ee421] – (SEMVER-MINOR) http: improved timeout defaults handling (Paolo Insogna) #45778
  • [7f1daedf4c] – lib: update JSDoc of getOwnPropertyValueOrDefault (Deokjin Kim) #46010
  • [28f9089b83] – lib: use kEmptyObject as default value for options (Deokjin Kim) #46011
  • [f6c6673ec4] – lib: lazy-load deps in modules/run_main.js (Joyee Cheung) #45849
  • [e529ea4144] – lib: lazy-load deps in source_map_cache.js (Joyee Cheung) #45849
  • [943852ab83] – lib: add getLazy() method to internal/util (Joyee Cheung) #45849
  • [25d0a94453] – meta: update AUTHORS (Node.js GitHub Bot) #46040
  • [0a70316ecc] – meta: update AUTHORS (Node.js GitHub Bot) #45968
  • [86e30fcb4d] – meta: add nodejs/loaders to CODEOWNERS (Geoffrey Booth) #45940
  • [e95695654d] – meta: add nodejs/test_runner to CODEOWNERS (Antoine du Hamel) #45935
  • [353dab5bdf] – meta: update AUTHORS (Node.js GitHub Bot) #45899
  • [0b3512f690] – modules: move callbacks and conditions into modules/esm/utils.js (Joyee Cheung) #45849
  • [c6ab449d1b] – modules: move modules/cjs/helpers.js to modules/helpers.js (Joyee Cheung) #45849
  • [4d62b099b4] – net: handle socket.write(cb) edge case (Santiago Gimeno) #45922
  • [8e6b8dbb41] – net: add autoSelectFamily global getter and setter (Paolo Insogna) #45777
  • [f3bb6a38ae] – node-api: generalize finalizer second pass callback (Chengzhong Wu) #44141
  • [d71883e271] – (SEMVER-MINOR) os: add availableParallelism() (Colin Ihrig) #45895
  • [4c0850539a] – process,worker: ensure code after exit() effectless (ywave620) #45620
  • [24cae6b4a3] – repl: improve robustness wrt to prototype pollution (Antoine du Hamel) #45604
  • [af25c95b22] – src: fix typo in node_file.cc (Vadim) #45998
  • [261d6d0726] – src: fix crash on OnStreamRead on Windows (Santiago Gimeno) #45878
  • [6c5b7e660b] – src: add worker per-isolate binding initialization (Chengzhong Wu) #45547
  • [db535b6caa] – src: define per-isolate internal bindings registration callback (Chengzhong Wu) #45547
  • [ded87f6dc4] – src: fix creating Isolates from addons (Anna Henningsen) #45885
  • [c2ed0ccb28] – src: use string_view for FastStringKey implementation (Anna Henningsen) #45914
  • [b995138b96] – src: use CreateEnvironment instead of inlining its code where possible (Anna Henningsen) #45886
  • [4454f5fd71] – src: fix UB in overflow checks (Ben Noordhuis) #45882
  • [27d3201502] – src: check size of args before using for exec_path (A. Wilcox) #45902
  • [2f898f2983] – src: fix tls certificate root store data race (Ben Noordhuis) #45767
  • [eff92a61b9] – src: add undici and acorn to process.versions (Debadree Chatterjee) #45621
  • [ab22a8ff4b] – stream: refactor to use validateFunction (Deokjin Kim) #46007
  • [0858956f5f] – stream: fix typo in JSDoc (Deokjin Kim) #45991
  • [2807efaea6] – test: use process.hrtime.bigint instead of process.hrtime (Deokjin Kim) #45877
  • [0f5a145973] – test: print failed JS/parallel tests (Geoffrey Booth) #45960
  • [c6c094702b] – test: split parallel fs-watch-recursive tests (Yagiz Nizipli) #45865
  • [97a8e055be] – test: add all WebCryptoAPI globals to WPTRunner’s loadLazyGlobals (Filip Skokan) #45857
  • [95ce16d8d9] – test: fix test broken under –node-builtin-modules-path (Geoffrey Booth) #45894
  • [97868befe7] – test: fix mock.method to support class instances (Erick Wendel) #45608
  • [71056daf76] – test: update encoding wpt to latest (Yagiz Nizipli) #45850
  • [10367c4cae] – test: update url wpt to latest (Yagiz Nizipli) #45852
  • [53f02cf631] – test: add CryptoKey transferring tests (Filip Skokan) #45811
  • [5de08ef275] – test: add postject to fixtures (Darshan Sen) #45298
  • [fea122d51e] – test: enable idlharness WebCryptoAPI WPTs (Filip Skokan) #45822
  • [3c2ce5635e] – test: remove use of –experimental-global-webcrypto flag (Filip Skokan) #45816
  • [b5e124537e] – test,crypto: update WebCryptoAPI WPT (Filip Skokan) #45860
  • [7ae24abd7b] – test_runner: use os.availableParallelism() (Colin Ihrig) #45969
  • [c5004d42af] – test_runner: run t.after() if test body throws (Colin Ihrig) #45870
  • [bdbb676bee] – test_runner: parse yaml (Moshe Atlow) #45815
  • [ca9b9b9ce6] – tls: don’t treat fatal TLS alerts as EOF (David Benjamin) #44563
  • [d08a574ecf] – tls: fix re-entrancy issue with TLS close_notify (David Benjamin) #44563
  • [0f0d22a63e] – tools: update lint-md-dependencies to rollup@3.9.0 (Node.js GitHub Bot) #46039
  • [5a8d125fc4] – tools: update doc to unist-util-select@4.0.2 (Node.js GitHub Bot) #46038
  • [54776ffe80] – tools: add release host var to promotion script (Ruy Adorno) #45913
  • [f968fdb78a] – tools: add url to AUTHORS update automation (Antoine du Hamel) #45971
  • [7c518cbac1] – tools: update lint-md-dependencies to rollup@3.8.1 (Node.js GitHub Bot) #45967
  • [1282f7f656] – tools: update GitHub workflow action (Mohammed Keyvanzadeh) #45937
  • [f446af78e9] – tools: update lint-md dependencies (Node.js GitHub Bot) #45813
  • [794611ade9] – tools: enforce use of trailing commas in tools/ (Antoine du Hamel) #45889
  • [124c2b32d9] – tools: fix incorrect version history order (Fabien Michel) #45728
  • [27cf389c22] – tools: update eslint to 8.29.0 (Node.js GitHub Bot) #45733
  • [ae842a40b5] – util: add fast path for text-decoder fatal flag (Yagiz Nizipli) #45803
  • [389cc3e1d6] – vm: refactor to use validateStringArray (Deokjin Kim) #46020
  • [7bd6a2c258] – wasi: fast calls (snek) #43697

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

转自 Node v19.4.0 (Current) | Node.js (nodejs.org)