Skip to content

Comments

Set a default date for perf_hooks, v8, tty, child_process, worker_threads, readline, repl, and performance classes modules#6135

Draft
petebacondarwin wants to merge 1 commit intomainfrom
pbacondarwin/graduate-nodejs-experimental-flags
Draft

Set a default date for perf_hooks, v8, tty, child_process, worker_threads, readline, repl, and performance classes modules#6135
petebacondarwin wants to merge 1 commit intomainfrom
pbacondarwin/graduate-nodejs-experimental-flags

Conversation

@petebacondarwin
Copy link
Contributor

Summary

  • Graduate the remaining experimental nodejs_compat-specific module flags by replacing $experimental with $impliedByAfterDate(name = "nodeJsCompat", date = "2026-03-10")
  • Graduate enable_global_performance_classes as implied by enableNodeJsPerfHooksModule since it is required for the perf_hooks module to work correctly
  • Remove unnecessary "experimental" compat flag from affected test configs

Similar to #5880 and #5567.

Flags graduated

Flag Module
enable_nodejs_perf_hooks_module perf_hooks
enable_global_performance_classes (Performance API globals, implied by perf_hooks)
enable_nodejs_v8_module v8
enable_nodejs_tty_module tty
enable_nodejs_child_process_module child_process
enable_nodejs_worker_threads_module worker_threads
enable_nodejs_readline_module readline
enable_nodejs_repl_module repl

/cc @petebacondarwin @anonrig @jasnell

Set a default enable date (2026-03-10) for the remaining experimental
Node.js compatibility flags: perf_hooks, v8, tty, child_process,
worker_threads, readline, and repl modules. Also graduate
enable_global_performance_classes as implied by enableNodeJsPerfHooksModule.

Similar to #5880 and #5567, these flags are replaced from $experimental
to $impliedByAfterDate so they become automatically enabled for workers
with nodejs_compat and a compatibility date >= 2026-03-10.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants