值得注意的变化
- [
e25c65ee2f
]- doc:将 MrJithil 添加到合作者 (Jithil P Ponnan) #50666 - [
货号:F2366573F9
]- doc: 添加 Ethan-Arrowood 作为协作者 (Ethan Arrowood) #50393 - [
EAC9CC5FCB
]- (SEMVER-MINOR) esm:添加 import.meta.dirname 和 import.meta.filename (James Sumners) #48740 - [
7e151114b1
] – fs: 在 fs/promise 中添加堆栈跟踪 (翠 / 绿色) #49849 - [
6dbb280733
] – (SEMVER-MINOR) 库:添加 CLI 标志 (Antoine du Hamel) #50562--no-experimental-global-navigator
- [
03c730b931
] – (SEMVER-MINOR) 库:添加 navigator.language 和 navigator.languages (Aras Abbasi) #50303 - [
f932f4c518
]- (SEMVER-MINOR) 库: 添加 navigator.platform (Aras Abbasi) #50385 - [
91f37d1dc3
] – (SEMVER-MINOR) stream:添加对 webstreams 压缩格式的支持 (Damian Krzeminski) #50097deflate-raw
- [
65850a67c7
] – 流:将数组用于可读缓冲区 (Robert Nagy) #50341 - [
e433fa54b7
]- 流:优化创建 (Robert Nagy) #50337 - [
c9b92bba58
]- (SEMVER-MINOR) test_runner:添加内置 lcov 报告器 (Phil Nash) #50018 - [
f6c496563e
]- (SEMVER-MINOR) test_runner:将日期添加到支持的模拟 API (Lucas Santos) #48638 - [
05e8b6ef20
] – (SEMVER-MINOR) test_runner,cli:添加 –test-timeout 标志 (Shubham Pandey) #50443
提交
- [
065d8844c5
] – 基准测试:更改 benchmark/es/string-concatenations.js 中的迭代 (刘佳) #50585 - [
3f37ed9f0f
] – 基准测试:为编码添加基准测试 (Aras Abbasi) #50348 - [
c4b6e1e9e4
]- 基准测试:向 Readable.from 添加更多案例 (Raz Luvaton) #50351 - [
2006b57a9a
] – 基准测试:跳过 IBMi 上的 test-benchmark-os (Michael Dawson) #50286 - [
800206b04a
] – 基准测试:将 permission-fs-read 移动到 permission-processhas-fs-read (Aki Hasegawa-Johnson) #49770 - [
3bedaf9405
] – buffer: 提高 Buffer.equals 性能 (kylo5aby) #50621 - [
货号:B9F3613908
]- build: 添加 GN 构建文件 (Cheng Zhao) #47637 - [
22eb0257d8
] – build:使用 Python 3.12 修复构建 (Luigi Pinca) #50582 - [
642c057299
] – build: 支持 Python 3.12 (施普金) #50209 - [
54ebfc10cb
] – build: 修复只有python3时的构建问题 (Cheng Zhao) #48462 - [
5073a3e16d
] – deps:将 base64 更新到 0.5.1(Node.js GitHub Bot) #50629 - [
F70A59F4FA
]- deps:将 corepack 更新到 0.23.0(Node.js GitHub Bot) #50563 - [
78b3432be5
] – deps: V8: cherry-pick 13192d6e10fa (Levi Zim) #50552 - [
93e3cc3907
] – deps:将 npm 升级到 10.2.3(npm 团队)#50531 - [
189e5e5326
] – deps:将 nghttp2 更新到 1.58.0(Node.js GitHub Bot)#50441 - [
57bfe53095
] – deps:将 zlib 更新到 1.2.13.1-motley-dfc48fc(Node.js GitHub Bot) #50456 - [
1e6922e67a
] – deps:补丁 V8 至 11.8.172.17 (Michaël Zasso) #50292 - [
28453ff966
] – deps:将 acorn 更新到 8.11.2(Node.js GitHub Bot)#50460 - [
0a793a2566
] – deps:将 undici 更新到 5.27.0(Node.js GitHub Bot) #50463 - [
a90c6d669c
]- deps: 更新 openssl-3.0.12+quic1 (Node.js GitHub Bot) 的 archs 文件 #50411 - [
a64217c116
]- deps: 将 OpenSSL 源升级到 quictls/openssl-3.0.12+quic1 (Node.js GitHub Bot) #50411 - [
62515e118c
] – deps:将 llhttp 更新到 9.1.3(Node.js GitHub Bot) #50080 - [
d6f49c7bdc
]- deps:将 googletest 更新到 116b7e5(Node.js GitHub Bot)#50324 - [
e25c65ee2f
]- doc:将 MrJithil 添加到合作者 (Jithil P Ponnan) #50666 - [
8be0efd68f
] – doc:修复 fs.md 中的拼写错误 (FWIO) #50570 - [
a656bf2dee
]- doc: 在 (Deokjin Kim) 中添加缺少的参数描述#50578subtle.encrypt
- [
4cbe44ed6f
] – doc:更新 pm 文档以包含资源 (Ranieri Innocenti Spada) #50601 - [
479c1ea9fe
] – doc: v20.6.0 更新日志中的正确归属 (Jacob Smith) #50564 - [
1668798902
] – doc:更新以将行向左对齐 (Jungku Lee) #50553console.table
- [
886fc48f87
] – 文档:下划线链接 (Rich Trott) #50481 - [
98cfa3a72b
] – doc: 推荐支持的 Python 版本 (Luigi Pinca) #50407 - [
921e36ece9
] – doc:删除重复的单词 (Gerhard Stöbich) #50475 - [
43074ee21c
] – doc:修复 (André Santos) #50426 中的拼写错误webstreams.md
- [
0b11bf16e8
] – 文档:更新 v21.1.0 (Joyee Cheung) 中的重要变化 #50388 - [
D62E81229C
]- doc: 添加有关 Node-API 版本 >=9 的信息 (Michael Dawson) #50168 - [
货号:F2366573F9
]- doc: 添加 Ethan-Arrowood 作为协作者 (Ethan Arrowood) #50393 - [
D9F92BC042
]- doc:修复 (Bryce Seefieldt) 中的目录 #50372releases.md
- [
14e3675b13
] – 错误:改进 hideStackFrames (Aras Abbasi) #49990 - [
09c02ed26b
] – esm: bypass CJS loader in default load under (Antoine du Hamel) #50004--default-type=module
- [
eac9cc5fcb
] – (SEMVER-MINOR) esm: add import.meta.dirname and import.meta.filename (James Sumners) #48740 - [
44f19ce394
] – fs: update param in jsdoc for (Jungku Lee) #50448readdir
- [
7e151114b1
] – fs: add stacktrace to fs/promises (翠 / green) #49849 - [
3e7226a12f
] – fs: do not throw error on cpSync internals (Yagiz Nizipli) #50185 - [
67cbe1b80f
] – fs,url: move to (Yagiz Nizipli) #50090FromNamespacedPath
node_url
- [
b4db32e9cb
] – fs,url: refactor method (Yagiz Nizipli) #50090FileURLToPath
- [
4345ee2ede
] – fs,url: move to node_url (Yagiz Nizipli) #50090FileURLToPath
- [
ed293fc520
] – lib: remove deprecated string methods (Jithil P Ponnan) #50592 - [
363bc46b92
] – lib: fix assert shows diff messages in ESM and CJS (Jithil P Ponnan) #50634 - [
5fa40bea9e
] – lib: make event static properties non writable and configurable (Muthukumar) #50425 - [
6dbb280733
] – (SEMVER-MINOR) 库:添加 CLI 标志 (Antoine du Hamel) #50562--no-experimental-global-navigator
- [
03c730b931
] – (SEMVER-MINOR) 库:添加 navigator.language 和 navigator.languages (Aras Abbasi) #50303 - [
f932f4c518
]- (SEMVER-MINOR) 库: 添加 navigator.platform (Aras Abbasi) #50385 - [
C9BD0C5000
]- lib: 将 primordials 用于 navigator.userAgent (Aras Abbasi) #50467 - [
6dabe7cf60
] – lib: 避免在节点预示标志上分配内存 (Vinicius Lourenço) #50231 - [
3615a61ac8
] – 库:将 console.table 行向左对齐 (Jithil P Ponnan) #50135 - [
9e7131ffda
] – meta:将 Web 标准添加为 WPT 所有者 (Filip Skokan) #50636 - [
dedfb5ab26
]- Meta:将 github/codeql-action 从 2.21.9 升级到 2.22.5 (dependabot[bot]) #50513 - [
4e83036d89
] – 元:将 step-security/harden-runner 从 2.5.1 升级到 2.6.0 (dependabot[bot]) #50512 - [
4bf9cffa95
] – 元:将 ossf/scorecard-action 从 2.2.0 升级到 2.3.1 (dependabot[bot]) #50509 - [
49cce7634b
] – meta:修复协作者列表中的间距 (Antoine du Hamel) #50641 - [
12e54e360c
] – 元:将操作/setup-python 从 4.7.0 升级到 4.7.1 (dependabot[bot]) #50510 - [
85a527e6e0
] – meta:将 crypto 添加为 crypto 和 webcrypto 文档所有者 (Filip Skokan) #50579 - [
ff9b3bdf34
]- 元:将操作/设置节点从 3.8.1 升级到 4.0.0 (dependabot[bot]) #50514 - [
840303078F
] – 元:从 4.1.0 到 4.1.1 的 bump 操作/结帐 (dependabot[bot]) #50511 - [
c9e6e4e739
]- meta:将 ethan.arrowood@vercel.com 添加到邮件地图 (Ethan Arrowood) #50491 - [
D94010B745
]- meta:添加 web-standards 作为 Web API 可见性所有者 (Chengzhong Wu) #50418 - [
编号:E008336B17
]- meta:提及其他显着变化部分 (Rafael Gonzaga) #50309 - [
3606a0a848
] – 模块:按顺序执行 (Antoine du Hamel) #50474--import
- [
667d245e75
] – 模块:获取 json 模块时,在 accept 标头中添加 application/json (Marco Ippolito) #50119 - [
905ca00cbc
] – perf_hooks:减少 createHistogram (Vinícius Lourenço) 的开销 #50074 - [
7c35055c8e
] – 权限:地址 coverity 警告 (Michael Dawson) #50215 - [
货号:B740324F7C
]- src: 在 DumpJavaScriptBacktrace() 中使用 v8::Isolate::TryGetCurrent() (Joyee Cheung) #50518 - [
6e20e083dd
] – src: 在 C++ 断言中打印更多信息 (Joyee Cheung) #50242 - [
9f55dfc266
] – src: 隐藏 node::credentials::HasOnly 外部单元 (Tobias Nießen) #50450 - [
4eb74a2c24
] – src:可读条目可能为空 (Matthew Aitken) #50398 - [
5b453d45d6
] – src: 在原生中实现 structuredClone (Joyee Cheung) #50330 - [
f1d79b3cbb
]- src: 在 FromFilePath() 中使用 find 而不是 char-by-char (Daniel Lemire) #50288 - [
541bdf1e92
] – src:在 zlib 版本中添加提交哈希简写 (Jithil P Ponnan) #50158 - [
91f37d1dc3
] – (SEMVER-MINOR) stream:添加对 webstreams 压缩格式的支持 (Damian Krzeminski) #50097deflate-raw
- [
360f5d9088
] – stream:修复 Writable.destroy 性能回归 (Robert Nagy) #50478 - [
0116ae7601
] – 流:预分配_events (Robert Nagy) #50428 - [
2c0d88e83e
] – stream:删除不再相关的评论 (Robert Nagy) #50446 - [
03c4ff760d
] – 流:使用位字段进行构造/销毁 (Robert Nagy) #50408 - [
e20b272d46
]- 流:改进自 perf (Raz Luvaton) #50359 - [
893024cb7c
] – 流:避免调用 listenerCount (Robert Nagy) #50357 - [
586ec48e5f
] – 流:可读使用位图访问器 (Robert Nagy) #50350 - [
65850a67c7
] – 流:将数组用于可读缓冲区 (Robert Nagy) #50341 - [
e433fa54b7
]- 流:优化创建 (Robert Nagy) #50337 - [
f56ae67c7b
]- 流:重构可写_write (Robert Nagy) #50198 - [
766bd9c8cc
] – stream:避免 getter 进行 defaultEncoding (Robert Nagy) #50203 - [
8be718a0bd
] – 测试:使用解构来访问设置值 (Honza Jedlička) #50609 - [
货号:B701567A46
]- test:将 forEach() 替换为 for ..的 (Evgenia Blajer) #50605 - [
e978fd4375
]- test:将 forEach() 替换为 for …在测试读取线键.js (梁威廉) #50604 - [
bc92be4ca9
]- test:将 forEach() 替换为 for …在 test-http2-single-headers.js (spiritualized) #50606 中 - [
864cd32003
] – 测试:将 forEach 替换为 for of (john-mcinall) #50602 - [
2fdcf5c3da
] – 测试:删除未使用的文件 (James Sumners) #50528 - [
2eeda3f09b
] – 测试:将 forEach 替换为 for of (Kevin Kühnemund) #50597 - [
1d52a57cba
] – 测试:将 forEach 替换为 for of (CorrWu) #49785 - [
52b517f4ec
] – 测试:将 forEach 替换为 for […] of (Gabriel Bota) #50615 - [
931e1e756a
] – 测试:使用共享 OpenSSL (Luigi Pinca) 放松版本检查 #50505 - [
6ed8fbf612
] – test: 添加 WPT 报告测试持续时间 (Filip Skokan) #50574 - [
7c7be517b4
] – 测试:将 forEach() 替换为 for …测试全局.js (Kajol) 中的循环 #49772 - [
DE46A346AB
]- 测试:跳过测试诊断通道内存泄漏.js (张婷婷) #50327 - [
8487cac24c
] – 测试:改进对 (Yagiz Nizipli) #49213 的测试UV_THREADPOOL_SIZE
.env
- [
EE751102A4
]- test: 识别 wpt 完成错误 (Chengzhong Wu) #50429 - [
7e3eb02252
] – 测试:报告错误 WPT 测试结果 (Chengzhong Wu) #50429 - [
90833a89a9
] – 测试:将 forEach() 替换为 for…的 (Ram) #49794 - [
货号:F40435D143
]- test:将 forEach() 替换为 for…在 test-trace-events-http (Chand) 中 #49795 - [
F70A2DD70D
]- test:针对 zlib 版本 1.3 修复 testsuite (Dominique Leuenberger) #50364 - [
D24DE129A7
]- test: 将 forEach 替换为 for…of in test-fs-realpath-buffer-encoding (Niya Shiyas) #49804 - [
2b6d283265
] – 测试:修复 LoongArch 设备中 test-cpu-prof-dir-worker.js 超时 (Shi Pujin) #50363 - [
BD5B61FA6C
]- test: 修复 OpenSSL 3.x 的 crypto-dh 错误信息 (Kerem Kat) #50395 - [
AA86C78A9C
]- test: 修复 vm 断言实际和预期顺序 (Chengzhong Wu) #50371 - [
ab9cad8107
]- test: v8: 添加 test-linux-perf-logger 测试套件 (Luke Albao) #50352 - [
31cd05c39f
] – 测试:确保检测到永不兑现的承诺 (Antoine du Hamel) #50318 - [
AD316419DD
]- 测试:避免性能函数的 v8 死码 (Vinícius Lourenço) #50074 - [
01bed64cbb
] – test_runner:将 abortSignal 传递给测试文件 (Moshe Atlow) #50630 - [
ae4a7ba991
]- test_runner:将 forEach 替换为 for of (Tom Haddad) #50595 - [
913e4b9173
] – test_runner:套件的输出错误 (Moshe Atlow) #50361 - [
c9b92bba58
]- (SEMVER-MINOR) test_runner:添加内置 lcov 报告器 (Phil Nash) #50018 - [
E2C3B015CD
]- test_runner:测试模拟承诺计时器的返回值 (Mika Fischer) #50331 - [
f6c496563e
]- (SEMVER-MINOR) test_runner:将日期添加到支持的模拟 API (Lucas Santos) #48638 - [
05e8b6ef20
] – (SEMVER-MINOR) test_runner,cli:添加 –test-timeout 标志 (Shubham Pandey) #50443 - [
b71c8c447e
]- tls:用于 (Deokjin Kim) #50530validateFunction
options.SNICallback
- [
5fcd67a8ea
] – 工具:添加 macOS 公证订书机 (Ulises Gascón) #50625 - [
253e206fe9
] – 工具:将 eslint 更新到 8.53.0(Node.js GitHub Bot) #50559 - [
f5e1c95447
]- tools:将 lint-md-dependencies 更新到 rollup@4.3.0 (Node.js GitHub Bot) #50556 - [
257e22073e
] – 工具:在文件更改之前比较 ICU 校验和 (Michaël Zasso) #50522 - [
aa8feea5f1
]- 工具:改进更新 acorn-walk 脚本 (Marco Ippolito) #50473 - [
C0206BF44C
]- tools:将 lint-md-dependencies 更新到 rollup@4.2.0 (Node.js GitHub Bot) #50496 - [
02dec645f3
] – 工具:提高 macOS 公证过程输出的可读性 (Ulises Gascón) #50389 - [
52e7b6d29a
] – 工具:将 gyp-next 更新到 v0.16.1 (Michaël Zasso) #50380 - [
9fc29c909b
] – 工具:跳过 ruff on tools/gyp (Michaël Zasso) #50380 - [
EC7005ABFF
系列]- 工具:将 lint-md-dependencies 更新到 rollup@4.1.5 unified@11.0.4 (Node.js GitHub Bot) #50461 - [
AED590035F
]- 工具:删除未使用的函数 (Ulises Gascón) #50390version
- [
货号:F7590481F2
]- 工具:避免在 deps 安装中安装 npm install (Marco Ippolito) #50413 - [
92d64035c6
] – 恢复“工具:更新文档依赖项”(Richard Lau)#50414 - [
90c9dd3e0e
] – 工具:更新文档依赖项(Node.js GitHub Bot) #49988 - [
货号:F210915681
]- tools:仅在相关文件上运行覆盖率 CI (Antoine du Hamel) #50349 - [
5ccdda4004
] – 工具:将 eslint 更新到 8.52.0(Node.js GitHub Bot) #50326 - [
BD4634874C
]- 工具:更新 lint-md-dependencies (Node.js GitHub Bot) #50190 - [
773cfa59bb
] – vm:允许使用反向链接域进行动态导入 (Chengzhong Wu) #50360 - [
2f86d50e70
] – wasi:文档安全沙盒状态 (Guy Bedford) #50396
Windows 32-bit Installer: https://nodejs.org/dist/v21.2.0/node-v21.2.0-x86.msi
Windows 64-bit Installer: https://nodejs.org/dist/v21.2.0/node-v21.2.0-x64.msi
Windows ARM 64-bit Installer: https://nodejs.org/dist/v21.2.0/node-v21.2.0-arm64.msi
Windows 32-bit Binary: https://nodejs.org/dist/v21.2.0/win-x86/node.exe
Windows 64-bit Binary: https://nodejs.org/dist/v21.2.0/win-x64/node.exe
Windows ARM 64-bit Binary: https://nodejs.org/dist/v21.2.0/win-arm64/node.exe
macOS 64-bit Installer: https://nodejs.org/dist/v21.2.0/node-v21.2.0.pkg
macOS Apple Silicon 64-bit Binary: https://nodejs.org/dist/v21.2.0/node-v21.2.0-darwin-arm64.tar.gz
macOS Intel 64-bit Binary: https://nodejs.org/dist/v21.2.0/node-v21.2.0-darwin-x64.tar.gz
Linux 64-bit Binary: https://nodejs.org/dist/v21.2.0/node-v21.2.0-linux-x64.tar.xz
Linux PPC LE 64-bit Binary: https://nodejs.org/dist/v21.2.0/node-v21.2.0-linux-ppc64le.tar.xz
Linux s390x 64-bit Binary: https://nodejs.org/dist/v21.2.0/node-v21.2.0-linux-s390x.tar.xz
AIX 64-bit Binary: https://nodejs.org/dist/v21.2.0/node-v21.2.0-aix-ppc64.tar.gz
ARMv7 32-bit Binary: https://nodejs.org/dist/v21.2.0/node-v21.2.0-linux-armv7l.tar.xz
ARMv8 64-bit Binary: https://nodejs.org/dist/v21.2.0/node-v21.2.0-linux-arm64.tar.xz
Source Code: https://nodejs.org/dist/v21.2.0/node-v21.2.0.tar.gz
Other release files: https://nodejs.org/dist/v21.2.0/
Documentation: https://nodejs.org/docs/v21.2.0/api/
转自 Node v21.2.0 (Current) | Node.js (nodejs.org)