@cloudflare/sandbox
1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @cloudflare/sandbox From 0.10.3 to 0.11.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Allow backup and restore presigned URLs to target non-default R2 endpoints. Set
BACKUP_BUCKET_ENDPOINT, for examplehttps://<account_id>.eu.r2.cloudflarestorage.com, when your backup bucket uses an R2 jurisdiction. - New
Add bridge endpoints for managing tunnels to sandbox services. HTTP clients can call
POST /v1/sandbox/:id/tunnel/:portwith an optionalnamebody field for a predictable named URL, andDELETE /v1/sandbox/:id/tunnel/:portto remove the tunnel. - New
Add named-tunnel support to
sandbox.tunnels.get(port, { name }). Named tunnels bind a user-controlled hostname (<name>.<your-zone>) backed by a Cloudflare Tunnel and a proxied CNAME on your zone, so the URL is stable across container restarts and across sandboxes that share the same name. Callingsandbox.destroy()tears down the Cloudflare tunnel and DNS record alongside the container. - Fixed
Prevent stale preview URLs from waking or reaching sandbox runtimes. Invalid, revoked, or destroyed preview URLs return
404 INVALID_TOKEN; authorized URLs that are not activated for the current runtime return410 STALE_PREVIEW_URLuntil the port is exposed again. Existing preview URLs that previously survived container restart now return410 STALE_PREVIEW_URLafter a restart until the port is exposed again in the new runtime. - Fixed
Classify Office Open XML files such as
.xlsxand.docxas binary when reading files so they are returned with base64 encoding instead of text decoding.
- New
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.