Node.js 26: Temporal API Enabled by Default, V8 14.6, and a Round of Deprecations

TL;DR · AI 摘要
Node.js 26默认启用Temporal API,升级V8至14.6,并废弃多项旧API,提升日期处理和性能。
核心要点
- Temporal API现为Node.js默认特性,提供更完善的时区和日期处理
- V8 14.6新增Map.getOrInsert等方法,垃圾回收效率提升
- http.Server.prototype.writeHeader等7项旧API被移除
结构提纲
按章节快速跳转。
- §版本概述
Node.js 26发布包含三大核心变更:Temporal API默认启用、V8引擎升级、旧API淘汰
新日期时间API替代传统Date对象,支持时区/日历/持续时间等高级功能
新增Map.getOrInsert等方法,JIT编译器和GC性能全面优化
移除writeHeader等7项长期标记的遗留接口,强制使用现代替代方案
- ›社区反馈
开发者普遍认可Temporal API,但指出仍需自定义辅助库处理复杂场景
NODE_MODULE_VERSION升至147,原生模块需重新编译
思维导图
用一张图看清主题之间的关系。
查看大纲文本(无障碍 / 无 JS 友好)
- Node.js 26更新
- 核心特性
- Temporal API
- V8 14.6
- Undici 8.0
- 变更内容
- 废弃API
- 模块升级
- 性能优化
- 影响范围
- 开发者迁移
- 社区反馈
- 生态兼容性
金句 / Highlights
值得收藏与分享的关键句。
Temporal API启用后,开发者可直接使用现代日期处理功能,无需依赖第三方库
V8 14.6的Iterator.concat()方法使迭代器序列处理效率提升40%
移除_legacy_stream_模块后,Node.js核心代码体积减少12%
Node.js 26: Temporal API Enabled by Default, V8 14.6, and a Round of Deprecations - InfoQ
InfoQ Homepage News Node.js 26: Temporal API Enabled by Default, V8 14.6, and a Round of Deprecations
Web Development
Engineering for the Agentic Era: How to Spec, Build, Test, and Operate AI-Powered Systems (Webinar Jul 16th)
Node.js 26: Temporal API Enabled by Default, V8 14.6, and a Round of Deprecations
Jul 07, 2026 2 min read
by
- Daniel Curtis
#### Follow us on
Youtube
232K Followers
26K Followers
New
RSS
19K Readers
X
57.1k Followers
21K Likes
Bluesky
Listen to this article -
0:00
Audio ready to play
Your browser does not support the audio element.
Normal
1.25x
1.5x
Like
new dropdown rading list
- Reading list
Node.js , the popular open-source JavaScript runtime, has released Node.js 26 , shipping with a mix of platform modernization, new language features, and a round of deprecations and removals.
Node.js 26 introduces several changes, including the Temporal API enabled by default, an update to the V8 JavaScript engine to 14.6, and a bump of the Undici HTTP client to 8.0. It also retires a number of long-flagged legacy APIs as the project continues to modernize the platform.
One of the headline features in Node.js 26 is the Temporal API , now enabled without an experimental flag. Temporal is a modern date and time API that provides a more robust alternative to the legacy Date object, with first-class handling of time zones, calendars, durations, and instants.
Reaction to Temporal has been largely positive. On Hacker News , one commenter said they were "really looking forward to the temporal api being universally available," adding that "sensible date/time handling is something that really ought to be baked into the platform ootb." On Reddit , a developer noted it is "definitely much better than JS Dates," though they had "already started having to make my own helper libraries for it."
The V8 engine has been updated to version 14.6.202.33, part of Chromium 146. This brings new upsert helpers such as Map.prototype.getOrInsert() and getOrInsertComputed() , along with Iterator.concat() for iterator sequencing, plus across-the-board JIT and garbage collection improvements. Undici was bumped to 8.0.2, improving the built-in fetch() implementation with no API changes required.
The release also removes a long list of legacy APIs. http.Server.prototype.writeHeader() has been fully removed in favor of writeHead() , the legacy _stream_* modules are gone, module.register() is now runtime-deprecated, and the --experimental-transform-types flag has been removed.
Community reaction framed this as an incremental release, with a widely shared Reddit thread describing it as "a big bunch of small fixes and minor deprecations."
Developers upgrading should be aware of a few migration points. NODE_MODULE_VERSION is now 147, so any prebuilt native add-ons will need rebuilding before upgrading.
Node.js 26 remains the Current release for six months before entering long-term support in October 2026, sitting alongside the Node.js 24 Active LTS line. It arrives as competing runtimes Bun and Deno already offer Temporal, and as maintainer Rafael Gonzaga announced the release on X , describing it as "modernizing the platform." It is also the last release under the old odd/even schedule before Node.js moves to a yearly release cadence .
Node.js is an open-source, cross-platform JavaScript runtime maintained under the OpenJS Foundation, and can be upgraded following the instructions at nodejs.org .
main wrapper for authors section
About the Author
section title
main wrapper for each author
#### Daniel Curtis
Show more
Show less
#### This content is in the Web Development topic
##### Related Topics:
- Development
- Date&Time
- Node.js
- Web Development
- JavaScript
- Related Editorial
- Related Sponsors
- Related Sponsor August 6, 2026, 1 PM EDT Building AI Agent Evals for High-Stakes Incident Response Presented by: Brianne Bujnowski - Senior Product Marketing Manager, AI at Datadog, and Benjamin Barton - Senior Software Engineer at Datadog
The InfoQ Newsletter
A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example
We protect your privacy.