packages feed

wasmedge-hs 0.17.1.0 → 0.18.1.0

raw patch · 5 files changed

+39/−23 lines, 5 filesdep ~asyncdep ~clockdep ~cryptohash-sha256PVP ok

version bump matches the API change (PVP)

Dependency ranges changed: async, clock, cryptohash-sha256, directory, filepath, stm, temporary

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -11,6 +11,17 @@  --- +## [0.18.1.0] - 2026-11-08++### Changed+- Target runtime upgraded to **WasmEdge 0.18.1**.+- Verified all 86 unit and property tests against WasmEdge 0.18.1 C headers and shared libraries.+- Updated `VersionSpec` suite to assert WasmEdge 0.18.1 ABI compatibility (`minor == 18`, `patch == 1`).+- Updated CI/CD matrix and deployment environments to install WasmEdge 0.18.1.+- Updated package metadata and Cabal source repository stanzas.++---+ ## [0.17.1.0] - 2026-11-07  **Initial public release.** Ground-up rewrite of Haskell bindings for WasmEdge 0.17.1.@@ -64,5 +75,6 @@  --- -[Unreleased]: https://github.com/tusharad/wasmedge-hs/compare/v0.17.1.0...HEAD+[Unreleased]: https://github.com/tusharad/wasmedge-hs/compare/v0.18.1.0...HEAD+[0.18.1.0]: https://github.com/tusharad/wasmedge-hs/compare/v0.17.1.0...v0.18.1.0 [0.17.1.0]: https://github.com/tusharad/wasmedge-hs/releases/tag/v0.17.1.0
README.md view
@@ -44,7 +44,7 @@ **Linux** ```bash curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh \-  | sudo bash -s -- -v 0.17.1 -p /usr/local+  | sudo bash -s -- -v 0.18.1 -p /usr/local ```  ### 2. Add `wasmedge-hs` to your project@@ -52,7 +52,7 @@ **Cabal** (`cabal.project` / `.cabal`): ```cabal -- your-package.cabal-build-depends: wasmedge-hs >= 0.17.1 && < 0.18+build-depends: wasmedge-hs >= 0.18.1 && < 0.19 ```  ```bash@@ -63,7 +63,7 @@ **Stack** (`stack.yaml`): ```yaml extra-deps:-  - wasmedge-hs-0.17.1.0+  - wasmedge-hs-0.18.1.0 ```  ```bash
docs/CONTRIBUTING.md view
@@ -17,7 +17,7 @@    ghcup install stack    ``` -2. **WasmEdge 0.17.1**:+2. **WasmEdge 0.18.1**:     On macOS (Homebrew):    ```bash@@ -27,7 +27,7 @@    On Linux:    ```bash    curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh \-     | sudo bash -s -- -v 0.17.1 -p /usr/local+     | sudo bash -s -- -v 0.18.1 -p /usr/local    sudo ldconfig    ``` 
test/Test/Unit/VersionSpec.hs view
@@ -22,11 +22,11 @@     major <- c_VersionGetMajor     major `shouldBe` 0 -  it "VersionGetMinor returns 17 for WasmEdge 0.17.1" $ do+  it "VersionGetMinor returns 18 for WasmEdge 0.18.1" $ do     minor <- c_VersionGetMinor-    minor `shouldBe` 17+    minor `shouldBe` 18 -  it "VersionGetPatch returns 1 for WasmEdge 0.17.1" $ do+  it "VersionGetPatch returns 1 for WasmEdge 0.18.1" $ do     patch <- c_VersionGetPatch     patch `shouldBe` 1 
wasmedge-hs.cabal view
@@ -1,16 +1,16 @@ cabal-version:   3.4 name:            wasmedge-hs-version:         0.17.1.0+version:         0.18.1.0  synopsis:-  Haskell bindings for the WasmEdge WebAssembly runtime+  Haskell FFI bindings for the WasmEdge 0.18 WebAssembly runtime  description:   Comprehensive, type-safe Haskell FFI bindings for the WasmEdge C API.-  .+   Features:-  .-  * Full coverage of the WasmEdge 0.17.x C API++  * Full coverage of the WasmEdge 0.18.x C API   * Two-layer design: raw FFI layer + safe idiomatic public API   * Phantom-typed ownership model — no double-frees or use-after-free   * @bracket@-style resource management compatible with @MonadUnliftIO@@@ -46,6 +46,10 @@   cbits/wasmedge_hs_int128.c   include/wasmedge_hs.h +source-repository head+  type:     git+  location: https://github.com/tusharad/wasmedge-hs.git+ -- ------------------------------------------------------------------------- -- Flags -- -------------------------------------------------------------------------@@ -258,8 +262,8 @@       wasmedge-hs     , base     , bytestring-    , filepath-    , temporary+    , filepath          >= 1.4   && < 1.6+    , temporary         >= 1.3   && < 1.4  executable wasmedge-hs-example-plugin   import:          defaults@@ -302,13 +306,13 @@     , bytestring     , text     , vector-    , async-    , stm-    , clock-    , cryptohash-sha256-    , temporary-    , filepath-    , directory+    , async             >= 2.2   && < 2.3+    , stm               >= 2.5   && < 2.6+    , clock             >= 0.8   && < 0.9+    , cryptohash-sha256 >= 0.11  && < 0.12+    , temporary         >= 1.3   && < 1.4+    , filepath          >= 1.4   && < 1.6+    , directory         >= 1.3   && < 1.4     , containers     , aeson