Packages

@cloudflare/sandbox

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

Upgrading @cloudflare/sandbox From 0.12.11 to 1.0.3

7 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.12.11Newest 0.x0.12.14
The note of 1.0.0 lists no breaking change or deprecation; the migration guide below lists them.
?
changes to make
0
advisories fixed
0
new
15
fixes

Start here

Security

  • 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 the bun command and createBackup() 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 -opencode image ships OpenCode 1.19.4 or later, which also runs on Bun 1.4.4.

    0.12.14

Release by release

  1. 1.0.3

    22 Oct 20261 fix
    • Fixed

      Fix Files.readDirectory() dropping a leading U+FEFF from entry names. Names that start with U+FEFF now come back unchanged, so passing them to stat() or other file operations finds the entry.

  2. 1.0.2

    20 Oct 20261 fix
    • Fixed

      Fix Files.readFile() hanging forever when the container sends file bytes before the opening control frame. The read now completes however the container transport orders the two streams.

  3. 1.0.1

    13 Oct 20261 fix
    • Fixed

      Pin Zod 4.6.5, the version that Workers tooling such as @cloudflare/vitest-plugin pins, so a project that installs both installs one copy of Zod instead of two.

  4. 1.0.0nothing new or fixed in the note

  5. 0.12.14

    Security fix22 Oct 2026
    • Security

      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 the bun command and createBackup() 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 -opencode image ships OpenCode 1.19.4 or later, which also runs on Bun 1.4.4.

  6. 0.12.13

    21 Oct 20261 fix
    • Fixed

      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 -python image. Bun keeps trusting these certificates until it releases a fix, which affects bun, opencode, and multipart uploads in createBackup() for archives of 10 MiB or more. Update the container image to get this fix. See the eMudhra certificate compromise for details.

  7. 0.12.12

    20 Oct 202611 fixes
    • Fixed

      Fix mountBucket() 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.

    • Fixed

      Keep streaming exec() alive while a command is quiet, and enforce its timeout. 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.

    • Fixed

      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 with EIO until mountBucket() was called again.

    • Fixed

      Fix createOpencodeServer() and createOpencode() waiting for the full three-minute startup timeout when OPENCODE_SERVER_PASSWORD is set. When the password is passed in env, the client returned by createOpencode() now authenticates with it.

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.