Update dependency wrangler to v4.26.0#10824
Merged
renovate[bot] merged 1 commit intomainfrom Jul 27, 2025
Merged
Conversation
91b787b to
deb74d7
Compare
deb74d7 to
71c763b
Compare
Contributor
Code Coverage Report: Only Changed Files listed
Minimum allowed coverage is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.14.4->4.26.0Release Notes
cloudflare/workers-sdk (wrangler)
v4.26.0Compare Source
Minor Changes
#10016
c5b291dThanks @emily-shen! - Interactively handlewrangler deploys that are probably assets-only, where there is no config file and flags are incorrect or missing.For example:
npx wrangler deploy ./publicwill now ask if you meant to deploy a folder of assets only, ask for a name, set the compat date and then ask whether to write your choices out towrangler.jsonfor subsequent deployments.npx wrangler deploy --assets=./publicwill now ask for a name, set the compat date and then ask whether to write your choices out towrangler.jsonfor subsequent deployments.In non-interactive contexts, Wrangler will error as it currently does.
#9971
19794bfThanks @edmundhung! - Improved script source display on the pretty error screenPatch Changes
#9800
3d4f946Thanks @helloimalastair! - remove banner from r2 getobject in pipe mode#9910
7245101Thanks @dario-piotrowicz! - make sure that the ready-on message is printed after the appropriate runtime controller is readyfix the fact that when starting a local (or remote) dev session the log saying
Ready on http://localhost:xxxxcould be displayed before the runtime is actually ready to handle requests (this is quite noticeable when locally running dev sessions with containers, where the ready message currently gets displayed before the container images building/pulling process)#10031
823cba8Thanks @vicb! - wrangler and vite-plugin now depend upon the latest version of unenv-preset#10032
154acf7Thanks @dario-piotrowicz! - add support for containers in wrangler multiworker devcurrently when running
wrangler devwith different workers (meaning that the-c|--configflag is used multiple times) containers are not being included, meaning that trying to interact with them at runtime would not work and cause errors instead. The changes here address the above making wrangler correctly detect and wire up the containers.#9988
7fb0bfdThanks @penalosa! - Correctly labelmtlsremote bindings warningUpdated dependencies [
823cba8,19794bf,059a39e]:v4.25.1Compare Source
Patch Changes
#10000
c02b067Thanks @emily-shen! - Include more (sanitised) user errors in telemetry.We manually vet and sanitised error messages before including them in our telemetry collection - this PR just includes a couple more.
#9996
b0217f9Thanks @nikitassharma! - Disallow users from pushing images with unsupported platforms to the container image registry#10009
e87198aThanks @gpanders! - Fix containers diff output when using JSONC config files#9976
ad02ad3Thanks @dario-piotrowicz! - add warning for when users runwrangler dev --remotewith (enabled) containers#9819
0c4008cThanks @CarmenPopoviciu! - feat(vite-plugin): Add containers support invite devAdds support for Cloudflare Containers in
vite dev. Please note that at the time of this PR a container image can only specify the path to aDockerfile. Support for registry links will be added in a later version, as will containers support invite preview.Updated dependencies [
189fe23,7e5585d]:v4.25.0Compare Source
Minor Changes
9f0c175Thanks @thomasgauvin! - Added rename namespace command to Workers KVPatch Changes
6cc24c0Thanks @emily-shen! - Add more thorough validation to containers configurationv4.24.4Compare Source
Patch Changes
#9905
4ba9f25Thanks @dom96! - Support for Python packages in python_modules dir#9886
17b1e5aThanks @dom96! - Python packages are now read from cf-requirements.txt instead of requirements.txt by default#9899
d6a1b9bThanks @simonabadoiu! - Print local mode when running a browser binding in local mode#9951
e2672c5Thanks @penalosa! - Recommend remote bindings whenwrangler dev --remoteis used#9875
a5d7b35Thanks @gpanders! - Show expected format in error message for "containers images delete"#9954
bf4c9abThanks @penalosa! - Support Images binding ingetPlatformProxy()#9847
14ce577Thanks @penalosa! - Upgrade Undici#9974
f73da0dThanks @penalosa! - Pass worker name & compliance region through correctly when starting a remote bindings sessionUpdated dependencies [
ac08e68,3bb69fa,274a826,77d1cb2,5b0fc9e,bf4c9ab,14ce577]:v4.24.3Compare Source
Patch Changes
#9923
c01c4eeThanks @gpanders! - Fix image name resolution when modifying a container application#9833
3743896Thanks @dario-piotrowicz! - fix: ensure that container builds don't disrupt dev hotkey handlingcurrently container builds run during local development (via
wrangler devorstartWorker) prevent the standard hotkeys not to be recognized (most noticeablyctrl+c, preventing developers from existing the process), the changes here ensure that hotkeys are instead correctly handled as expectedUpdated dependencies []:
v4.24.2Compare Source
Patch Changes
80cc834Thanks @edmundhung! - fix: assets only versions upload should include tag and messagev4.24.1Compare Source
Patch Changes
#9765
05adc61Thanks @hasip-timurtas! - Build container images without the user's account ID. This allows containers to be built and verified in dry run mode (where we do not necessarily have the user's account info).When we push the image to the managed registry, we first re-tag the image to include the user's account ID so that the image has the full resolved image name.
Updated dependencies [
bb09e50,25dbe54,3bdec6b]:v4.24.0Compare Source
Minor Changes
#9796
ba69586Thanks @simonabadoiu! - Browser Rendering local mode#9825
49c85c5Thanks @ReppCodes! - Add support for origin_connection_limit to WranglerConfigure connection limits to Hyperdrive via command line options:
--origin-connection-limit: The (soft) maximum number of connections that Hyperdrive may establish to the origin database.#9064
a1181bfThanks @sdnts! - Added anevent-subscriptionssubcommandPatch Changes
#9729
1b3a2b7Thanks @404Wolf! - Set docker build context to the Dockerfile directory whenimage_build_contextis not explicitly provided#9845
dbfa4efThanks @jonboulle! - remove extraneous double spaces from Wrangler help output#9811
fc29c31Thanks @gpanders! - Fix unauthorized errors on "containers images delete".#9813
45497abThanks @gpanders! - Support container image names without account ID#9821
a447d67Thanks @WillTaylorDev! - Preview Aliases: Force alias generation to meet stricter naming requirements.For cases where CI is requesting Wrangler to generate the alias based on the branch name, we want a stricter check around the generated alias name in order to avoid version upload failures. If a valid alias name was not able to be generated, we warn and do not provide an alias (avoiding a version upload failure).
#9840
7c55f9eThanks @dario-piotrowicz! - fix: make sure that the experimentalremoteBindingsflag is properly handled ingetPlatformProxyThere are two issues related to how the experimental
remoteBindingsflag is handled ingetPlatformProxythat are being fixed by this change:experimental_remoteconfiguration flag set on service bindings is incorrectly always taken into account, even ifremoteBindingsis set tofalseexperimental_remoteconfiguration flag of all the other bindings is never taken into account (effectively preventing the bindings to be used in remote mode) since theremoteBindingsflag is not being properly propagated#9801
0bb619aThanks @IRCody! - Containers: Fix issue where setting an image URI instead of dockerfile would incorrectly not update the image#9872
a727db3Thanks @emily-shen! - fix: resolve Dockerfile path relative to the Wrangler config pathThis fixes a bug where Wrangler would not be able to find a Dockerfile if a Wrangler config path had been specified with the
--configflag.#9815
1358034Thanks @gpanders! - Remove --json flag from containers and cloudchamber commands (except for "images list")#9734
1a58bc3Thanks @penalosa! - Make Wrangler warn more loudly if you're missing auth scopes#9748
7e3aa1bThanks @alsuren! - Internal-only WRANGLER_D1_EXTRA_LOCATION_CHOICES environment variable for enabling D1's testing location hintsUpdated dependencies [
ba69586,1a75f85,395f36d,6f344bf]:v4.23.0Compare Source
Minor Changes
#9535
56dc5c4Thanks @penalosa! - In 2023 we announced breakpoint debugging support for Workers, which meant that you could easily debug your Worker code in Wrangler's built-in devtools (accessible via the[d]hotkey) as well as multiple other devtools clients, including VSCode. For most developers, breakpoint debugging via VSCode is the most natural flow, but until now it's required manually configuring alaunch.jsonfile, runningwrangler dev, and connecting via VSCode's built-in debugger.Now, using VSCode's built-in JavaScript Debug Terminals, there are just two steps: open a JS debug terminal and run
wrangler dev(orvite dev). VSCode will automatically connect to your running Worker (even if you're running multiple Workers at once!) and start a debugging session.#9810
8acaf43Thanks @WillTaylorDev! - WC-3626 Pull branch name from WORKERS_CI_BRANCH if exists.Patch Changes
#9775
4309bb3Thanks @vicb! - Cap the number of errors and warnings for bulk KV put to avoid consuming too much memory#9799
d11288aThanks @penalosa! - Better messaging for account owned tokens inwrangler whoamiUpdated dependencies [
56dc5c4]:v4.22.0Compare Source
Minor Changes
#7871
f2a8d4aThanks @dario-piotrowicz! - add support for assets bindings togetPlatformProxythis change makes sure that that
getPlatformProxy, when the input configurationfile contains an assets field, correctly returns the appropriate asset binding proxy
example:
Patch Changes
#9717
d2f2f72Thanks @nikitassharma! - Containers should default to a "dev" instance type when no instance type is specified in the wrangler config#9620
1b967eaThanks @gpanders! - Simplify containers images list output format#9684
94a340eThanks @WillTaylorDev! - Select only successfully deployed deployments when tailing.v4.21.2Compare Source
Patch Changes
#9731
75b75f3Thanks @gabivlj! - containers: Check for container scopes before running a container command to give a better error#9641
fdbc9f6Thanks @IRCody! - Update container builds to use a more robust method for detecting if the currently built image already exists.#9736
55c83a7Thanks @gabivlj! - containers: Do not check scopes if not defined#9667
406fba5Thanks @IRCody! - Fail earlier in the deploy process when deploying a container worker if docker is not detected.v4.21.1Compare Source
Patch Changes
#9626
9c938c2Thanks @penalosa! - Supportwrangler version uploadfor Python Workers#9718
fb83341Thanks @mhart! - fix error message when docker daemon is not running#9689
b137a6fThanks @emily-shen! - fix: correctly pass container engine config to miniflare#9722
29e911aThanks @emily-shen! - Update containers config schema.Deprecates
containers.configurationin favour of top level fields. Makes top levelimagerequired. Deprecatesinstancesanddurable_objects. Makesnameoptional.#9666
f3c5791Thanks @IRCody! - Add a reasonable default name for containers that have no defined name.Updated dependencies [
b137a6f]:v4.21.0Compare Source
Minor Changes
#9692
273952fThanks @dom96! - Condenses Python vendored modules in output table#9654
2a5988cThanks @dom96! - Python Workers now automatically bundle .so files from vendored packagesPatch Changes
#9695
0e64c35Thanks @emily-shen! - Move hotkey registration later in dev start upThis should have no functional change, but allows us to conditionally render hotkeys based on config.
#9098
ef20754Thanks @jseba! - Migrate Workers Containers commands to Containers API EndpointsThe Workers Containers API was built on top of Cloudchamber, but has now been moved to its own API
with a reduced scoping and new token.
#9712
2a4c467Thanks @emily-shen! - Makewrangler containercommands printopen-betastatusv4.20.5Compare Source
Patch Changes
#9688
086e29dThanks @dario-piotrowicz! - add remote bindings support togetPlatformProxyExample:
#9558
d5edf52Thanks @ichernetsky-cf! -wrangler containers applyusesobservabilityconfiguration.#9678
24b2c66Thanks @dario-piotrowicz! - remove warnings during config validations onexperimental_remotefieldswrangler commands, run without the
--x-remote-bindingsflag, parsing config files containingexperimental_remotefields currently show warnings stating that the field is not recognized. This is usually more cumbersome than helpful so here we're loosening up this validation and making wrangler always recognize the field even when no--x-remote-bindingsflag is provided#9633
3f478afThanks @nikitassharma! - Add support for setting an instance type for containers in wrangler. This allows users to configure memory, disk, and vCPU by setting instance type when interacting with containers.#9596
5162c51Thanks @CarmenPopoviciu! - add ability to pull images for containers local devUpdated dependencies [
bfb791e,5162c51]:v4.20.4Compare Source
Patch Changes
#9673
ffa742fThanks @dario-piotrowicz! - fix: ensure that wrangler deploy and version upload don't override the remote-bindings flag#9653
8a60fe7Thanks @penalosa! - RenameWRANGLER_CONTAINERS_DOCKER_PATHtoWRANGLER_DOCKER_BIN#9664
c489a44Thanks @IRCody! - Remove cloudchamber/container apply confirmation dialog when run non-interactively.#9653
8a60fe7Thanks @penalosa! - Add a warning banner towrangler cloudchamberandwrangler containerscommands#9605
17d23d8Thanks @emily-shen! - Add rebuild hotkey for containers local dev, and clean up containers at the end of a dev session.Updated dependencies [
17d23d8]:v4.20.3Compare Source
Patch Changes
#9621
08be3edThanks @gabivlj! - wrangler containers: 'default' scheduling policy should be the default#9586
d1d34feThanks @penalosa! - Remove the Mixed Mode naming in favour of "remote bindings"/"remote proxy"Updated dependencies [
d1d34fe]:v4.20.2Compare Source
Patch Changes
#9565
b1c9139Thanks @IRCody! - Ensure that a container applications image configuration is not updated if there were not changes to the image.#9628
92f12f4Thanks @gpanders! - Remove "Cloudchamber" from user facing error messages#9576
2671e77Thanks @vicb! - Add core local dev functionality for containers.Adds a new WRANGLER_DOCKER_HOST env var to customise what socket to connect to.
Updated dependencies [
828b7df,2671e77]:v4.20.1Compare Source
Patch Changes
#9536
3b61c41Thanks @dario-piotrowicz! - exposeUnstable_Bindingtype#9564
1d3293fThanks @skepticfx! - Switch container registry toregistry.cloudflare.comfromregistry.cloudchamber.cfdata.org.Also adds the env var
CLOUDFLARE_CONTAINER_REGISTRYto override this#9520
04f9164Thanks @vicb! - fix the default value for keep_names (true)#9506
36113c2Thanks @penalosa! - Strip theCF-Connecting-IPheader from outgoing fetches#9592
49f5ac7Thanks @petebacondarwin! - Point to the right location for docs on telemetry#9593
cf33417Thanks @vicb! - drop unusedWRANGLER_UNENV_RESOLVE_PATHSenv var#9566
521eeb9Thanks @vicb! - Bump@cloudflare/unenv-presetto 2.3.3#9344
02e2c1eThanks @dario-piotrowicz! - add warning about env not specified to potentially risky wrangler commandsadd a warning suggesting users to specify their target environment (via
-eor--env)when their wrangler config file contains some environments and they are calling one
of the following commands:
this is a measure we're putting in place to try to prevent developers from accidentally applying
changes to an incorrect (potentially even production) environment
#9344
02e2c1eThanks @dario-piotrowicz! - allow passing an empty string to the-e|--envflag to target the top-level environment#9536
3b61c41Thanks @dario-piotrowicz! - performance improvement: restart a mixed mode session only if the worker's remote bindings have changed#9550
c117904Thanks @dario-piotrowicz! - allowstartWorkerto acceptfalseas aninspectoroption (to disable the inspector server)#9473
fae8c02Thanks @dario-piotrowicz! - expose newexperimental_maybeStartOrUpdateMixedModeSessionutilityUpdated dependencies [
bd528d5,2177fb4,36113c2,e16fcc7]:v4.20.0Compare Source
Minor Changes
#9509
0b2ba45Thanks @emily-shen! - feat: add static routing options via 'run_worker_first' to WranglerImplements the proposal noted here https://github.com/cloudflare/workers-sdk/discussions/9143.
This is now usable in
wrangler devand in production - just specify the routes that should hit the worker first withrun_worker_firstin your Wrangler config. You can also omit certain paths with!negative rules.Patch Changes
#9507
1914b87Thanks @dario-piotrowicz! - slightly improve wrangler dev bindings loggingsimprove the bindings loggings by:
[connected]suffix for remote bindings#9475
931f467Thanks @edmundhung! - add hello world binding that serves as as an explanatory example.#9443
95eb47dThanks @dario-piotrowicz! - add workerName option to startMixedModeSession API#9541
80b8bd9Thanks @dario-piotrowicz! - make workers created withstartWorkerawait thereadypromise ondispose#9443
95eb47dThanks @dario-piotrowicz! - add mixed-mode support for mtls bindings#9515
9e4cd16Thanks @dario-piotrowicz! - make sure that remote binding errors are surfaced when using mixed (hybrid) mode#9516
92305afThanks @IRCody! - Reorder deploy output when deploying a container worker so the worker url is printed last and the worker triggers aren't deployed until the container has been built and deployed successfully.Updated dependencies [
931f467,95eb47d,0b2ba45]:v4.19.2Compare Source
Patch Changes
#9461
66edd2fThanks @skepticfx! - Enforce disk limits on container builds#9481
d1a1787Thanks @WillTaylorDev! - Force autogenerated aliases to be fully lowercased.#9480
1f84092Thanks @dario-piotrowicz! - addexperimentalMixedModedev option tounstable_startWorkeradd an new
experimentalMixedModedev option tounstable_startWorkerthat allows developers to programmatically start a new mixed mode
session using startWorker.
Example usage:
Updated dependencies [
4ab5a40,485cd08,e3b3ef5,3261957]:v4.19.1Compare Source
Patch Changes
db2cdc6Thanks @WillTaylorDev! - Fix bug causing preview alias to always be generated.v4.19.0Compare Source
Minor Changes
03b8c1cThanks @WillTaylorDev! - Provide ability for Wrangler to upload preview aliases during version upload.Patch Changes
#9390
80e75f4Thanks @penalosa! - Support additional Mixed Mode resources in Wrangler:#9395
b3be057Thanks @Maximo-Guk! - Add WRANGLER_CI_OVERRIDE_NETWORK_MODE_HOST for Workers CI#9410
87f3843Thanks @dario-piotrowicz! - enable consumers ofunstable_readConfigto silenceremotewarningsUpdated dependencies [
8c7ce77,80e75f4,80e75f4,fac2f9d,92719a5]:v4.18.0Compare Source
Minor Changes
34b6174Thanks @jamesopstad! - Hard fail on Node.js < 20. Wrangler no longer supports Node.js 18.x as it reached end-of-life on 2025-04-30. See https://github.com/nodejs/release?tab=readme-ov-file#end-of-life-releases.Patch Changes
#9308
d3a6eb3Thanks @dario-piotrowicz! - expose new utilities and types to aid consumers of the programmatic mixed-mode APISpecifically the exports have been added:
Experimental_MixedModeSession: type representing a mixed-mode sessionExperimental_ConfigBindingsOptions: type representing config-bindingsexperimental_pickRemoteBindings: utility for picking only the remote bindings from a record of start-worker bindings.unstable_convertConfigBindingsToStartWorkerBindings: utility for converting config-bindings into start-worker bindings (that can be passed tostartMixedModeSession)#9347
b8f058cThanks @penalosa! - Improve binding display on narrower terminalsUpdated dependencies [
d9d937a,e39a45f,fdae3f7]:v4.17.0Compare Source
Minor Changes
#9321
6c03bdeThanks @petebacondarwin! - Add support for FedRAMP High compliance regionNow it is possible to target Wrangler at the FedRAMP High compliance region.
There are two ways to signal to Wrangler to run in this mode:
"compliance_region": "fedramp_high"in a Wrangler configurationCLOUDFLARE_COMPLIANCE_REGION=fedramp_highenvironment variable when running WranglerIf both are provided and the values do not match then Wrangler will exit with an error.
When in this mode OA
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.