Update dependency wrangler to v4.60.0 #146
Merged
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.59.3→4.60.0Release Notes
cloudflare/workers-sdk (wrangler)
v4.60.0Compare Source
Minor Changes
#11113
bba0968Thanks @AmirSa12! - Addwrangler completecommand for shell completion scripts (bash, zsh, powershell)Usage:
@bomb.sh/tablibrary for cross-shell compatibilityexperimental_getWranglerCommands()API#11893
f9e8a45Thanks @NuroDev! -wrangler typesnow generates per-environment TypeScript interfaces when named environments exist in your configuration.When your configuration has named environments (an
envobject),wrangler typesnow generates both:StagingEnv,ProductionEnv) containing only the bindings explicitly declared in each environment, plus inherited secretsEnvinterface with all bindings from all environments (top-level + named environments), where:KVNamespace | R2Bucket)However, if your config does not contain any environments, or you manually specify an environment via
--env,wrangler typeswill continue to generate a single interface as before.Example:
Given the following
wrangler.jsonc:{ "name": "my-worker", "kv_namespaces": [ { "binding": "SHARED_KV", "id": "abc123", }, ], "env": { "staging": { "kv_namespaces": [ { "binding": "SHARED_KV", "id": "staging-kv" }, { "binding": "STAGING_CACHE", "id": "staging-cache" }, ], }, }, }Running
wrangler typeswill generate:Patch Changes
#12030
614bbd7Thanks @jbwcloudflare! - Fixwrangler pages project validateto respect file count limits fromCF_PAGES_UPLOAD_JWT#11993
788bf78Thanks @dependabot! - chore: update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#12039
1375577Thanks @dimitropoulos! - Fixed the flag casing for the time period flag for thed1 insightscommand.#12026
c3407adThanks @dario-piotrowicz! - Fixwrangler setupnot automatically selectingworkersas the target for new SvelteKit appsThe Sveltekit
adapter:cloudflareadapter now accepts two different targetsworkersorpages. Since the wrangler auto configuration only targets workers, wrangler should instruct the adapter to use theworkersvariant. (The auto configuration process would in any case not work if the user were to targetpages.)Updated dependencies [
788bf78,ae108f0]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.