@cloudflare/unenv-preset@2.16.0
📦 cloudflare-workersView on GitHub →
✨ 1 features
Summary
Several experimental Node.js module compatibility flags are now graduated and enabled by default for workers targeting compatibility date 2026-03-17 or later.
Migration Steps
- If you were explicitly enabling any of the following flags: `perf_hooks`, `v8`, `tty`, `child_process`, `worker_threads`, `readline`, or `repl`, you may remove the explicit flag setting if your worker targets compatibility date 2026-03-17 or later, as they are now enabled by default under `nodejs_compat`.
✨ New Features
- Node.js module compatibility flags (`perf_hooks`, `v8`, `tty`, `child_process`, `worker_threads`, `readline`, and `repl`) are now automatically enabled for workers using `nodejs_compat` with a compatibility date of 2026-03-17 or later, graduating from experimental status.