github hyperlight-dev/hyperlight dev-latest
Latest prerelease from main branch

pre-release26 minutes ago

What's Changed

Added

  • ARM64 guests support CPUs without LSE atomics when built with -C target-feature=-lse.
  • Add HYPERLIGHT_SURROGATE_EXTRACT_DIR to configure the surrogate extraction directory on Windows.
  • Add Sandbox::recreate(), which rebuilds a sandbox's VM and memory from a snapshot. It recovers unrecoverable sandboxes and keeps configuration, host functions, and interrupt handles by @ludfjig in #1751
  • Add ARM64 Linux MSHV support by @cshung in #1626

Changed

  • hyperlight-host requires Rust 1.95.
  • Snapshot::save caches memory-layer hashes and trusts existing same-length
    regular blobs by their content-addressed filenames without verifying their
    contents. Callers must keep blobs immutable. Use the new
    Snapshot::checked_save to recompute hashes, verify existing blobs, and
    atomically repair mismatched contents.
  • Breaking: Snapshots use ABI 12. Guests must be rebuilt and existing
    snapshots regenerated. Capture and restore provide full H2G bootstrap
    capacity before guest entry, independent of retained buffers. Snapshot
    capture runs on the host while the guest is stopped.
    On-disk snapshots store transport geometry. Loading rebuilds the ring images.
    The checkpoint request, prepare_snapshot, VirtqProducer::reclaim_slots,
    and queue reset APIs are removed.
  • Snapshot::save no longer synchronously flushes files to stable storage.
    Callers requiring power-loss durability must sync the snapshot files and
    directory hierarchy themselves after saving.
  • Breaking: Snapshots use ABI 10 and config schema v6. Guests must be rebuilt
    and existing snapshots regenerated. Guest entry takes the random seed, host
    page size, and log level.
  • Breaking: Encode function calls with serde/postcard instead of FlatBuffers.
  • Stop resetting guest FPU state between guest calls to improve performance.

Fixed

  • Fix surrogate process creation for Windows paths containing Unicode or spaces.
  • Fix restore on WHP not rewinding the guest TSC on hosts with TSC_ADJUST support.
  • HVF sandbox initialization accepts seeds that match Apple hypercall identifiers.
  • Host-written snapshot memory has instruction-cache coherence before guest execution.
  • Fix slow scratch zeroing on restore under KVM in default builds.
  • Fix C# component bindings keeping an entry for every resource handle passed to or from the guest.

Removed

  • Breaking: SandboxBuilder::init_data, GuestEnvironment, GuestBlob,
    GuestHandle, HyperlightPEB, and read_n_bytes_from_user_memory.
    Pass startup data through a host function and retain its ByteChunks reply.
    UninitializedSandbox::new takes a GuestBinary.
  • Remove Git details from build logs. These were not shipped on crates.io.
  • Remove the print_debug feature and hyperlight_host::debug!. Use tracing::debug! instead.
  • Breaking: Remove the executable_heap feature. To run code from the guest
    heap, write it, then map its pages executable with
    hyperlight_guest_bin::paging::modify_mapping. Flush them with
    paging::barrier::downgrade_in_place. On aarch64, also sync the instruction
    cache before running the code.

Full Changelog (excl. dependencies)

Full Changelog (dependencies)

  • chore(deps): bump log from 0.4.34 to 0.4.35 in /src/tests/rust_guests by @dependabot[bot] in #2037
  • chore(deps): bump iced-x86 from 1.21.0 to 1.22.0 by @dependabot[bot] in #2035
  • chore(deps): bump log from 0.4.34 to 0.4.35 by @dependabot[bot] in #2036
  • chore(deps): bump actions-rust-lang/setup-rust-toolchain from 2.0.0 to 2.0.1 by @dependabot[bot] in #2032
  • chore(deps): bump crate-ci/typos from 1.51.1 to 1.52.0 by @dependabot[bot] in #2034
  • chore(deps): bump taiki-e/install-action from 2.87.31 to 2.89.1 by @dependabot[bot] in #2033
  • chore(deps): bump cc from 1.10.0 to 1.11.0 by @dependabot[bot] in #2041
  • chore(deps): bump toml from 1.1.8+spec-1.1.0 to 1.2.0+spec-1.1.0 by @dependabot[bot] in #2046
  • chore(deps): bump the wasm-tools group across 1 directory with 4 updates by @dependabot[bot] in #1964
  • chore(deps): bump oras-project/setup-oras from 2.0.2 to 2.0.3 by @dependabot[bot] in #2017
  • chore(deps): bump taiki-e/install-action from 2.89.1 to 2.90.1 by @dependabot[bot] in #2045
  • chore(deps): bump ruzstd to 0.9.1 by @jsturtevant in #2048
  • chore(deps): bump libz-sys to 1.1.31 by @jsturtevant in #2047
  • chore(deps): bump docker/login-action from 4.7.0 to 4.8.0 by @dependabot[bot] in #2053
  • chore(deps): bump linkme from 0.3.37 to 0.3.38 by @dependabot[bot] in #2060
  • chore(deps): bump uuid from 1.28.0 to 1.29.2 by @dependabot[bot] in #2064
  • chore(deps): bump toml from 1.2.0+spec-1.1.0 to 1.2.1+spec-1.1.0 by @dependabot[bot] in #2065
  • chore(deps): bump fixedbitset from 0.5.7 to 0.5.9 by @dependabot[bot] in #2066
  • chore(deps): bump taiki-e/install-action from 2.90.1 to 2.90.3 by @dependabot[bot] in #2059
  • chore(deps): bump crate-ci/typos from 1.52.0 to 1.52.2 by @dependabot[bot] in #2074
  • chore(deps): bump rust-embed from 8.13.0 to 8.14.0 by @dependabot[bot] in #2077
  • chore(deps): bump cc from 1.11.0 to 1.11.1 by @dependabot[bot] in #2063
  • chore(deps): bump loom from 0.7.2 to 0.7.3 by @dependabot[bot] in #2062
  • chore(deps): bump smallvec from 1.16.4 to 1.16.5 by @dependabot[bot] in #2061
  • chore(deps): bump cc from 1.11.1 to 1.11.2 by @dependabot[bot] in #2087
  • chore(deps): bump rand from 0.10.3 to 0.10.4 by @dependabot[bot] in #2088
  • chore(deps): bump windows-version from 0.1.7 to 0.100.0 by @dependabot[bot] in #1831
  • chore(deps): bump uuid from 1.29.2 to 1.29.3 by @dependabot[bot] in #2095
  • chore(deps): bump bytes from 1.12.1 to 1.12.2 by @dependabot[bot] in #2103
  • chore(deps): bump regex from 1.13.1 to 1.13.2 by @dependabot[bot] in #2104
  • chore(deps): bump smallvec from 1.16.5 to 1.16.6 by @dependabot[bot] in #2116
  • chore(deps): bump postcard from 1.1.3 to 1.2.0 by @dependabot[bot] in #2127
  • chore(deps): bump env_logger from 0.11.11 to 0.11.12 by @dependabot[bot] in #2126
  • chore(deps): bump toml from 1.2.1+spec-1.1.0 to 1.2.2+spec-1.1.0 by @dependabot[bot] in #2125

Full Changelog: v0.19.0...dev-latest

Don't miss a new hyperlight release

NewReleases is sending notifications on new releases.