Skip to content

Enable the new module registry by default from 2026-11-01 - #7799

Draft
irvinebroque wants to merge 1 commit into
mainfrom
codex/module-registry-default-nov-2026
Draft

irvinebroque wants to merge 1 commit into
mainfrom
codex/module-registry-default-nov-2026

Conversation

@irvinebroque

@irvinebroque irvinebroque commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

JavaScript Workers currently require new_module_registry to use URL-based module resolution, import.meta, validated import attributes, and the new require(esm) semantics. Make the registry the default for compatibility dates on or after 2026-11-01. Earlier dates retain their current behavior, legacy_module_registry remains an opt-out, and Python Workers retain the legacy registry.

Remove the standalone server requirement for --experimental so Workers using the default registry can start normally. Preserve the requested Sunday date with a flag-specific exception to the existing weekday guard. The compatibility decision is recorded in the commit message.

The companion docs PR includes an October 17 advance announcement, an example, migration guidance, and a link to the September 2026 blog announcement. Publish the docs before November 1.

Validation: targeted just format and git diff --check pass.

The compatibility-docs CI check requires an approving review on the companion docs PR (or its merge to production). That review is pending.

@irvinebroque
irvinebroque force-pushed the codex/module-registry-default-nov-2026 branch from 44e588e to 468f632 Compare October 17, 2026 15:25
@irvinebroque
irvinebroque force-pushed the codex/module-registry-default-nov-2026 branch 2 times, most recently from 4442cca to f51bc6c Compare October 17, 2026 15:41
Compatibility decision: use the new JavaScript module registry for compatibility dates on or after 2026-11-01, including import.meta, URL-based resolution, import attribute validation, and Node.js require(esm) semantics. Earlier dates retain the opt-in behavior and legacy_module_registry remains an opt-out. Python Workers retain the legacy registry.

Allow the scheduled Sunday date in the existing weekday guard. Remove the standalone server experimental-mode restriction so date-enabled Workers can start without --experimental.
@irvinebroque
irvinebroque force-pushed the codex/module-registry-default-nov-2026 branch from f51bc6c to 9113db3 Compare October 17, 2026 15:58
@irvinebroque
irvinebroque requested a review from jasnell October 17, 2026 17:07
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.

1 participant