Packages

@cloudflare/sandbox

1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed

Upgrading @cloudflare/sandbox From 0.12.10 to 0.12.11

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.12.10Newest 0.x0.12.14Latest1.0.3
  1. 0.12.10yours
  2. 0.12.11target
0
changes to make
0
advisories fixed
0
new
6
fixes

Release by release

  1. 0.12.11

    19 Oct 20266 fixes
    • Fixed

      Stop backups from dropping whole directories when excludes or gitignore: true match a nested path. For example, excludes: ['.cache/foo/*/node_modules'] no longer removes all of .cache from the archive. A multi-component pattern such as build/output now matches only relative to the backup directory, while a single-component pattern such as node_modules still matches at any depth. Because mksquashfs does not support **, a pattern like **/node_modules/.cache now excludes only node_modules/.cache at the root of the backup directory; add a pattern for each nested location that must stay out of the backup.

    • Fixed

      Return 404 with workspace_read_not_found from the bridge's GET /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.

    • Fixed

      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.

    • Fixed

      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 Agents Shell and Editor adapters 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's context.command.

    • Fixed

      Fix restoreBackup() error reporting for archives of 10 MB or more. A failed download part now throws a BackupRestoreError that includes curl's error output and each part's exit code, instead of a Shell terminated unexpectedly session error.

    • Fixed

      Sync local bucket mounts outside /workspace, such as /data, from the container back to R2. watch() and checkChanges() 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.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.