Skip to content

Commit

Permalink
build: bump version to 0.0.97 (#132)
Browse files Browse the repository at this point in the history
* build: bump version to 0.0.97

* chore: grammer

* chore: changelog
  • Loading branch information
mattyg authored Dec 19, 2024
1 parent c6d0e71 commit cd075dd
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 22 deletions.
19 changes: 17 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,31 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

### Changed
## [0.0.96]

- Upgrade wasmer to 5.x
### Changed
- Bumped wasmer version to 5.x
- **BREAKING CHANGE** The `wasmer_sys` feature has been renamed to `wasmer_sys_dev`
- The error variant `WasmErrorInner::Compile` has been renamed to `WasmErrorInner::ModuleBuild` to clarify that the error is related to constructing a wasmer `Module`. Only with the feature flags `wasmer_sys_dev` or `wasmer_sys_prod`, is this when wasm compilation occurs. On the feature flag `wasmer_wamr`, wasms are interpreted and thus no compilation occurs.

### Added
- A new feature flag, `wasmer_sys_prod` which enables the Wasmer LLVM compiler. The default, with the `wasmer_sys_dev` feature
is the Cranelift compiler. The Cranelift compiler is fast, and recommended for development, but the LLVM compiler is supposed
to be faster and more optimized for production. In testing so far, the compile step is slower with LLVM but the runtime is
faster. More testing is needed yet to confirm the difference.
- A new public function `build_module`, which builds a wasmer Module directly, bypassing the `ModuleCache`. It is only implemented for the feature flag `wasmer_wamr`. On the feature flags `wasmer_sys_dev` and `wasmer_sys_prod` it will panic as unimplemented. This enforces the use of the `ModuleCache` when wasmer is used in a compiled mode, and allows bypassing the cache when wasmer is used in interpreter mode as caching is not relevant.

## [0.0.95] - 2024-08-28

### Changed
- Bumped holochain_serialized_bytes version
- Bumped wasmer version

## [0.0.94] - 2024-05-21

### Changed
- Fixed memory deallocation for rust 1.78
- Bump Criterion version

## [0.0.93] - 2024-04-24

Expand Down
4 changes: 2 additions & 2 deletions 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 crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "holochain_wasmer_common"
description = "commons for both host and guest"
license = "Apache-2.0"
version = "0.0.96"
version = "0.0.97"
authors = ["thedavidmeister", "[email protected]"]
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions crates/guest/Cargo.lock

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

6 changes: 3 additions & 3 deletions crates/guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "holochain_wasmer_guest"
description = "wasm guest code"
license = "Apache-2.0"
version = "0.0.96"
version = "0.0.97"
authors = ["thedavidmeister", "[email protected]"]
edition = "2021"

Expand All @@ -15,11 +15,11 @@ path = "src/guest.rs"

[dependencies]
holochain_serialized_bytes = "=0.0.55"
holochain_wasmer_common = { version = "=0.0.96", path = "../common" }
holochain_wasmer_common = { version = "=0.0.97", path = "../common" }
serde = "1"
tracing = "0.1"
paste = "1.0"

[dev-dependencies]
holochain_wasmer_common = { version = "=0.0.96", path = "../common", features = ["fuzzing"] }
holochain_wasmer_common = { version = "=0.0.97", path = "../common", features = ["fuzzing"] }
test-fuzz = "6.0.0"
4 changes: 2 additions & 2 deletions crates/host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "holochain_wasmer_host"
description = "wasm host code"
license = "Apache-2.0"
version = "0.0.96"
version = "0.0.97"
authors = ["thedavidmeister", "[email protected]"]
edition = "2021"

[dependencies]
wasmer = { version = "5.0.2", default-features = false }
wasmer-middlewares = { version = "5.0.2", optional = true }

holochain_wasmer_common = { version = "=0.0.96", path = "../common" }
holochain_wasmer_common = { version = "=0.0.97", path = "../common" }
holochain_serialized_bytes = "=0.0.55"
serde = "1"
tracing = "0.1"
Expand Down
4 changes: 2 additions & 2 deletions test/Cargo.lock

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

4 changes: 2 additions & 2 deletions test/test_wasm/Cargo.lock

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

4 changes: 2 additions & 2 deletions test/wasm_empty/Cargo.lock

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

4 changes: 2 additions & 2 deletions test/wasm_io/Cargo.lock

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

4 changes: 2 additions & 2 deletions test/wasm_memory/Cargo.lock

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

0 comments on commit cd075dd

Please sign in to comment.