Node.js v27.0.0-alpha弃用util编解码器并修复CVE-2026-105481
2026-11-26, Version 27.0.0-alpha.0.2.0 (Alpha), @aduh95
推荐理由
本次Alpha版包含两项关键弃用(util文本编解码器与TLS重协商),开发者需尽早调整代码以适配未来版本;同时修复了HTTPpending-read安全漏洞,建议相关用户关注升级。
Notable Changes
显著变更
- [79db466ecc] - doc: deprecate util.TextDecoder and util.TextEncoder (LiviaMedeiros) #67461
- [ba3e5c93a3] - (SEMVER-MINOR) http2: add writeProcessing to compat response (Yuya Inoue) #67728
- [bdd02b128c] - (SEMVER-MINOR) http2: add missing setHeaders (jakecastelli) #67597
- [0a67a05d22] - (SEMVER-MINOR) http2: add callback to informational header methods (Yuya Inoue) #67470
- [c47d2564bb] - (SEMVER-MINOR) lib: graduate the --process-timeout option (James M Snell) #67506
- [610b9fa65f] - (SEMVER-MINOR) os: expose guessFileDescriptorType (Vlad Frangu) #58060
- [eae0633ec9] - (SEMVER-MINOR) sqlite: throw ERR_NO_SQLITE without SQLite support (Christian Aurich Zanettini Martins) #67727
- [610491c77a] - (SEMVER-MINOR) sqlite: add statement.columnCount getter (Guilherme Araújo) #67658
- [76aaaca9e6] - sqlite: mark as stable (Christian Aurich Zanettini Martins) #67654
- [6dc819754e] - (SEMVER-MINOR) src: expand --process-timeout output to include workers (James M Snell) #67712
- [a6fc41c2fc] - (SEMVER-MINOR) src: restore tty state on exit only if changed (Matteo Collina) #66753
- [4f880d0604] - (SEMVER-MINOR) tls: docs-deprecate TLS renegotiation, add allowRenegotiation opt-in (Tim Perry) #67532
- [79db466ecc] - doc: 弃用 util.TextDecoder 和 util.TextEncoder (LiviaMedeiros) #67461
- [ba3e5c93a3] - (SEMVER-MINOR) http2: 向兼容响应添加 writeProcessing (Yuya Inoue) #67728
- [bdd02b128c] - (SEMVER-MINOR) http2: 补全缺失的 setHeaders (jakecastelli) #67597
- [0a67a05d22] - (SEMVER-MINOR) http2: 向信息头方法添加回调 (Yuya Inoue) #67470
- [c47d2564bb] - (SEMVER-MINOR) lib: 将 --process-timeout 选项正式化 (James M Snell) #67506
- [610b9fa65f] - (SEMVER-MINOR) os: 暴露 guessFileDescriptorType (Vlad Frangu) #58060
- [eae0633ec9] - (SEMVER-MINOR) sqlite: 在无 SQLite 支持时抛出 ERR_NO_SQLITE (Christian Aurich Zanettini Martins) #67727
- [610491c77a] - (SEMVER-MINOR) sqlite: 添加 statement.columnCount getter (Guilherme Araújo) #67658
- [76aaaca9e6] - sqlite: 标记为稳定版本 (Christian Aurich Zanettini Martins) #67654
- [6dc819754e] - (SEMVER-MINOR) src: 扩展 --process-timeout 输出以包含工作进程 (James M Snell) #67712
- [a6fc41c2fc] - (SEMVER-MINOR) src: 仅在状态改变时于退出时恢复 tty 状态 (Matteo Collina) #66753
- [4f880d0604] - (SEMVER-MINOR) tls: 文档弃用 TLS 重新协商,添加 allowRenegotiation 显式启用选项 (Tim Perry) #67532
Commits
提交记录
- [946d034060] - benchmark: throw on invalid type in fs and webstorage (Minho Yoo) #66647
- [b31c1bcf2f] - buffer: use typed arrays for 64-bit BigInt accessors (Gürgün Dayıoğlu) #67549
- [bec7ef2efb] - buffer: share search range logic between indexOf implementations (James M Snell) #67495
- [1e1266b527] - buffer: stop clamping indexOf byteOffset to int32 (Ved Chaudhari) #67009
- [23917ad54c] - build: keep PGO settings out of addon builds (Vladimir Morozov) #67638
- [a875d07d56] - build: re-run configure to regenerate out/Makefile (Christian Aurich Zanettini Martins) #67534
- [4d9a7526b0] - build: trigger devcontainer build from daily (Ethan Arrowood) #67153
- [bb1dff8d95] - build: fix AIX shared library exports generation (Stewart X Addison) #67359
- [c8984c6b26] - build: fix GCC warnings when building V8 with gnu++20 (Joyee Cheung) #67279
- [2c08a24e10] - build,win: update WinGet configurations to Python 3.15 (Mike McCready) #67431
- [faec8f0770] - child_process: copy split permission flag values (RafaelGSS) #66725
- [89aba562af] - crypto: wire up SLH-DSA with BoringSSL (Filip Skokan) #67483
- [68766dcf9b] - crypto: add TicketHmacCtx alias for TLS ticket key callbacks (James M Snell) #67495
- [8ddfb9cbfd] - crypto: share digest length handling between HashInit overloads (James M Snell) #67495
- [5a2f2c7bdb] - crypto: deduplicate WebCrypto SPKI/PKCS#8 exporter lookup (James M Snell) #67495
- [6509f78457] - crypto: share asymmetric WebCrypto key import logic (James M Snell) #67495
- [ea3518de0e] - crypto: use const STACK_OF(SSL_CIPHER)* for SSL_get_ciphers (Lily Chen) #67443
- [e14f5ef423] - deps: update zstd to 1.6.0 (Node.js GitHub Bot) #67775
- [5d23d3f86c] - deps: update histogram to 0.12.1 (Node.js GitHub Bot) #66818
- [3ea9c25bcb] - deps: update nbytes to 0.1.5 (Node.js GitHub Bot) #67688
- [03b8203e92] - deps: update zlib to 1.4-401d185 (Node.js GitHub Bot) #67689
- [55cdf81886] - deps: update simdjson to 5.2.0 (Node.js GitHub Bot) #67690
- [c7668532e1] - deps: update undici to 8.13.1 (Node.js GitHub Bot) #67692
- [1807e26af2] - deps: update ada to 4.1.1 (Node.js GitHub Bot) #67624
- [5fbaaa2303] - deps: upgrade npm to 12.2.3 (npm team) #67584
- [f72936e311] - deps: update zlib to 1.4-ec453dc (Node.js GitHub Bot) #67475
- [25e0205f1d] - deps: update libffi to 3.8.1 (Node.js GitHub Bot) #67476
- [648f8e4921] - deps: update googletest to e882c36410197464e3429546e6a7d5e217bde51e (Node.js GitHub Bot) #67477
- [02a3007eee] - deps: patch V8 to 15.6.75.60 (Node.js GitHub Bot) #67479
- [c2b046330f] - deps: update inspector_protocol to c0045057ce801744c5e88596a2f1bab1802e (Node.js GitHub Bot) #66653
- [9445cedee3] - dgram: fix abort on negative zero buffer size (JuHyeong424) #67662
- [cd0f8977e5] - diagnostics_channel: use DisposableStack primordial (LiviaMedeiros) #67533
- [96e44a8176] - Revert "diagnostics_channel: replace using with try-finally" (LiviaMedeiros) #67533
- [d2581adf98] - diagnostics_channel: add threadpool work event (Ilyas Shabi) #65982
- [98af0ecdea] - dns: share reply parsing skeleton between record parsers (James M Snell) #67497
- [f8e9ee8875] - doc: run license-builder (github-actions[bot]) #67718
- [5d72e1694d] - doc: fix http response.writeProcessing() description (Yuya Inoue) #67705
- [7ca6dc855c] - doc: document stream/iter iterator results and from() identity (James M Snell) #66504
- [25196c876d] - doc: clarify crypto and Web Crypto options (Filip Skokan) #67565
- [8ab1e9a107] - doc: add verification steps of V8 major upgrades (Chengzhong Wu) #67559
- [92c676a66e] - doc: fix SEA implementation link in maintaining guide (Faris Basha TM) #67555
- [c0797d4431] - doc: clarify cumulative output limits for zlib streams (sophia) #67373
- [ddfa5e85bc] - doc: fix http response.writeInformation() signature (Yuya Inoue) #67492
- [a11780b968] - doc: swap util.TextDecoder and util.TextEncoder with globals (LiviaMedeiros) #67461
- [8430d81cd4] - doc: use global TextDecoder and TextEncoder instead of util (LiviaMedeiros) #67461
- [79db466ecc] - doc: deprecate util.TextDecoder and util.TextEncoder (LiviaMedeiros) #67461
- [f78fb48b39] - doc,test: clarify http1 insecure validation (Ethan Arrowood) #67560
- [f99cbb36ea] - esm: avoid dictionary-mode objects in import() (Matteo Collina) #67554
- [13fdf8dea2] - fs: report EROFS from recursive mkdir() (Yohannes Desta) #67500
- [0fd2bc8717] - fs: stat src through symlinks in cpSync() when dereference is set (Yohannes Desta) #67340
- [4d9d24337d] - fs: read data when highWaterMark is 0 (Hamza Kargin) #67669
- [ee6fd3bbc8] - fs: fix abort on negative zero write length (Christian Aurich Zanettini Martins) #67524
- [d25a7d3356] - fs: do not disable fd-based APIs in permission audit mode (Rafael Gonzaga) #66726
- [b7bcf0f413] - fs: use try...finally for abort race (René) #67545
- [67093b782a] - fs: restore stack traces of fs/promises stat permission errors (Ved Chaudhari) #67525
- [01b2b7e190] - fs: validate opendir() bufferSize before opening the directory (Yohannes Desta) #67183
- [649ca3933e] - fs: use GetAsyncReqWrap() in the remaining async/sync bindings (James M Snell) #67497
- [f66258d993] - fs: check permissions once in bindings with async and sync paths (James M Snell) #67497
- [732d7619eb] - fs: respect setDefaultHighWaterMark in ReadStream (Hamza Kargin) #66956
- [af9e5edf32] - fs: use correct position when retrying writev (Christian Aurich Zanettini Martins) #66203
- [2ad4108aca] - fs: restore stack traces of fs/promises readFile and writeFile errors (Ved Chaudhari) #66757
- [edf06a260a] - fs,path: fix glob globstar section bounds (Gürgün Dayıoğlu) #66738
- [e56889e0b9] - http: do not reuse expired free sockets (dennev) #67292
- [d42740bba0] - http: compute body chunk length from decoded bytes (Paolo Insogna) #67615
- [7007c63c8b] - http: keep request option copies in fast mode (Gürgün Dayıoğlu) #67395
- [9d67e14975] - http: share insecureHTTPParser/httpValidation option handling (James M Snell) #67495
- [19448e7eb7] - http: forward-port the pending-read fix for CVE-2026-105481 (emyei) #67073
- [0d5ccdd76d] - http,http2: copy header arrays in setHeader (Ethan Arrowood) #67528
- [ba3e5c93a3] - (SEMVER-MINOR) http2: add writeProcessing to compat response (Yuya Inoue) #67728
- [bdd02b128c] - (SEMVER-MINOR) http2: add missing setHeaders (jakecastelli) #67597
- [066edea2cd] - http2: don't fail response reads after clean RST_STREAM (Tim Perry) #67558
- [e3eef84c0e] - http2: fix eos() for HTTP/2 streams after clean end & close (Tim Perry) #67553
- [0a67a05d22] - (SEMVER-MINOR) http2: add callback to informational header methods (Yuya Inoue) #67470
- [946d034060] - benchmark: 在 fs 和 webstorage 中遇到无效类型时抛出异常 (Minho Yoo) #66647
- [b31c1bcf2f] - buffer: 使用类型数组进行 64 位 BigInt 访问器操作 (Gürgün Dayıoğlu) #67549
- [bec7ef2efb] - buffer: 在 indexOf 实现之间共享搜索范围逻辑 (James M Snell) #67495
- [1e1266b527] - buffer: 停止将 indexOf 的 byteOffset 钳制为 int32 (Ved Chaudhari) #67009
- [23917ad54c] - build: 在插件构建中排除 PGO 设置 (Vladimir Morozov) #67638
- [a875d07d56] - build: 重新运行 configure 以重新生成 out/Makefile (Christian Aurich Zanettini Martins) #67534
- [4d9a7526b0] - build: 从每日计划触发 devcontainer 构建 (Ethan Arrowood) #67153
- [bb1dff8d95] - build: 修复 AIX 共享库导出生成 (Stewart X Addison) #67359
- [c8984c6b26] - build: 修复使用 gnu++20 构建 V8 时的 GCC 警告 (Joyee Cheung) #67279
- [2c08a24e10] - build,win: 将 WinGet 配置更新为 Python 3.15 (Mike McCready) #67431
- [faec8f0770] - child_process:复制 split 权限标志值 (RafaelGSS) #66725
- [89aba562af] - crypto:通过 BoringSSL 接入 SLH-DSA (Filip Skokan) #67483
- [68766dcf9b] - crypto:为 TLS ticket key 回调添加 TicketHmacCtx 别名 (James M Snell) #67495
- [8ddfb9cbfd] - crypto:在 HashInit 重载之间共享摘要长度处理逻辑 (James M Snell) #67495
- [5a2f2c7bdb] - crypto:去重 WebCrypto SPKI/PKCS#8 导出器查找 (James M Snell) #67495
- [6509f78457] - crypto:共享非对称 WebCrypto 密钥导入逻辑 (James M Snell) #67495
- [ea3518de0e] - crypto:对 SSL_get_ciphers 使用 const STACK_OF(SSL_CIPHER)* (Lily Chen) #67443
- [e14f5ef423] - deps:将 zstd 更新至 1.6.0 (Node.js GitHub Bot) #67775
- [5d23d3f86c] - deps:将 histogram 更新至 0.12.1 (Node.js GitHub Bot) #66818
- [3ea9c25bcb] - deps:将 nbytes 更新至 0.1.5 (Node.js GitHub Bot) #67688
- [03b8203e92] - deps:将 zlib 更新至 1.4-401d185 (Node.js GitHub Bot) #67689
- [55cdf81886] - deps:将 simdjson 更新至 5.2.0 (Node.js GitHub Bot) #67690
- [c7668532e1] - deps:将 undici 更新至 8.13.1 (Node.js GitHub Bot) #67692
- [1807e26af2] - deps:将 ada 更新至 4.1.1 (Node.js GitHub Bot) #67624
- [5fbaaa2303] - deps:将 npm 升级至 12.2.3 (npm team) #67584
- [f72936e311] - deps:将 zlib 更新至 1.4-ec453dc (Node.js GitHub Bot) #67475
- [25e0205f1d] - deps:将 libffi 更新至 3.8.1 (Node.js GitHub Bot) #67476
- [648f8e4921] - deps:将 googletest 更新至 e882c36410197464e3429546e6a7d5e217bde51e (Node.js GitHub Bot) #67477
- [02a3007eee] - deps:将 V8 补丁至 15.6.75.60 (Node.js GitHub Bot) #67479
- [c2b046330f] - deps:将 inspector_protocol 更新至 c0045057ce801744c5e88596a2f1bab1802e (Node.js GitHub Bot) #66653
- [9445cedee3] - dgram:修复负零缓冲区大小导致的中止问题 (JuHyeong424) #67662
- [cd0f8977e5] - diagnostics_channel:使用 DisposableStack primordial (LiviaMedeiros) #67533
- [96e44a8176] - Revert "diagnostics_channel:用 try-finally 替换 using" (LiviaMedeiros) #67533
- [d2581adf98] - diagnostics_channel:添加 threadpool work 事件 (Ilyas Shabi) #65982
- [98af0ecdea] - dns: 在记录解析器之间共享回复解析骨架 (James M Snell) #67497
- [f8e9ee8875] - doc: 运行 license-builder (github-actions[bot]) #67718
- [5d72e1694d] - doc: 修复 http response.writeProcessing() 描述 (Yuya Inoue) #67705
- [7ca6dc855c] - doc: 文档化 stream/iter 迭代器结果和 from() 标识 (James M Snell) #66504
- [25196c876d] - doc: 澄清 crypto 和 Web Crypto 选项 (Filip Skokan) #67565
- [8ab1e9a107] - doc: 添加 V8 重大升级的验证步骤 (Chengzhong Wu) #67559
- [92c676a66e] - doc: 修复维护指南中的 SEA 实现链接 (Faris Basha TM) #67555
- [c0797d4431] - doc: 澄清 zlib 流的累积输出限制 (sophia) #67373
- [ddfa5e85bc] - doc: 修复 http response.writeInformation() 签名 (Yuya Inoue) #67492
- [a11780b968] - doc: 用全局变量替换 util.TextDecoder 和 util.TextEncoder (LiviaMedeiros) #67461
- [8430d81cd4] - doc: 使用全局 TextDecoder 和 TextEncoder 而非 util (LiviaMedeiros) #67461
- [79db466ecc] - doc: 弃用 util.TextDecoder 和 util.TextEncoder (LiviaMedeiros) #67461
- [f78fb48b39] - doc,test: 澄清 http1 不安全验证 (Ethan Arrowood) #67560
- [f99cbb36ea] - esm: 避免在 import() 中使用字典模式对象 (Matteo Collina) #67554
- [13fdf8dea2] - fs: 从递归 mkdir() 报告 EROFS (Yohannes Desta) #67500
- [0fd2bc8717] - fs: 当设置 dereference 时,通过符号链接在 cpSync() 中统计 src (Yohannes Desta) #67340
- [4d9d24337d] - fs: highWaterMark 为 0 时读取数据 (Hamza Kargin) #67669
- [ee6fd3bbc8] - fs: 修复负零写入长度的中止问题 (Christian Aurich Zanettini Martins) #67524
- [d25a7d3356] - fs: 在权限审计模式下不禁用基于 fd 的 API (Rafael Gonzaga) #66726
- [b7bcf0f413] - fs: 对中止竞态使用 try...finally (René) #67545
- [67093b782a] - fs: 恢复 fs/promises stat 权限错误的堆栈跟踪 (Ved Chaudhari) #67525
- [01b2b7e190] - fs: 在打开目录前验证 opendir() bufferSize (Yohannes Desta) #67183
- [649ca3933e] - fs: 在剩余的异步/同步绑定中使用 GetAsyncReqWrap() (James M Snell) #67497
- [f66258d993] - fs: 在具有异步和同步路径的绑定中仅检查一次权限 (James M Snell) #67497
- [732d7619eb] - fs: 在 ReadStream 中尊重 setDefaultHighWaterMark (Hamza Kargin) #66956
- [af9e5edf32] - fs: 在重试 writev 时使用正确的位置 (Christian Aurich Zanettini Martins) #66203
- [2ad4108aca] - fs: 恢复 fs/promises readFile 和 writeFile 错误的堆栈跟踪 (Ved Chaudhari) #66757
- [edf06a260a] - fs,path: 修复 glob globstar 部分边界 (Gürgün Dayıoğlu) #66738
- [e56889e0b9] - http: 不重用已过期的空闲套接字 (dennev) #67292
- [d42740bba0] - http: 从解码字节计算 body chunk 长度 (Paolo Insogna) #67615
- [7007c63c8b] - http: 在快速模式下保留 request option 副本 (Gürgün Dayıoğlu) #67395
- [9d67e14975] - http: 共享 insecureHTTPParser/httpValidation 选项处理 (James M Snell) #67495
- [19448e7eb7] - http: 转发 CVE-2026-105481 的 pending-read 修复 (emyei) #67073
- [0d5ccdd76d] - http,http2: 在 setHeader 中复制 header 数组 (Ethan Arrowood) #67528
- [ba3e5c93a3] - (SEMVER-MINOR) http2: 向兼容响应添加 writeProcessing (Yuya Inoue) #67728
- [bdd02b128c] - (SEMVER-MINOR) http2: 添加缺失的 setHeaders (jakecastelli) #67597
- [066edea2cd] - http2: 在 clean RST_STREAM 后不要使 response 读取失败 (Tim Perry) #67558
- [e3eef84c0e] - http2: 修复 HTTP/2 流在 clean end & close 后的 eos() (Tim Perry) #67553
- [0a67a05d22] - (SEMVER-MINOR) http2: 向 informational header 方法添加回调 (Yuya Inoue) #67470
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力