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/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(); 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",