Releases: cloudflare/sandbox-sdk
@cloudflare/sandbox@0.8.11
Patch Changes
-
#585
ab84333Thanks @aron-cf! - Add the sandbox bridge — an HTTP API that translates REST calls into Sandbox Durable Object operations. Deploy the bridge as a standalone Cloudflare Worker to expose session management, command execution, file read/write, PTY, and workspace mount/unmount over HTTP. Includes an optional warm pool Durable Object for pre-provisioning sandboxes to reduce cold-start latency.Import the bridge factory and warm pool from
@cloudflare/sandbox/bridge.import { bridge } from '@cloudflare/sandbox/bridge'; export { Sandbox } from '@cloudflare/sandbox'; export { WarmPool } from '@cloudflare/sandbox/bridge'; export default bridge({ fetch(request, env, ctx) { // your code here return new Response('OK'); } });
@cloudflare/sandbox@0.8.10
Patch Changes
- #577
a56898cThanks @whoiskatrin! - Improve backup restores by mounting backup archives from R2 during restore
instead of downloading them into local container storage first.
@cloudflare/sandbox@0.8.9
Patch Changes
-
#570
8363119Thanks @aron-cf! - FixunmountBucket()silently succeeding when the FUSE filesystem fails to unmount. The method now checks thefusermountexit code and throwsBucketUnmountErroron failure, cleans up the mount directory after a successful unmount, and the container image includes the/etc/mtabsymlink thatfusermountrequires. -
#573
cc14fc7Thanks @whoiskatrin! - Increase the defaultgitCheckout()clone timeout to 10 minutes so larger repositories and slower Git remotes do not fail after 2 minutes by default.
You can now override the git clone subprocess timeout per call with thecloneTimeoutMsoption when a checkout needs more time.
@cloudflare/sandbox@0.8.8
Patch Changes
- #571
c5db840Thanks @whoiskatrin! - Require@cloudflare/containers0.3.0 so sandbox apps pick up the latest Containers platform updates.
@cloudflare/sandbox@0.8.7
Patch Changes
@cloudflare/sandbox@0.8.6
Patch Changes
-
#557
f17045bThanks @AshishKumar4! - Fix startup deadlock when using WebSocket transport.Sandboxes that call
exec()or other SDK methods insideonStart()could
get stuck in an infinite timeout loop, requiring a restart. This is now
handled automatically.
@cloudflare/sandbox@0.8.5
Patch Changes
- #559
b42a57fThanks @whoiskatrin! - AllowcreateBackup()andrestoreBackup()to target directories under/app.
This makes backups work with custom images that keep application files in/appinstead of/workspace.
@cloudflare/sandbox@0.8.4
Patch Changes
- #542
eb55c28Thanks @dependabot! - Upgrade Go toolchain to 1.25 and update dependencies in the desktop container variant, including a security fix for image processing (CVE-2026-33809).
@cloudflare/sandbox@0.8.3
Patch Changes
-
#515
bf54f69Thanks @Muhammad-Bin-Ali! - Fix slow parallel code context creation. Creating multiple contexts concurrently (e.g. 10 at once) no longer scales linearly with each request — wall time drops from ~5s to ~500ms. -
#493
fdd3efaThanks @whoiskatrin! - AddcheckChanges()for apps that disconnect and reconnect later but still need to know whether files changed in the meantime.Use the returned
versionin a later call to learn whether a path is unchanged, changed, or needs a full resync. Retained change state lasts for the current container lifetime only.
@cloudflare/sandbox@0.8.2
Patch Changes
- #544
9a2f553Thanks @whoiskatrin! - Require@cloudflare/containers0.2.2 or newer so long-running streamed commands stay alive pastsleepAfterwhile work is still in progress.