Release v0.8.0
What's Changed
hyperlight_component_macro::host_bindgen
and hyperlight_component_macro::guest_bindgen
used the Callable
trait which no longer restores state after each function call and requires an explicit Snapshot Restore using the newly exposed Snapshot API. See #697 and #761
Fixed
- gdb: fix issue "Debug not enabled" when
gdb
feature was enabled by @dblnz in #678 - Fix Windows build with
--no-default-features
by @danbugs in #712 - fix(guest-bin): move logger initialization by @andreiltd in #755
- Fix mem mgr not initialized by @dblnz in #745
Changed
- Remove some dev-dependencies and cargo features to speed up compilation by @ludfjig in #535
- Introduce a separate KVM error variant of HyperlightError. by @ludfjig in https://github.com/hyperlight-dev/hyperlight/pull/771API. by @jprendes in #697
- Evolving and Devolving apis replaced by Snapshot API
Added
- Memory Mapping Support
- Support mapping host memory into the guest by @syntactically in #696
- Make MultiUseSandbox::map_file_cow public by @ludfjig in #725
- Add memory mapping support with KVM by @jprendes in #709
- Make sure mmapped memory is not mapped writeable into sandbox in kvm by @ludfjig in #740
- Make snapshots region aware by @ludfjig in #742
- Restrict restoring sandboxes to snapshot taken on self by @ludfjig in #746
- Enable guest tracing by @dblnz in #695
Removed
- Removed the OutBHandler and MemAccessHandler abstractions and related implementations. by @simongdavies in #732
Full Changelog (excl. dependencies)
- gdb: fix issue "Debug not enabled" when
gdb
feature was enabled by @dblnz in #678 - Switch 'deny' lints to 'warn' by @ludfjig in #679
- Update paging-development-notes.md by @thegreatfatzby in #675
- Update glossary.md by @thegreatfatzby in #673
- Update README.md by @thegreatfatzby in #674
- Remove some dev-dependecies and cargo features to speed up compilation by @ludfjig in #535
- Support mapping host memory into the guest by @syntactically in #696
- Add memory mapping support with KVM by @jprendes in #709
- Clippy updates by @marosset in #672
- Fix Windows build with
--no-default-features
by @danbugs in #712 - Remove sandbox evolving and devolving and replace it with snapshotting API. by @jprendes in #697
- Enable guest tracing by @dblnz in #695
- Make MultiUseSandbox::map_file_cow public by @ludfjig in #725
- Fix
just clean
command for Windows PowerShell compatibility and missing directory handling by @Copilot in #730 - Removed the OutBHandler and MemAccessHandler abstractions and related implementations. by @simongdavies in #732
- Add Nix devshell by @syntactically in #739
- Fix mem mgr not initialized by @dblnz in #745
- [fix] Make sure mmaped memory is not mapped writeable into sandbox in kvm by @ludfjig in #740
- Make snapshots region aware by @ludfjig in #742
- Restrict restoring sandboxes to snapshot taken on self by @ludfjig in #746
- Re-export macros in hyperlight_guest_tracing by @dblnz in #734
- Adds blocker to release if any issue has release-blocker label by @simongdavies in #748
- Fix typo in PATH env var by @ludfjig in #756
- fix(guest-bin): move logger initialization by @andreiltd in #755
- Fix label cleanup by @simongdavies in #754
- Update hyperlight-guest-tracing crate to conditionally enable traces at compile time by @dblnz in #752
- Fix some cargo docs by @ludfjig in #749
- Give release-blocker-action permission to read github issues by @ludfjig in #766
- Introduce a separate KVM error variant of HyperlightError. by @ludfjig in #771
- Bring back the previous behavior of
call_guest_function_by_name
by @jprendes in #761
Full Changelog (dependencies)
- Bump crate-ci/typos from 1.33.1 to 1.34.0 by @dependabot[bot] in #681
- Bump tokio from 1.45.1 to 1.46.0 by @dependabot[bot] in #687
- Fix README.md host function calling examples to match current API by @Copilot in #682
- Bump windows-sys from 0.59.0 to 0.60.2 by @dependabot[bot] in #692
- Bump cc from 1.2.27 to 1.2.29 by @dependabot[bot] in #693
- Bump tokio from 1.46.0 to 1.46.1 by @dependabot[bot] in #694
- Bump libfuzzer-sys from 0.4.9 to 0.4.10 by @dependabot[bot] in #691
- Bump wasmparser from 0.224.1 to 0.235.0 by @dependabot[bot] in #629
- Making mshv3 the default mshv hypervisor in hyperlight_host (instead of mshv2) by @marosset in #703
- Bump serde_json from 1.0.140 to 1.0.141 by @dependabot[bot] in #719
- Bump cc from 1.2.29 to 1.2.30 by @dependabot[bot] in #718
- Bump rand from 0.9.1 to 0.9.2 by @dependabot[bot] in #720
- Bump framehop from 0.13.3 to 0.14.0 by @dependabot[bot] in #728
- Bump piet-common from 0.6.2 to 0.7.0 by @dependabot[bot] in #726
- Bump addr2line from 0.24.2 to 0.25.0 by @dependabot[bot] in #727
- Bump prettyplease from 0.2.35 to 0.2.36 by @dependabot[bot] in #733
- Bump criterion from 0.6.0 to 0.7.0 by @dependabot[bot] in #737
- Bump tokio from 1.46.1 to 1.47.0 by @dependabot[bot] in #736
- Bump wasmparser from 0.235.0 to 0.236.0 by @dependabot[bot] in #738
- Update Rust version to 1.86 by @simongdavies in #751
- Bump serde_json from 1.0.141 to 1.0.142 by @dependabot[bot] in #757
- Bump cc from 1.2.30 to 1.2.31 by @dependabot[bot] in #759
- Bump tokio from 1.47.0 to 1.47.1 by @dependabot[bot] in #758
- Bump signal-hook-registry from 1.4.5 to 1.4.6 by @dependabot[bot] in #760
- Bump crate-ci/typos from 1.34.0 to 1.35.1 by @dependabot[bot] in #764
- Bump tracing-forest from 0.1.6 to 0.2.0 by @dependabot[bot] in #770
- Bump framehop from 0.14.0 to 0.15.0 by @dependabot[bot] in #769
- Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #768
- Updates for v0.8.0 release by @jsturtevant in #773
Full Changelog: v0.7.0...v0.8.0