@cloudflare/sandbox
1.0.3 · 22 Oct 2026Apache-2.02.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @cloudflare/sandbox From 0.8.11 to 0.8.14
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Adds a new
transport: 'http' | 'websocket'field to thegetSandbox()options. This can be used to dynamically select transport on a per-sandbox basis. - New
Adds support for local backup and restore through the
BACKUP_BUCKETR2 binding in local development whenlocalBucket: trueis set. - Fixed
Avoid duplicate session-create calls when parallel operations hit a fresh sandbox. Parallel callers now share one setup call instead of each issuing their own. Sequential operations are unaffected.
- Fixed
Fix sandboxes staying alive past their configured
sleepAftervalue. - Fixed
Improve reliability of
desktop.stop()as well as general isolation of the desktop processes by running them in a subprocess. This should ensure that processes are cleaned up when callingdesktop.stop()and crashes should not impact the sandbox container service. - Fixed
Fix stream controller race condition causing "Invalid state: Controller is already closed" errors
- 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.