github cloudflare/workers-sdk wrangler@4.41.0

21 hours ago

Minor Changes

  • #10507 21a0bef Thanks @dario-piotrowicz! - Add strict mode for the wrangler deploy command

    Add a new flag: --strict that makes the wrangler deploy command be more strict and not deploy workers when the deployment could be potentially problematic. This "strict mode" currently only affects non-interactive sessions where conflicts with the remote settings for the worker (for example when the worker has been re-deployed via the dashboard) will cause the deployment to fail instead of automatically overriding the remote settings.

  • #10710 7f2386e Thanks @penalosa! - Add prompt to resource creation flow allowing for newly created resources to be remote.

Patch Changes

  • #10822 4c06766 Thanks @edmundhung! - fix: skip banner when using --json flag in wrangler pages deployment commands

  • #10838 d3aee31 Thanks @edmundhung! - fix: skip banner when using --json flag in wrangler queues subscription commands

  • #10829 59e8ef0 Thanks @edmundhung! - fix: skip banner when using --json flag in wrangler pipelines commands

  • #10764 79a6b7d Thanks @emily-shen! - containers: default max_instances to 20 instead of 1.

  • #10844 7a4d0da Thanks @mikenomitch! - Adds new Container instance types, and rename dev to lite and standard to standard-1. The new instance_types are now:

    Instance Type vCPU Memory Disk
    lite (previously dev) 1/16 256 MiB 2 GB
    basic 1/4 1 GiB 4 GB
    standard-1 (previously standard) 1/2 4 GiB 8 GB
    standard-2 1 6 GiB 12 GB
    standard-3 2 8 GiB 16 GB
    standard-4 4 12 GiB 20 GB
  • #10634 62656bd Thanks @emily-shen! - fix: error if the container image uri has an account id that doesn't match the current account

  • #10761 886e577 Thanks @petebacondarwin! - switch zone route warning to an info message

  • #10734 8d7f32e Thanks @penalosa! - Improve formatting of logged errors in some cases

  • #10832 f9d37db Thanks @petebacondarwin! - retry subdomain requests to be more resilient to flakes

  • #10770 835d6f7 Thanks @danielrs! - Enabling or disabling workers_dev is often an indication that
    the user is also trying to enable or disable preview_urls. Warn the
    user when these enter mixed state.

  • #10764 79a6b7d Thanks @emily-shen! - fix: respect the log level set by wrangler when logging using @cloudflare/cli

  • Updated dependencies [c8d5282, bffd2a9]:

    • miniflare@4.20251001.0

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.