Workers - Node.js compatibility is now enabled by default
From the publisher
Workers now enable the nodejs_compat and nodejs_compat_v2 compatibility flags by default for compatibility dates of 2026-08-04 or later. These flags are not used for these compatibility dates because the compatibility date enables the same behavior. This means all Node.js built-in APIs supported by the Workers runtime are available by default, including node:crypto, node:buffer, node:stream, node:net, node:dns, node:fs, node:http, and more. npm packages that depend on these APIs will work without additional configuration. Workers using an earlier compatibility date are not affected. They can still opt in by adding nodejs_compat to compatibility_flags. New projects do not need to add either flag. Existing projects can update their compatibility date without removing them.
Source Cloudflare DevelopersCC BY 4.0 · Publisher excerpt shortened and converted to plain text. Original source license applies.
Read full article

