github cloudflare/workers-sdk wrangler@4.28.0

Minor Changes

Patch Changes

  • #10004 b4d1373 Thanks @dario-piotrowicz! - fix wrangler dev logs being logged on the incorrect level in some cases

    currently the way wrangler dev prints logs is faulty, for example the following code

    console.error("this is an error");
    console.warn("this is a warning");
    console.debug("this is a debug");

    inside a worker would cause the following logs:

    ✘ [ERROR] this is an error
    
    ✘ [ERROR] this is a warning
    
    this is a debug
    

    (note that the warning is printed as an error and the debug log is printed even if by default it should not)

    the changes here make sure that the logs are instead logged to their correct level, so for the code about the following will be logged instead:

    ✘ [ERROR] this is an error
    
    ▲ [WARNING] this is a warning
    

    (running wrangler dev with the --log-level=debug flag will also cause the debug log to be included as well)

  • #10099 360004d Thanks @emily-shen! - fix: move local dev container cleanup to process exit hook. This should ensure containers are cleaned up even when Wrangler is shut down programatically.

  • #10186 dae1377 Thanks @matthewdavidrodgers! - Deleting when Pages project binds to worker requires confirmation

  • #10169 1655bec Thanks @devin-ai-integration! - fix: report startup errors before workerd profiling

  • #10136 354a001 Thanks @nikitassharma! - Update wrangler containers images list to make fewer API calls to improve command runtime

  • #10157 5c3b83f Thanks @devin-ai-integration! - Enforce 64-character limit for Workflow binding names locally to match production validation

  • #10154 502a8e0 Thanks @devin-ai-integration! - Fix UTF BOM handling in config files - remove UTF-8 BOM and error on other BOMs

  • #10176 07c8611 Thanks @devin-ai-integration! - Add macOS version validation to prevent EPIPE errors on unsupported macOS versions (below 13.5). Miniflare and C3 fail hard while Wrangler shows warnings but continues execution.

  • Updated dependencies [6b9cd5b, 631f26d, d6ecd05, b4d1373, 8ba7736, 07c8611, 7e204a9, 3f83ac1]:

    • @cloudflare/unenv-preset@2.6.0
    • miniflare@4.20250803.0

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.