Major Changes
-
#7334
869ec7b
Thanks @penalosa! - The--node-compat
flag andnode_compat
config properties are no longer supported as of Wrangler v4. Instead, use thenodejs_compat
compatibility flag. This includes the functionality from legacynode_compat
polyfills and natively implemented Node.js APIs. See https://developers.cloudflare.com/workers/runtime-apis/nodejs for more information.If you need to replicate the behaviour of the legacy
node_compat
feature, refer to https://developers.cloudflare.com/workers/wrangler/migration/update-v3-to-v4/ for a detailed guide. -
#7334
869ec7b
Thanks @penalosa! - Packages in Workers SDK now support the versions of Node that Node itself supports (Current, Active, Maintenance). Currently, that includes Node v18, v20, and v22.