Sourced from @cloudflare/sandbox's releases.
@cloudflare/sandbox@0.12.14Patch Changes
- #1028
2e4e1ebThanks@ghostwriternr! - Update the container runtime to Bun 1.4.4. Bun checks certificates against its own built-in CA list, and in 1.4.4 that list no longer trusts the compromised eMudhra intermediates, so thebuncommand andcreateBackup()uploads of 10 MiB or more now reject their certificates. Bun 1.4.4 also updates Brotli to 1.2.1, which fixes CVE-2026-111497. The-opencodeimage ships OpenCode 1.19.4 or later, which also runs on Bun 1.4.4.
@cloudflare/sandbox@0.12.13Patch Changes
- #1023
a4eaa89Thanks@ghostwriternr! - Stop trusting certificates from the compromised eMudhra intermediate CAs in the container images. The images now ship the updated Ubuntu and Alpine CA bundles, Node.js 22.23.4, cloudflared 2026.10.2, and pip 26.2.2 in the-pythonimage. Bun keeps trusting these certificates until it releases a fix, which affectsbun, opencode, and multipart uploads increateBackup()for archives of 10 MiB or more. Update the container image to get this fix. See the eMudhra certificate compromise for details.
@cloudflare/sandbox@0.12.12Patch Changes
#1002
8dc216cThanks@ghostwriternr! - FixmountBucket()breaking an existing mount when a second call for the same mount path fails with "already in use". The existing mount now stays mounted and usable.#1013
98b787bThanks@ghostwriternr! - Keep streamingexec()alive while a command is quiet, and enforce itstimeout. Quiet commands were cut off after about four minutes on the HTTP transport and five on WebSocket. The timeout was ignored on those transports, and on every transport for commands that run in a session. Requires the matching container image.#1008
b2a862cThanks@ghostwriternr! - Keep R2 binding and credential-proxy bucket mounts working when the Sandbox Durable Object restarts while its container keeps running. The mounts used to stay listed but fail every read and write withEIOuntilmountBucket()was called again.#1003
e8332cdThanks@ghostwriternr! - FixcreateOpencodeServer()andcreateOpencode()waiting for the full three-minute startup timeout whenOPENCODE_SERVER_PASSWORDis set. When the password is passed inenv, the client returned bycreateOpencode()now authenticates with it.#1016
d62f020Thanks@ghostwriternr! - Create the s3fs password file formountBucket()with mode 0600 from the start. The file used to be readable by other users in the container until a chmod a moment later, long enough for a non-root process to open it and read the bucket credentials. Upgrade the container image together with the SDK to close the gap; with an older image, mounts work as before.#996
da3d7b6Thanks@ghostwriternr! - Answer a preview request with502when the app's port in the container fails, for example because nothing listens on it or it closes the connection, and log the original error. Previously the error escaped the Sandbox,proxyToSandbox()answered500 Proxy routing error, and the log blamed a platform runtime update.#997
c79bf1dThanks@ghostwriternr! - Forward WebSocket upgrades on preview URLs withHost: localhost:<port>, like every other preview request. Dev servers that check theHostheader, such as Vite, no longer reject HMR connections. The public hostname is still inX-Forwarded-Host.#1000
c676077Thanks@ghostwriternr! - Keep preview URLs and tunnels working on the RPC transport after the control connection reconnects. The connection closes after 1 second without calls, and the next call used to rerun the sandbox's start handling even though the container was still running. Preview URLs then returned410 STALE_PREVIEW_URL,getExposedPorts()returned an empty list, quick tunnels disappeared fromtunnels.list(), andtunnels.get()could fail with "Tunnel recovery attempts were exhausted".#1010
7866d45Thanks@ghostwriternr! - Stop the first call on the RPC transport from failing when Cloudflare can't provide a container right away. The call now keeps waiting for the container within its retry window.#995
becade1Thanks@ghostwriternr! - Stop the container server from crashing withENOENT: no such file or directory, watch '…/<id>.log.stderr'while commands run. The crash killed every process in the container. Update the container image to pick up this fix.#1007
fa57149Thanks@ghostwriternr! -tunnels.get()on the RPC transport now reports the real tunnel error, such ascloudflaredfailing to start or missing from the image, instead of "Tunnel recovery attempts were exhausted". It also no longer leaves a port stuck after giving up: acloudflaredleft running from an earlier attempt is stopped and replaced. Replacing it needs the matching container image.
@cloudflare/sandbox@0.12.11Patch Changes
#889
119336eThanks@scuffi! - Stop backups from dropping whole directories whenexcludesorgitignore: truematch a nested path. For example,excludes: ['.cache/foo/*/node_modules']no longer removes all of.cachefrom the archive. A multi-component pattern such asbuild/outputnow matches only relative to the backup directory, while a single-component pattern such asnode_modulesstill matches at any depth. Because mksquashfs does not support**, a pattern like**/node_modules/.cachenow excludes onlynode_modules/.cacheat the root of the backup directory; add a pattern for each nested location that must stay out of the backup.#914
66862ffThanks@ghostwriternr! - Return 404 withworkspace_read_not_foundfrom the bridge'sGET /v1/sandbox/:id/file/*when the file doesn't exist. The route used to return 200 with an empty body, the same response as an empty file.#894
20d72dbThanks@scuffi! - Fix local bucket mounts for large files and write bursts. On the RPC transport, objects over 4 MiB now stream into the container instead of failing with an interrupted runtime connection. Container files stream back to R2 byte for byte, without loading the whole file into Worker memory. A file being written uploads once its changes settle, instead of on every write.#926
6678b13Thanks@ghostwriternr! - Stop writing command text and output to Sandbox logs. Exec and process log events now record IDs, exit codes, durations, and output lengths, and the OpenAI AgentsShellandEditoradapters no longer log commands, stderr, or patch text, so secrets in commands, output, or patches no longer reach Workers Logs or container logs. Command failure messages no longer repeat the command; it remains available on the error'scontext.command.#888
6c9edccThanks@scuffi! - FixrestoreBackup()error reporting for archives of 10 MB or more. A failed download part now throws aBackupRestoreErrorthat includes curl's error output and each part's exit code, instead of aShell terminated unexpectedlysession error.#887
13f477dThanks@scuffi! - Sync local bucket mounts outside/workspace, such as/data, from the container back to R2.watch()andcheckChanges()now accept any absolute path on every transport, as documented. A local mount whose container rejects the watch now logs one error instead of retrying forever.
... (truncated)
b96de6e
Version Packages (#1034)2e4e1eb
Update the container runtime to Bun 1.4.4 (#1028)b3a8566
Promote public refs to 0.12.13 (#1027)2538b55
Version Packages (#1026)a4eaa89
Stop trusting compromised eMudhra intermediates (#1023)7fbb9e5
Keep polling when a rollout wrangler call fails (#1018)e3ebd96
Promote public references to 0.12.12 (#1019)0d96b78
Version Packages (#1004)d62f020
Create s3fs support files owner-only from the start (#1016)98b787b
Stop cutting off quiet exec streams (#1013)