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.20251014.0->4.20251223.06.1.0->6.1.34.44.0->4.56.0Release Notes
cloudflare/workerd (@cloudflare/workers-types)
v4.20251223.0Compare Source
v4.20251221.0Compare Source
v4.20251220.0Compare Source
v4.20251219.0Compare Source
v4.20251218.0Compare Source
v4.20251217.0Compare Source
v4.20251216.0Compare Source
v4.20251213.0Compare Source
v4.20251212.0Compare Source
v4.20251211.0Compare Source
v4.20251210.0Compare Source
v4.20251209.0Compare Source
v4.20251205.0Compare Source
v4.20251202.0Compare Source
v4.20251128.0Compare Source
v4.20251127.0Compare Source
v4.20251126.0Compare Source
v4.20251125.0Compare Source
v4.20251121.0Compare Source
v4.20251120.0Compare Source
v4.20251119.0Compare Source
v4.20251118.0Compare Source
v4.20251117.0Compare Source
v4.20251115.0Compare Source
v4.20251113.0Compare Source
v4.20251111.0Compare Source
v4.20251109.0Compare Source
v4.20251107.0Compare Source
v4.20251106.1Compare Source
panva/jose (jose)
v6.1.3Compare Source
Refactor
v6.1.2Compare Source
Refactor
v6.1.1Compare Source
Documentation
Refactor
cloudflare/workers-sdk (wrangler)
v4.56.0Compare Source
Minor Changes
#11196
171cfd9Thanks @emily-shen! - For containers being created in a FedRAMP high environment, registry credentials are encrypted by the container platform.Update wrangler to correctly send a request to configure a registry for FedRAMP containers.
#11646
472cf72Thanks @vovacf201! - feat: add R2 Data Catalog snapshot expiration commandsAdds new commands to manage automatic snapshot expiration for R2 Data Catalog tables:
wrangler r2 bucket catalog snapshot-expiration enable- Enable automatic snapshot expirationwrangler r2 bucket catalog snapshot-expiration disable- Disable automatic snapshot expirationSnapshot expiration helps manage storage costs by automatically removing old table snapshots while keeping a minimum number of recent snapshots for recovery purposes.
Example usage:
Patch Changes
#11649
428ae9eThanks @ascorbic! - fix: respect TypeScript path aliases when resolving non-JS modules with module rulesWhen importing non-JavaScript files (like
.graphql,.txt, etc.) using TypeScript path aliases defined intsconfig.json, Wrangler's module-collection plugin now correctly resolves these imports. Previously, path aliases were only respected for JavaScript/TypeScript files, causing imports likeimport schema from '~lib/schema.graphql'to fail when using module rules.#11647
c0e249eThanks @dario-piotrowicz! - The auto-configuration logic present inwrangler setupandwrangler deploy --x-autoconfigcannot reliably handle Hono projects, so in these cases make sure to properly error saying that automatically configuring such projects is not supported.#11694
3853200Thanks @dario-piotrowicz! - fix: improve the open-next detection thatwrangler deployperforms to eliminate false positives for non open-next projectsUpdated dependencies [
ae1ad22,737c0f4]:v4.55.0Compare Source
Minor Changes
#11301
6c590a0Thanks @dario-piotrowicz! - Makewrangler deployrunopennextjs-cloudflare deploywhen executed in an open-next project#11045
12a63efThanks @edmundhung! - Add an internalunstable_printBindingsAPI for vite plugin integration#11590
7d8d4a6Thanks @pombosilva! - Add Workflows send-event to wrangler commands.#11301
6c590a0Thanks @dario-piotrowicz! - Support Next.js (via OpenNext) projects in autoconfigPatch Changes
#11615
ed42010Thanks @elithrar! - Add helpful warning when SSL certificate errors occur due to corporate proxies or VPNs intercepting HTTPS traffic. When errors like "self-signed certificate in certificate chain" are detected, wrangler now displays guidance about installing missing system roots from your corporate proxy vendor.#11641
6b28de1Thanks @petebacondarwin! - update command status text and formatting#11578
4201472Thanks @gpanders! - Fixup UX papercuts in containers SSH#11550
95d81e1Thanks @hiendv! - Fix "TypeError: Body is unusable: Body has already been read" when failing to exchange oauth code because of doubleresponse.text().Updated dependencies [
5d085fb,b75b710,1e9be12]:v4.54.0Compare Source
Minor Changes
#11512
c15e99eThanks @emily-shen! - Enable usingctx.exportswith containersYou can now use containers with Durable Objects that are accessed via
ctx.exports.Now your config file can look something like this:
Note that when using
ctx.exports, where you previously accessed a Durable Object via something likeenv.DO, you should now access withctx.exports.MyDOClassname.Refer to the docs for more information on using
ctx.exports.#11508
b17797cThanks @dario-piotrowicz! - Wrangler will no longer try to add additional configuration to projects using@cloudflare/vite-pluginwhen deploying or runningwrangler setup#11508
b17797cThanks @dario-piotrowicz! - When a Vite project is detected, install@cloudflare/vite-plugin#11576
bb47e20Thanks @dario-piotrowicz! - Support Analog projects in autoconfig#10582
991760dThanks @flakey5! - Addcontainers sshcommandPatch Changes
#11467
235d325Thanks @edmundhung! - fix: prevent reporting SQLite error fromwrangler d1 executeto Sentry#11414
41103f5Thanks @petebacondarwin! - add extra logging to user log-in flow for diagnosing failed login requests#11559
ea6fbecThanks @nikitassharma! - Remove image validation for containers on wrangler deploy.Internal customers are able to use additional image registries and will run into failures with this validation. Image registry validation will now be handled by the API.
Updated dependencies [
31c162a,bd5f087,c6dd86f]:v4.53.0Compare Source
Minor Changes
#11500
af54c63Thanks @dario-piotrowicz! - Add newautoconfig_summaryfield to the deploy output entryThis change augments
wrangler deployoutput being printed toWRANGLER_OUTPUT_FILE_DIRECTORYorWRANGLER_OUTPUT_FILE_PATHto also include a newautoconfig_summaryfield containing the possible summary details for the autoconfig process (the field isundefinedif autoconfig didn't run).Note: the field is experimental and could change while autoconfig is not GA
#11477
9988cc9Thanks @ascorbic! - Support Nuxt in autoconfig#11472
ce295bfThanks @dario-piotrowicz! - Support Qwik projects in autoconfig#10937
9514c9aThanks @ReppCodes! - Add support for "targeted" placement mode with region, host, and hostname fieldsThis change adds a new mode to
placementconfiguration. You can specify one of the following fields to target specific external resources for Worker placement:region: Specify a region identifier (e.g., "aws:us-east-1") to target a region from another cloud service providerhost: Specify a host with (required) port (e.g., "example.com:8123") to target a TCP servicehostname: Specify a hostname (e.g., "example.com") to target an HTTP resourceThese fields are mutually exclusive - only one can be specified at a time.
Example configuration:
#11498
ac861f8Thanks @penalosa! - Add React Router support in autoconfig#11506
79d30d4Thanks @vicb! - Set the target JS version to ES2024Patch Changes
#11393
45480b1Thanks @alsuren! - improved --help text for wrangler d1 subcommands#11523
94c67e8Thanks @jamesopstad! - fix: types from @cloudflare/workers-utils not being exported correctly from Wrangler#11483
f550b62Thanks @edmundhung! - stop runningnpm installwith--legacy-peer-depsflag when setting up a projectUpdated dependencies [
819e287,56e78c8,0aa959a]:v4.52.1Compare Source
Patch Changes
#11504
7e80340Thanks @dario-piotrowicz! - Fixwrangler deployfailing for new workers containing environment variables or bindingsUpdated dependencies [
59534ba]:v4.52.0Compare Source
Minor Changes
#11416
abe49d8Thanks @dario-piotrowicz! - Remove thewrangler deploy's--x-remote-diff-checkexperimental flagThe remote diffing feature has been enabled by default for a while and its functionality is stable, as a result the experimental flag (only available for option-out of the feature right now) has been removed.
#11408
f29e699Thanks @ascorbic! - Export unstable helpers useful for generating wrangler config#11389
2342d2fThanks @dario-piotrowicz! - Improve thewrangler deployflow to also check for potential overrides of secrets.Now when you run
wrangler deployWrangler will check the remote secrets for your workers for conflicts with the names of the bindings you're about to deploy. If there are conflicts, Wrangler will warn you and ask you for your permission before proceeding.#11375
9a1de61Thanks @penalosa! - Support TanStack Start in autoconfig#11360
6b38532Thanks @emily-shen! - Containers: Allow users to directly authenticate external image registries in local devPreviously, we always queried the API for stored registry credentials and used those to pull images. This means that if you are using an external registry (ECR, dockerhub) then you have to configure registry credentials remotely before running local dev.
Now you can directly authenticate with your external registry provider (using
docker loginetc.), and Wrangler or Vite will be able to pull the image specified in thecontainers.imagefield in your config file.The Cloudflare-managed registry (registry.cloudflare.com) currently still does not work with the Vite plugin.
#11009
e4ddbc2Thanks @dario-piotrowicz! - Allow users to provide anaccount_idas part of theWorkerConfigObjectthey pass tomaybeStartOrUpdateRemoteProxySession#11478
2aec2b4Thanks @dario-piotrowicz! - Support SolidStart in autoconfig#11330
5a873bbThanks @dario-piotrowicz! - Support Angular projects in autoconfig#11449
e7b690bThanks @penalosa! - Delegate generation of HTTPS certificates to Miniflare#11448
2b4813bThanks @edmundhung! - Bumpsesbuildversion to 0.27.0#11335
c47ad11Thanks @dario-piotrowicz! - Support internal-only undocumentedcross_account_grantservice binding property#11346
a977701Thanks @penalosa! - We're soon going to make backend changes that mean thatwrangler dev --remotesessions will no longer have an associated inspector connection. In advance of these backend changes, we've enabled a newwrangler tail-based logging strategy forwrangler dev --remote. For now, you can revert to the previous logging strategy withwrangler dev --remote --no-x-tail-logs, but in future it will not be possible to revert.The impact of this will be that logs that were previously available via devtools will now be provided directly to the Wrangler console and it will no longer be possible to interact with the remote Worker via the devtools console.
Patch Changes
#11397
b154de2Thanks @vicb! - Use more workerd native modulesNode modules
punycode,trace_events,cluster,wasi, anddomainswill be used when enabledvia a compatibility flag or by default when the compatibility date is greater or equal to 2025-12-04.
#11452
76f0540Thanks @penalosa! - Remove uses ofeval()from the Wrangler bundle#11284
695fa25Thanks @dom96! - Removes duplicate module warnings when vendoring Python packages#11249
504e258Thanks @dario-piotrowicz! - fix: Generalize autoconfig wordingGeneralize the autoconfig wording so that when it doesn't specifically mention "deployment" (since it can be run via
wrangler setupor the autoconfig programmatic API)#11455
d25f7e2Thanks @dario-piotrowicz! - Fix autoconfig using absolute paths for static projectsRunning the experimental autoconfig logic through
wrangler setupandwrangler deploy --x-autoconfigon a static project results in absolute paths being used. This is incorrect, especially when such paths are being included in the generated wrangler.jsonc. The changes here fix the autoconfig logic to use paths relative to the project's root instead.For example given a project located in
/Users/usr/projects/sites/my-static-site, before:and after:
#11484
1cfae2dThanks @edmundhung! - Explicitly close FileHandle inwrangler d1 executeto support Node 25#11383
1d685cbThanks @dario-piotrowicz! - Fix: ensure that when a remote proxy session creation fails a hard error is surfaced to the user (both inwrangler devand in the programmatic API).When using remote bindings, either with
wrangler devor viastartRemoteProxySession/maybeStartOrUpdateRemoteProxySessionthe remote proxy session necessary to connect to the remote resources can fail to be created, this might happen if for example you try to set a binding with some invalid values such as:Before this could go undetected and cause unwanted behaviors such as requests handling hanging indefinitely, now wrangler will instead crash (or throw a hard error ion the programmatic API), clearly indicating that something went wrong during the remote session's creation.
#11366
edf896dThanks @ascorbic! - Use correctly-formatted names when displaying detected framework details#11461
9eaa9e2Thanks @dario-piotrowicz! - Update the structure of theconfiguremethod of autoconfig frameworksUpdate the signature of the
configurefunction of autoconfig frameworks (AutoconfigDetails#Framework), before they would return aRawConfigobject to use to update the project's wrangler config file, now they return an object that includes theRawConfigand that can potentially also hold additional data relevant to the configuration.Updated dependencies [
2b4813b,b154de2,5ee3780,6e63b57,71ab562,5e937c1]:v4.51.0Compare Source
Minor Changes
#11345
d524e55Thanks @penalosa! - Enable experimental support for autoconfig-powered Astro projects#11228
43903a3Thanks @petebacondarwin! - SupportCLOUDFLARE_ENVenvironment variable for selecting the active environmentThis change enables users to select the environment for commands such as
CLOUDFLARE_ENV=prod wrangler versions upload. The--envcommand line argument takes precedence.The
CLOUDFLARE_ENVenvironment variable is mostly used with the@cloudflare/vite-pluginto select the environment for building the Worker to be deployed. This build also generates a "redirected deploy config" that is flattened to only contain the active environment.To avoid accidentally deploying a version that is built for one environment to a different environment, there is an additional check to ensure that if the user specifies an environment in Wrangler it matches the original selected environment from the build.
Patch Changes
#11367
e496280Thanks @vicb! - Rate limit r2 bulk putUpdated dependencies [
4d61fae,69f4dc3,1133c4d,4d61fae]:v4.50.0Compare Source
Minor Changes
#11219
524a6e5Thanks @Ltadrian! - Implement Hyperdrive binding TLS miniflare proxy. This will allow for wrangler dev hyperdrive bindings to connect to externaldatabases that require TLS.
#11233
c922a81Thanks @emily-shen! - Addcontainers.unsafeto allow internal users to use additional container featuresPatch Changes
#11353
0cf696dThanks @vicb! - Use the nativenode:domainmodule when availableIt is enabled when the
enable_nodejs_domain_modulecompatibility flag is set.#11328
bb44120Thanks @ascorbic! - Fixes a bug that causedwrangler deployto hang when deploying SvelteKit sites with experimental autoconfig#11025
4a158e9Thanks @devin-ai-integration! - Use the nativenode:wasimodule when availableIt is enabled when the
enable_nodejs_wasi_modulecompatibility flag is set.Updated dependencies [
0cf696d,524a6e5,4a158e9]:v4.49.1Compare Source
Patch Changes
#11344
c758809Thanks @dario-piotrowicz! - Fix: mark ther2 bulkcommand as hidden and experimental#11339
dfba912Thanks @dario-piotrowicz! - Fixwrangler deployerroring when it pulls down remote configs of workers containing an assets bindingUpdated dependencies [
e5ec8cf]:v4.49.0Compare Source
Minor Changes
#10703
c5c4ee5Thanks @danlapid! - Add support for streaming tail consumers in local dev. This is an experimental new feature that allows you to register atailStream()handler (compared to the existingtail()handler), which will receive streamed tail events from your Worker (compared to thetail()handler, which only receives batched events after your Worker has finished processing).#11251
7035804Thanks @penalosa! - When theWRANGLER_HIDE_BANNERenvironment variable is provided, Wrangler will no longer display a version banner. This applies to all commands.For instance, previously running
wrangler docswould give the following output:With
WRANGLER_HIDE_BANNER, this is now:#11285
d014fa7Thanks @vicb! - Implement thewrangler r2 bulk put bucket-name --filename list.jsoncommand.The command uploads multiple objects to an R2 bucket.
The list of object is provided as a JSON encoded file via
--filename. It is a list of key and file (respectively the name and the content for the object).Uploads are executed concurrently and the level of concurrency can be set via
--concurrency.The command supports the same options as
wrangler r2 object put, minus--file, and--pipeand plus--concurrency#11268
15b8460Thanks @penalosa! - Support SvelteKit projects in autoconfig#11258
2011b6aThanks @dario-piotrowicz! - Add--dry-runflag towrangler setupand also adryRunoption torunAutoConfigPatch Changes
#11261
a352c7fThanks @petebacondarwin! - Avoid using object lookup for OAuth Error classes#11286
8e99766Thanks @dario-piotrowicz! - fix: make sure thatexperimental_patchConfigdoesn't throw if it encounters anullvalue#11279
d0d3fe6Thanks @vicb! - bump p-queue to ^9.0.0#11278
92afbbaThanks @ascorbic! - Fixes a bug that caused.dev.varsto be ignored in OpenNext#11244
65b4afeThanks @petebacondarwin! - Internal refactoring to improve error traceability in wrangler dev#11238
da8442fThanks @jamesopstad! - Addunstable_getDurableObjectClassNameToUseSQLiteMapexport. This is an internal function for use in the Vite plugin.#11266
09cb720Thanks @penalosa! - Use the smol-toml library for parsing TOML instead of @iarna/toml#11236
793e2b4Thanks @ascorbic! - Refresh expired preview tokens when running in remote dev mode#11286
8e99766Thanks @dario-piotrowicz! - fix:wrangler deployfailing to patch localwrangler.jsoncfiles if the remotetail_consumersvalue isnull#11275
9cbf126Thanks @dario-piotrowicz! - Ensure thatwrangler deployrun with a positional argument or with--assetsdoes not trigger the autoconfig process (even with--experimental-autoconfig)#11242 [
dd1e560](hConfiguration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.