From 7c4f42f5f9401eb554f9fff923fa6dde0cf7c7dc Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Wed, 15 Jan 2025 12:02:04 -0700 Subject: [PATCH 1/2] chore: fix inaccuracies in changelog --- CHANGELOG.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31cd477c..f09a11c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,16 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +### Changed - Removed separate cargo workspaces for `crates/guest` and `test` and separate cargo projects for test wasms. Now all crates are members of a single cargo workspace. +- Re-enable CI testing on windows with feature `wasmer_wamr`. +- Removes the in-memory serialized module cache which was redundant. Now there is just a `ModuleCache` which stores modules in-memory as well as optionally persisting modules by serializing and saving them to the filesystem. + +### Added +- Add CI job "check" which passes if all other jobs pass. +- When the `ModuleCache` fails to deserialize a Module that was perisisted to the filesystem, the persisted file is deleted and the original wasm is added to the cache again. -## [0.0.96] +## [0.0.97] - 2024-12-18 ### Changed - Bumped wasmer version to 5.x @@ -20,6 +27,16 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm 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.96] - 2024-08-28 + +### Added +Two new mutually-exclusive feature flags `wasmer_sys` and `wasmer_wamr` for toggling different wasm runtime engines: +- `wasmer_sys` sets wasmer to use the cranelift compiler +- `wasmer_wamr` sets wasmer to use the wasm-micro-runtime in interpreter mode + +### Changed +- Use the full path to `WasmError` within the `wasm_error!` macro, so that the consumer does not need to manually import `WasmError`. + ## [0.0.95] - 2024-08-28 ### Changed From eb153317d7403ff42f1c23f642d69e4993e742bf Mon Sep 17 00:00:00 2001 From: Matt Gabrenya Date: Wed, 15 Jan 2025 12:02:47 -0700 Subject: [PATCH 2/2] chore: add pull request template with reminder to update the changelog --- .github/pull_request_template.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..e24d996f --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,5 @@ +### Summary + + +### TODO: +- [ ] CHANGELOG updated \ No newline at end of file