Skip to content

Releases: cloudflare/sandbox-sdk

@cloudflare/sandbox@0.8.11

15 Apr 16:43

Choose a tag to compare

Patch Changes

  • #585 ab84333 Thanks @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

13 Apr 18:10
da489d3

Choose a tag to compare

Patch Changes

  • #577 a56898c Thanks @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

10 Apr 12:47
a91e292

Choose a tag to compare

Patch Changes

  • #570 8363119 Thanks @aron-cf! - Fix unmountBucket() silently succeeding when the FUSE filesystem fails to unmount. The method now checks the fusermount exit code and throws BucketUnmountError on failure, cleans up the mount directory after a successful unmount, and the container image includes the /etc/mtab symlink that fusermount requires.

  • #573 cc14fc7 Thanks @whoiskatrin! - Increase the default gitCheckout() 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 the cloneTimeoutMs option when a checkout needs more time.

@cloudflare/sandbox@0.8.8

09 Apr 21:53
3f57230

Choose a tag to compare

Patch Changes

  • #571 c5db840 Thanks @whoiskatrin! - Require @cloudflare/containers 0.3.0 so sandbox apps pick up the latest Containers platform updates.

@cloudflare/sandbox@0.8.7

08 Apr 16:25
37b6805

Choose a tag to compare

Patch Changes

  • #565 ffcbd3a Thanks @whoiskatrin! - Require @cloudflare/containers 0.2.3 or newer.

  • #550 1db32ea Thanks @scuffi! - Setting interceptHttps = true on your Sandbox will now automatically trust the Cloudflare-injected CA certificate at container startup, enabling outbound HTTPS traffic interception.

@cloudflare/sandbox@0.8.6

07 Apr 16:07
6cb59e0

Choose a tag to compare

Patch Changes

  • #557 f17045b Thanks @AshishKumar4! - Fix startup deadlock when using WebSocket transport.

    Sandboxes that call exec() or other SDK methods inside onStart() could
    get stuck in an infinite timeout loop, requiring a restart. This is now
    handled automatically.

@cloudflare/sandbox@0.8.5

07 Apr 15:44
927b7c1

Choose a tag to compare

Patch Changes

  • #559 b42a57f Thanks @whoiskatrin! - Allow createBackup() and restoreBackup() to target directories under /app.
    This makes backups work with custom images that keep application files in /app instead of /workspace.

@cloudflare/sandbox@0.8.4

01 Apr 18:59
774c16d

Choose a tag to compare

Patch Changes

  • #542 eb55c28 Thanks @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

01 Apr 13:53
90e1751

Choose a tag to compare

Patch Changes

  • #515 bf54f69 Thanks @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 fdd3efa Thanks @whoiskatrin! - Add checkChanges() for apps that disconnect and reconnect later but still need to know whether files changed in the meantime.

    Use the returned version in 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

01 Apr 12:41
77725e4

Choose a tag to compare

Patch Changes

  • #544 9a2f553 Thanks @whoiskatrin! - Require @cloudflare/containers 0.2.2 or newer so long-running streamed commands stay alive past sleepAfter while work is still in progress.