← Founder Notes
Archive

Cloudflare workers just made node.js compatibility the default. the rebuilt module registry, out…

Yethikrishna ROriginal on Threads

cloudflare workers just made node.js compatibility the default. the rebuilt module registry, out september 9, supports apps up to 64 mebibytes with url-based imports and import.meta.

serverless code finally imports like regular code.

Context

Two separate Cloudflare items are involved. A Cloudflare changelog entry of August 4, 2026 says Workers enable the nodejs_compat and nodejs_compat_v2 flags by default for compatibility dates of 2026-08-04 or later, and earlier compatibility dates are unaffected and can opt in. A Cloudflare blog post of September 9, 2026, by Logan Gatlin and James Snell, describes the rebuilt workerd module registry, enabled by the new_module_registry compatibility flag. With it, import.meta.url, import.meta.main and import.meta.resolve() work, specifiers are parsed as real URLs including query strings and fragments, and Workers can be up to 64 MiB on all plans with the compressed-bundle limit removed.

How it compares

The note joins the August 4 default, which applies by compatibility date and not to all Workers, with the September 9 module registry, which is flag-gated, so default dated September 9 is not what the module registry flag does. The post says every stable Node.js API useful in a serverless context is supported and enabled by default, which is the vendor's claim, and no list of unsupported APIs was read. Serverless code finally imports like regular code is the author's take.

Watch next

  • When new_module_registry becomes default by compatibility date, and the unsupported Node API list.

Sources

  1. Cloudflare Blog: Workers module registry (September 9, 2026)blog.cloudflare.com
  2. Cloudflare changelog: nodejs_compat default (August 4, 2026)developers.cloudflare.com

Provenance

The note above is reproduced unedited from the original post, first published on Threads on 22 September 2026 at 18:03 IST. Sources are the papers and datasets the note draws on.

View the original post
Embed this note
<iframe src="https://founder.myndlabs.tech/notes/embed/cloudflare-workers-just-made-node-js-compatibility-the-Ddlvm1mAkk5" width="480" height="420" style="border:0;max-width:100%" loading="lazy" title="Cloudflare workers just made node.js compatibility the default. the rebuilt module registry, out…"></iframe>

More notes