New features
Redesigned TypeScript SDK Builder API matching the Rust SDK, withawait using, typed errors, async iterables, and bundled native binaries (no postinstall download).
--network-policy is gone. Rules now carry their own direction, action, target, protocol, and ports through a single grammar: <action>[:<direction>]@<target>[:<proto>[:<ports>]].
- Disk-image volume mounts. Attach qcow2, raw, or vmdk images as virtio-blk devices at any guest path;
readonlyis now consistent across volume types. See Sandbox volumes. - Inline
--scriptflag. Register scripts on the command line with--script NAME=BODY; the file form is now--script-path NAME:PATH. See the CLI reference. msbalias. Installs from npm, pip, and cargo now put bothmicrosandboxandmsbon PATH.host.microsandbox.internal. Sandboxes can reach the host through this well-known DNS name.- Trust host CAs (opt-in). Sandboxes can trust the host’s CA bundle for internal TLS endpoints. See Networking TLS.
- DNS interception over TCP/53 and DoT/853. Closes gaps where apps bypassed policy by switching transports. See Networking DNS.
- Custom TLS certs and insecure registries for self-hosted image registries. See the images overview.
- Per-sandbox
libkrunfwoverride for SDK callers developing against unreleased firmware. - Installer rejects unsupported glibc up front, instead of producing confusing runtime errors.
Bug fixes
- Domain and
suffix=rules now enforce consistently across DNS, SNI, and policy layers. - The Node/TypeScript SDK supports the same secret injection options as the Rust SDK.
- macOS reads system nameservers via
SCDynamicStore, matching what the OS actually uses. - The npm platform package ships
libkrunfwunder its canonical name, fixing load failures on some Linux distros.