Skip to content

Commit 4a7b42c

Browse files
authored
Update to 0.2.0 (#25)
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent 56c8be6 commit 4a7b42c

File tree

17 files changed

+97
-45
lines changed

17 files changed

+97
-45
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exclude = [
1414
resolver = "2"
1515

1616
[workspace.package]
17-
version = "0.1.0"
17+
version = "0.2.0"
1818
edition = "2024"
1919
rust-version = "1.89"
2020
license = "Apache-2.0"
@@ -23,10 +23,12 @@ license = "Apache-2.0"
2323
hyperlight-sandbox = { path = "src/hyperlight_sandbox" }
2424
hyperlight-javascript-sandbox = { path = "src/javascript_sandbox" }
2525
hyperlight-wasm-sandbox = { path = "src/wasm_sandbox" }
26+
hyperlight-sandbox-pyo3-common = { path = "src/sdk/python/pyo3_common" }
2627
hyperlight-common = { version = "0.14.0", default-features = false }
2728
hyperlight-component-macro = { version = "0.14.0" }
2829
hyperlight-host = { version = "0.14.0", default-features = false, features = ["executable_heap"] }
2930
hyperlight-wasm = { git = "https://github.com/jsturtevant/hyperlight-wasm", rev = "05a9eea" } #branch util-compont-fixes
31+
pyo3 = { version = "0.28", features = ["extension-module"] }
3032

3133
# Patched component-util (name collision fix, flags fix, empty-ns fix)
3234
# https://github.com/jsturtevant/hyperlight-1/tree/wasm-component-fixes

RELEASE.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Release Process
2+
3+
## 1. Update Package Versions
4+
5+
Bump the version in **all** manifest files. For example, to go from `0.1.0``0.2.0`:
6+
7+
### Rust (Cargo)
8+
9+
- `Cargo.toml``[workspace.package] version`
10+
- `src/nanvix_sandbox/Cargo.toml``[package] version` (excluded from workspace, must be updated manually)
11+
12+
All other workspace member crates inherit the version automatically.
13+
14+
### Python (pyproject.toml)
15+
16+
- `pyproject.toml` (root dev package)
17+
- `src/sdk/python/core/pyproject.toml` (also update `optional-dependencies` version constraints)
18+
- `src/sdk/python/hyperlight_js_backend/pyproject.toml`
19+
- `src/sdk/python/wasm_backend/pyproject.toml`
20+
- `src/sdk/python/wasm_guests/javascript_guest/pyproject.toml`
21+
- `src/sdk/python/wasm_guests/python_guest/pyproject.toml`
22+
23+
### JavaScript (package.json)
24+
25+
- `src/wasm_sandbox/guests/javascript/package.json`
26+
27+
## 2. Verify the Build
28+
29+
```sh
30+
just build
31+
just fmt-check
32+
```
33+
34+
## 3. Commit and Merge
35+
36+
Open a PR with the version bump, get it reviewed, and merge to `main`.
37+
38+
## 4. Tag and Publish
39+
40+
```sh
41+
git checkout main
42+
git pull --ff-only
43+
git tag -s -a v0.2.0 -m "v0.2.0"
44+
git push --tags
45+
```
46+
47+
Replace `v0.2.0` with the version you are releasing.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hyperlight-sandbox-dev"
3-
version = "0.0.0"
3+
version = "0.2.0"
44
requires-python = ">=3.10"
55

66
[tool.uv]

src/nanvix_sandbox/Cargo.lock

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

src/nanvix_sandbox/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hyperlight-nanvix-sandbox"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
description = "Nanvix microkernel sandbox backend for hyperlight-sandbox"

src/sdk/python/core/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "hyperlight-sandbox"
7-
version = "0.1.0"
7+
version = "0.2.0"
88
description = "Python API for running code in isolated Hyperlight sandboxes with swappable backends"
99
readme = "README.md"
1010
license = "Apache-2.0"
1111
requires-python = ">=3.10"
1212
dependencies = []
13-
optional-dependencies = { wasm = ["hyperlight-sandbox-backend-wasm>=0.1.0"], hyperlight_js = ["hyperlight-sandbox-backend-hyperlight-js>=0.1.0"], python_guest = ["hyperlight-sandbox-python-guest>=0.1.0"], javascript_guest = ["hyperlight-sandbox-javascript-guest>=0.1.0"], dev = ["atheris>=2.3.0"] }
13+
optional-dependencies = { wasm = ["hyperlight-sandbox-backend-wasm>=0.2.0"], hyperlight_js = ["hyperlight-sandbox-backend-hyperlight-js>=0.2.0"], python_guest = ["hyperlight-sandbox-python-guest>=0.2.0"], javascript_guest = ["hyperlight-sandbox-javascript-guest>=0.2.0"], dev = ["atheris>=2.3.0"] }
1414
classifiers = [
1515
"Development Status :: 3 - Alpha",
1616
"Intended Audience :: Developers",
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[package]
22
name = "hyperlight-sandbox-backend-hyperlight-js"
3-
version = "0.1.0"
4-
edition = "2024"
3+
version.workspace = true
4+
edition.workspace = true
5+
rust-version.workspace = true
6+
license.workspace = true
57
description = "HyperlightJS backend bindings for hyperlight-sandbox"
6-
license = "Apache-2.0"
78

89
[lib]
910
name = "_native_js"
1011
crate-type = ["cdylib"]
1112

1213
[dependencies]
13-
pyo3 = { version = "0.28", features = ["extension-module"] }
14-
hyperlight-sandbox = { path = "../../../hyperlight_sandbox" }
15-
hyperlight-javascript-sandbox = { path = "../../../javascript_sandbox" }
16-
hyperlight-sandbox-pyo3-common = { path = "../pyo3_common" }
14+
pyo3.workspace = true
15+
hyperlight-sandbox.workspace = true
16+
hyperlight-javascript-sandbox.workspace = true
17+
hyperlight-sandbox-pyo3-common.workspace = true

src/sdk/python/hyperlight_js_backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "hyperlight-sandbox-backend-hyperlight-js"
7-
version = "0.1.0"
7+
version = "0.2.0"
88
description = "HyperlightJS backend implementation for hyperlight-sandbox"
99
readme = "README.md"
1010
license = "Apache-2.0"
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[package]
22
name = "hyperlight-sandbox-pyo3-common"
3-
version = "0.1.0"
4-
edition = "2024"
3+
version.workspace = true
4+
edition.workspace = true
5+
rust-version.workspace = true
6+
license.workspace = true
57
description = "Shared PyO3 helpers for hyperlight-sandbox backend crates"
6-
license = "Apache-2.0"
78

89
[dependencies]
9-
pyo3 = { version = "0.28", features = ["extension-module"] }
10-
hyperlight-sandbox = { path = "../../../hyperlight_sandbox" }
10+
pyo3.workspace = true
11+
hyperlight-sandbox.workspace = true
1112
anyhow = "1"
1213
serde_json = "1"
1314
log = "0.4"

0 commit comments

Comments
 (0)