Workers compatibility
Closer Cloudflare parity — cache, containers, crypto, SQL, and runtime APIs over upstream denoland/celld.
Patches that move Workers, Durable Objects, and the surrounding APIs closer to Cloudflare. Binding and socket isolation is a hardening story and lives on the Security page. Each entry names its fork patch number.
Cache and runtime cells
0018— Per-node Workers Cache API:caches.defaultandcaches.open(name)over a process-local store keyed by the script name, so all isolates of a script on the node share entries and no script can name another’s. Cloudflare freshness (s-maxage/max-age/Expires, edge-TTL defaults),no-store/private/Set-Cookienever cached,Varyignored, conditional and range answers,CF-Cache-Status: HITon hits, and aCELLO_CACHE_MAX_BYTEScap (64 MiB default) with LRU eviction.0045—CELLO_CACHE_SCOPE=deploymentshares one Workers Cache API scope across every script of the serving deployment — onecaches.defaultand one set ofcaches.open(name)namespaces, like one Cloudflare zone. The defaultscriptscope keeps per-script entries byte-identical; the scope key renders from the fleet’s bucket identity plus the serving deployment’s identity, comes only from the node’s process environment, and an unknown value refuses the boot. Sharing is total within a deployment; a redeploy starts empty.0037— Shared runtime cells run in a dedicated runtime isolate pool: cells of__D1Database,__KvNamespace, and__Queuebuild isolates from the harness plus a fixed inert entry module, never the declaring script’s bundle, and hold no tenant bindings, vars, services, loaders, or schedule. Per-cell placement and ownership are unchanged — state stays in the cells’ SQLite, so a rolling upgrade moves cells with no migration — and/statereports the pool under its reserved name__cello-runtime. Deploy refuses a service binding whose target is not a valid script name.
Containers
0001—ctx.container.imagesplusstart({ image })select the image per container, withimages.defaultfor callers that read it.
Runtime APIs
0109— Undernodejs_compat, the Worker’svarspopulateprocess.envbefore the module evaluates (host value wins);nodejs_compat_do_not_populate_process_envopts back out. A dynamically loaded Worker’s loader-supplied strings reach the handler’senvandprocess.envalike, while the host-ownedCELLO_NODEname never crosses intoprocess.env.__proto__,constructor, andprototypenever cross (upstream #296).0110—SubtleCryptogains AES-KW wrap/unwrap plus symmetric JWK import/export; a large JWK export builds in 32 KiB chunks (upstream #295).0111—SubtleCryptoimports and exports EC public keys in uncompressed raw point form (upstream #271).0112— Writable request/tmpfiles (node:fsover a per-request dir) andnode:urlfile-URL helpers, plusappendFile/appendFileSync/fs.promises.appendFileand{ flag: "a" }. New knobCELLO_TMP_MAX_BYTES(default 67108864, 64 MiB; validated positive): each entry costspath.len() + 64bytes against it, an oversize write is refused before its bytes copy, and stream chunks apply the cap as they arrive (upstream #280).0113— Workerd’s sendable close codes: an endpoint may send 1000–4999 except the reserved no-status codes 1004, 1005, 1006, and 1015, which stay refused. Codes 1001–1014 that used to throw now close; a caller-initiated close is delivered on both pipes (upstream #279). Default behavior change.0114—fetch()responses withContent-Encoding: gzipordeflatedecompress chunk by chunk; a truncated body is an error, not a clean end, and multi-member gzip concatenates (upstream #238).0116—dir/index.htmlserves at its trailing-slash URL, not only the directory URL (upstream #318).0130— Tenant TLS roots are shared across fetch, sockets, and outbound WebSockets: Mozilla’s anchors plus the OS store andSSL_CERT_FILE, cached. A downloaded CA the OS trusts now works for tenantfetchtoo (upstream #230).0131— Host-injectedCELLO_NODEidentity:envcarries the name of the node running the code, injected by the host after every deployment binding. The name is reserved —vars,.dev.vars, and every other binding kind are refused at deploy time, and a loaded Worker’s props cannot smuggle it — while aCELLO_NODEentry in.env/.env.localis skipped with a warning and the host value wins at runtime (upstream #219). This changes deploy behavior for projects binding the name.