Skip to content

Commit 1669f7f

Browse files
authored
Updates for v0.8.0 release (#773)
* Updates for v0.8.0 release Signed-off-by: James Sturtevant <jsturtevant@gmail.com> * Fix typos Signed-off-by: James Sturtevant <jsturtevant@gmail.com> * Add tracing to publishing Signed-off-by: James Sturtevant <jsturtevant@gmail.com> --------- Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent 0f88a66 commit 1669f7f

File tree

7 files changed

+76
-29
lines changed

7 files changed

+76
-29
lines changed

.github/workflows/CargoPublish.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
VERSION="${VERSION#refs/heads/release/v}"
4747
echo "VERSION=$VERSION" >> $GITHUB_ENV
4848
fi
49-
./dev/verify-version.sh "$VERSION" hyperlight-common hyperlight-guest hyperlight-guest-bin hyperlight-host hyperlight-component-util hyperlight-component-macro
49+
./dev/verify-version.sh "$VERSION" hyperlight-common hyperlight-guest hyperlight-guest-bin hyperlight-host hyperlight-component-util hyperlight-component-macro hyperlight-guest-tracing-macro hyperlight-guest-tracing
5050
5151
- name: Determine which crates need publishing
5252
run: |
@@ -75,13 +75,29 @@ jobs:
7575
needs_publish hyperlight-component-util
7676
needs_publish hyperlight-component-macro
7777
needs_publish hyperlight-host
78+
needs_publish hyperlight-guest-tracing-macro
79+
needs_publish hyperlight-guest-tracing
7880
7981
- name: Publish hyperlight-common
8082
continue-on-error: ${{ inputs.dry_run }}
8183
run: cargo publish --manifest-path ./src/hyperlight_common/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}
8284
env:
8385
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
8486
if: env.PUBLISH_HYPERLIGHT_COMMON != 'false'
87+
88+
- name: Publish hyperlight-guest-tracing-macro
89+
continue-on-error: ${{ inputs.dry_run }}
90+
run: cargo publish --manifest-path ./src/hyperlight_guest_tracing_macro/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}
91+
env:
92+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
93+
if: env.PUBLISH_HYPERLIGHT_GUEST_TRACING_MACRO != 'false'
94+
95+
- name: Publish hyperlight-guest-tracing
96+
continue-on-error: ${{ inputs.dry_run }}
97+
run: cargo publish --manifest-path ./src/hyperlight_guest_tracing/Cargo.toml ${{ inputs.dry_run && '--dry-run' || '' }}
98+
env:
99+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_PUBLISH_TOKEN }}
100+
if: env.PUBLISH_HYPERLIGHT_GUEST_TRACING != 'false'
85101

86102
- name: Publish hyperlight-guest
87103
continue-on-error: ${{ inputs.dry_run }}

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
44

55
## [Prerelease] - Unreleased
66

7+
## [v0.8.0] - 2025-08-08
8+
9+
:warning: `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 https://github.com/hyperlight-dev/hyperlight/pull/697 and https://github.com/hyperlight-dev/hyperlight/pull/761
10+
11+
### Fixed
12+
- gdb: fix issue "Debug not enabled" when `gdb` feature was enabled by @dblnz in https://github.com/hyperlight-dev/hyperlight/pull/678
13+
- Fix Windows build with `--no-default-features` by @danbugs in https://github.com/hyperlight-dev/hyperlight/pull/712
14+
- fix(guest-bin): move logger initialization by @andreiltd in https://github.com/hyperlight-dev/hyperlight/pull/755
15+
- Fix mem mgr not initialized by @dblnz in https://github.com/hyperlight-dev/hyperlight/pull/745
16+
17+
### Changed
18+
- Remove some dev-dependencies and cargo features to speed up compilation by @ludfjig in https://github.com/hyperlight-dev/hyperlight/pull/535
19+
- Introduce a separate KVM error variant of HyperlightError. by @ludfjig in https://github.com/hyperlight-dev/hyperlight/pull/771API. by @jprendes in https://github.com/hyperlight-dev/hyperlight/pull/697
20+
- Evolving and Devolving apis replaced by Snapshot API
21+
- Remove sandbox evolving and devolving and replace it with snapshotting API. by @jprendes in https://github.com/hyperlight-dev/hyperlight/pull/697
22+
- Bring back the previous behavior of `call_guest_function_by_name` by @jprendes in https://github.com/hyperlight-dev/hyperlight/pull/761
23+
24+
### Added
25+
- Memory Mapping Support
26+
- Support mapping host memory into the guest by @syntactically in https://github.com/hyperlight-dev/hyperlight/pull/696
27+
- Make MultiUseSandbox::map_file_cow public by @ludfjig in https://github.com/hyperlight-dev/hyperlight/pull/725
28+
- Add memory mapping support with KVM by @jprendes in https://github.com/hyperlight-dev/hyperlight/pull/709
29+
- Make sure mmapped memory is not mapped writeable into sandbox in kvm by @ludfjig in https://github.com/hyperlight-dev/hyperlight/pull/740
30+
- Make snapshots region aware by @ludfjig in https://github.com/hyperlight-dev/hyperlight/pull/742
31+
- Restrict restoring sandboxes to snapshot taken on self by @ludfjig in https://github.com/hyperlight-dev/hyperlight/pull/746
32+
- Enable guest tracing by @dblnz in https://github.com/hyperlight-dev/hyperlight/pull/695
33+
34+
### Removed
35+
- Removed the OutBHandler and MemAccessHandler abstractions and related implementations. by @simongdavies in https://github.com/hyperlight-dev/hyperlight/pull/732
36+
737
## [v0.7.0] - 2025-06-26
838

939
### Fixed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exclude = [
2828
]
2929

3030
[workspace.package]
31-
version = "0.7.0"
31+
version = "0.8.0"
3232
edition = "2024"
3333
rust-version = "1.86"
3434
license = "Apache-2.0"
@@ -37,15 +37,15 @@ repository = "https://github.com/hyperlight-dev/hyperlight"
3737
readme = "README.md"
3838

3939
[workspace.dependencies]
40-
hyperlight-common = { path = "src/hyperlight_common", version = "0.7.0", default-features = false }
41-
hyperlight-host = { path = "src/hyperlight_host", version = "0.7.0", default-features = false }
42-
hyperlight-guest = { path = "src/hyperlight_guest", version = "0.7.0", default-features = false }
43-
hyperlight-guest-bin = { path = "src/hyperlight_guest_bin", version = "0.7.0", default-features = false }
40+
hyperlight-common = { path = "src/hyperlight_common", version = "0.8.0", default-features = false }
41+
hyperlight-host = { path = "src/hyperlight_host", version = "0.8.0", default-features = false }
42+
hyperlight-guest = { path = "src/hyperlight_guest", version = "0.8.0", default-features = false }
43+
hyperlight-guest-bin = { path = "src/hyperlight_guest_bin", version = "0.8.0", default-features = false }
4444
hyperlight-testing = { path = "src/hyperlight_testing", default-features = false }
45-
hyperlight-guest-tracing = { path = "src/hyperlight_guest_tracing", default-features = false }
46-
hyperlight-guest-tracing-macro = { path = "src/hyperlight_guest_tracing_macro", default-features = false }
47-
hyperlight-component-util = { path = "src/hyperlight_component_util", version = "0.7.0", default-features = false }
48-
hyperlight-component-macro = { path = "src/hyperlight_component_macro", version = "0.7.0", default-features = false }
45+
hyperlight-guest-tracing = { path = "src/hyperlight_guest_tracing", version = "0.8.0", default-features = false }
46+
hyperlight-guest-tracing-macro = { path = "src/hyperlight_guest_tracing_macro", version = "0.8.0", default-features = false }
47+
hyperlight-component-util = { path = "src/hyperlight_component_util", version = "0.8.0", default-features = false }
48+
hyperlight-component-macro = { path = "src/hyperlight_component_macro", version = "0.8.0", default-features = false }
4949

5050
[workspace.lints.rust]
5151
unsafe_op_in_unsafe_fn = "deny"

src/tests/rust_guests/callbackguest/Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tests/rust_guests/simpleguest/Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ extend-exclude = ["**/*.patch", "src/hyperlight_guest_bin/third_party/**/*", "NO
77
[default.extend-words]
88
# typ is used for field name as type is a reserved keyword
99
typ="typ"
10+
mmaped="mmapped"

0 commit comments

Comments
 (0)