Wrangler
Minor Changes
#8258
9adbd50
Thanks @knickish! - Enable the creation of MySQL Hypedrive configs via the Wrangler CLI.#8353
c4fa349
Thanks @jbwcloudflare! - Add new command to purge a QueueThis new command can be used to delete all existing messages in a Queue
#8461
86ab0ca
Thanks @GregBrimble! - Add a 'allowTrailingCommas: true' option to improve IDE experience of 'wrangler.jsonc?'#8550
5ae12a9
Thanks @vicb! - Bump@cloudflare/unenv-preset
to 2.2.0Use the workerd native implementation for
node:tls
Patch Changes
#8501
383dc0a
Thanks @GregBrimble! - Add support forassets_navigation_prefers_asset_serving
compatibility flag inwrangler dev
#8562
8278db5
Thanks @IRCody! - Add initial containers subcommand to wrangler.#8376
a25f060
Thanks @CarmenPopoviciu! - feat: Make local dev RPC behaviour on par with production for Workers with assets#8534
62d5471
Thanks @petebacondarwin! - improve the error messaging when the user provides neither an entry point nor an asset directory#8528
2a43cdc
Thanks @cmackenzie1! - Support wrangler types for Pipelines#8579
29015e5
Thanks @cmackenzie1! - Allowwrangler pipelines update <pipelineName> --transform-worker none
to remove transformations from a Pipeline.Updated dependencies [
9adbd50
,dae7bd4
,a25f060
,a7bd79b
]:- miniflare@4.20250319.0
- @cloudflare/unenv-preset@2.3.0
Minor Changes
- #8477
fd9dff8
Thanks @gabivlj! - wrangler deploy includes container configuration when uploading the script
Patch Changes
#8220
14680b9
Thanks @IRCody! - Fix a bug in cloudchamber build where it would still attempt to push an image if the build failed.#8186
05973bb
Thanks @IRCody! - Add cloudchamber images {list,delete} commands to list and delete images stored in cloudchamber managed registry.Updated dependencies [
ff26dc2
,4ad78ea
]:- miniflare@4.20250317.1
- @cloudflare/unenv-preset@2.2.0
Minor Changes
#8337
1b2aa91
Thanks @Ltadrian! - Add mTLS configuration fields to Hyperdrive commandhyperdrive create test123 ... --ca-certificate-uuid=CA_CERT_UUID --mtls-certificate-uuid=MTLS_CERT_UUID
Patch Changes
#8401
b8fd1b1
Thanks @petebacondarwin! - Supportno_bundle
config in Pages for bothdev
anddeploy
.This was already supported via a command line arg (
--no-bundle
).#8472
4978e5b
Thanks @edmundhung! - fix: throw explicit error for unknown mimetype duringwrangler check startup
#8478
931b53d
Thanks @penalosa! - Addwrangler types
support for importable env andprocess.env
#8503
edf169d
Thanks @GregBrimble! - Fix Workers Assets metafiles (_headers
and_redirects
) resolution when running Wrangler from a different directory
Patch Changes
#8453
f90a669
Thanks @workers-devprod! - trigger dummy v3 maintenance release for testing#8500
80bbee3
Thanks @workers-devprod! - Supportno_bundle
config in Pages for bothdev
anddeploy
.This was already supported via a command line arg (
--no-bundle
).#8521
5cd32b1
Thanks @emily-shen! - fix: throw explicit error for unknown mimetype duringwrangler check startup
#8504
0192aae
Thanks @workers-devprod! - Fix Workers Assets metafiles (_headers
and_redirects
) resolution when running Wrangler from a different directoryUpdated dependencies [
f90a669
]:
We've released the next major version of Wrangler — wrangler@4.0.0. Wrangler v4 is a major release focused on updates to underlying systems and dependencies, along with improvements to keep Wrangler commands consistent and clear.
You can run the following command to install it in your projects:
Unlike previous major versions of Wrangler, which were foundational rewrites and rearchitectures — Version 4 of Wrangler includes a much smaller set of changes. If you use Wrangler today, your workflow is very unlikely to change.
A detailed migration guide is available and if you find a bug or hit a roadblock when upgrading to Wrangler v4, open an issue on the cloudflare/workers-sdk repository on GitHub.
Going forward, we'll continue supporting Wrangler v3 with bug fixes and security updates until Q1 2026, and with critical security updates until Q1 2027, at which point it will be out of support.
The full changelog is available at https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/CHANGELOG.md#400
Patch Changes
#8393
c4653081c
Thanks @penalosa! - Deprecate Wrangler v2. Since the release of Wrangler v3 in 2023, we’ve seen great adoption, and today over 95% of active Wrangler usage is with v3.As such, Wrangler v2 is now deprecated, and no new features or bug fixes are being published for v2. We strongly recommend you upgrade to the latest version of Wrangler to receive continued support. We have a migration guide to make this process easy! If you encounter any difficulties, please let us know by filing an issue.
Patch Changes
#8383
8d6d722
Thanks @matthewdavidrodgers! - Make kv bulk put --local respect base64:trueThe bulk put api has an optional "base64" boolean property for each key. Before storing the key, the value should be decoded from base64.
For real (remote) kv, this is handled by the rest api. For local kv, it seems the base64 field was ignored, meaning encoded base64 content was stored locally rather than the raw values.
To fix, we need to decode each value before putting to the local miniflare namespace when base64 is true.
#8273
e3efd68
Thanks @penalosa! - Support AI, Vectorize, and Images bindings when using@cloudflare/vite-plugin
#8427
a352798
Thanks @vicb! - update unenv-preset dependency to fix bug with Performance globalFixes #8407 Fixes #8409 Fixes #8411
#8390
53e6323
Thanks @GregBrimble! - Parse and apply metafiles (_headers
and_redirects
) inwrangler dev
for Workers Assets#8392
4d9d9e6
Thanks @jahands! - fix: retry zone and route lookup API callsIn rare cases, looking up Zone or Route API calls may fail due to transient errors. This change improves the reliability of
wrangler deploy
when these errors occur.Also fixes a rare issue where concurrent API requests may fail without correctly throwing an error which may cause a deployment to incorrectly appear successful.
Minor Changes
- #8367
7b6b0c2
Thanks @jonesphillip! - Deprecated--id
parameter in favor of--name
for both thewrangler r2 bucket lifecycle
andwrangler r2 bucket lock
commands
Minor Changes
Patch Changes
#8338
2d40989
Thanks @GregBrimble! - feat: Upload _headers and _redirects if present with Workers Assets as part ofwrangler deploy
andwrangler versions upload
.#8288
cf14e17
Thanks @CarmenPopoviciu! - feat: Add assets Proxy Worker skeleton in miniflareThis commit implements a very basic Proxy Worker skeleton, and wires it in the "pipeline" miniflare creates for assets. This Worker will be incrementally worked on, but for now, the current implementation will forward all incoming requests to the Router Worker, thus leaving the current assets behaviour in local dev, the same.
This is an experimental feature available under the
--x-assets-rpc
flag:wrangler dev --x-assets-rpc
.#8216
af9a57a
Thanks @ns476! - Support Images binding inwrangler types
#8304
fbba583
Thanks @jahands! - chore: add concurrency and caching for Zone IDs and Workers routes lookupsWorkers with many routes can result in duplicate Zone lookups during deployments, making deployments unnecessarily slow. This compounded by the lack of concurrency when making these API requests.
This change deduplicates these requests and adds concurrency to help speed up deployments.
Minor Changes
#8256
f59d95b
Thanks @jbwcloudflare! - Add two new Queues commands: pause-delivery and resume-deliveryThese new commands allow users to pause and resume the delivery of messages to Queue Consumers
Patch Changes
#8274
fce642d
Thanks @emily-shen! - fix bindings to entrypoints on the same worker in workers with assets#8201
2cad136
Thanks @ichernetsky-cf! - fix: interactively list Cloudchamber deployments using labels#8289
a4909cb
Thanks @penalosa! - Add the experimental--x-assets-rpc
flag to gate feature work to support JSRPC with Workers + Assets projects.
Minor Changes
Patch Changes
Minor Changes
- #8253
6dd1e23
Thanks @CarmenPopoviciu! - Add--cwd
global argument to thewrangler
CLI to allow changing the current working directory before running any command.
Patch Changes
Patch Changes
- #8175
eb46f98
Thanks @edmundhung! - fix:unstable_splitSqlQuery
should ignore comments when splitting sql into statements
Patch Changes
#7687
cc853cf
Thanks @emily-shen! - fix: bug where Pages deployments that create new projects were failing with a new repo#8131
efd7f97
Thanks @lambrospetrou! - D1 export will now show an error when the presigned URL is invalidUpdated dependencies [
5e06177
]:
Patch Changes
- #8021
28b1dc7
Thanks @0xD34DC0DE! - fix: prevent __cf_cjs name collision in the hybrid Nodejs compat plugin
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
]:
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark