← Back to Pull requests

Version Packages #17313

Closed
unknown closed this pull request without merging on Dec 03, 2026 19:31 UTC
View on GitHub
unknown unknown commented on Dec 01, 2026 12:29 UTC
Author

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases


@cloudflare/autoconfig@0.16.0

Minor Changes

  • #17314 b5d6e21 Thanks @petebacondarwin! - Remove the experimental cf:build script override
  • Autoconfig no longer selects cf:build for Next.js projects. OpenNext applications that want to use cf should migrate to vinext. Wrangler's OpenNext support and the existing Next.js static export path are unchanged.

  • #16054 c99d3ee Thanks @minwookshin! - Pre-approve esbuild and workerd builds when autoconfig installs dependencies with pnpm
  • Autoconfig updates the nearest pnpm workspace after setup confirmation, before installation. Existing build decisions remain unchanged, and dry runs do not write build approvals.

    Patch Changes

  • #17298 dbcb8c2 Thanks @edmundhung! - Stop listing an existing cloudflare.config.ts as a file to create in the setup summary
  • On cf, the summary said it would create cloudflare.config.ts and showed generated defaults, even when the project already had one, such as one written by cf migrate. Setup keeps that file, so the summary no longer lists it.

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17305 222f836 Thanks @edmundhung! - Keep the final newline and line-ending style of config files edited during setup
  • Setup used to drop the trailing newline from every config file it edited, such as vite.config.ts, even when nothing else changed, and rewrote its line endings to the operating system's. Edited files now keep their final newline and use the LF or CRLF style of their first line.

  • #17324 0c57e65 Thanks @edmundhung! - Set up React Router projects in their own folder
  • When the project isn't the current directory, React Router's setup now writes workers/app.ts and app/entry.server.tsx, and installs isbot, in the project's folder instead of the current directory. Setup also works with an existing workers/ folder, and keeps an existing workers/app.ts.

  • Updated dependencies [265616b, 2e19c17]:

  • - @cloudflare/workers-utils@0.61.0
    - @cloudflare/cli-shared-helpers@0.4.2
    - @cloudflare/config@1.0.0-rc.7

    @cloudflare/deploy-helpers@0.33.0

    Minor Changes

  • #16694 ae8bcf3 Thanks @skepticfx! - Warn when deploying Containers with the deprecated default scheduling policy
  • Deploying a Worker or uploading a new version now displays a nonblocking deprecation warning for Container applications configured with the default scheduling policy, including when the policy is omitted. The warning identifies affected applications and links to migration instructions for Durable Object scheduling. Existing applications require code changes and a replacement application; changing the policy setting alone does not migrate them.

    Patch Changes

  • #17346 8a8df5c Thanks @DEY-code-007! - Bump ws from 8.21.0 to 8.23.1 to address GHSA-37g9-w4hg-h9qr
  • GHSA-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 (commit ace7248f, which also adds the maxPendingAutoPongs option); this bumps the workspace catalog entry to the latest patch release, 8.23.1, so that miniflare, wrangler, @cloudflare/vite-plugin and @cloudflare/deploy-helpers all pick up the patched version. Because miniflare pins ws exactly, downstream projects cannot clear the npm audit finding with a lockfile update alone.

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • Updated dependencies [8a8df5c, 265616b, 265616b, 77a77a1, 1f95502, 2e19c17, 1f95502, 9df88dc]:

  • - miniflare@5.20261201.0-beta
    - @cloudflare/containers-shared@0.28.3
    - @cloudflare/workers-utils@0.61.0
    - @cloudflare/cli-shared-helpers@0.4.2
    - @cloudflare/config@1.0.0-rc.7

    @cloudflare/vite-plugin@2.0.0-rc.9

    Minor Changes

  • #17242 77a77a1 Thanks @petebacondarwin! - Apply the headers of every _headers block for a repeated Workers Static Assets path
  • Workers 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 _headers support in Vite dev, so it agrees with Vite preview. Pages retains its existing ordering for distinct paths.

  • #17319 2e19c17 Thanks @danlapid! - Include Worker source maps by default only when observability is enabled
  • Source 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 to wrangler deploy, wrangler versions upload, wrangler preview and wrangler build --experimental-cf-build-output. The Cloudflare Vite plugin likewise emits Worker source maps by default only when observability is enabled.

    Set upload_source_maps = true (or Vite's build.sourcemap) to always include them, for example to get source-mapped stack traces in wrangler tail or Tail Workers without enabling observability. Set it to false to never include them.

    Patch Changes

  • #17346 8a8df5c Thanks @DEY-code-007! - Bump ws from 8.21.0 to 8.23.1 to address GHSA-37g9-w4hg-h9qr
  • GHSA-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 (commit ace7248f, which also adds the maxPendingAutoPongs option); this bumps the workspace catalog entry to the latest patch release, 8.23.1, so that miniflare, wrangler, @cloudflare/vite-plugin and @cloudflare/deploy-helpers all pick up the patched version. Because miniflare pins ws exactly, downstream projects cannot clear the npm audit finding with a lockfile update alone.

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17213 1f95502 Thanks @hyfdev! - Forward HTTP responses to rejected WebSocket upgrades in vite dev and vite preview
  • Previously, 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

    @cloudflare/workers-utils@0.61.0

    Minor Changes

  • #17319 2e19c17 Thanks @danlapid! - Include Worker source maps by default only when observability is enabled
  • Source 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 to wrangler deploy, wrangler versions upload, wrangler preview and wrangler build --experimental-cf-build-output. The Cloudflare Vite plugin likewise emits Worker source maps by default only when observability is enabled.

    Set upload_source_maps = true (or Vite's build.sourcemap) to always include them, for example to get source-mapped stack traces in wrangler tail or Tail Workers without enabling observability. Set it to false to never include them.

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

    wrangler@4.171.0

    Minor Changes

  • #16694 ae8bcf3 Thanks @skepticfx! - Warn when deploying Containers with the deprecated default scheduling policy
  • Deploying a Worker or uploading a new version now displays a nonblocking deprecation warning for Container applications configured with the default scheduling policy, including when the policy is omitted. The warning identifies affected applications and links to migration instructions for Durable Object scheduling. Existing applications require code changes and a replacement application; changing the policy setting alone does not migrate them.

  • #17319 2e19c17 Thanks @danlapid! - Include Worker source maps by default only when observability is enabled
  • Source 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 to wrangler deploy, wrangler versions upload, wrangler preview and wrangler build --experimental-cf-build-output. The Cloudflare Vite plugin likewise emits Worker source maps by default only when observability is enabled.

    Set upload_source_maps = true (or Vite's build.sourcemap) to always include them, for example to get source-mapped stack traces in wrangler tail or Tail Workers without enabling observability. Set it to false to never include them.

    Patch Changes

  • #17346 8a8df5c Thanks @DEY-code-007! - Bump ws from 8.21.0 to 8.23.1 to address GHSA-37g9-w4hg-h9qr
  • GHSA-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 (commit ace7248f, which also adds the maxPendingAutoPongs option); this bumps the workspace catalog entry to the latest patch release, 8.23.1, so that miniflare, wrangler, @cloudflare/vite-plugin and @cloudflare/deploy-helpers all pick up the patched version. Because miniflare pins ws exactly, downstream projects cannot clear the npm audit finding with a lockfile update alone.

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17334 265616b Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"
  • The following dependency versions have been updated:

    | Dependency | From | To |
    | ------------------------- | ------------- | ------------- |
    | @cloudflare/workers-types | ^5.20261129.1 | ^5.20261201.1 |
    | workerd | 1.20261129.1 | 1.20261201.1 |

  • #17305 222f836 Thanks @edmundhung! - Keep the final newline and line-ending style of config files edited during setup
  • Setup used to drop the trailing newline from every config file it edited, such as vite.config.ts, even when nothing else changed, and rewrote its line endings to the operating system's. Edited files now keep their final newline and use the LF or CRLF style of their first line.

  • #17086 9df88dc Thanks @iglesiasbrandon! - Make local Workflow create() and createBatch() errors match production
  • In local development, create() and createBatch() now reject invalid options, IDs and params as production does, with the same error codes. They reject with a plain Error whose message starts with the code, such as (body) or (instance.invalid_id). Previously they threw a WorkflowError, which arrived as an Error whose message began with WorkflowError: unless the Worker listed the enhanced_error_serialization compatibility flag explicitly.

    - Invalid options, such as a non-string id, an unparseable retention duration or an unknown locationHint, reject with (body) followed by each problem. createBatch() checks every entry's options before any ID, and accepts zero and negative retention durations, as create() and production do.
    - IDs that are too long, use unsupported characters, or are reserved (batch, terminate, terminateAll, or cf_ followed by 64 lowercase hexadecimal characters) reject with (instance.invalid_id).
    - Params that Durable Object storage cannot clone, such as functions, RPC targets and streams, no longer create an instance that stays queued forever. create() rejects with (body) Provided instance parameters are not serializable. createBatch() reports the entry in errors with code 10002 and the ID the instance would have had. An entry whose ID already exists or repeats in the batch is still reported with 10405 or 10415.
    - create(null) creates an instance with a generated ID instead of throwing a TypeError, and create({ params: null }) gives the Workflow {} as its payload.
    - The deprecated array form of createBatch() gets the same checks as the object form. It leaves out entries whose params cannot be stored, as it does entries with an existing or repeated ID.

  • #17353 b2d3840 Thanks @petebacondarwin! - Render terminal control characters as visible text in wrangler dev logs and runtime errors
  • Make local log formatting consistent with wrangler tail. Tabs and line breaks remain readable, and programmatic runtime error events retain their original values.

  • Updated dependencies [8a8df5c, 265616b, 265616b, 77a77a1, 1f95502, 2e19c17, 1f95502, 9df88dc]:

  • - miniflare@5.20261201.0-beta
    - @cloudflare/workers-utils@0.61.0

    @cloudflare/build-output-utils@1.0.0-rc.8

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • Updated dependencies [265616b]:

  • - @cloudflare/config@1.0.0-rc.7

    @cloudflare/cli-shared-helpers@0.4.2

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • Updated dependencies [265616b, 2e19c17]:

  • - @cloudflare/workers-utils@0.61.0

    @cloudflare/codemods@0.11.2

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

    @cloudflare/config@1.0.0-rc.7

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

    @cloudflare/containers-shared@0.28.3

    Patch Changes

  • #17346 8a8df5c Thanks @DEY-code-007! - Bump ws from 8.21.0 to 8.23.1 to address GHSA-37g9-w4hg-h9qr
  • GHSA-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 (commit ace7248f, which also adds the maxPendingAutoPongs option); this bumps the workspace catalog entry to the latest patch release, 8.23.1, so that miniflare, wrangler, @cloudflare/vite-plugin and @cloudflare/deploy-helpers all pick up the patched version. Because miniflare pins ws exactly, downstream projects cannot clear the npm audit finding with a lockfile update alone.

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • Updated dependencies [265616b, 2e19c17]:

  • - @cloudflare/workers-utils@0.61.0
    - @cloudflare/build-output-utils@1.0.0-rc.8
    - @cloudflare/cli-shared-helpers@0.4.2
    - @cloudflare/config@1.0.0-rc.7

    create-cloudflare@2.75.4

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17305 222f836 Thanks @edmundhung! - Keep the final newline and line-ending style of config files edited during setup
  • Setup used to drop the trailing newline from every config file it edited, such as vite.config.ts, even when nothing else changed, and rewrote its line endings to the operating system's. Edited files now keep their final newline and use the LF or CRLF style of their first line.

    miniflare@5.20261201.0-beta

    Patch Changes

  • #17346 8a8df5c Thanks @DEY-code-007! - Bump ws from 8.21.0 to 8.23.1 to address GHSA-37g9-w4hg-h9qr
  • GHSA-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 (commit ace7248f, which also adds the maxPendingAutoPongs option); this bumps the workspace catalog entry to the latest patch release, 8.23.1, so that miniflare, wrangler, @cloudflare/vite-plugin and @cloudflare/deploy-helpers all pick up the patched version. Because miniflare pins ws exactly, downstream projects cannot clear the npm audit finding with a lockfile update alone.

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • #17334 265616b Thanks @dependabot! - Update dependencies of "miniflare", "wrangler"
  • The following dependency versions have been updated:

    | Dependency | From | To |
    | ------------------------- | ------------- | ------------- |
    | @cloudflare/workers-types | ^5.20261129.1 | ^5.20261201.1 |
    | workerd | 1.20261129.1 | 1.20261201.1 |

  • #17242 77a77a1 Thanks @petebacondarwin! - Apply the headers of every _headers block for a repeated Workers Static Assets path
  • Workers 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 _headers support in Vite dev, so it agrees with Vite preview. Pages retains its existing ordering for distinct paths.

  • #17213 1f95502 Thanks @hyfdev! - Keep the Content-Encoding header on compressed responses to rejected WebSocket upgrades
  • Miniflare doesn't decompress these responses, but dispatchFetch() still removed the header, so clients couldn't decode the body.

  • #17213 1f95502 Thanks @hyfdev! - Fix an uncaught ECONNRESET when Miniflare shuts down or restarts after reading a rejected WebSocket upgrade response
  • Reading the body of a non-101 response to a WebSocket upgrade left Miniflare's connection to the local runtime open with no error listener, so a reset from the runtime, for example on dispose() or a dev server restart, threw. The connection is now closed once the body has been read.

  • #17086 9df88dc Thanks @iglesiasbrandon! - Make local Workflow create() and createBatch() errors match production
  • In local development, create() and createBatch() now reject invalid options, IDs and params as production does, with the same error codes. They reject with a plain Error whose message starts with the code, such as (body) or (instance.invalid_id). Previously they threw a WorkflowError, which arrived as an Error whose message began with WorkflowError: unless the Worker listed the enhanced_error_serialization compatibility flag explicitly.

    - Invalid options, such as a non-string id, an unparseable retention duration or an unknown locationHint, reject with (body) followed by each problem. createBatch() checks every entry's options before any ID, and accepts zero and negative retention durations, as create() and production do.
    - IDs that are too long, use unsupported characters, or are reserved (batch, terminate, terminateAll, or cf_ followed by 64 lowercase hexadecimal characters) reject with (instance.invalid_id).
    - Params that Durable Object storage cannot clone, such as functions, RPC targets and streams, no longer create an instance that stays queued forever. create() rejects with (body) Provided instance parameters are not serializable. createBatch() reports the entry in errors with code 10002 and the ID the instance would have had. An entry whose ID already exists or repeats in the batch is still reported with 10405 or 10415.
    - create(null) creates an instance with a generated ID instead of throwing a TypeError, and create({ params: null }) gives the Workflow {} as its payload.
    - The deprecated array form of createBatch() gets the same checks as the object form. It leaves out entries whose params cannot be stored, as it does entries with an existing or repeated ID.

    @cloudflare/pages-functions@0.1.17

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

    @cloudflare/pages-shared@0.13.224

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • Updated dependencies [8a8df5c, 265616b, 265616b, 77a77a1, 1f95502, 1f95502, 9df88dc]:

  • - miniflare@5.20261201.0-beta

    @cloudflare/runtime-types@0.1.38

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • Updated dependencies [8a8df5c, 265616b, 265616b, 77a77a1, 1f95502, 1f95502, 9df88dc]:

  • - miniflare@5.20261201.0-beta

    @cloudflare/test-server@0.1.3

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • 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/vitest-plugin@1.10.3

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • Updated dependencies [8a8df5c, 265616b, 265616b, 77a77a1, 1f95502, 1f95502, 9df88dc]:

  • - miniflare@5.20261201.0-beta

    @cloudflare/workers-auth@0.19.3

    Patch Changes

  • #17334 265616b Thanks @dependabot! - Update DEFAULT_COMPAT_DATE to 2026-12-01
  • Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.

  • Updated dependencies [265616b, 2e19c17]:

  • - @cloudflare/workers-utils@0.61.0

    @cloudflare/chrome-devtools-patches@0.1.6

    Patch Changes

  • #14573 e4119e4 Thanks @petebacondarwin! - Update Chrome DevTools to Chrome 150 (M150)
  • The DevTools frontend used by wrangler dev and the Cloudflare Vite plugin now uses Chrome 150. Existing inspector URLs, including IPv6 loopback and secure WebSocket tunnels, remain supported.

    @cloudflare/dev-helpers@0.0.7

    Patch Changes

  • Updated dependencies [8a8df5c, 265616b, 265616b, 77a77a1, 1f95502, 2e19c17, 1f95502, 9df88dc]:

  • - miniflare@5.20261201.0-beta
    - @cloudflare/containers-shared@0.28.3
    - @cloudflare/workers-utils@0.61.0
    - @cloudflare/config@1.0.0-rc.7

    @cloudflare/remote-bindings@0.0.75

    Patch Changes

  • Updated dependencies [8a8df5c, 265616b, 265616b, 77a77a1, 1f95502, ae8bcf3, 2e19c17, 1f95502, 9df88dc]:

  • - miniflare@5.20261201.0-beta
    - @cloudflare/deploy-helpers@0.33.0
    - @cloudflare/workers-utils@0.61.0
    - @cloudflare/workers-auth@0.19.3

    @cloudflare/workers-shared@0.20.4

    Patch Changes

  • #17242 77a77a1 Thanks @petebacondarwin! - Apply the headers of every _headers block for a repeated Workers Static Assets path
  • Workers 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 _headers support in Vite dev, so it agrees with Vite preview. Pages retains its existing ordering for distinct paths.

    @cloudflare/workflows-shared@0.15.4

    Patch Changes

  • #17086 9df88dc Thanks @iglesiasbrandon! - Make local Workflow create() and createBatch() errors match production
  • In local development, create() and createBatch() now reject invalid options, IDs and params as production does, with the same error codes. They reject with a plain Error whose message starts with the code, such as (body) or (instance.invalid_id). Previously they threw a WorkflowError, which arrived as an Error whose message began with WorkflowError: unless the Worker listed the enhanced_error_serialization compatibility flag explicitly.

    - Invalid options, such as a non-string id, an unparseable retention duration or an unknown locationHint, reject with (body) followed by each problem. createBatch() checks every entry's options before any ID, and accepts zero and negative retention durations, as create() and production do.
    - IDs that are too long, use unsupported characters, or are reserved (batch, terminate, terminateAll, or cf_ followed by 64 lowercase hexadecimal characters) reject with (instance.invalid_id).
    - Params that Durable Object storage cannot clone, such as functions, RPC targets and streams, no longer create an instance that stays queued forever. create() rejects with (body) Provided instance parameters are not serializable. createBatch() reports the entry in errors with code 10002 and the ID the instance would have had. An entry whose ID already exists or repeats in the batch is still reported with 10405 or 10415.
    - create(null) creates an instance with a generated ID instead of throwing a TypeError, and create({ params: null }) gives the Workflow {} as its payload.
    - The deprecated array form of createBatch() gets the same checks as the object form. It leaves out entries whose params cannot be stored, as it does entries with an existing or repeated ID.

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: NuroDev Review duration: 3301m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #17313"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%