Wrangler
Minor Changes
- #8477
fd9dff8Thanks @gabivlj! - wrangler deploy includes container configuration when uploading the script
Patch Changes
#8220
14680b9Thanks @IRCody! - Fix a bug in cloudchamber build where it would still attempt to push an image if the build failed.#8186
05973bbThanks @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
1b2aa91Thanks @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
b8fd1b1Thanks @petebacondarwin! - Supportno_bundleconfig in Pages for bothdevanddeploy.This was already supported via a command line arg (
--no-bundle).#8472
4978e5bThanks @edmundhung! - fix: throw explicit error for unknown mimetype duringwrangler check startup#8478
931b53dThanks @penalosa! - Addwrangler typessupport for importable env andprocess.env#8503
edf169dThanks @GregBrimble! - Fix Workers Assets metafiles (_headersand_redirects) resolution when running Wrangler from a different directory
Patch Changes
#8453
f90a669Thanks @workers-devprod! - trigger dummy v3 maintenance release for testing#8500
80bbee3Thanks @workers-devprod! - Supportno_bundleconfig in Pages for bothdevanddeploy.This was already supported via a command line arg (
--no-bundle).#8521
5cd32b1Thanks @emily-shen! - fix: throw explicit error for unknown mimetype duringwrangler check startup#8504
0192aaeThanks @workers-devprod! - Fix Workers Assets metafiles (_headersand_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
c4653081cThanks @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
8d6d722Thanks @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
e3efd68Thanks @penalosa! - Support AI, Vectorize, and Images bindings when using@cloudflare/vite-plugin#8427
a352798Thanks @vicb! - update unenv-preset dependency to fix bug with Performance globalFixes #8407 Fixes #8409 Fixes #8411
#8390
53e6323Thanks @GregBrimble! - Parse and apply metafiles (_headersand_redirects) inwrangler devfor Workers Assets#8392
4d9d9e6Thanks @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 deploywhen 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.