Skip to content

Commit 475a515

Browse files
[workers] Update release notes: V8 14.2, JSON optimization, WebSocket message size limit (#26215)
* [workers] Update release notes with recent changes - V8 update to 14.2 - JSON.parse() optimization - Console warnings now also go to tail Workers * [workers] Add new WebSocket message size limit We updated this limit from 1 MiB to 32 MiB.
1 parent bf6d24e commit 475a515

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Workers WebSocket message size limit increased from 1 MiB to 32 MiB
3+
description: The maximum WebSocket message size limit for all Workers has been increased from 1 MiB to 32 MiB.
4+
products:
5+
- workers
6+
- durable-objects
7+
- browser-rendering
8+
date: 2025-10-31
9+
---
10+
11+
Workers, including those using [Durable Objects](/durable-objects/) and [Browser Rendering](/browser-rendering/workers-bindings/), may now process WebSocket messages up to 32 MiB in size. Previously, this limit was 1 MiB.
12+
13+
This change allows Workers to handle use cases requiring large message sizes, such as processing Chrome Devtools Protocol messages.
14+
15+
For more information, please see the [Durable Objects startup limits](/durable-objects/platform/limits/#SQLite-backed-Durable-Objects-general-limits).

src/content/docs/durable-objects/platform/limits.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Durable Objects are a special kind of Worker, so [Workers Limits](/workers/platf
2020
| Storage per Durable Object | 10 GB [^3] |
2121
| Key size | Key and value combined cannot exceed 2 MB |
2222
| Value size | Key and value combined cannot exceed 2 MB |
23-
| WebSocket message size | 1 MiB (only for received messages) |
23+
| WebSocket message size | 32 MiB (only for received messages) |
2424
| CPU per request | 30 seconds (default) / configurable to 5 minutes of [active CPU time](/workers/platform/limits/#cpu-time) [^4] |
2525

2626
[^1]: Identical to the Workers [script limit](/workers/platform/limits/).
@@ -69,7 +69,7 @@ For Durable Object classes with [SQLite storage](/durable-objects/api/sqlite-sto
6969
| Storage per Durable Object | Unlimited |
7070
| Key size | 2 KiB (2048 bytes) |
7171
| Value size | 128 KiB (131072 bytes) |
72-
| WebSocket message size | 1 MiB (only for received messages) |
72+
| WebSocket message size | 32 MiB (only for received messages) |
7373
| CPU per request | 30s (including WebSocket messages) [^7] |
7474

7575
[^5]: Identical to the Workers [script limit](/workers/platform/limits/).

src/content/release-notes/durable-objects.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ link: "/durable-objects/release-notes/"
33
productName: Durable Objects
44
productLink: "/durable-objects/"
55
entries:
6+
- publish_date: "2025-10-25"
7+
description: |-
8+
- The maximum WebSocket message size limit has been increased from 1 MiB to 32 MiB.
69
- publish_date: "2025-10-16"
710
title: Durable Objects can access stored data with UI editor
811
description: |-

src/content/release-notes/workers.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ link: "/workers/platform/changelog/"
33
productName: Workers
44
productLink: "/workers/"
55
entries:
6+
- publish_date: "2025-10-25"
7+
description: |-
8+
- The maximum WebSocket message size limit has been increased from 1 MiB to 32 MiB.
9+
- publish_date: "2025-10-22"
10+
description: |-
11+
- Warnings which were previously only visible via the devtools console in preview sessions are now also sent to the tail Worker, if one is attached.
12+
- publish_date: "2025-10-17"
13+
description: |-
14+
- Updated v8 to version 14.2.
15+
- Backported an optimization to `JSON.parse()`. More details are [available in this blog post](https://blog.cloudflare.com/unpacking-cloudflare-workers-cpu-performance-benchmarks/#json-parsing) and [the upstream patch](https://chromium-review.googlesource.com/c/v8/v8/+/7027411).
616
- publish_date: "2025-09-18"
717
description: |-
818
- Updated v8 to version 14.1.

0 commit comments

Comments
 (0)