New features
Limit how much a snapshot import can write. Snapshot imports accept an optional maximum disk size. The limit counts logical file bytes, including metadata, dependencies and sparse holes, and each declared file disk must also fit. Imports over the limit fail before publication, but can write temporary files before failing. Omit the limit to keep imports unlimited.maximum_disk_bytes in Rust, Python and Ruby, maximumDiskBytes() in TypeScript and MaximumDiskBytes in Go. Snapshot commands
Fixes
- Cloud sandbox creation works against the deployed Cloud API again. Explicit compute tier selection still requires the newer API.
- Cloud log follows and volume downloads no longer fail just because they outlast the request timeout. Uploads keep their total timeout.
- After looking up a Cloud sandbox, commands use its own working directory, shell and default command. Cloud creation resolves secrets whose values come from environment variables.
- Rust returns
MicrosandboxError::InvalidWorkdirwhen the guest rejects the configured working directory. - The current SDK can launch compatible, separately installed runtimes without an exact version match. Self-update and downgrade accept release candidate versions.
- Python processes shut down native workers cleanly at exit, which fixes intermittent crashes during interpreter shutdown.
Before upgrading
- Rust snapshot import options.
SnapshotImportOptionsandLoadOptsgain a publicmaximum_disk_bytesfield. Struct literals that list every field must add it or use..Default::default(). - Multi-tenant DNS. Multi-tenant sandboxes now use the operator’s
dns.nameserverslist, or1.1.1.1and1.0.0.1when it is omitted, instead of host DNS. Set the list if your sandboxes need different resolvers, then restart multi-tenant sandboxes. - Coming from v0.7? Follow the v0.7 to v0.8 migration guide.