From 2e8aa2f6906dca7e505d773c424a68ddeaf44664 Mon Sep 17 00:00:00 2001 From: danbugs Date: Wed, 4 Nov 2026 19:06:45 +0000 Subject: [PATCH 1/2] chore: prepare release v0.19.0 Bump the workspace version from 0.18.0 to 0.19.0 (and the internal hyperlight-* dependency versions with it), roll the CHANGELOG's [Prerelease] section into [v0.19.0] with a fresh empty [Prerelease] and the compare-link footer, and sync the root and rust_guests Cargo.lock files to match. Follows docs/how-to-make-releases.md; the tag is cut after this merges. Signed-off-by: danbugs --- CHANGELOG.md | 5 ++++- Cargo.lock | 22 +++++++++++----------- Cargo.toml | 22 +++++++++++----------- src/tests/rust_guests/Cargo.lock | 14 +++++++------- 4 files changed, 33 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b4c60db4..3d430b0b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Prerelease] - Unreleased +## [v0.19.0] - 2026-11-04 + ### Added * `Sandbox::snapshot_with_options` takes a snapshot with `SnapshotOptions`. `SnapshotOptions::scratch_size` gives the sandbox, and later restores of the snapshot, a different scratch size. A guest can boot with the scratch its initialisation needs and run guest function calls from a snapshot with only the scratch they need, so each restore costs less. It can also give a guest more scratch than it booted with. * `Sandbox::scratch_allocated_bytes` returns how much scratch the guest has allocated since the sandbox was last restored or snapshotted. The guest controls the value it is read from. @@ -459,7 +461,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). The Initial Hyperlight Release 🎉 -[Prerelease]: +[Prerelease]: +[v0.19.0]: [v0.18.0]: [v0.17.0]: [v0.16.0]: diff --git a/Cargo.lock b/Cargo.lock index cf9068788..c459ef87b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1689,7 +1689,7 @@ dependencies = [ [[package]] name = "hyperlight-common" -version = "0.18.0" +version = "0.19.0" dependencies = [ "anyhow", "arbitrary", @@ -1713,7 +1713,7 @@ dependencies = [ [[package]] name = "hyperlight-component-csharp" -version = "0.18.0" +version = "0.19.0" dependencies = [ "hyperlight-component-util", "proc-macro2", @@ -1721,7 +1721,7 @@ dependencies = [ [[package]] name = "hyperlight-component-macro" -version = "0.18.0" +version = "0.19.0" dependencies = [ "env_logger", "hyperlight-component-util", @@ -1734,7 +1734,7 @@ dependencies = [ [[package]] name = "hyperlight-component-util" -version = "0.18.0" +version = "0.19.0" dependencies = [ "itertools 0.15.0", "prettyplease 0.3.0", @@ -1767,7 +1767,7 @@ dependencies = [ [[package]] name = "hyperlight-guest" -version = "0.18.0" +version = "0.19.0" dependencies = [ "anyhow", "flatbuffers", @@ -1780,7 +1780,7 @@ dependencies = [ [[package]] name = "hyperlight-guest-bin" -version = "0.18.0" +version = "0.19.0" dependencies = [ "flatbuffers", "hyperlight-common", @@ -1797,7 +1797,7 @@ dependencies = [ [[package]] name = "hyperlight-guest-macro" -version = "0.18.0" +version = "0.19.0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1807,7 +1807,7 @@ dependencies = [ [[package]] name = "hyperlight-guest-tracing" -version = "0.18.0" +version = "0.19.0" dependencies = [ "hyperlight-common", "spin", @@ -1817,7 +1817,7 @@ dependencies = [ [[package]] name = "hyperlight-host" -version = "0.18.0" +version = "0.19.0" dependencies = [ "anyhow", "bindgen 0.73.2", @@ -1893,7 +1893,7 @@ dependencies = [ [[package]] name = "hyperlight-libc" -version = "0.18.0" +version = "0.19.0" dependencies = [ "anyhow", "bindgen 0.73.2", @@ -1918,7 +1918,7 @@ dependencies = [ [[package]] name = "hyperlight_guest_capi" -version = "0.18.0" +version = "0.19.0" dependencies = [ "cbindgen", "flatbuffers", diff --git a/Cargo.toml b/Cargo.toml index 487fb2853..241ebfb80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ exclude = [ ] [workspace.package] -version = "0.18.0" +version = "0.19.0" edition = "2024" rust-version = "1.89" license = "Apache-2.0" @@ -39,17 +39,17 @@ repository = "https://github.com/hyperlight-dev/hyperlight" readme = "README.md" [workspace.dependencies] -hyperlight-common = { path = "src/hyperlight_common", version = "0.18.0", default-features = false } -hyperlight-host = { path = "src/hyperlight_host", version = "0.18.0", default-features = false } -hyperlight-guest = { path = "src/hyperlight_guest", version = "0.18.0", default-features = false } -hyperlight-guest-bin = { path = "src/hyperlight_guest_bin", version = "0.18.0", default-features = false } -hyperlight-guest-macro = { path = "src/hyperlight_guest_macro", version = "0.18.0", default-features = false } +hyperlight-common = { path = "src/hyperlight_common", version = "0.19.0", default-features = false } +hyperlight-host = { path = "src/hyperlight_host", version = "0.19.0", default-features = false } +hyperlight-guest = { path = "src/hyperlight_guest", version = "0.19.0", default-features = false } +hyperlight-guest-bin = { path = "src/hyperlight_guest_bin", version = "0.19.0", default-features = false } +hyperlight-guest-macro = { path = "src/hyperlight_guest_macro", version = "0.19.0", default-features = false } hyperlight-testing = { path = "src/hyperlight_testing", default-features = false } -hyperlight-guest-tracing = { path = "src/hyperlight_guest_tracing", version = "0.18.0", default-features = false } -hyperlight-libc = { path = "src/hyperlight_libc", version = "0.18.0", default-features = false } -hyperlight-component-util = { path = "src/hyperlight_component_util", version = "0.18.0", default-features = false } -hyperlight-component-macro = { path = "src/hyperlight_component_macro", version = "0.18.0", default-features = false } -hyperlight-component-csharp = { path = "src/hyperlight_component_csharp", version = "0.18.0", default-features = false } +hyperlight-guest-tracing = { path = "src/hyperlight_guest_tracing", version = "0.19.0", default-features = false } +hyperlight-libc = { path = "src/hyperlight_libc", version = "0.19.0", default-features = false } +hyperlight-component-util = { path = "src/hyperlight_component_util", version = "0.19.0", default-features = false } +hyperlight-component-macro = { path = "src/hyperlight_component_macro", version = "0.19.0", default-features = false } +hyperlight-component-csharp = { path = "src/hyperlight_component_csharp", version = "0.19.0", default-features = false } [workspace.lints.rust] unsafe_op_in_unsafe_fn = "deny" diff --git a/src/tests/rust_guests/Cargo.lock b/src/tests/rust_guests/Cargo.lock index 4d2223cb7..a4f7e454f 100644 --- a/src/tests/rust_guests/Cargo.lock +++ b/src/tests/rust_guests/Cargo.lock @@ -232,7 +232,7 @@ dependencies = [ [[package]] name = "hyperlight-common" -version = "0.18.0" +version = "0.19.0" dependencies = [ "anyhow", "bitflags 2.13.1", @@ -249,7 +249,7 @@ dependencies = [ [[package]] name = "hyperlight-component-macro" -version = "0.18.0" +version = "0.19.0" dependencies = [ "env_logger", "hyperlight-component-util", @@ -262,7 +262,7 @@ dependencies = [ [[package]] name = "hyperlight-component-util" -version = "0.18.0" +version = "0.19.0" dependencies = [ "itertools", "prettyplease", @@ -278,7 +278,7 @@ dependencies = [ [[package]] name = "hyperlight-guest" -version = "0.18.0" +version = "0.19.0" dependencies = [ "anyhow", "flatbuffers", @@ -291,7 +291,7 @@ dependencies = [ [[package]] name = "hyperlight-guest-bin" -version = "0.18.0" +version = "0.19.0" dependencies = [ "flatbuffers", "hyperlight-common", @@ -307,7 +307,7 @@ dependencies = [ [[package]] name = "hyperlight-guest-macro" -version = "0.18.0" +version = "0.19.0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -317,7 +317,7 @@ dependencies = [ [[package]] name = "hyperlight-guest-tracing" -version = "0.18.0" +version = "0.19.0" dependencies = [ "hyperlight-common", "spin", From df85b91797a244da79742710f6c8bc6b5c98dd5d Mon Sep 17 00:00:00 2001 From: danbugs Date: Wed, 4 Nov 2026 19:21:57 +0000 Subject: [PATCH 2/2] fix: drop removed SandboxBuilder::heap_size call in scratch test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #1968 removed SandboxBuilder::heap_size (and set_heap_size/get_heap_size), but the scratch_allocated_bytes_counts_written_pages test added by #2019 still called it, so main stopped compiling its tests once both landed — which is why clippy and miri fail on every PR. Drop the .heap_size(8 << 20) line; the test already sizes scratch with .scratch_size(16 << 20). Signed-off-by: danbugs --- src/hyperlight_host/src/sandbox/initialized.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hyperlight_host/src/sandbox/initialized.rs b/src/hyperlight_host/src/sandbox/initialized.rs index 120644f10..db3b7bcec 100644 --- a/src/hyperlight_host/src/sandbox/initialized.rs +++ b/src/hyperlight_host/src/sandbox/initialized.rs @@ -1702,7 +1702,6 @@ mod tests { #[test] fn scratch_allocated_bytes_counts_written_pages() { let mut sbox = SandboxBuilder::from_file(simple_guest_as_pathbuf()) - .heap_size(8 << 20) .scratch_size(16 << 20) .build() .unwrap();