Minor Changes
-
#8120
3fb801f
Thanks @sdnts! - Add a newupdate
subcommand for Queues to allow updating Queue settings -
#8120
3fb801f
Thanks @sdnts! - Allow overriding message retention duration when creating Queues -
#8026
542c6ea
Thanks @penalosa! - Add--outfile
towrangler deploy
for generating a worker bundle.This is an advanced feature that most users won't need to use. When set, Wrangler will output your built Worker bundle in a Cloudflare specific format that captures all information needed to deploy a Worker using the Worker Upload API
-
#8026
542c6ea
Thanks @penalosa! - Add awrangler check startup
command to generate a CPU profile of your Worker's startup phase.This can be imported into Chrome DevTools or opened directly in VSCode to view a flamegraph of your Worker's startup phase. Additionally, when a Worker deployment fails with a startup time error Wrangler will automatically generate a CPU profile for easy investigation.
Advanced usage:
--args
: to customise the waywrangler check startup
builds your Worker for analysis, provide the exact arguments you use when deploying your Worker withwrangler deploy
. For instance, if you deploy your Worker withwrangler deploy --no-bundle
, you should usewrangler check startup --args="--no-bundle"
to profile the startup phase.--worker-bundle
: if you don't use Wrangler to deploy your Worker, you can use this argument to provide a Worker bundle to analyse. This should be a file path to a serialised multipart upload, with the exact same format as the API expects: https://developers.cloudflare.com/api/resources/workers/subresources/scripts/methods/update/
Patch Changes
-
#8112
fff677e
Thanks @penalosa! - When reporting errors to Sentry, Wrangler will now include the console output as additional metadata -
#8120
3fb801f
Thanks @sdnts! - Check bounds when overriding delivery delay when creating Queues -
#7950
4db1fb5
Thanks @cmackenzie1! - Add local binding support for Worker Pipelines -
#8119
1bc60d7
Thanks @penalosa! - Output correct config format fromwrangler d1 create
. Previously, this command would always output TOML, regardless of the config file format -
#8130
1aa2a91
Thanks @emily-shen! - Include default values for wrangler types --path and --x-include-runtime in telemetryUser provided strings are still left redacted as always.
-
#8061
35710e5
Thanks @emily-shen! - fix: respectWRANGLER_LOG
inwrangler dev
Previously,
--log-level=debug
was the only way to see debug logs inwrangler dev
, which was unlike all other commands. -
Updated dependencies [
4db1fb5
]:- miniflare@3.20250204.1