github cloudflare/workers-sdk @cloudflare/workers-utils@0.51.0

Minor Changes

  • #16623 51bbf8b Thanks @petebacondarwin! - Share compatibility and source-map helpers without loading the Workers runtime

    Move getNodeCompat, NodeJSCompatMode, and getFreshSourceMapSupport into workers-utils, with /node-compat and /sourcemap entry points. Import the shared helpers directly in deploy-helpers so deployment utilities no longer resolve the platform workerd binary. Startup profiling continues to load the runtime on demand.

  • #16424 1598fd3 Thanks @edmundhung! - Add DEFAULT_MODULE_RULES

    These are the module rules Wrangler applies after a Worker's own rules, moved from Wrangler so other tools can share them.

  • #16424 1598fd3 Thanks @edmundhung! - Add splitSqlQuery() and normalizeSqlLineEndings()

    They're moved from Wrangler, and split a D1 SQL file into its statements, as Wrangler does when executing it.

Patch Changes

  • #16642 d38cb02 Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-11-02

    Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.