The Wire · Showcase
NODE DROPS --USE-LARGEPAGES AND HARMONY IMPORT ATTRIBUTES
By RepoJournal · Filed · About Node.js
Node.js is cleaning house: two long-standing flags are gone, and the fetch path just got faster.
Node.js removed the `--harmony-import-attributes` flag [1] and turned `--use-largepages` into a no-op [2], signaling a move toward modern V8 and cleaner internals. The import attributes flag was obsolete once V8 M123 shipped them by default, and the largepages feature "has always only been best-effort on systems that support it," breaking WSL1 compatibility and newer V8 remapping [2]. Meanwhile, undici landed a fetch optimization that skips unnecessary work for empty `RequestInit` objects [3], which should speed up the common `fetch(url)` call. It also fixed a bug where proxy and pool wrappers weren't propagating dispatcher options to the base class [4], which means WebSocket limits now apply correctly across all pool types. The docs also got a fix for a broken TLS security level example [5] that would fail with ERR_SSL_NO_PROTOCOLS_AVAILABLE. Finally, the sqlite module shed some dead code with the removal of an unused column name helper [6], and tests were consolidated onto shared spawnSync helpers [7]. The period saw 25 commits and 21 PRs across 4 repos, a steady day of cleanup and hardening.
One email a day. Unsubscribe in one click.
Keep up with Node.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Check if your code relies on --use-largepages; it's now a no-op with a warning nodejs/node [immediate]
- → Review any code using import attributes; the flag is removed, but the feature remains default-on nodejs/node [plan]
- → Test your fetch-heavy paths after the undici RequestInit optimization nodejs/undici [monitor]
References
- [1] src: remove --harmony-import-attributes nodejs/node
- [2] build,src: make --use-largepages a no-op ↗ nodejs/node
- [3] perf(fetch): skip empty RequestInit work ↗ nodejs/undici
- [4] fix: propagate dispatcher options to base class ↗ nodejs/undici
- [5] doc: fix broken TLS security level example nodejs/node
- [6] sqlite: remove unused column name helper nodejs/node
- [7] test: use common/child_process spawnSync helpers ↗ nodejs/node