From ae6f492ae2363b9070f5ee84a1583403d23c9858 Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 17:36:51 +0800 Subject: [PATCH 1/9] [Version] Bump `async-wasi` to `0.2.0` Signed-off-by: csh <458761603@qq.com> --- crates/async-wasi/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/async-wasi/Cargo.toml b/crates/async-wasi/Cargo.toml index 838898431..57ee21ec4 100644 --- a/crates/async-wasi/Cargo.toml +++ b/crates/async-wasi/Cargo.toml @@ -7,7 +7,7 @@ license = "Apache-2.0" name = "async-wasi" readme = "README.md" repository = "https://github.com/WasmEdge/wasmedge-rust-sdk" -version = "0.2.0-alpha" +version = "0.2.0" [dependencies] log = "0.4" From 5be2c7164ce983b8881aee11a3e895b22564cb1a Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 17:40:13 +0800 Subject: [PATCH 2/9] [Version] Bump `wasmedge-types` to `0.5.0` Signed-off-by: csh <458761603@qq.com> --- crates/wasmedge-types/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasmedge-types/Cargo.toml b/crates/wasmedge-types/Cargo.toml index 7ad0d74d4..fe8683ee4 100644 --- a/crates/wasmedge-types/Cargo.toml +++ b/crates/wasmedge-types/Cargo.toml @@ -7,7 +7,7 @@ license = "Apache-2.0" name = "wasmedge-types" readme = "README.md" repository = "https://github.com/WasmEdge/wasmedge-rust-sdk" -version = "0.4.4" +version = "0.5.0" [dependencies] thiserror = "1.0.30" From 41881c28c3e5314d7a2cc81314a9afaad31a7d94 Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 17:40:33 +0800 Subject: [PATCH 3/9] [Version] Bump `wasmedge-sys` to `0.18.0` Signed-off-by: csh <458761603@qq.com> --- crates/wasmedge-sys/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wasmedge-sys/Cargo.toml b/crates/wasmedge-sys/Cargo.toml index a47bcf5db..65c9959dd 100644 --- a/crates/wasmedge-sys/Cargo.toml +++ b/crates/wasmedge-sys/Cargo.toml @@ -10,7 +10,7 @@ links = "wasmedge" name = "wasmedge-sys" readme = "README.md" repository = "https://github.com/WasmEdge/wasmedge-rust-sdk" -version = "0.17.5" +version = "0.18.0" [dependencies] log = "0.4" From 2bb2beaeb0eb3698001a5ba586ec371dc863defd Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 18:09:34 +0800 Subject: [PATCH 4/9] [Version] Bump `wasmedge-sdk` to `0.13.5-newapi` Signed-off-by: csh <458761603@qq.com> --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2fbcc1e26..36c83ff64 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" name = "wasmedge-sdk" readme = "README.md" repository = "https://github.com/WasmEdge/wasmedge-rust-sdk" -version = "0.13.2" +version = "0.13.5-newapi" [dependencies] anyhow = "1.0" @@ -17,11 +17,11 @@ num-derive = "0.3" num-traits = "0.2" thiserror = "1.0.30" wasmedge-macro.workspace = true -wasmedge-sys = { path = "crates/wasmedge-sys", version = "0.17.5", default-features = false } +wasmedge-sys = { path = "crates/wasmedge-sys", version = "0.18.0", default-features = false } wasmedge-types.workspace = true [workspace.dependencies] -async-wasi = { path = "crates/async-wasi", version = "0.2.0-alpha" } +async-wasi = { path = "crates/async-wasi", version = "0.2.0" } cfg-if = "1.0.0" parking_lot = "0.12.1" wasmedge-macro = { path = "crates/wasmedge-macro", version = "0.6" } From 54f30ded9ad20e478a49ae6fe2c7e5f558784b4e Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 18:22:57 +0800 Subject: [PATCH 5/9] [Doc] Update `README.md` Signed-off-by: csh <458761603@qq.com> --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7d9a59086..8c441317d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ This crate depends on the WasmEdge C API. In linux/macOS the crate can download | wasmedge-sdk | WasmEdge lib | wasmedge-sys | wasmedge-types| wasmedge-macro| async-wasi| | :-----------: | :-----------: | :-----------: | :-----------: | :-----------: | :-------: | + | 0.13.5-newapi | 0.13.5 | 0.18.0 | 0.5.0 | 0.6.1 | 0.2.0 | | 0.13.2 | 0.13.5 | 0.17.5 | 0.4.4 | 0.6.1 | 0.1.0 | | 0.13.1 | 0.13.5 | 0.17.4 | 0.4.4 | 0.6.1 | 0.1.0 | | 0.13.0 | 0.13.5 | 0.17.3 | 0.4.4 | 0.6.1 | 0.1.0 | From f7282551a9ad620f13bb61b9b8d8e810b6b4e9fa Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 18:34:42 +0800 Subject: [PATCH 6/9] [Doc] Update `CHANGELOG` Signed-off-by: csh <458761603@qq.com> --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a485b666..452d8f2b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.13.5-newapi] - 2024-04-30 + +### 🚜 Refactor + +- [BREAKING] Significant refactoring was done to fix memory leaks ([#98](https://github.com/WasmEdge/wasmedge-rust-sdk/pull/98)) + ## [0.13.2] - 2023-11-15 ### 🐛 Bug Fixes From 5111c6944c24db288368dfe4c39a1988bedac8ae Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 18:41:24 +0800 Subject: [PATCH 7/9] [CI] fix `wasmedge-types` version Signed-off-by: csh <458761603@qq.com> --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 36c83ff64..a7c0fc120 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ async-wasi = { path = "crates/async-wasi", version = "0.2.0" } cfg-if = "1.0.0" parking_lot = "0.12.1" wasmedge-macro = { path = "crates/wasmedge-macro", version = "0.6" } -wasmedge-types = { path = "crates/wasmedge-types", version = "0.4" } +wasmedge-types = { path = "crates/wasmedge-types", version = "0.5" } wat = "1.0" [target.'cfg(target_os = "linux")'.dependencies] From 2f18e4ff433fc8f59000a817c51d68595d91c35d Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 19:24:43 +0800 Subject: [PATCH 8/9] [CI] Bump rust version to 1.75 Signed-off-by: csh <458761603@qq.com> --- .github/workflows/ci-build-release-lib.yml | 8 ++++---- .github/workflows/ci-build.yml | 8 ++++---- .github/workflows/rust-static-lib.yml | 2 +- .github/workflows/standalone.yml | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-build-release-lib.yml b/.github/workflows/ci-build-release-lib.yml index 918badeb7..0b317075e 100644 --- a/.github/workflows/ci-build-release-lib.yml +++ b/.github/workflows/ci-build-release-lib.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04, ubuntu-20.04] - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] container: image: wasmedge/wasmedge:ubuntu-build-clang @@ -83,7 +83,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] container: image: fedora:latest @@ -147,7 +147,7 @@ jobs: strategy: matrix: os: [macos-12, macos-13] - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] steps: - name: Checkout sources @@ -187,7 +187,7 @@ jobs: runs-on: windows-2022 strategy: matrix: - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] env: WASMEDGE_DIR: ${{ github.workspace }}\WasmEdge WASMEDGE_BUILD_DIR: ${{ github.workspace }}\WasmEdge\build diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 335662625..8bc23c981 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04, ubuntu-20.04] - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] container: image: wasmedge/wasmedge:ubuntu-build-clang @@ -96,7 +96,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] container: image: fedora:latest @@ -173,7 +173,7 @@ jobs: strategy: matrix: os: [macos-12, macos-13] - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] steps: - name: Checkout sources @@ -228,7 +228,7 @@ jobs: runs-on: windows-2022 strategy: matrix: - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] env: WASMEDGE_DIR: ${{ github.workspace }}\WasmEdge WASMEDGE_BUILD_DIR: ${{ github.workspace }}\WasmEdge\build diff --git a/.github/workflows/rust-static-lib.yml b/.github/workflows/rust-static-lib.yml index 4679bc58a..b8bf2bc2d 100644 --- a/.github/workflows/rust-static-lib.yml +++ b/.github/workflows/rust-static-lib.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] container: image: wasmedge/wasmedge:ubuntu-build-clang diff --git a/.github/workflows/standalone.yml b/.github/workflows/standalone.yml index 537dc202b..22eeb2216 100644 --- a/.github/workflows/standalone.yml +++ b/.github/workflows/standalone.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] steps: - name: Checkout WasmEdge Rust SDK @@ -57,7 +57,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] steps: - name: Checkout WasmEdge Rust SDK @@ -92,7 +92,7 @@ jobs: strategy: matrix: os: [macos-12, macos-13] - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] steps: - name: Checkout sources @@ -121,7 +121,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: [1.73, 1.72, 1.71] + rust: [1.75, 1.74, 1.73] container: image: fedora:latest From 328a0949f4760f12de5b058029e0af72cd9e11c2 Mon Sep 17 00:00:00 2001 From: csh <458761603@qq.com> Date: Tue, 30 Apr 2024 22:14:34 +0800 Subject: [PATCH 9/9] [CI] Bump Rust version to 1.75 in release Action Signed-off-by: csh <458761603@qq.com> --- .github/workflows/release-async-wasi.yml | 4 ++-- .github/workflows/release-wasmedge-macro.yml | 4 ++-- .github/workflows/release-wasmedge-types.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-async-wasi.yml b/.github/workflows/release-async-wasi.yml index f7799f172..0b5cf51a5 100644 --- a/.github/workflows/release-async-wasi.yml +++ b/.github/workflows/release-async-wasi.yml @@ -19,10 +19,10 @@ jobs: with: fetch-depth: 0 - - name: Install Rust v1.68 + - name: Install Rust v1.75 uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.68 + toolchain: 1.75 - name: Dry run cargo publish env: diff --git a/.github/workflows/release-wasmedge-macro.yml b/.github/workflows/release-wasmedge-macro.yml index de4b4e89d..3b3bb5e66 100644 --- a/.github/workflows/release-wasmedge-macro.yml +++ b/.github/workflows/release-wasmedge-macro.yml @@ -19,10 +19,10 @@ jobs: with: fetch-depth: 0 - - name: Install Rust v1.68 + - name: Install Rust v1.75 uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.68 + toolchain: 1.75 - name: Dry run cargo publish env: diff --git a/.github/workflows/release-wasmedge-types.yml b/.github/workflows/release-wasmedge-types.yml index cd62270f2..a3e05cc82 100644 --- a/.github/workflows/release-wasmedge-types.yml +++ b/.github/workflows/release-wasmedge-types.yml @@ -19,10 +19,10 @@ jobs: with: fetch-depth: 0 - - name: Install Rust v1.68 + - name: Install Rust v1.75 uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.68 + toolchain: 1.75 - name: Dry run cargo publish env: