github cloudflare/workers-sdk wrangler@4.20.0

Minor Changes

  • #9509 0b2ba45 Thanks @emily-shen! - feat: add static routing options via 'run_worker_first' to Wrangler

    Implements the proposal noted here #9143.

    This is now usable in wrangler dev and in production - just specify the routes that should hit the worker first with run_worker_first in your Wrangler config. You can also omit certain paths with ! negative rules.

Patch Changes

  • #9507 1914b87 Thanks @dario-piotrowicz! - slightly improve wrangler dev bindings loggings

    improve the bindings loggings by:

    • removing the unnecessary (and potentially incorrect) [connected] suffix for remote bindings
    • making sure that the modes presented in the bindings logs are correctly aligned
  • #9475 931f467 Thanks @edmundhung! - add hello world binding that serves as as an explanatory example.

  • #9443 95eb47d Thanks @dario-piotrowicz! - add workerName option to startMixedModeSession API

  • #9541 80b8bd9 Thanks @dario-piotrowicz! - make workers created with startWorker await the ready promise on dispose

  • #9443 95eb47d Thanks @dario-piotrowicz! - add mixed-mode support for mtls bindings

  • #9515 9e4cd16 Thanks @dario-piotrowicz! - make sure that remote binding errors are surfaced when using mixed (hybrid) mode

  • #9516 92305af Thanks @IRCody! - Reorder deploy output when deploying a container worker so the worker url is printed last and the worker triggers aren't deployed until the container has been built and deployed successfully.

  • Updated dependencies [931f467, 95eb47d, 0b2ba45]:

    • miniflare@4.20250604.1
    • @cloudflare/unenv-preset@2.3.3

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.