Version Packages #17313
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
NuroDev
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
b5d6e21Thanks @petebacondarwin! - Remove the experimentalcf:buildscript overrideAutoconfig no longer selects
cf:buildfor Next.js projects. OpenNext applications that want to usecfshould migrate to vinext. Wrangler's OpenNext support and the existing Next.js static export path are unchanged.c99d3eeThanks @minwookshin! - Pre-approve esbuild and workerd builds when autoconfig installs dependencies with pnpmAutoconfig 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
dbcb8c2Thanks @edmundhung! - Stop listing an existingcloudflare.config.tsas a file to create in the setup summaryOn cf, the summary said it would create
cloudflare.config.tsand showed generated defaults, even when the project already had one, such as one written bycf migrate. Setup keeps that file, so the summary no longer lists it.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.
222f836Thanks @edmundhung! - Keep the final newline and line-ending style of config files edited during setupSetup 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.0c57e65Thanks @edmundhung! - Set up React Router projects in their own folderWhen the project isn't the current directory, React Router's setup now writes
workers/app.tsandapp/entry.server.tsx, and installsisbot, in the project's folder instead of the current directory. Setup also works with an existingworkers/folder, and keeps an existingworkers/app.ts.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
ae8bcf3Thanks @skepticfx! - Warn when deploying Containers with the deprecated default scheduling policyDeploying a Worker or uploading a new version now displays a nonblocking deprecation warning for Container applications configured with the
defaultscheduling 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
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.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.
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
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.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
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.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.
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.
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
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
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.
wrangler@4.171.0
Minor Changes
ae8bcf3Thanks @skepticfx! - Warn when deploying Containers with the deprecated default scheduling policyDeploying a Worker or uploading a new version now displays a nonblocking deprecation warning for Container applications configured with the
defaultscheduling 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.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
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.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.
265616bThanks @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 |
222f836Thanks @edmundhung! - Keep the final newline and line-ending style of config files edited during setupSetup 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.9df88dcThanks @iglesiasbrandon! - Make local Workflowcreate()andcreateBatch()errors match productionIn local development,
create()andcreateBatch()now reject invalid options, IDs and params as production does, with the same error codes. They reject with a plainErrorwhose message starts with the code, such as(body)or(instance.invalid_id). Previously they threw aWorkflowError, which arrived as anErrorwhose message began withWorkflowError:unless the Worker listed theenhanced_error_serializationcompatibility flag explicitly.- Invalid options, such as a non-string
id, an unparseableretentionduration or an unknownlocationHint, reject with(body)followed by each problem.createBatch()checks every entry's options before any ID, and accepts zero and negativeretentiondurations, ascreate()and production do.- IDs that are too long, use unsupported characters, or are reserved (
batch,terminate,terminateAll, orcf_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 inerrorswith code10002and the ID the instance would have had. An entry whose ID already exists or repeats in the batch is still reported with10405or10415.-
create(null)creates an instance with a generated ID instead of throwing aTypeError, andcreate({ 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.b2d3840Thanks @petebacondarwin! - Render terminal control characters as visible text inwrangler devlogs and runtime errorsMake local log formatting consistent with
wrangler tail. Tabs and line breaks remain readable, and programmatic runtime error events retain their original values.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
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.
265616b]:- @cloudflare/config@1.0.0-rc.7
@cloudflare/cli-shared-helpers@0.4.2
Patch Changes
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.
265616b,2e19c17]:- @cloudflare/workers-utils@0.61.0
@cloudflare/codemods@0.11.2
Patch Changes
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.
@cloudflare/config@1.0.0-rc.7
Patch Changes
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.
@cloudflare/containers-shared@0.28.3
Patch Changes
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.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.
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
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.
222f836Thanks @edmundhung! - Keep the final newline and line-ending style of config files edited during setupSetup 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
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.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.
265616bThanks @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 |
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.1f95502Thanks @hyfdev! - Keep theContent-Encodingheader on compressed responses to rejected WebSocket upgradesMiniflare doesn't decompress these responses, but
dispatchFetch()still removed the header, so clients couldn't decode the body.1f95502Thanks @hyfdev! - Fix an uncaughtECONNRESETwhen Miniflare shuts down or restarts after reading a rejected WebSocket upgrade responseReading the body of a non-101 response to a WebSocket upgrade left Miniflare's connection to the local runtime open with no
errorlistener, so a reset from the runtime, for example ondispose()or a dev server restart, threw. The connection is now closed once the body has been read.9df88dcThanks @iglesiasbrandon! - Make local Workflowcreate()andcreateBatch()errors match productionIn local development,
create()andcreateBatch()now reject invalid options, IDs and params as production does, with the same error codes. They reject with a plainErrorwhose message starts with the code, such as(body)or(instance.invalid_id). Previously they threw aWorkflowError, which arrived as anErrorwhose message began withWorkflowError:unless the Worker listed theenhanced_error_serializationcompatibility flag explicitly.- Invalid options, such as a non-string
id, an unparseableretentionduration or an unknownlocationHint, reject with(body)followed by each problem.createBatch()checks every entry's options before any ID, and accepts zero and negativeretentiondurations, ascreate()and production do.- IDs that are too long, use unsupported characters, or are reserved (
batch,terminate,terminateAll, orcf_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 inerrorswith code10002and the ID the instance would have had. An entry whose ID already exists or repeats in the batch is still reported with10405or10415.-
create(null)creates an instance with a generated ID instead of throwing aTypeError, andcreate({ 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
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.
@cloudflare/pages-shared@0.13.224
Patch Changes
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.
8a8df5c,265616b,265616b,77a77a1,1f95502,1f95502,9df88dc]:- miniflare@5.20261201.0-beta
@cloudflare/runtime-types@0.1.38
Patch Changes
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.
8a8df5c,265616b,265616b,77a77a1,1f95502,1f95502,9df88dc]:- miniflare@5.20261201.0-beta
@cloudflare/test-server@0.1.3
Patch Changes
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.
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
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.
8a8df5c,265616b,265616b,77a77a1,1f95502,1f95502,9df88dc]:- miniflare@5.20261201.0-beta
@cloudflare/workers-auth@0.19.3
Patch Changes
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.
265616b,2e19c17]:- @cloudflare/workers-utils@0.61.0
@cloudflare/chrome-devtools-patches@0.1.6
Patch Changes
e4119e4Thanks @petebacondarwin! - Update Chrome DevTools to Chrome 150 (M150)The DevTools frontend used by
wrangler devand 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
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
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
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.@cloudflare/workflows-shared@0.15.4
Patch Changes
9df88dcThanks @iglesiasbrandon! - Make local Workflowcreate()andcreateBatch()errors match productionIn local development,
create()andcreateBatch()now reject invalid options, IDs and params as production does, with the same error codes. They reject with a plainErrorwhose message starts with the code, such as(body)or(instance.invalid_id). Previously they threw aWorkflowError, which arrived as anErrorwhose message began withWorkflowError:unless the Worker listed theenhanced_error_serializationcompatibility flag explicitly.- Invalid options, such as a non-string
id, an unparseableretentionduration or an unknownlocationHint, reject with(body)followed by each problem.createBatch()checks every entry's options before any ID, and accepts zero and negativeretentiondurations, ascreate()and production do.- IDs that are too long, use unsupported characters, or are reserved (
batch,terminate,terminateAll, orcf_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 inerrorswith code10002and the ID the instance would have had. An entry whose ID already exists or repeats in the batch is still reported with10405or10415.-
create(null)creates an instance with a generated ID instead of throwing aTypeError, andcreate({ 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.