Node.js 26.0.0 发布:启用 Temporal API,升级 V8 和 Undici
Node.js 26.0.0 现已发布,带来了显著的改进和现代化调整。
本次版本默认启用了 Temporal API,这是一个现代化的 JavaScript 日期/时间 API,提供更强大和更丰富的功能,替代了原有的 Date 对象。
同时,V8 JavaScript 引擎升级至版本 14.6,HTTP 客户端实现 Undici 升级至版本 8.0。
此外,Node.js 26 将于 10 月份进入长期支持 (LTS) 阶段,但在之前六个月将作为“Current”版本。
值得注意的是,部分旧功能和模块已被移除或标记为不推荐使用,例如 http.Server.prototype.writeHeader() 以及多个 _stream_ 模块。
查看原文开头(英文 · 仅前 3 段)
Rafael Gonzaga2026-05-05, Version 26.0.0 (Current), @RafaelGSS
We're excited to announce the release of Node.js 26! Highlights include the Temporal API enabled by default,
updates to the V8 JavaScript engine to 14.6, Undici to 8.0, and several important deprecations and removals
※ 出于版权考虑,仅引用前 3 段。完整内容请阅读原文。