unstale

npm / microsandbox

microsandbox

What changed in microsandbox 0.3 to 0.7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

50 breaking17 security188 new APIs and options11 performance29 behavior and defaults3 tooling186 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

microsandbox 0.7123 changes

Breaking changes 9

  • The SDK refuses env values the guest cannot boot with.

    0.7.9release notes

  • Network policy denials return JSON by default.

    0.7.9release notes

  • The SDK refuses reserved label keys in modify.

    0.7.9release notes

  • Disk restores that would silently drop host mounts are refused.

    0.7.8release notes

  • Denied HTTP/HTTPS egress now receives a 403 instead of a connection reset.

    0.7.5release notes

  • Readable denial responses are opt-in.

    0.7.5release notes

  • Renames the SDK option allow_passthrough_for to allow_placeholder_for.

    0.7.4release notes

  • Enables the strict hostname policy by default.

    0.7.3release notes

  • Guest filesystem flush policies are now explicit, changing how developers specify snapshot flush behavior.

    0.7.1release notes

Security 4

  • Truncated HPACK blocks are rejected before decoding.

    0.7.8release notes

  • Applies exec limits before switching users.

    0.7.7release notes

  • Prevents secret leaks and corrects adapter behavior.

    0.7.7release notes

  • Secret scanning is scoped to request locations.

    0.7.4release notes

New APIs and options 33

  • Services are added to the SDKs and CLI.

    0.7.16release notes

  • Adds opt-in candidate installs and publishing.

    0.7.15release notes

  • Admission metrics are exposed for monitoring network admission.

    0.7.14release notes

  • Secrets can be modified on cloud sandboxes.

    0.7.12release notes

  • The SDK exposes HTTP CONNECT proxy authentication.

    0.7.11release notes

  • The Go SDK allows anonymous registry authentication.

    0.7.10release notes

  • Configuration can restrict backends.

    0.7.9release notes

  • Context commands are added.

    0.7.9release notes

  • HTTP CONNECT proxy basic authentication is supported.

    0.7.9release notes

  • Published ports can be added and removed.

    0.7.9release notes

  • The SDK exposes retained sandbox exit outcomes.

    0.7.9release notes

  • An opt-in helper provides application certificate trust.

    0.7.8release notes

  • Filesystem state limits can be configured for snapshots.

    0.7.8release notes

  • Secret substitution can be scoped to specific header fields.

    0.7.8release notes

  • The msb restore command accepts --mount-disk.

    0.7.8release notes

  • Detached jobs can be owned by the runtime.

    0.7.8release notes

  • Adds cache cleanup functionality.

    0.7.7release notes

  • Adds controls for command tree depth and display.

    0.7.7release notes

  • Adds DAX support to the filesystem.

    0.7.7release notes

  • Adds an option to disable guest clock synchronization.

    0.7.7release notes

  • Adds support for an HTTP CONNECT outbound proxy.

    0.7.7release notes

  • Makes the filesystem init binary optional.

    0.7.7release notes

  • Adds storage usage reports.

    0.7.7release notes

  • The SDK adds fork naming and deprecated compatibility aliases.

    0.7.5release notes

  • The exec and run commands add --no-stdin.

    0.7.5release notes

  • The published-port TCP accept queue size is configurable.

    0.7.5release notes

  • Core errors in the Ruby SDK are mapped to typed exception classes.

    0.7.4release notes

  • Adds managed administrator overrides to configuration.

    0.7.3release notes

  • Adds a command for waiting on a sandbox.

    0.7.3release notes

  • Adds shared contracts for cloud snapshots.

    0.7.0release notes

  • Adds request compatibility for cloud use.

    0.7.0release notes

  • Adds opt-in startup and network traces for profiling.

    0.7.0release notes

  • Adds configuration for TCP and UDP connection limits.

    0.7.0release notes

Performance 3

  • Cuts per-file host operations on passthrough mounts.

    0.7.15release notes

  • Reduces host CPU usage for paused sandboxes.

    0.7.7release notes

  • Improves network and temporary-storage reliability.

    0.7.0release notes

Behavior and default changes 5

  • Inbound TCP is queued, allowing connections to wait for admission.

    0.7.14release notes

  • Sandboxes support nested virtualization.

    0.7.12release notes

  • Label modifications apply live to running sandboxes.

    0.7.9release notes

  • Published ports support ranges.

    0.7.8release notes

  • Control operations gain generation-two CBOR parity.

    0.7.5release notes

Tooling 1

Fixes and other changes 68

  • Bulk cleanup bursts no longer stop the guest.

    0.7.16release notes

  • The SDK decodes every cloud sandbox status.

    0.7.16release notes

  • SNI DNS bindings are revalidated on reconnect.

    0.7.16release notes

  • Failures involving stdin, logs, init, image, and ports are repaired.

    0.7.14release notes

  • Cloud SDK cleanup and CLI onboarding issues are repaired.

    0.7.14release notes

  • Failed command outcomes are preserved over SSH.

    0.7.14release notes

  • Legacy sandbox storage is recovered safely.

    0.7.14release notes

  • Directory listings skip Windows reparse points.

    0.7.14release notes

  • Guest sparse seek modes are translated on macOS.

    0.7.12release notes

  • Bare host copy destinations are resolved against the current directory.

    0.7.12release notes

  • Sandbox cleanup recovers when creation is interrupted.

    0.7.12release notes

  • Keyring is enabled in CLI builds.

    0.7.12release notes

  • The Node SDK validates kill and connect timeouts before calling native code.

    0.7.12release notes

  • Windows bind mounts follow host-side renames.

    0.7.12release notes

  • Preserves caller overrides across rebuilds.

    0.7.11release notes

  • Allows detached jobs to idle.

    0.7.11release notes

  • Makes empty exec stdin writes a no-op.

    0.7.11release notes

  • Keeps pruning safe without blocking unrelated work.

    0.7.11release notes

  • Prevents terminal sessions from hanging after output.

    0.7.11release notes

  • The bootstrap trampoline rootfs is reclaimed after the VM exits.

    0.7.10release notes

  • The runtime now honors custom filesystem backends.

    0.7.10release notes

  • Node and Go can modify the set secret policy.

    0.7.10release notes

  • IPv4 fallback is preserved when IPv6 stalls.

    0.7.9release notes

  • Live legacy startup endpoints are preserved.

    0.7.9release notes

  • Relative install paths are resolved before changing directory.

    0.7.9release notes

  • The last entry of a repeated env key is set.

    0.7.9release notes

  • Secret substitution is preserved for plain modify.

    0.7.9release notes

  • Import no longer creates duplicate catalog entries.

    0.7.9release notes

  • Default storage usage output is shorter.

    0.7.9release notes

  • Cached paths are updated after Windows directory renames.

    0.7.8release notes

  • Disk-only restores from snapshot archives are allowed.

    0.7.8release notes

  • Memory limits and usage now follow live memory resizes.

    0.7.8release notes

  • The relay keeps running if a local client's arena closes mid-route.

    0.7.8release notes

  • SQLite locks are preserved during Linux identity checks.

    0.7.8release notes

  • Storage cleanup and snapshot recovery are repaired.

    0.7.8release notes

  • Windows cleanup and usage accounting are completed.

    0.7.8release notes

  • Keeps earlier DNS answers bound to a domain.

    0.7.7release notes

  • Surfaces guest initialization failures.

    0.7.7release notes

  • Accepts reordered image metadata when importing an archive.

    0.7.7release notes

  • Regenerates the image VMDK descriptor when importing an archive.

    0.7.7release notes

  • Provides a utoipa schema for nat64_prefixes.

    0.7.7release notes

  • Publishes ports without host routes.

    0.7.7release notes

  • Includes the peer's message in rejected operation errors.

    0.7.7release notes

  • Reads restored resource targets while the sandbox is still starting.

    0.7.7release notes

  • Allows removing a sandbox that never started.

    0.7.7release notes

  • Supports secret policy modification options in Python.

    0.7.7release notes

  • Creates SFTP files and directories as the session user.

    0.7.7release notes

  • Reports symlinked bind mount roots at create time.

    0.7.7release notes

  • Drains TCP responses before closing.

    0.7.7release notes

  • Patch parents retain lower directory metadata.

    0.7.5release notes

  • Piped exec no longer hangs on stdin.

    0.7.5release notes

  • Guest FIN is propagated on published ports.

    0.7.5release notes

  • Snapshot patches are rejected before storage is created.

    0.7.5release notes

  • Placeholders are allowed on trusted secret hosts.

    0.7.5release notes

  • Surviving macOS hard links remain writable.

    0.7.4release notes

  • Fixes forwarding of binary first flights.

    0.7.3release notes

  • Preserves SDK and runtime compatibility across versions.

    0.7.3release notes

  • Finds libkrunfw through symlinks.

    0.7.3release notes

  • Fixes compilation on musl.

    0.7.3release notes

  • Detects the native Linux musl target.

    0.7.3release notes

  • Enables TLS interception when modify adds a secret.

    0.7.3release notes

  • Catalog upgrades are allowed while older runtimes are running.

    0.7.2release notes

  • CLI upgrades are separated from SDK compatibility in the catalog.

    0.7.1release notes

  • Owned block disks now honor the guest flush policy.

    0.7.1release notes

  • Metrics now read legacy registry ABIs.

    0.7.0release notes

  • Stops macOS fallocate from truncating larger files.

    0.7.0release notes

  • Prevents suffix matching from panicking on multibyte SNI.

    0.7.0release notes

  • Creates standard stream symlinks during initialization.

    0.7.0release notes

microsandbox 0.6120 changes

Breaking changes 12

  • Deferred domain allows require DNS pins.

    0.6.10release notes

  • Guest bootstrap is moved off the kernel command line.

    0.6.10release notes

  • Python SDK closed values are now standardized as enums, changing how developers represent these values.

    0.6.9release notes

  • Cloud backend selection must now be explicit.

    0.6.9release notes

  • Snapshot payload integrity is now opt-in.

    0.6.9release notes

  • The SDK unifies the cloud backend and paginated listings, changing how developers use those SDK capabilities.

    0.6.8release notes

  • The failure-message field is renamed.

    0.6.7release notes

  • Guest paths are typed as strings, and Windows path handling is fixed.

    0.6.7release notes

  • Mount-root symlink protection is enabled by default, with an opt-out.

    0.6.7release notes

  • The oci-upper-size setting is replaced by a structured root-disk specification.

    0.6.7release notes

  • Snapshot attempts for tmpfs or disk-image root disks return purposeful errors.

    0.6.7release notes

  • Stopping execution now kills the process group rather than only the direct child.

    0.6.4release notes

Security 2

New APIs and options 43

  • Adds support for outbound SOCKS4 and SOCKS5 proxies.

    0.6.17release notes

  • Adds support for proxy credentials.

    0.6.17release notes

  • Adds SOCKS5 UDP support.

    0.6.17release notes

  • The Go SDK resolves its install directory from MSB_HOME.

    0.6.16release notes

  • Adds a fallible lazy local backend builder for SDK users.

    0.6.13release notes

  • Adds a mod alias to the CLI.

    0.6.13release notes

  • The CLI adds plural aliases for resource list commands.

    0.6.10release notes

  • The SSH inactivity timeout is configurable.

    0.6.10release notes

  • The SDK exposes the active backend context.

    0.6.9release notes

  • The SDK supports default volume files in cloud environments.

    0.6.9release notes

  • Deployment profiles can be configured from config.json.

    0.6.9release notes

  • The SDK adds explicit default workload execution.

    0.6.9release notes

  • The runtime adds deployment profiles.

    0.6.9release notes

  • Root filesystems can use flat OCI root disks.

    0.6.9release notes

  • Go and Python SDKs expose insecure and CA certificate registry overrides.

    0.6.9release notes

  • A production-ready Ruby SDK gem is added.

    0.6.9release notes

  • The CLI adds a command for generating shell completion scripts.

    0.6.9release notes

  • Placement profiles can account for NUMA.

    0.6.9release notes

  • Network egress and ingress rate limits can be set per sandbox.

    0.6.9release notes

  • SDK bindings now expose root disk resizing.

    0.6.9release notes

  • The runtime adds scoped sockets and host vsock routes.

    0.6.9release notes

  • The SDK supports sparse patches to sandbox configuration.

    0.6.9release notes

  • A shared LogRegistry is available for followed streams.

    0.6.8release notes

  • A top-level downgrade alias is added.

    0.6.7release notes

  • The SDK exposes tty resizing for exec sessions.

    0.6.7release notes

  • Image.load is exposed for loading local image archives; support is extended to the Node and Go SDKs.

    0.6.7release notes

  • Image.save is exposed for saving local image archives; support is extended to the Node and Go SDKs.

    0.6.7release notes

  • Composable network profiles are added.

    0.6.7release notes

  • Bidirectional migration for the v0.6.6 snapshot format is added.

    0.6.7release notes

  • A sandbox status_reason field is added.

    0.6.7release notes

  • The Go SDK supports tty exec sessions.

    0.6.7release notes

  • A top-level update alias is added.

    0.6.7release notes

  • A top-level upgrade alias is added.

    0.6.7release notes

  • The Go SDK adds Windows support.

    0.6.7release notes

  • Running sandboxes can now be modified and resized live.

    0.6.4release notes

  • Shows sandbox state and adds watch/follow modes to metrics.

    0.6.4release notes

  • Shows resource allocations for sandboxes.

    0.6.4release notes

  • The shutdown flush timeout can now be overridden.

    0.6.4release notes

  • The doctor feature adds cross-platform host checks with safe auto-fixes.

    0.6.1release notes

  • Adds a CLI option for execution without a TTY.

    0.6.1release notes

  • The CLI adds a self-downgrade capability.

    0.6.1release notes

  • The SDK now supports a host-directory bind rootfs.

    0.6.0release notes

  • Windows is now supported.

    0.6.0release notes

Performance 5

  • On Windows, allocated file ranges are copied on NTFS.

    0.6.15release notes

  • The runtime integrates a measured host optimization stack.

    0.6.9release notes

  • Files with holes are stored as GNU sparse tar entries on export.

    0.6.7release notes

  • Image loading is faster with an early cache gate and zlib-rs decoding.

    0.6.2release notes

  • Image pulling is faster with an early cache gate and zlib-rs decoding.

    0.6.2release notes

Behavior and default changes 9

Tooling 1

  • A precompiled platform gem build pipeline was added for Ruby.

    0.6.10release notes

Fixes and other changes 48

  • Log retrieval is routed through SDK backends.

    0.6.16release notes

  • An empty MSB_HOME is treated as unset.

    0.6.16release notes

  • Network slots are recycled.

    0.6.16release notes

  • On Windows, host DNS is routed through the system resolver.

    0.6.15release notes

  • Readonly mounts no longer trigger write probes.

    0.6.15release notes

  • Removes backend notices from the CLI.

    0.6.13release notes

  • Supports resizing legacy ext4 upper disks.

    0.6.13release notes

  • Temporary exec sandboxes are stopped when errors occur.

    0.6.13release notes

  • Preserves the executable mode of the bundled msb executable so it can be run as intended.

    0.6.12release notes

  • Bind mount paths are formatted correctly.

    0.6.10release notes

  • Errors are cleared when a bind-mount host directory is permission-denied.

    0.6.10release notes

  • Networking falls back between host loopback families.

    0.6.10release notes

  • Nested mount destinations are ordered parent first.

    0.6.10release notes

  • Interactive attach on Windows uses WriteConsoleW and ReadConsoleW.

    0.6.10release notes

  • Go uses an alternate signal stack on macOS.

    0.6.9release notes

  • Cloud agent WSS now trusts system CAs.

    0.6.9release notes

  • Cloud compatibility gaps in the SDK are fixed.

    0.6.9release notes

  • DNS network rules are parsed in release builds.

    0.6.9release notes

  • DNS now fails over to subsequent upstreams.

    0.6.9release notes

  • Guest TCP half-closes are propagated to proxy tasks, with additional half-close races handled.

    0.6.9release notes

  • Host policy is kept out of cloud resources.

    0.6.9release notes

  • Sandbox label projection is kept consistent.

    0.6.9release notes

  • Saved archives preserve long link targets.

    0.6.9release notes

  • Nested OCI image indexes are loaded.

    0.6.9release notes

  • Image inspection preserves OCI config labels.

    0.6.9release notes

  • Backpressured data on published ports is preserved.

    0.6.9release notes

  • Flush is skipped for read-only handles to avoid spurious EACCES on close.

    0.6.9release notes

  • Stale sandbox gauge series are dropped.

    0.6.9release notes

  • Secret placeholder defaults are unified.

    0.6.9release notes

  • Windows release swaps are deferred until process exit.

    0.6.9release notes

  • Cloud sandboxes reconnect for exec and ssh.

    0.6.8release notes

  • A default export condition is added for CommonJS consumers of the Node SDK.

    0.6.7release notes

  • The Go SDK forwards guest-write quota to bind mounts.

    0.6.7release notes

  • Image defaults run in detached mode.

    0.6.7release notes

  • Compatibility with Python 3.10 is restored for typed enums.

    0.6.7release notes

  • Sandbox specification types are made more explicit.

    0.6.7release notes

  • Duplicate secret placeholders are allowed.

    0.6.7release notes

  • Virtiofs shares can survive host file-descriptor exhaustion.

    0.6.7release notes

  • Snapshot entries from readdir are streamed.

    0.6.6release notes

  • The SDK now accepts ephemeral cleanup during stop waits.

    0.6.4release notes

  • Fixes handling of fragmented UDP and PMTU relay traffic.

    0.6.4release notes

  • IPv6 DNS edge cases are handled.

    0.6.3release notesrelease notes

  • Restores local feature parity in the SDK.

    0.6.3release notes

  • Runtime diagnostics are aligned.

    0.6.2release notes

  • Help colors now account for terminal capabilities.

    0.6.2release notes

  • Fixes stale sandboxes by stopping them.

    0.6.1release notes

  • The winget package now declares VCRedist 2015+ as a dependency.

    0.6.1release notes

  • The SDK stops waiting on zombie sandbox runtimes.

    0.6.0release notes

microsandbox 0.5107 changes

Breaking changes 10

  • Removes the always-on heartbeat staleness kill behavior.

    0.5.10release notes

  • Attached sandboxes stop when the creator process exits.

    0.5.5release notes

  • The Go SDK removes CreateSandboxDetached; detached creation now uses a builder flag.

    0.5.5release notes

  • Detached creation uses a builder flag.

    0.5.5release notes

  • Policy-denied DNS queries return NXDOMAIN so stub resolvers fail closed.

    0.5.5release notes

  • The sandbox builder rejects zero resource limits.

    0.5.5release notes

  • Purges libkrunfw library path setup.

    0.5.4release notes

  • Sandbox names are limited by byte length.

    0.5.3release notes

  • Network policy flags are consolidated around --net-default and *.foo.com suffix.

    0.5.0release notes

  • The Python SDK simplifies its sandbox execution API.

    0.5.0release notes

Security 8

New APIs and options 41

  • Adds non-PTY bidirectional streaming exec.

    0.5.10release notes

  • Adds guest-write quotas for virtiofs mounts.

    0.5.10release notes

  • Auto init entrypoints can run detached.

    0.5.8release notes

  • The SDK adds routing between local and cloud backends.

    0.5.8release notes

  • A shared microsandbox types crate is added for use by developers.

    0.5.8release notes

  • A sandbox spec contract is added.

    0.5.8release notes

  • Metrics now include upper disk usage.

    0.5.8release notes

  • The SDK exports AgentSocketPath for raw agentd transport.

    0.5.7release notes

  • The agent client adds connect_stream for byte-stream transport.

    0.5.7release notes

  • The CLI adds explicit mount kind flags for specifying mount kinds.

    0.5.6release notes

  • Metrics now report guest runtime metrics.

    0.5.6release notes

  • Adds idempotent named volume mounts.

    0.5.6release notes

  • Adds an API to atomically create per-sandbox named volumes.

    0.5.6release notes

  • Convergent sandbox lifecycle APIs are now available.

    0.5.6release notesrelease notes

  • Introduces a foundation for agent protocol versioning.

    0.5.5release notes

  • Adds Homebrew tap support for macOS installation.

    0.5.5release notes

  • Adds an image management API to the Python SDK.

    0.5.5release notes

  • Adds --exclude-label-key to exclude a label key from msb-metrics.

    0.5.5release notes

  • OCI image labels are imported as sandbox labels.

    0.5.5release notes

  • Sandboxes can have labels and be selected by label.

    0.5.5release notes

  • Adds TCP forwarding through the guest agent.

    0.5.5release notes

  • Adds pruning for unused cached images.

    0.5.5release notes

  • Adds support for loading and saving archives.

    0.5.4release notes

  • Adds an msb-metrics sidecar.

    0.5.4release notes

  • A CLI command for copying is added.

    0.5.3release notes

  • A shorthand for secrets backed by environment variables is added to the CLI.

    0.5.3release notes

  • A CLI command for patching the root filesystem is added.

    0.5.3release notes

  • The Node/TypeScript SDK adds createWithProgress for image pull events.

    0.5.0release notes

  • A Go SDK with full API parity is available.

    0.5.0release notes

  • The agent relay wires in id_range_step.

    0.5.0release notes

  • IPv4 and IPv6 pools can now be configured.

    0.5.0release notes

  • Live metrics are available via a shared-memory registry.

    0.5.0release notes

  • The start command now accepts variadic arguments.

    0.5.0release notes

  • The OCI upper size can now be configured.

    0.5.0release notes

  • Passthrough mounts gain per-mount stat-virt and host-perms policies.

    0.5.0release notes

  • Port bind addresses can now be configured.

    0.5.0release notes

  • A raw agent client is available across SDKs.

    0.5.0release notes

  • A rotation-aware log streaming engine and SDK bindings are added.

    0.5.0release notes

  • Sandbox SSH client and server support is added.

    0.5.0release notes

  • The CLI adds --script-raw.

    0.5.0release notes

  • A passthrough secret violation type is added.

    0.5.0release notes

Performance 1

  • Redundant MSB_PATH reads are dropped from the Python and Node SDK layers.

    0.5.0release notes

Behavior and default changes 8

  • The runtime takes ownership of ephemeral sandbox cleanup.

    0.5.8release notes

  • Secret handling over plain HTTP now covers more request shapes and substitutes secrets.

    0.5.7release notes

  • Secret violation logs are enriched, providing more information when a violation occurs.

    0.5.7release notes

  • Emitted metrics include per-sandbox labels.

    0.5.5release notes

  • Groups top-level help commands.

    0.5.5release notes

  • The agent relay maximum client count is raised to 128.

    0.5.0release notes

  • Ingress policy enforcement is wired into the publisher.

    0.5.0release notes

  • The CLI makes --script more ergonomic.

    0.5.0release notes

Fixes and other changes 39

microsandbox 0.447 changes

Breaking changes 9

  • DNS queries are now subject to egress policy.

    0.4.6release notes

  • A replacement that exceeds its grace period is now terminated with SIGKILL.

    0.4.6release notes

  • Domain rules are enforced at DNS, SNI, and policy layers.

    0.4.3release notes

  • The CLI renames the file-form script option to --script-path.

    0.4.3release notes

  • The Node SDK builders were redesigned as native napi classes, changing the builder API developers use.

    0.4.1release notes

  • The installer now rejects unsupported glibc, preventing installation on unsupported systems.

    0.4.1release notes

  • Rewrites the --net-rule grammar and flag set.

    0.4.0release notes

  • Redesigns the network policy schema to specify direction per rule.

    0.4.0release notes

  • The TypeScript SDK is redesigned with a builder API and bundled binaries.

    0.4.0release notes

Security 3

  • Secret handling now supports Basic authentication.

    0.4.6release notes

  • Secret handling now detects encoded and split bypasses.

    0.4.6release notes

  • The --no-net option now actually air-gaps the guest.

    0.4.4release notes

New APIs and options 20

  • Adds a metrics sampling interval.

    0.4.5release notes

  • Adds an environment variable override for isolated state.

    0.4.5release notes

  • Boot errors are recorded in boot-error.json.

    0.4.4release notes

  • Execution logs are captured in exec.log.

    0.4.4release notes

  • ExecFailed is now typed.

    0.4.4release notes

  • File-first disk snapshots are available across the CLI, Rust, TypeScript, and Python.

    0.4.4release notes

  • The packaging installs the msb alias alongside the microsandbox CLI.

    0.4.3release notes

  • The CLI adds an inline script option.

    0.4.3release notes

  • OCI root filesystems are block-backed via VMDK and EROFS fsmeta.

    0.4.0release notes

  • Image handling supports custom TLS certificates and insecure registries.

    0.4.0release notes

  • Volumes support disk-image mounts and a unified readonly option.

    0.4.0release notes

  • DNS intercepts TCP port 53 and DoT port 853 queries.

    0.4.0release notes

  • Adds execStreamWithConfig to the TypeScript SDK.

    0.4.0release notes

  • Sandbox guests can trust host certificate authorities when opted in.

    0.4.0release notes

  • Adds the host.microsandbox.internal network alias.

    0.4.0release notes

  • Adds a keyring feature flag.

    0.4.0release notes

  • Adds a per-sandbox override for libkrunfw_path.

    0.4.0release notes

  • Adds policy and DNS builders with a lazy-parse error model.

    0.4.0release notes

  • Adds guest resource limits that apply sandbox-wide.

    0.4.0release notes

  • Adds secret injection options to the Node TypeScript SDK, similar to the Rust SDK.

    0.4.0release notes

Performance 1

Behavior and default changes 2

Fixes and other changes 12

  • Digest path components are now validated.

    0.4.6release notes

  • The SDK path bridge is now compatible with Bun.

    0.4.6release notes

  • Large stdin payloads are now delivered, and broken-pipe errors are surfaced.

    0.4.6release notes

  • Prebuilt downloads now trust system certificates.

    0.4.6release notes

  • Address families are gated on host route availability.

    0.4.5release notes

  • Bounds relay handshake reads and prefers boot-error.json on timeout.

    0.4.5release notes

  • The Node SDK npm platform package ships libkrunfw under its canonical name.

    0.4.3release notes

  • The CLI help text now says REFUSED rather than NXDOMAIN, clarifying the DNS blocking response.

    0.4.1release notes

  • Improves enforcement of domain and domain suffix rules.

    0.4.0release notes

  • On macOS, nameservers are fetched via scdynamicstore.

    0.4.0release notes

  • SDK shims self-heal when the msb binary is missing.

    0.4.0release notes

  • Restores VM boot.

    0.4.0release notes

microsandbox 0.387 changes

Breaking changes 10

  • The msb shell command is removed.

    0.3.13release notes

  • Network configuration adds upstream CA trust and renames the TLS CA configuration.

    0.3.13release notes

  • Microsandbox was rewritten with an embeddable SDK, giving developers an SDK they can embed.

    0.3.8release notes

  • Merges attach into shell.

    0.3.3release notes

  • Renames Patch overwrite to replace.

    0.3.3release notes

  • Encapsulates ExecOutput in the SDK.

    0.3.2release notes

  • Replaces SandboxInfo with SandboxHandle in the SDK.

    0.3.2release notes

  • Groups functionality was removed and flag validation simplified.

    0.3.0release notes

  • ProxyFs and the hook/backend API surface were removed.

    0.3.0release notes

  • The workspace was consolidated into a single microsandbox crate, and workspace crates were moved under crates/.

    0.3.0release notes

New APIs and options 51

  • Adds CLI entry points for cargo, npx, and pipx, giving developers additional ways to use the microsandbox CLI.

    0.3.14release notes

  • Adds a CLI flag for NetworkPolicy::allow_all to allow private IPs.

    0.3.13release notes

  • The TypeScript SDK adds attach support.

    0.3.13release notes

  • Sandbox volume mounts can now target individual files.

    0.3.13release notes

  • The TypeScript SDK adds metricsStream.

    0.3.13release notes

  • A Python SDK is added with pyo3 bindings.

    0.3.13release notes

  • The TypeScript SDK adds filesystem readStream support.

    0.3.13release notes

  • Added the inject_init configuration option.

    0.3.11release notes

  • Adds per-command exec flags to msb run.

    0.3.9release notes

  • The rewrite includes a composable filesystem.

    0.3.8release notes

  • Adds a Node.js/TypeScript SDK, giving developers an SDK for using microsandbox from Node.js and TypeScript.

    0.3.5release notes

  • Adds gateway ping support.

    0.3.4release notes

  • Adds ICMP echo relay support.

    0.3.4release notes

  • Adds batch attach output.

    0.3.3release notes

  • Adds guest hostname support.

    0.3.3release notes

  • Adds guest user support.

    0.3.3release notes

  • Adds IntoExecOptions and IntoAttachOptions traits for ergonomic exec and attach.

    0.3.3release notes

  • Adds live metrics sampling and enhances the status command.

    0.3.3release notes

  • Adds image subcommands with database persistence.

    0.3.3release notes

  • Adds install and uninstall commands, and reuses sandboxes for named runs.

    0.3.3release notes

  • Adds registry authentication.

    0.3.3release notes

  • Adds rootfs patches.

    0.3.3release notes

  • The rewrite includes smoltcp networking.

    0.3.3release notesrelease notes

  • Adds a background reaper for stale sandboxes.

    0.3.3release notes

  • Adds a relay for cross-process sandbox access.

    0.3.3release notes

  • Adds volume management and guest mounts, allowing developers to configure volumes for sandboxes.

    0.3.3release notes

  • Adds a quiet mode to the CLI.

    0.3.2release notes

  • Adds detached sandbox mode.

    0.3.2release notes

  • Adds pull progress bars for each layer.

    0.3.2release notes

  • Adds state reconciliation.

    0.3.2release notes

  • Core SDK infrastructure was added.

    0.3.0release notes

  • Disk image root filesystems are supported for qcow2, raw, and vmdk images.

    0.3.0release notes

  • The SDK gained exec, attach, and streaming execution capabilities.

    0.3.0release notes

  • Filesystem and volume management capabilities were added to the SDK.

    0.3.0release notes

  • Support was added for using GitHub Container Registry.

    0.3.0release notes

  • An initial Go SDK implementation was added.

    0.3.0release notes

  • A guest agent and protocol were added.

    0.3.0release notes

  • CLI support for --host was added, allowing developers to specify a host.

    0.3.0release notes

  • ImageSource was added for smart rootfs detection.

    0.3.0release notes

  • The memfs, proxyfs, and dualfs filesystem backends were added.

    0.3.0release notes

  • Tmpfs mount support can be configured via the MSB_TMPFS environment variable.

    0.3.0release notes

  • The msbnet networking stack was added with policy, DNS, and published ports.

    0.3.0release notes

  • OCI image pulling was added with OverlayFs rootfs support.

    0.3.0release notes

  • An overlay filesystem backend with copy-on-write semantics was added.

    0.3.0release notes

  • A passthrough filesystem backend was added.

    0.3.0release notes

  • Overlay gained a read-only mode with an optional upper layer.

    0.3.0release notes

  • Runtime infrastructure and CLI subcommands were added.

    0.3.0release notes

  • User-facing CLI commands were added for managing the sandbox lifecycle.

    0.3.0release notes

  • TLS interception was added to the msbnet networking stack.

    0.3.0release notes

  • Type-safe byte-size units were added for SDK APIs.

    0.3.0release notes

  • A Backend variant was added to VolumeMount, alongside mount hooks.

    0.3.0release notes

Performance 1

  • The image layer extraction pipeline was parallelized.

    0.3.0release notes

Behavior and default changes 5

  • The uninstall command gains an interactive multi-select.

    0.3.13release notes

  • Provisions loopback and /etc/hosts on every boot.

    0.3.3release notes

  • Sandboxes inherit OCI image configuration.

    0.3.3release notes

  • Prebuilt is now the default, so developers no longer need to select it explicitly.

    0.3.1release notes

  • Runtime dependencies are now installed automatically.

    0.3.1release notes

Tooling 1

  • A benchmark harness compares Docker and Microsandbox filesystem performance.

    0.3.13release notes

Fixes and other changes 19

  • Fixes intermittent CERT_NOT_YET_VALID errors on fast-booting sandboxes.

    0.3.13release notes

  • Content-Length is updated after body secret substitution.

    0.3.13release notes

  • The command is optional when msb exec runs in interactive mode.

    0.3.13release notes

  • Fixes Node.js TLS 1.3 connections hanging through the MITM proxy.

    0.3.13release notes

  • Prevents data loss in the TLS MITM proxy under parallel connections.

    0.3.13release notes

  • Run execution options are applied only when using --tty attach mode.

    0.3.12release notes

  • Fixed listxattr initialization.

    0.3.11release notes

  • Fixed symlink xattr operations.

    0.3.11release notes

  • The CLI now downloads the latest version bundle during self update.

    0.3.10release notes

  • Removes O_RESOLVE_BENEATH from macOS /.vol inode reopen.

    0.3.9release notes

  • Routes VM logs to guest.log and runtime.log.

    0.3.9release notes

  • Timed-out exec operations now return ExecTimeout.

    0.3.8release notes

  • Zero inode numbers are resolved during overlay readdir.

    0.3.8release notes

  • Sandbox creation validates that the workdir exists.

    0.3.8release notes

  • Fixes environment merging.

    0.3.3release notes

  • Adds an O_SYMLINK fallback for symlink lookup on macOS.

    0.3.3release notes

  • Backslashes are now allowed in filename validation.

    0.3.0release notes

  • The Go module path was corrected, and the SDK now generates a default Request ID.

    0.3.0release notes

  • The MCP protocol version was downgraded.

    0.3.0release notes