New features
Keep pre-warmed images when you prune.msb image prune accepts a repeatable --exclude-from <PATH> flag. Each file lists one OCI image reference per line. References are normalized like msb pull, so alpine:3.20 keeps docker.io/library/alpine:3.20 and its layers. A missing or unreadable file, or an invalid reference, makes the command exit with an error without deleting anything. Image commands
SandboxBuilder::image_cache_dir, RestoreBuilder::image_cache_dir and RegistryConfigBuilder::cache_dir keep a sandbox’s image in a separate cache directory.
Opt-in host hardening. New runtime.strict_host_files, runtime.patches and snapshots.copy_files settings reject symlinks in SDK log and disk-lock opens, stage host-copy patches within size limits, and give snapshot and restored files their own inodes. Configuration
Cloud restart in place. Restarting a running Cloud sandbox uses the Cloud restart route instead of a stop and start, so force works on Cloud. Timeouts are rounded up to whole seconds and cannot exceed 60 seconds. An API without the route returns Unsupported. Lifecycle
Rust also adds AgentClient::connect_in_band_with_deadline to keep bulk agent payloads on the relay socket.
Fixes
- Strict hostname policy now also denies UDP traffic, including QUIC and HTTP/3, that only a hostname rule allows. DNS forwarding is unaffected. Networking
msb-metricsflushes every second by default instead of every 10 seconds, so guest memory metrics are no longer dropped as stale. msb-metrics- On Windows, a protected
MSB_HOMEcan live on a shared NTFS data drive. Windows troubleshooting - Unrecognized Cloud HTTP 400 and 422 responses keep their status and server message.
Before upgrading
- Strict UDP needs the new runtime. Upgrade
msband restart running sandboxes. Before upgrading - Multi-tenant hosts. The multi-tenant profile turns on the new hardening settings, and existing private layers in the shared cache need cleanup. Before upgrading
- Rust Cloud errors. Unrecognized HTTP 400 and 422 responses now return
MicrosandboxError::CloudHttpinstead ofMicrosandboxError::InvalidConfig. - Downgrades. Downgrading to v0.8.1 or earlier is refused while an isolated image cache is in use. Returning to an older release
- Coming from v0.7? Follow the v0.7 to v0.8 migration guide.