Update dependency wrangler to v4 #12
Open
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:
^3.99.0->^4.0.0Release Notes
cloudflare/workers-sdk (wrangler)
v4.42.1Compare Source
Patch Changes
#10865
26adce7Thanks @WillTaylorDev! - Respect keep_vars for wrangler versions upload.#10833
196ccbfThanks @cmackenzie1! - Validate Pipeline entity names in Wrangler config before sending to the API.#10856
1334102Thanks @anonrig! - Removes unnecessary calls to "node:os"Updated dependencies [
51f9dc1,f29b0b0,1334102]:v4.42.0Compare Source
Minor Changes
103fbf0Thanks @petebacondarwin! - Allow WRANGLER_SEND_ERROR_REPORTS env var to override whether to report Wrangler crashes to SentryPatch Changes
#10757
59d5911Thanks @dario-piotrowicz! - fixconsole.debuglogs not being logged at theinfolevel (as users expect)Updated dependencies [
2594130]:v4.41.0Compare Source
Minor Changes
#10507
21a0befThanks @dario-piotrowicz! - Add strict mode for thewrangler deploycommandAdd a new flag:
--strictthat makes thewrangler deploycommand be more strict and not deploy workers when the deployment could be potentially problematic. This "strict mode" currently only affects non-interactive sessions where conflicts with the remote settings for the worker (for example when the worker has been re-deployed via the dashboard) will cause the deployment to fail instead of automatically overriding the remote settings.#10710
7f2386eThanks @penalosa! - Add prompt to resource creation flow allowing for newly created resources to be remote.Patch Changes
#10822
4c06766Thanks @edmundhung! - fix: skip banner when using--jsonflag inwrangler pages deploymentcommands#10838
d3aee31Thanks @edmundhung! - fix: skip banner when using--jsonflag inwrangler queues subscriptioncommands#10829
59e8ef0Thanks @edmundhung! - fix: skip banner when using--jsonflag inwrangler pipelinescommands#10764
79a6b7dThanks @emily-shen! - containers: defaultmax_instancesto 20 instead of 1.#10844
7a4d0daThanks @mikenomitch! - Adds new Container instance types, and renamedevtoliteandstandardtostandard-1. The new instance_types are now:#10634
62656bdThanks @emily-shen! - fix: error if the container image uri has an account id that doesn't match the current account#10761
886e577Thanks @petebacondarwin! - switch zone route warning to an info message#10734
8d7f32eThanks @penalosa! - Improve formatting of logged errors in some cases#10832
f9d37dbThanks @petebacondarwin! - retry subdomain requests to be more resilient to flakes#10770
835d6f7Thanks @danielrs! - Enabling or disablingworkers_devis often an indication thatthe user is also trying to enable or disable
preview_urls. Warn theuser when these enter mixed state.
#10764
79a6b7dThanks @emily-shen! - fix: respect the log level set by wrangler when logging using @cloudflare/cliUpdated dependencies [
c8d5282,bffd2a9]:v4.40.3Compare Source
Patch Changes
#10602
ff82d80Thanks @tukiminya! - fix: update Secrets Store command status from alpha to open-beta#10623
7a6381cThanks @IRCody! - Handle more cases for correctly resolving the full uri for an image when using containers push.#10779
325d22eThanks @hoodmane! - Add fallthrough: true for python_modules data rule#10112
8d07576Thanks @devin-ai-integration! - fix: allow Workflow bindings when calling getPlatformProxy()Workflow bindings are not supported in practice when using
getPlatformProxy().But their existence in a Wrangler config file should not prevent other bindings from working.
Previously, calling
getPlatformProxy()would crash if there were any Workflow bindings defined.Now, instead, you get a warning telling you that these bindings are not available.
#10769
0a554f9Thanks @penalosa! - Mark more errors asUserErrorto disable Sentry reporting#10679
6244a9eThanks @KianNH! - Fix rendering for nested objects incontainers listandcontainers info [ID]#10785
d09cab3Thanks @pombosilva! - Workflows names and instance IDs are now properly validated with production limits.Updated dependencies [
6ff41a6,0c208e1,2432022,d0801b1,0a554f9]:v4.40.2Compare Source
Patch Changes
b455281Thanks @penalosa! - Fix Worker Loader binding typev4.40.1Compare Source
Patch Changes
a57149fThanks @danielrs! - Support the deletion of secrets with complex namesv4.40.0Compare Source
Minor Changes
a7ac751Thanks @jonesphillip! - Changes--fileSizeMBto--file-sizeforwrangler r2 bucket catalogcompaction command.Small fixes for pipelines commands.
Patch Changes
#10706
81fd733Thanks @1000hz! - Fixed an issue that caused some Workers to have an incorrect service tag applied when using a redirected configuration file (as used by the Cloudflare Vite plugin). This resulted in these Workers not being correctly grouped with their sibling environments in the Cloudflare dashboard.Updated dependencies [
06e9a48]:v4.39.0Compare Source
Minor Changes
#10647
555a6daThanks @efalcao! - VPC service binding support#10612
97a72ccThanks @jonesphillip! - Added new pipelines commands (pipelines, streams, sinks, setup), moved old pipelines commands behind --legacy#10652
acd48edThanks @edmundhung! - Rename Hyperdrive local connection string environment variable fromWRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING_<BINDING_NAME>toCLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_<BINDING_NAME>. The old variable name is still supported but will now show a deprecation warning.#10721
55a10a3Thanks @penalosa! - Stabilise Worker Loader bindingsPatch Changes
#10724
b4a4311Thanks @penalosa! - Use Cap'n Web inworkers-sdk#10701
dc1d0d6Thanks @penalosa! - Fix hotkeys double renderUpdated dependencies [
555a6da,262393a,3ec1f65,a434352,328e687,b4a4311]:v4.38.0Compare Source
Minor Changes
#10654
a4e2439Thanks @laplab! - Switch to WRANGLER_R2_SQL_AUTH_TOKEN env variable for R2 SQL secret. Update the response format for R2 SQL#10676
f76da43Thanks @penalosa! - Supportctx.exportsin wrangler types#10651
6caf938Thanks @edevil! - Added new attribute "allowed_sender_addresses" to send email binding.Patch Changes
#10674
1cc258eThanks @penalosa! - Fix remote/local display for KV/D1/R2 & Browser bindings#10678
b30263eThanks @penalosa! - Remove dummy auth from SDK setup#10678
b30263eThanks @penalosa! - AddWRANGLER_TRACE_IDenvironment variable to support internal testing#10561
769ffb1Thanks @danielrs! - Do not show subdomain status mismatch warnings on first deploy.Updated dependencies [
b59e3e1,e9b0c66,6caf938,88132bc]:v4.37.1Compare Source
Patch Changes
#10658
3029b9aThanks @1000hz! - Fixed an issue with service tags not being applied properly to Workers when the Wrangler configuration file did not include a top-levelnameproperty.#10657
31ec996Thanks @penalosa! - Disable remote bindings with the--localflagUpdated dependencies [
783afeb]:v4.37.0Compare Source
Minor Changes
#10546
d53a0bcThanks @1000hz! - On deploy or version upload, Workers with multiple environments are tagged with metadata that groups them together in the Cloudflare Dashboard.#10596
735785eThanks @penalosa! - Add Miniflare & Wrangler support for unbound Durable Objects#10622
15c34e2Thanks @nagraham! - Modify R2 Data Catalog compaction commands to enable/disable for Catalog (remove table/namespace args), and require Cloudflare API token on enable.Patch Changes
735785e]:v4.36.0Compare Source
Minor Changes
#10604
135e066Thanks @penalosa! - Enable Remote Bindings without the need for the--x-remote-bindingsflag#10558
30f558eThanks @laplab! - Add commands to send queries and manage R2 SQL product.#10574
d8860acThanks @efalcao! - Add support for VPC services CRUD viawrangler vpc service#10119
336a75dThanks @dxh9845! - Add support for dynamically loading 'external' Miniflare plugins for unsafe Worker bindings (developed outside of the workers-sdk repo)Patch Changes
#10212
0837a8dThanks @jamesopstad! - AddpreserveOriginalMainoption tounstable_readConfig. This will pass the originalmainvalue through, without converting it to an absolute path.#10541
da24079Thanks @qjex! - stableratelimitbindingRate Limiting in Workers is now generally available,
ratelimitcan be removed from unsafe bindings.#10479
ffa2600Thanks @nagraham! - feat: Add wrangler commands for the R2 Data Catalog compaction feature#9955
51553efThanks @penalosa! - Integrate the Cloudflare SDK into Wrangler (internal refactor)Updated dependencies [
e2b838f,336a75d]:v4.35.0Compare Source
Minor Changes
#10491
5cb806fThanks @zebp! - Add traces, OTEL destinations, and configurable persistence to observability settingsAdds a new
tracesfield to theobservabilitysettings in your Worker configuration that configures the behavior of automatic tracing. Bothtracesandlogssupport providing a list of OpenTelemetry compliantdestinationswhere your logs/traces will be exported to as well as an implicitly-enabledpersistoption that controls whether or not logs/traces are persisted to the Cloudflare observability platform and viewable in the Cloudflare dashboard.Patch Changes
#10571
4e49d3eThanks @dario-piotrowicz! - add missing type forsend_email'sexperimental_remotefield#10534
dceb550Thanks @dario-piotrowicz! - updateunstable_convertConfigBindingsToStartWorkerBindingsto prioritize preview config valuesEnsure that if some bindings include preview values (e.g.
preview_database_idfor D1 bindings) those get used instead of the standard ones (since these are the ones that start worker should be using)#10552
3b78839Thanks @vicb! - Bumpunenvto 2.0.0-rc.21Updated dependencies [
dac302c,3b78839]:v4.34.0Compare Source
Minor Changes
#10478
cc47b51Thanks @danielrs! - Beta feature preview_urls is now disabled by default.This change makes preview_urls disabled by default when it's not provided, making
the feature opt-in instead of opt-out.
Patch Changes
#10489
6e8dd80Thanks @WalshyDev! - Allow Wrangler to upload 100,000 assets inline with the newly increased Workers Paid limit.#10517
7211609Thanks @edmundhung! - fix:wrangler vectorize list-vectors --jsonnow output valid json without an extra log line#10527
818ce22Thanks @vicb! - Bumpunenvto 2.0.0-rc.20The latest release include a fix for
node:ttydefault export.See the changelog for full details.
#10519
5d69df4Thanks @dario-piotrowicz! - Slightly improvewrangler init --from-dasherror message#10519
5d69df4Thanks @dario-piotrowicz! - Internally refactor diffing andwrangler init --from-dashlogic#10533
c22acc6Thanks @emily-shen! - If unset, containers.max_instances should default to 1 instead of 0.#10503
c0fad5fThanks @ichernetsky-cf! - Support setting container affinities#10515
c6a39f5Thanks @emily-shen! - fix: script should be accepted as a positional arg in theversions uploadcommandUpdated dependencies [
4cb3370,818ce22,cb22f5f,a565291]:v4.33.2Compare Source
Patch Changes
#10401
3c15bbbThanks @dario-piotrowicz! - improve diff lines ordering in remote deploy config diffing logic#10520
dc81221Thanks @emily-shen! - fix: wrangler deploy dry run should not require you to be logged inFixes a bug where if you had a container where the image was an image registry link, dry run would require you to be logged in.
Also fixes a bug where container deployments were not respecting
account_idset in Wrangler config.#10393
4492eb0Thanks @dario-piotrowicz! - Use resolved local config for remote deploy config diffing logicUpdated dependencies [
31ecfeb,f656d1a,22c8ae6,bd21fc5,38bdb78,4851955]:v4.33.1Compare Source
Patch Changes
#10427
85be2b6Thanks @dario-piotrowicz! - Simplify ENOENT debug logs for.envfilesUpdated dependencies [
76d9aa2,452ad0b,7c339ae]:v4.33.0Compare Source
Minor Changes
e81c2cfThanks @penalosa! - Support automatically updating the user's config file with newly created resourcesPatch Changes
#10424
c4fd176Thanks @penalosa! - Remove the--experimental-json-config/-jflag, which is no longer required.#10432
19e2aabThanks @anonrig! - Remove "node:tls" polyfill#10424
c4fd176Thanks @penalosa! - Expose global flags fromexperimental_getWranglerCommands()Updated dependencies [
19e2aab]:v4.32.0Compare Source
Minor Changes
#10354
da40571Thanks @edmundhung! - Enable cross-process communication forwrangler devwith multiple config filesWorkers running in separate
wrangler devsessions can now communicate with each other regardless of whether you are running with single or multiple config files.Check out the Developing with multiple Workers guide to learn more about the different approaches and when to use each one.
#10012
4728c68Thanks @penalosa! - Support unsafe dynamic worker loading bindingsPatch Changes
#10245
d304055Thanks @edmundhung! - Migrate wrangler dev to use Miniflare dev registry implementationUpdated
wrangler devto use a shared dev registry implementation that now powers both the Cloudflare Vite plugin and Wrangler. This internal refactoring has no user-facing changes but consolidates registry logic for better consistency across tools.#10407
f534c0dThanks @emily-shen! - defaultcontainers.rollout_active_grace_periodto 0#10425
0a96e69Thanks @dario-piotrowicz! - Fix debugging logs not including headers for CF API requests and responsesFix the fact that
wrangler, when run with theWRANGLER_LOG=DEBUGandWRANGLER_LOG_SANITIZE=falseenvironment variables, displays{}instead of the actual headers for requests and responses for CF API fetches#10337
f9f7519Thanks @emily-shen! - containers:rollout_step_percentagenow also accepts an array of numbers. Previously it accepted a single number, and each rollout step would target the same percentage of instances. Now users can customise percentages for each step.rollout_step_percentagealso now defaults to[10,100](previously25), which should make rollouts progress slightly faster.You can also use
wrangler deploy --containers-rollout=immediateto override rollout settings in Wrangler configuration and update all instances in one step. Note this doesn't overriderollout_active_grace_periodif configured.Updated dependencies [
4728c68]:v4.31.0Compare Source
Minor Changes
#10314
9b09751Thanks @dario-piotrowicz! - Show possible local vs. dashboard diff information on deploysWhen re-deploying a Worker using
wrangler deploy, if the configuration has been modified in the Cloudflare dashboard, the local configuration will overwrite the remote one. This can lead to unexpected results for users. To address this, currentlywrangler deploywarns users about potential configuration overrides (without presenting them) and prompts them to confirm whether they want to proceed.The changes here improve the above flow in the following way:
wrangler deploynow displays a git-like diff showing the differences between the dashboard and local configurations. This allows users to review and understand the impact of their changes before confirming the deployment.#10334
cadf19aThanks @jonesphillip! - Added queues subscription command to Wrangler including create, update, delete, get, listPatch Changes
#10374
20520faThanks @edmundhung! - Simplify debug package resolution with nodejs_compatA patched version of
debugwas previously introduced that resolved the package to a custom implementation. However, this caused issues due to CJS/ESM interop problems. We now resolve thedebugpackage to use the Node.js implementation instead.#10249
875197aThanks @penalosa! - Support JSRPC for remote bindings. This unlocks:Updated dependencies [
565c3a3,ddadb93,20520fa,875197a]:v4.30.0Compare Source
Minor Changes
76a6701Thanks @garvit-gupta! - feat: Add Wrangler command for Vectorize list-vectors operationPatch Changes
#10217
979984bThanks @veggiedefender! - Increase the maxBuffer size for capnp uploads#10356
80e964cThanks @WillTaylorDev! - fix: Update regex for valid branch name to remove 61 char length requirement, allowing for longer branch names to be specified for preview aliases.#10289
a5a1426Thanks @emily-shen! - Cleanup container images created during local dev if no changes have been made.We now untag old images that were created by Wrangler/Vite if we find that the image content and configuration is unchanged, so that we don't keep accumulating image tags.
#10315
0c04da9Thanks @emily-shen! - Addrollout_active_grace_periodoption to containers configuration.This allows users to configure how long an active container should keep running for during a rollout, before the upgrade is applied.
#10321
b524a6fThanks @emily-shen! - print prettier errors during container deployment#10253
eb32a3aThanks @emily-shen! - fix redeploying container apps when previous deploy failed or container (but not image) was deleted.Previously this failed with
No changes detected but no previous image foundas we assumed there would be a previous deployment when an image exists in the registry.#9990
4288a61Thanks @penalosa! - Fix startup profiling when sourcemaps are enabledUpdated dependencies [
d54d8b7,ae0c806]:v4.29.1Compare Source
Patch Changes
5020694]:v4.29.0Compare Source
Minor Changes
#10283
80960b9Thanks @WillTaylorDev! - Support long branch names in generation of branch aliases in WCI.#10312
bd8223dThanks @devin-ai-integration! - Added--domainflag towrangler deploycommand for deploying to custom domains. Use--domain example.comto deploy directly to a custom domain without manually configuring routes.#8318
8cf47f9Thanks @gnekich! - Introduce json output flag for wrangler pages deployment listPatch Changes
#10232
e7cae16Thanks @emily-shen! - fix: validatewrangler containers delete IDto ensure a valid ID has been provided. Previously if you provided the container name (or any non-ID shaped string) you would get an auth error instead of a 404.#10139
3b6ab8aThanks @dom96! - Removes mention of cf-requirements when Python Workers are enabled#10259
c58a05cThanks @dario-piotrowicz! - Ensure thatmaybeStartOrUpdateRemoteProxySessionconsiders the potential account_id from the user's wrangler configCurrently if the user has an
account_idin their wrangler config file, such id won't be taken into consideration for the remote proxy session, the changes here make sure that it is (note that theauthoption ofmaybeStartOrUpdateRemoteProxySession, if provided, takes precedence over this id value).The changes here also fix the same issue for
wrangler devandgetPlatformProxy(since they usemaybeStartOrUpdateRemoteProxySessionunder the hook).#10288
42aafa3Thanks @tgarg-cf! - Do not attempt to update queue producer settings when deploying a Worker with a queue bindingPreviously, each deployed Worker would update a subset of the queue producer's settings for each queue binding, which could result in broken queue producers or at least conflicts where different Workers tried to set different producer settings on a shared queue.
#10242
70bd966Thanks @devin-ai-integration! - Add experimental API to expose Wrangler command tree structure for documentation generation#10258
d391076Thanks @nikitassharma! - Add the option to allow all tiers when creating a container#10248
422ae22Thanks @emily-shen! - fix: re-push container images on deploy even if the only change was to the Dockerfile#10179
5d5ecd5Thanks @pombosilva! - Prevent defining multiple workflows with the same "name" propeConfiguration
📅 Schedule: Branch creation - "on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.