Minor Changes
-
#17242
77a77a1Thanks @petebacondarwin! - Apply the headers of every_headersblock for a repeated Workers Static Assets pathWorkers Static Assets local development now merges repeated path blocks like production: repeated header names are combined in file order, and
!unsets are applied before all assignments for that path, even when the unset appears in a later block. Pages still uses only the last valid block for a repeated path, matching hosted Pages.For Workers Static Assets, when multiple distinct paths match a request, local development now applies those rules in sorted path-key order rather than file order, matching the production deploy pipeline. This also applies to the experimental
_headerssupport in Vite dev, so it agrees with Vite preview. Pages retains its existing ordering for distinct paths. -
#17319
2e19c17Thanks @danlapid! - Include Worker source maps by default only when observability is enabledSource maps are only used to show readable stack traces, so Wrangler now uploads them by default only when the Worker's config enables
observability(logs, traces or Issues). This applies towrangler deploy,wrangler versions upload,wrangler previewandwrangler build --experimental-cf-build-output. The Cloudflare Vite plugin likewise emits Worker source maps by default only whenobservabilityis enabled.Set
upload_source_maps = true(or Vite'sbuild.sourcemap) to always include them, for example to get source-mapped stack traces inwrangler tailor Tail Workers without enabling observability. Set it tofalseto never include them.
Patch Changes
-
#17346
8a8df5cThanks @DEY-code-007! - Bumpwsfrom 8.21.0 to 8.23.1 to address GHSA-37g9-w4hg-h9qrGHSA-37g9-w4hg-h9qr (high severity) reports a memory-exhaustion DoS in
ws@>=8.0.0 <8.23.0: a malicious peer can flood the other side with ping frames while not reading, forcing it to buffer the automatic pong replies until the process runs out of memory. The fix shipped in ws@8.23.0 (commitace7248f, which also adds themaxPendingAutoPongsoption); this bumps the workspace catalog entry to the latest patch release, 8.23.1, so thatminiflare,wrangler,@cloudflare/vite-pluginand@cloudflare/deploy-helpersall pick up the patched version. Becauseminiflarepinswsexactly, downstream projects cannot clear thenpm auditfinding with a lockfile update alone. -
#17334
265616bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-12-01Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#17213
1f95502Thanks @hyfdev! - Forward HTTP responses to rejected WebSocket upgrades invite devandvite previewPreviously, the connection could close before clients received an HTTP response. When Vite receives a rejection response from the local Workers runtime, it now sends the status code, headers, and body to the client before closing the connection.
-
Updated dependencies [
8a8df5c,265616b,265616b,77a77a1,1f95502,1f95502,9df88dc]:- miniflare@5.20261201.0-beta
- @cloudflare/build-output-utils@1.0.0-rc.8
- @cloudflare/config@1.0.0-rc.7
- @cloudflare/runtime-types@0.1.38