Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exclude = [
resolver = "2"

[workspace.package]
version = "0.1.0"
version = "0.2.0"
edition = "2024"
rust-version = "1.89"
license = "Apache-2.0"
Expand All @@ -23,10 +23,12 @@ license = "Apache-2.0"
hyperlight-sandbox = { path = "src/hyperlight_sandbox" }
hyperlight-javascript-sandbox = { path = "src/javascript_sandbox" }
hyperlight-wasm-sandbox = { path = "src/wasm_sandbox" }
hyperlight-sandbox-pyo3-common = { path = "src/sdk/python/pyo3_common" }
hyperlight-common = { version = "0.14.0", default-features = false }
hyperlight-component-macro = { version = "0.14.0" }
hyperlight-host = { version = "0.14.0", default-features = false, features = ["executable_heap"] }
hyperlight-wasm = { git = "https://github.com/jsturtevant/hyperlight-wasm", rev = "05a9eea" } #branch util-compont-fixes
pyo3 = { version = "0.28", features = ["extension-module"] }

# Patched component-util (name collision fix, flags fix, empty-ns fix)
# https://github.com/jsturtevant/hyperlight-1/tree/wasm-component-fixes
Expand Down
47 changes: 47 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Release Process

## 1. Update Package Versions

Bump the version in **all** manifest files. For example, to go from `0.1.0` → `0.2.0`:

### Rust (Cargo)

- `Cargo.toml` — `[workspace.package] version`
- `src/nanvix_sandbox/Cargo.toml` — `[package] version` (excluded from workspace, must be updated manually)

All other workspace member crates inherit the version automatically.

### Python (pyproject.toml)

- `pyproject.toml` (root dev package)
- `src/sdk/python/core/pyproject.toml` (also update `optional-dependencies` version constraints)
- `src/sdk/python/hyperlight_js_backend/pyproject.toml`
- `src/sdk/python/wasm_backend/pyproject.toml`
- `src/sdk/python/wasm_guests/javascript_guest/pyproject.toml`
- `src/sdk/python/wasm_guests/python_guest/pyproject.toml`

### JavaScript (package.json)

- `src/wasm_sandbox/guests/javascript/package.json`

## 2. Verify the Build

```sh
just build
just fmt-check
```

## 3. Commit and Merge

Open a PR with the version bump, get it reviewed, and merge to `main`.

## 4. Tag and Publish

```sh
git checkout main
git pull --ff-only
git tag -s -a v0.2.0 -m "v0.2.0"
git push --tags
```

Replace `v0.2.0` with the version you are releasing.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hyperlight-sandbox-dev"
version = "0.0.0"
version = "0.2.0"
requires-python = ">=3.10"

[tool.uv]
Expand Down
4 changes: 2 additions & 2 deletions src/nanvix_sandbox/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/nanvix_sandbox/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hyperlight-nanvix-sandbox"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
license = "Apache-2.0"
description = "Nanvix microkernel sandbox backend for hyperlight-sandbox"
Expand Down
4 changes: 2 additions & 2 deletions src/sdk/python/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"

[project]
name = "hyperlight-sandbox"
version = "0.1.0"
version = "0.2.0"
description = "Python API for running code in isolated Hyperlight sandboxes with swappable backends"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10"
dependencies = []
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"] }
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"] }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand Down
15 changes: 8 additions & 7 deletions src/sdk/python/hyperlight_js_backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[package]
name = "hyperlight-sandbox-backend-hyperlight-js"
version = "0.1.0"
edition = "2024"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "HyperlightJS backend bindings for hyperlight-sandbox"
license = "Apache-2.0"

[lib]
name = "_native_js"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.28", features = ["extension-module"] }
hyperlight-sandbox = { path = "../../../hyperlight_sandbox" }
hyperlight-javascript-sandbox = { path = "../../../javascript_sandbox" }
hyperlight-sandbox-pyo3-common = { path = "../pyo3_common" }
pyo3.workspace = true
hyperlight-sandbox.workspace = true
hyperlight-javascript-sandbox.workspace = true
hyperlight-sandbox-pyo3-common.workspace = true
2 changes: 1 addition & 1 deletion src/sdk/python/hyperlight_js_backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "hyperlight-sandbox-backend-hyperlight-js"
version = "0.1.0"
version = "0.2.0"
description = "HyperlightJS backend implementation for hyperlight-sandbox"
readme = "README.md"
license = "Apache-2.0"
Expand Down
11 changes: 6 additions & 5 deletions src/sdk/python/pyo3_common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[package]
name = "hyperlight-sandbox-pyo3-common"
version = "0.1.0"
edition = "2024"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "Shared PyO3 helpers for hyperlight-sandbox backend crates"
license = "Apache-2.0"

[dependencies]
pyo3 = { version = "0.28", features = ["extension-module"] }
hyperlight-sandbox = { path = "../../../hyperlight_sandbox" }
pyo3.workspace = true
hyperlight-sandbox.workspace = true
anyhow = "1"
serde_json = "1"
log = "0.4"
15 changes: 8 additions & 7 deletions src/sdk/python/wasm_backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[package]
name = "hyperlight-sandbox-backend-wasm"
version = "0.1.0"
edition = "2024"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "Wasm backend bindings for hyperlight-sandbox"
license = "Apache-2.0"

[lib]
name = "_native_wasm"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.28", features = ["extension-module"] }
hyperlight-sandbox = { path = "../../../hyperlight_sandbox" }
hyperlight-wasm-sandbox = { path = "../../../wasm_sandbox" }
hyperlight-sandbox-pyo3-common = { path = "../pyo3_common" }
pyo3.workspace = true
hyperlight-sandbox.workspace = true
hyperlight-wasm-sandbox.workspace = true
hyperlight-sandbox-pyo3-common.workspace = true
2 changes: 1 addition & 1 deletion src/sdk/python/wasm_backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "hyperlight-sandbox-backend-wasm"
version = "0.1.0"
version = "0.2.0"
description = "Wasm backend implementation for hyperlight-sandbox"
readme = "README.md"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/python/wasm_guests/javascript_guest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "hyperlight-sandbox-javascript-guest"
version = "0.1.0"
version = "0.2.0"
description = "Packaged Hyperlight Wasm JavaScript guest exposed as javascript_guest.path"
readme = "README.md"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/python/wasm_guests/python_guest/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "hyperlight-sandbox-python-guest"
version = "0.1.0"
version = "0.2.0"
description = "Packaged Hyperlight Wasm Python guest exposed as python_guest.path"
readme = "README.md"
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions src/wasm_sandbox/guests/javascript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/wasm_sandbox/guests/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hyperlight-sandbox-js-guest",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading