Repository navigation
Update dependency wrangler to v4.170.0 - #662
Merged
Merged
Conversation
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.169.1→4.170.0Release Notes
cloudflare/workers-sdk (wrangler)
v4.170.0Compare Source
Minor Changes
#16678
7d57524Thanks @mglewis! - Add local development support for/cdn-cgi/image/URL transformationsWhen
images.url_transformations(orimages.urlTransformationsincloudflare.config.ts) is enabled, Miniflare now handles/cdn-cgi/image/<options>/<source>requests locally before they reach your Worker. Requests return a 404 when URL transformations aren't enabled for the Worker, and a 403 when the source image isn't allowed byallowed_origins. Transforms use the same low-fidelity Sharp-backed mock ascf.imagefetches, so only resize, rotate, format conversion and a small set of options are applied.This is a change in behaviour: previously
/cdn-cgi/image/requests were passed through to the Worker during local development.Requests made through
SELFin@cloudflare/vitest-pluginbypass Miniflare's routing and are not intercepted.#17266
b9bb1b0Thanks @dependabot! - Support Analog 3 inwrangler setupConfigure Analog’s standalone Nitro Vite plugin for Cloudflare Workers. Both
wrangler setupandcreate-cloudflareconfigure the Minimal starter as a static site. Analog 2 projects continue to use the Nitro options on the Analog Vite plugin. Projects using native Nitro 3 (nitro/vite) should use Nitro’s generated Wrangler configuration instead.Patch Changes
#17258
e96e508Thanks @irvinebroque! - Show the plan-specific Time Travel retention window inwrangler d1 time-travel restore --helpPreviously, the
--timestampdescription said every database keeps 30 days of history, but databases on Workers Free only keep 7 days. The help text now lists the window for each plan. The error for a timestamp older than 30 days now lists both windows too.#17284
5b6e6bfThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-29Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
#17284
5b6e6bfThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
#17211
b91cef9Thanks @jamesopstad! - Keep remote bindings working after a failed change to the account or API token is revertedPreviously, changing the account ID or API token to credentials that failed to start a remote session (for example, a malformed account ID) disposed the existing session first. Reverting the change then reused that disposed session, so remote bindings stayed offline until the development server was restarted. The existing session is now disposed only once its replacement is ready, so it keeps working if the new credentials fail to start a session.
#17217
fd54492Thanks @irvinebroque! - Emit explicit removal warnings for removedtypeandzone_idconfiguration fieldsLegacy Wrangler v3
typeandzone_idfields now emit explicit removal warnings with migration guidance instead of being flagged as unexpected fields with a misleading "Try upgrading Wrangler" hint.#17244
a332568Thanks @dario-piotrowicz! - Explain where misplaced fields belong incloudflare.config.tsvalidation errorsErrors for top-level fields such as
accountIdplaced underworkernow explain that they belong at the top level. Worker fields placed at the top level also include a hint to move them insideworker.Updated dependencies [
7d57524,5b6e6bf,5b6e6bf,7d57524,fd54492,2a10aff]:Configuration
📅 Schedule: (UTC)
🚦 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.