From c42e76684646d6e9e274dcd04f2a4e9719450b58 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Mon, 21 Oct 2024 13:50:15 +0330 Subject: [PATCH 1/6] Update CHANGELOG --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f57062ecb2..846e850bcce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,37 @@ Looking for changes that affect our C API? See the [C API Changelog](lib/c-api/C ## **Unreleased** +## 5.0.0-rc.1 - 21/10/2024 + +## Added + + - [#5154](https://github.com/wasmerio/wasmer/pull/5154) Add build steps for interpreter backends + - [#5138](https://github.com/wasmerio/wasmer/pull/5138) Experimental: Add support for v8 + - [#5129](https://github.com/wasmerio/wasmer/pull/5129) Experimental: Add support for WASMI + - [#4515](https://github.com/wasmerio/wasmer/pull/4515) Experimental: Add interpreter support for Wasmer + +## Changed + + - [#5158](https://github.com/wasmerio/wasmer/pull/5158) path_create_directory shouldn't behave recursively + - [#5156](https://github.com/wasmerio/wasmer/pull/5156) Resolve double-free error in c-api + - [#5149](https://github.com/wasmerio/wasmer/pull/5149) Merge 5.0 release candidate into main + - [#5148](https://github.com/wasmerio/wasmer/pull/5148) Remove deprecated methods and types + - [#5147](https://github.com/wasmerio/wasmer/pull/5147) Feat(compiler/llvm): Replace runtime assertions (in debug mode) with errors + - [#5146](https://github.com/wasmerio/wasmer/pull/5146) feat(api/build/v8): Use blob to build v8 + - [#5142](https://github.com/wasmerio/wasmer/pull/5142) Upgrade `rkyv` + - [#5098](https://github.com/wasmerio/wasmer/pull/5098) `js::module`: leave warning comment on the `Send` impl + - [#5139](https://github.com/wasmerio/wasmer/pull/5139) deps: Update corosensei + - [#5136](https://github.com/wasmerio/wasmer/pull/5136) Replace v3 usage of download-artifact + - [#5135](https://github.com/wasmerio/wasmer/pull/5135) Use upload/download artifact v4 + +## Fixed + + - [#4834](https://github.com/wasmerio/wasmer/pull/4834) Fix `path_open` trailing slash edge case + - [#4821](https://github.com/wasmerio/wasmer/pull/4821) Fix `path_open` sometimes ignoring trailing slash + - [#5137](https://github.com/wasmerio/wasmer/pull/5137) Trying to fix js build + + + ## 4.4.0 - 04/10/2024 This release adds support for object size estimation, adds better proxy support, improves executable spawning, and contains various bug fixes. From 193cba137952996bcdee7a685ea697d1b0e9dfe3 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Mon, 21 Oct 2024 13:50:15 +0330 Subject: [PATCH 2/6] Release 5.0.0-rc.1 --- Cargo.toml | 26 +++++++++---------- lib/api/Cargo.toml | 22 ++++++++-------- .../macro-wasmer-universal-test/Cargo.toml | 2 +- lib/c-api/Cargo.toml | 16 ++++++------ .../wasmer-capi-examples-runner/Cargo.toml | 2 +- .../tests/wasmer-c-api-test-runner/Cargo.toml | 2 +- lib/cache/Cargo.toml | 6 ++--- lib/cli-compiler/Cargo.toml | 16 ++++++------ lib/cli/Cargo.toml | 24 ++++++++--------- lib/compiler-cranelift/Cargo.toml | 4 +-- lib/compiler-llvm/Cargo.toml | 6 ++--- lib/compiler-singlepass/Cargo.toml | 4 +-- lib/compiler/Cargo.toml | 6 ++--- lib/emscripten/Cargo.toml | 4 +-- lib/journal/Cargo.toml | 2 +- lib/middlewares/Cargo.toml | 8 +++--- lib/object/Cargo.toml | 2 +- lib/registry/Cargo.toml | 4 +-- lib/swift/Cargo.toml | 2 +- lib/sys-utils/Cargo.toml | 8 +++--- lib/vm/Cargo.toml | 2 +- lib/wai-bindgen-wasmer/Cargo.toml | 2 +- lib/wasi-types/Cargo.toml | 6 ++--- lib/wasix/Cargo.toml | 10 +++---- scripts/update-version.py | 4 +-- scripts/windows-installer/wasmer.iss | 2 +- tests/integration/cli/Cargo.toml | 2 +- tests/integration/ios/Cargo.toml | 2 +- tests/lib/wast/Cargo.toml | 4 +-- tests/wasi-wast/Cargo.toml | 2 +- tests/wasmer-argus/Cargo.toml | 2 +- 31 files changed, 102 insertions(+), 102 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 845f00f316e..d8f9d4ac0b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,20 +12,20 @@ rust-version.workspace = true version.workspace = true [dependencies] -wasmer = { version = "=4.4.0", path = "lib/api", default-features = false } -wasmer-compiler = { version = "=4.4.0", path = "lib/compiler", features = [ +wasmer = { version = "=5.0.0-rc.1", path = "lib/api", default-features = false } +wasmer-compiler = { version = "=5.0.0-rc.1", path = "lib/compiler", features = [ "compiler", ], optional = true } -wasmer-compiler-cranelift = { version = "=4.4.0", path = "lib/compiler-cranelift", optional = true } -wasmer-compiler-singlepass = { version = "=4.4.0", path = "lib/compiler-singlepass", optional = true } -wasmer-compiler-llvm = { version = "=4.4.0", path = "lib/compiler-llvm", optional = true } -wasmer-emscripten = { version = "=4.4.0", path = "lib/emscripten", optional = true } +wasmer-compiler-cranelift = { version = "=5.0.0-rc.1", path = "lib/compiler-cranelift", optional = true } +wasmer-compiler-singlepass = { version = "=5.0.0-rc.1", path = "lib/compiler-singlepass", optional = true } +wasmer-compiler-llvm = { version = "=5.0.0-rc.1", path = "lib/compiler-llvm", optional = true } +wasmer-emscripten = { version = "=5.0.0-rc.1", path = "lib/emscripten", optional = true } wasmer-wasix = { path = "lib/wasix", optional = true } -wasmer-wast = { version = "=4.4.0", path = "tests/lib/wast", optional = true } -wasi-test-generator = { version = "=4.4.0", path = "tests/wasi-wast", optional = true } -wasmer-cache = { version = "=4.4.0", path = "lib/cache", optional = true } -wasmer-types = { version = "=4.4.0", path = "lib/types" } -wasmer-middlewares = { version = "=4.4.0", path = "lib/middlewares", optional = true } +wasmer-wast = { version = "=5.0.0-rc.1", path = "tests/lib/wast", optional = true } +wasi-test-generator = { version = "=5.0.0-rc.1", path = "tests/wasi-wast", optional = true } +wasmer-cache = { version = "=5.0.0-rc.1", path = "lib/cache", optional = true } +wasmer-types = { version = "=5.0.0-rc.1", path = "lib/types" } +wasmer-middlewares = { version = "=5.0.0-rc.1", path = "lib/middlewares", optional = true } # Third party dependencies cfg-if = "1.0" @@ -89,7 +89,7 @@ homepage = "https://wasmer.io/" license = "MIT" repository = "https://github.com/wasmerio/wasmer" rust-version = "1.74" -version = "4.4.0" +version = "5.0.0-rc.1" [workspace.dependencies] # Repo-local crates @@ -133,7 +133,7 @@ glob = "0.3" rustc_version = "0.4" [dev-dependencies] -wasmer = { version = "=4.4.0", path = "lib/api", features = [ +wasmer = { version = "=5.0.0-rc.1", path = "lib/api", features = [ "compiler", "singlepass", "sys", diff --git a/lib/api/Cargo.toml b/lib/api/Cargo.toml index 65d3f600a6c..59173c75ca7 100644 --- a/lib/api/Cargo.toml +++ b/lib/api/Cargo.toml @@ -51,15 +51,15 @@ loupe = { version = "0.1.3", optional = true, features = [ # Dependencies and Development Dependencies for `sys`. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] # - Mandatory dependencies for `sys`. -wasmer-vm = { path = "../vm", version = "=4.4.0" } -wasmer-compiler = { path = "../compiler", version = "=4.4.0" } -wasmer-derive = { path = "../derive", version = "=4.4.0" } -wasmer-types = { path = "../types", version = "=4.4.0" } +wasmer-vm = { path = "../vm", version = "=5.0.0-rc.1" } +wasmer-compiler = { path = "../compiler", version = "=5.0.0-rc.1" } +wasmer-derive = { path = "../derive", version = "=5.0.0-rc.1" } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1" } target-lexicon = { version = "0.12.2", default-features = false } # - Optional dependencies for `sys`. -wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "=4.4.0", optional = true } -wasmer-compiler-cranelift = { path = "../compiler-cranelift", version = "=4.4.0", optional = true } -wasmer-compiler-llvm = { path = "../compiler-llvm", version = "=4.4.0", optional = true } +wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "=5.0.0-rc.1", optional = true } +wasmer-compiler-cranelift = { path = "../compiler-cranelift", version = "=5.0.0-rc.1", optional = true } +wasmer-compiler-llvm = { path = "../compiler-llvm", version = "=5.0.0-rc.1", optional = true } wasm-bindgen = { version = "0.2.74", optional = true } js-sys = { version = "0.3.51", optional = true } @@ -74,17 +74,17 @@ windows-sys = "0.59" wat = "1.0" tempfile = "3.6.0" anyhow = "1.0" -macro-wasmer-universal-test = { version = "4.4.0", path = "./macro-wasmer-universal-test" } +macro-wasmer-universal-test = { version = "5.0.0-rc.1", path = "./macro-wasmer-universal-test" } # Dependencies and Develoment Dependencies for `js`. [target.'cfg(target_arch = "wasm32")'.dependencies] # - Mandatory dependencies for `js`. -wasmer-types = { path = "../types", version = "=4.4.0", default-features = false, features = [ +wasmer-types = { path = "../types", version = "=5.0.0-rc.1", default-features = false, features = [ "std", ] } wasm-bindgen = "0.2.74" js-sys = "0.3.51" -wasmer-derive = { path = "../derive", version = "=4.4.0" } +wasmer-derive = { path = "../derive", version = "=5.0.0-rc.1" } # - Optional dependencies for `js`. wasmparser = { workspace = true, default-features = false, optional = true } hashbrown = { version = "0.11", optional = true } @@ -96,7 +96,7 @@ serde = { version = "1.0", features = ["derive"] } wat = "1.0" anyhow = "1.0" wasm-bindgen-test = "0.3.0" -macro-wasmer-universal-test = { version = "4.4.0", path = "./macro-wasmer-universal-test" } +macro-wasmer-universal-test = { version = "5.0.0-rc.1", path = "./macro-wasmer-universal-test" } # Specific to `js`. # diff --git a/lib/api/macro-wasmer-universal-test/Cargo.toml b/lib/api/macro-wasmer-universal-test/Cargo.toml index 2156a5c6b42..2a856b4eb82 100644 --- a/lib/api/macro-wasmer-universal-test/Cargo.toml +++ b/lib/api/macro-wasmer-universal-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "macro-wasmer-universal-test" -version = "4.4.0" +version = "5.0.0-rc.1" edition = "2021" license = "MIT" description = "Universal test macro for wasmer-test" diff --git a/lib/c-api/Cargo.toml b/lib/c-api/Cargo.toml index ade9ac88870..a2e18914eac 100644 --- a/lib/c-api/Cargo.toml +++ b/lib/c-api/Cargo.toml @@ -24,14 +24,14 @@ crate-type = ["staticlib", "cdylib"] #"cdylib", "rlib", "staticlib"] [dependencies] # We rename `wasmer` to `wasmer-api` to avoid the conflict with this # library name (see `[lib]`). -wasmer-api = { version = "=4.4.0", path = "../api", default-features = false, package = "wasmer" } -wasmer-compiler = { version = "=4.4.0", path = "../compiler", optional = true } -wasmer-compiler-cranelift = { version = "=4.4.0", path = "../compiler-cranelift", optional = true } -wasmer-compiler-llvm = { version = "=4.4.0", path = "../compiler-llvm", optional = true } -wasmer-compiler-singlepass = { version = "=4.4.0", path = "../compiler-singlepass", optional = true } -wasmer-emscripten = { version = "=4.4.0", path = "../emscripten", optional = true } -wasmer-middlewares = { version = "=4.4.0", path = "../middlewares", optional = true } -wasmer-types = { version = "=4.4.0", path = "../types" } +wasmer-api = { version = "=5.0.0-rc.1", path = "../api", default-features = false, package = "wasmer" } +wasmer-compiler = { version = "=5.0.0-rc.1", path = "../compiler", optional = true } +wasmer-compiler-cranelift = { version = "=5.0.0-rc.1", path = "../compiler-cranelift", optional = true } +wasmer-compiler-llvm = { version = "=5.0.0-rc.1", path = "../compiler-llvm", optional = true } +wasmer-compiler-singlepass = { version = "=5.0.0-rc.1", path = "../compiler-singlepass", optional = true } +wasmer-emscripten = { version = "=5.0.0-rc.1", path = "../emscripten", optional = true } +wasmer-middlewares = { version = "=5.0.0-rc.1", path = "../middlewares", optional = true } +wasmer-types = { version = "=5.0.0-rc.1", path = "../types" } wasmer-wasix = { path = "../wasix", version="=0.28.0", features = ["host-fs", "host-vnet"], optional = true } webc = { workspace = true, optional = true } virtual-fs = { version = "0.17.0", path = "../virtual-fs", optional = true, default-features = false, features = ["static-fs"] } diff --git a/lib/c-api/examples/wasmer-capi-examples-runner/Cargo.toml b/lib/c-api/examples/wasmer-capi-examples-runner/Cargo.toml index 7d57dcda0a9..96d7c9f8810 100644 --- a/lib/c-api/examples/wasmer-capi-examples-runner/Cargo.toml +++ b/lib/c-api/examples/wasmer-capi-examples-runner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-capi-examples-runner" -version = "4.4.0" +version = "5.0.0-rc.1" edition = "2021" license = "MIT" description = "wasmer-capi-examples-runner" diff --git a/lib/c-api/tests/wasmer-c-api-test-runner/Cargo.toml b/lib/c-api/tests/wasmer-c-api-test-runner/Cargo.toml index 3bce6d91005..64336f11f4c 100644 --- a/lib/c-api/tests/wasmer-c-api-test-runner/Cargo.toml +++ b/lib/c-api/tests/wasmer-c-api-test-runner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-c-api-test-runner" -version = "4.4.0" +version = "5.0.0-rc.1" edition = "2021" license = "MIT" description = "wasmer-c-api-test-runner" diff --git a/lib/cache/Cargo.toml b/lib/cache/Cargo.toml index 37d553879b9..9c696e59033 100644 --- a/lib/cache/Cargo.toml +++ b/lib/cache/Cargo.toml @@ -13,7 +13,7 @@ rust-version.workspace = true version.workspace = true [dependencies] -wasmer = { path = "../api", version = "=4.4.0", default-features = false } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false } hex = "0.4" thiserror = "1" blake3 = "1.0" @@ -26,8 +26,8 @@ clap_derive = { version = "=4.4.7" } clap_lex = { version = "=0.6.0" } tempfile = "3.6.0" rand = "0.8.3" -wasmer = { path = "../api", version = "=4.4.0", default-features = false, features = ["sys", "cranelift"] } -wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "=4.4.0" } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false, features = ["sys", "cranelift"] } +wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "=5.0.0-rc.1" } [features] default = ["filesystem"] diff --git a/lib/cli-compiler/Cargo.toml b/lib/cli-compiler/Cargo.toml index b540288180d..9a40b9a13fc 100644 --- a/lib/cli-compiler/Cargo.toml +++ b/lib/cli-compiler/Cargo.toml @@ -20,8 +20,8 @@ path = "src/bin/wasmer_compiler.rs" doc = false [dependencies] -wasmer-compiler = { version = "=4.4.0", path = "../compiler", features = ["compiler"] } -wasmer-types = { version = "=4.4.0", path = "../types" } +wasmer-compiler = { version = "=5.0.0-rc.1", path = "../compiler", features = ["compiler"] } +wasmer-types = { version = "=5.0.0-rc.1", path = "../types" } is-terminal = "0.4.7" colored = "2.0" anyhow = "1.0" @@ -36,16 +36,16 @@ log = { version = "0.4", optional = true } target-lexicon = { version = "0.12", features = ["std"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -wasmer-compiler-singlepass = { version = "=4.4.0", path = "../compiler-singlepass", optional = true } -wasmer-compiler-cranelift = { version = "=4.4.0", path = "../compiler-cranelift", optional = true } -clap = { version = "4.4.0", features = ["derive", "env"] } +wasmer-compiler-singlepass = { version = "=5.0.0-rc.1", path = "../compiler-singlepass", optional = true } +wasmer-compiler-cranelift = { version = "=5.0.0-rc.1", path = "../compiler-cranelift", optional = true } +clap = { version = "5.0.0-rc.1", features = ["derive", "env"] } [target.'cfg(target_arch = "wasm32")'.dependencies] -wasmer-compiler-singlepass = { version = "=4.4.0", path = "../compiler-singlepass", optional = true, default-features = false, features = ["wasm"] } -wasmer-compiler-cranelift = { version = "=4.4.0", path = "../compiler-cranelift", optional = true, default-features = false, features = ["wasm"] } +wasmer-compiler-singlepass = { version = "=5.0.0-rc.1", path = "../compiler-singlepass", optional = true, default-features = false, features = ["wasm"] } +wasmer-compiler-cranelift = { version = "=5.0.0-rc.1", path = "../compiler-cranelift", optional = true, default-features = false, features = ["wasm"] } # NOTE: Must use different features for clap because the "color" feature does not # work on wasi, due to the anstream dependency not compiling. -clap = { version = "4.4.0", default-features = false, features = [ +clap = { version = "5.0.0-rc.1", default-features = false, features = [ "std", "help", "usage", diff --git a/lib/cli/Cargo.toml b/lib/cli/Cargo.toml index 76e67809a81..07d4fe642f0 100644 --- a/lib/cli/Cargo.toml +++ b/lib/cli/Cargo.toml @@ -111,17 +111,17 @@ enable-serde = [ [dependencies] # Repo-local dependencies. -wasmer = { version = "=4.4.0", path = "../api", default-features = false } -wasmer-compiler = { version = "=4.4.0", path = "../compiler", features = [ +wasmer = { version = "=5.0.0-rc.1", path = "../api", default-features = false } +wasmer-compiler = { version = "=5.0.0-rc.1", path = "../compiler", features = [ "compiler", ], optional = true } -wasmer-compiler-cranelift = { version = "=4.4.0", path = "../compiler-cranelift", optional = true } -wasmer-compiler-singlepass = { version = "=4.4.0", path = "../compiler-singlepass", optional = true } -wasmer-compiler-llvm = { version = "=4.4.0", path = "../compiler-llvm", optional = true } -wasmer-emscripten = { version = "=4.4.0", path = "../emscripten" } +wasmer-compiler-cranelift = { version = "=5.0.0-rc.1", path = "../compiler-cranelift", optional = true } +wasmer-compiler-singlepass = { version = "=5.0.0-rc.1", path = "../compiler-singlepass", optional = true } +wasmer-compiler-llvm = { version = "=5.0.0-rc.1", path = "../compiler-llvm", optional = true } +wasmer-emscripten = { version = "=5.0.0-rc.1", path = "../emscripten" } wasmer-package = { version = "=0.1.0", path = "../package" } -wasmer-vm = { version = "=4.4.0", path = "../vm", optional = true } +wasmer-vm = { version = "=5.0.0-rc.1", path = "../vm", optional = true } wasmer-wasix = { path = "../wasix", version = "=0.28.0", features = [ "logging", "webc_runner_rt_wcgi", @@ -131,15 +131,15 @@ wasmer-wasix = { path = "../wasix", version = "=0.28.0", features = [ "host-fs", "ctrlc", ] } -wasmer-wast = { version = "=4.4.0", path = "../../tests/lib/wast", optional = true } -wasmer-types = { version = "=4.4.0", path = "../types", features = [ +wasmer-wast = { version = "=5.0.0-rc.1", path = "../../tests/lib/wast", optional = true } +wasmer-types = { version = "=5.0.0-rc.1", path = "../types", features = [ "enable-serde", ] } wasmer-registry = { version = "=5.20.0", path = "../registry", features = [ "build-package", "clap", ] } -wasmer-object = { version = "=4.4.0", path = "../object", optional = true } +wasmer-object = { version = "=5.0.0-rc.1", path = "../object", optional = true } virtual-fs = { version = "0.17.0", path = "../virtual-fs", default-features = false, features = [ "host-fs", ] } @@ -240,9 +240,9 @@ dotenvy = "0.15.7" # NOTE: Must use different features for clap because the "color" feature does not # work on wasi due to the anstream dependency not compiling. [target.'cfg(not(target_family = "wasm"))'.dependencies] -clap = { version = "4.4.0", features = ["derive", "env"] } +clap = { version = "5.0.0-rc.1", features = ["derive", "env"] } [target.'cfg(target_family = "wasm")'.dependencies] -clap = { version = "4.4.0", default-features = false, features = [ +clap = { version = "5.0.0-rc.1", default-features = false, features = [ "std", "help", "usage", diff --git a/lib/compiler-cranelift/Cargo.toml b/lib/compiler-cranelift/Cargo.toml index 81c128f205b..19c04ee925a 100644 --- a/lib/compiler-cranelift/Cargo.toml +++ b/lib/compiler-cranelift/Cargo.toml @@ -14,11 +14,11 @@ rust-version.workspace = true version.workspace = true [dependencies] -wasmer-compiler = { path = "../compiler", version = "=4.4.0", features = [ +wasmer-compiler = { path = "../compiler", version = "=5.0.0-rc.1", features = [ "translator", "compiler", ], default-features = false } -wasmer-types = { path = "../types", version = "=4.4.0", default-features = false, features = [ +wasmer-types = { path = "../types", version = "=5.0.0-rc.1", default-features = false, features = [ "std", ] } cranelift-entity = { version = "=0.110.2", default-features = false } diff --git a/lib/compiler-llvm/Cargo.toml b/lib/compiler-llvm/Cargo.toml index db6eb865254..98a1e84ac48 100644 --- a/lib/compiler-llvm/Cargo.toml +++ b/lib/compiler-llvm/Cargo.toml @@ -14,11 +14,11 @@ rust-version.workspace = true version.workspace = true [dependencies] -wasmer-compiler = { path = "../compiler", version = "=4.4.0", features = [ +wasmer-compiler = { path = "../compiler", version = "=5.0.0-rc.1", features = [ "translator", "compiler" ] } -wasmer-vm = { path = "../vm", version = "=4.4.0" } -wasmer-types = { path = "../types", version = "=4.4.0" } +wasmer-vm = { path = "../vm", version = "=5.0.0-rc.1" } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1" } target-lexicon = { version = "0.12.2", default-features = false } smallvec = "1.6" object = { version = "0.28.3", default-features = false, features = ["read"] } diff --git a/lib/compiler-singlepass/Cargo.toml b/lib/compiler-singlepass/Cargo.toml index 528c510af8d..499e31747a7 100644 --- a/lib/compiler-singlepass/Cargo.toml +++ b/lib/compiler-singlepass/Cargo.toml @@ -14,8 +14,8 @@ rust-version.workspace = true version.workspace = true [dependencies] -wasmer-compiler = { path = "../compiler", version = "=4.4.0", features = ["translator", "compiler"], default-features = false } -wasmer-types = { path = "../types", version = "=4.4.0", default-features = false, features = ["std"] } +wasmer-compiler = { path = "../compiler", version = "=5.0.0-rc.1", features = ["translator", "compiler"], default-features = false } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1", default-features = false, features = ["std"] } hashbrown = { version = "0.11", optional = true } gimli = { workspace = true, optional = true } enumset.workspace = true diff --git a/lib/compiler/Cargo.toml b/lib/compiler/Cargo.toml index a5561f4334c..f5d68578125 100644 --- a/lib/compiler/Cargo.toml +++ b/lib/compiler/Cargo.toml @@ -13,8 +13,8 @@ rust-version.workspace = true version.workspace = true [dependencies] -wasmer-types = { path = "../types", version = "=4.4.0", default-features = false } -wasmer-object = { path = "../object", version = "=4.4.0", optional = true } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1", default-features = false } +wasmer-object = { path = "../object", version = "=5.0.0-rc.1", optional = true } wasmparser = { workspace = true, optional = true, default-features = false } enumset.workspace = true hashbrown = { version = "0.11", optional = true } @@ -45,7 +45,7 @@ shared-buffer = { workspace = true } libc.workspace = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -wasmer-vm = { path = "../vm", version = "=4.4.0" } +wasmer-vm = { path = "../vm", version = "=5.0.0-rc.1" } region = { version = "3.0" } [target.'cfg(target_os = "windows")'.dependencies] diff --git a/lib/emscripten/Cargo.toml b/lib/emscripten/Cargo.toml index c0b8cf4dca2..57dcd953937 100644 --- a/lib/emscripten/Cargo.toml +++ b/lib/emscripten/Cargo.toml @@ -18,8 +18,8 @@ lazy_static = "1.4" libc = { workspace = true, default-features = true } log = "0.4" time = { version = "0.3", features = ["std", "formatting"] } -wasmer = { path = "../api", version = "=4.4.0", default-features = false } -wasmer-types = { path = "../types", version = "=4.4.0" } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1" } [target.'cfg(windows)'.dependencies] getrandom = "0.2" diff --git a/lib/journal/Cargo.toml b/lib/journal/Cargo.toml index 57da03c541a..802241b14b3 100644 --- a/lib/journal/Cargo.toml +++ b/lib/journal/Cargo.toml @@ -14,7 +14,7 @@ default = ["log-file", "wasmer/sys"] log-file = ["shared-buffer"] [dependencies] -wasmer = { default-features = false, path = "../api", version = "=4.4.0" } +wasmer = { default-features = false, path = "../api", version = "=5.0.0-rc.1" } wasmer-wasix-types = { path = "../wasi-types", version = "0.28.0", features = [ "enable-serde", ] } diff --git a/lib/middlewares/Cargo.toml b/lib/middlewares/Cargo.toml index 3e66a888b4f..1256a88a314 100644 --- a/lib/middlewares/Cargo.toml +++ b/lib/middlewares/Cargo.toml @@ -13,12 +13,12 @@ rust-version.workspace = true version.workspace = true [dependencies] -wasmer = { path = "../api", version = "=4.4.0", default-features = false, features = ["compiler"] } -wasmer-types = { path = "../types", version = "=4.4.0" } -wasmer-vm = { path = "../vm", version = "=4.4.0" } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false, features = ["compiler"] } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1" } +wasmer-vm = { path = "../vm", version = "=5.0.0-rc.1" } [dev-dependencies] -wasmer = { path = "../api", version = "=4.4.0", features = ["compiler"] } +wasmer = { path = "../api", version = "=5.0.0-rc.1", features = ["compiler"] } [badges] maintenance = { status = "actively-developed" } diff --git a/lib/object/Cargo.toml b/lib/object/Cargo.toml index befb66441bd..5500d84dc61 100644 --- a/lib/object/Cargo.toml +++ b/lib/object/Cargo.toml @@ -13,7 +13,7 @@ rust-version.workspace = true version.workspace = true [dependencies] -wasmer-types = { path = "../types", version = "=4.4.0" } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1" } object = { version = "0.29.0", default-features = false, features = ["write"] } thiserror = "1.0" diff --git a/lib/registry/Cargo.toml b/lib/registry/Cargo.toml index 2df12235a63..f39cb1154f1 100644 --- a/lib/registry/Cargo.toml +++ b/lib/registry/Cargo.toml @@ -23,7 +23,7 @@ full = [] [dependencies] anyhow = "1.0.65" -clap = { version = "4.4.0", default-features = false, features = [ +clap = { version = "5.0.0-rc.1", default-features = false, features = [ "derive", "env", ], optional = true } @@ -74,7 +74,7 @@ toml.workspace = true tracing = "0.1.40" url = "2.5.0" wasmer-config = { version = "0.9.0", path = "../config" } -wasmer-wasm-interface = { version = "4.4.0", path = "../wasm-interface", optional = true } +wasmer-wasm-interface = { version = "5.0.0-rc.1", path = "../wasm-interface", optional = true } wasmparser = { workspace = true, optional = true } whoami = "1.2.3" webc.workspace = true diff --git a/lib/swift/Cargo.toml b/lib/swift/Cargo.toml index 9d37efbf4c0..6870c1ae390 100644 --- a/lib/swift/Cargo.toml +++ b/lib/swift/Cargo.toml @@ -16,7 +16,7 @@ uniffi = "0.27" virtual-fs = { path = "../virtual-fs", version = "0.17.0", default-features = false, features = [ "webc-fs", ] } -wasmer = { version = "4.4.0", path = "../api", default-features = false, features = [ +wasmer = { version = "5.0.0-rc.1", path = "../api", default-features = false, features = [ "wamr", "std", ] } diff --git a/lib/sys-utils/Cargo.toml b/lib/sys-utils/Cargo.toml index 5b147cb2fad..dc9099825db 100644 --- a/lib/sys-utils/Cargo.toml +++ b/lib/sys-utils/Cargo.toml @@ -12,9 +12,9 @@ repository.workspace = true rust-version.workspace = true [dependencies] -wasmer = { path = "../api", version = "=4.4.0", default-features = false, features = ["sys", "compiler"] } -wasmer-vm = { path = "../vm", version = "=4.4.0" } -wasmer-types = { path = "../types", version = "=4.4.0" } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false, features = ["sys", "compiler"] } +wasmer-vm = { path = "../vm", version = "=5.0.0-rc.1" } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1" } region = { version = "3.0" } tracing = "0.1.37" @@ -23,7 +23,7 @@ libc.workspace = true [dev-dependencies] wasmer-wasix.workspace = true -wasmer = { path = "../api", version = "=4.4.0", default-features = false, features = ["sys", "compiler", "cranelift"] } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false, features = ["sys", "compiler", "cranelift"] } tracing-subscriber = { version = "0.3.16", features = ["fmt"] } tracing = "0.1.37" diff --git a/lib/vm/Cargo.toml b/lib/vm/Cargo.toml index f8e7f6b0b91..ce20b731af2 100644 --- a/lib/vm/Cargo.toml +++ b/lib/vm/Cargo.toml @@ -15,7 +15,7 @@ version.workspace = true [dependencies] memoffset.workspace = true dashmap.workspace = true -wasmer-types = { path = "../types", version = "=4.4.0" } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1" } libc.workspace = true indexmap = { workspace = true } thiserror = "1.0" diff --git a/lib/wai-bindgen-wasmer/Cargo.toml b/lib/wai-bindgen-wasmer/Cargo.toml index bf20d712c03..1e63bb17962 100644 --- a/lib/wai-bindgen-wasmer/Cargo.toml +++ b/lib/wai-bindgen-wasmer/Cargo.toml @@ -20,7 +20,7 @@ once_cell = "1.13" thiserror = "1.0" tracing-lib = { version = "0.1.26", optional = true, package = "tracing" } wai-bindgen-wasmer-impl = { version = "0.2.2" } -wasmer = { version = "=4.4.0", path = "../api", default-features = false } +wasmer = { version = "=5.0.0-rc.1", path = "../api", default-features = false } [features] # Enables generated code to emit events via the `tracing` crate whenever wasm is diff --git a/lib/wasi-types/Cargo.toml b/lib/wasi-types/Cargo.toml index 325d4d5e5e5..af11a41882e 100644 --- a/lib/wasi-types/Cargo.toml +++ b/lib/wasi-types/Cargo.toml @@ -15,9 +15,9 @@ rust-version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -wasmer = { default-features = false, path = "../api", version = "=4.4.0" } -wasmer-types = { path = "../types", version = "=4.4.0" } -wasmer-derive = { path = "../derive", version = "=4.4.0" } +wasmer = { default-features = false, path = "../api", version = "=5.0.0-rc.1" } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1" } +wasmer-derive = { path = "../derive", version = "=5.0.0-rc.1" } wai-bindgen-gen-rust = "0.2.1" wai-bindgen-rust = { version = "0.2.1", default-features = false, features = ["macros"] } wai-bindgen-gen-rust-wasm = "0.2.1" diff --git a/lib/wasix/Cargo.toml b/lib/wasix/Cargo.toml index fe217a40241..8de25b0be7c 100644 --- a/lib/wasix/Cargo.toml +++ b/lib/wasix/Cargo.toml @@ -14,13 +14,13 @@ rust-version.workspace = true [dependencies] wasmer-wasix-types = { path = "../wasi-types", version = "0.28.0", features = [ "enable-serde" ] } -wasmer-types = { path = "../types", version = "=4.4.0", default-features = false } -wasmer = { path = "../api", version = "=4.4.0", default-features = false, features = ["wat", "js-serializable-module"] } +wasmer-types = { path = "../types", version = "=5.0.0-rc.1", default-features = false } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false, features = ["wat", "js-serializable-module"] } virtual-mio = { path = "../virtual-io", version = "0.4.0", default-features = false } virtual-fs = { path = "../virtual-fs", version = "0.17.0", default-features = false, features = ["webc-fs"] } virtual-net = { path = "../virtual-net", version = "0.9.0", default-features = false, features = ["rkyv"] } wasmer-journal = { path = "../journal", version = "0.10.0", default-features = false } -wasmer-emscripten = { path = "../emscripten", version = "=4.4.0", optional = true } +wasmer-emscripten = { path = "../emscripten", version = "=5.0.0-rc.1", optional = true } wasmer-config = { version = "0.9.0", path = "../config" } http.workspace = true @@ -131,7 +131,7 @@ windows-sys = { version = "0.59", features = ["Win32_System_SystemInformation"] terminal_size = { version = "0.3.0" } [dev-dependencies] -wasmer = { path = "../api", version = "=4.4.0", default-features = false, features = ["wat", "js-serializable-module"] } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false, features = ["wat", "js-serializable-module"] } tokio = { workspace = true, features = [ "sync", "macros", "rt" ], default-features = false } pretty_assertions.workspace = true tracing-test = "0.2.4" @@ -143,7 +143,7 @@ tracing-wasm = "0.2" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] tracing-subscriber = { version = "^0.3" } -wasmer = { path = "../api", version = "=4.4.0", default-features = false, features = ["wat", "js-serializable-module", "cranelift"] } +wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false, features = ["wat", "js-serializable-module", "cranelift"] } [features] default = ["sys-default"] diff --git a/scripts/update-version.py b/scripts/update-version.py index b86faf44ab2..0767737b49d 100644 --- a/scripts/update-version.py +++ b/scripts/update-version.py @@ -1,7 +1,7 @@ #!/usr/bin/python -PREVIOUS_VERSION='4.3.7' -NEXT_VERSION='4.4.0' +PREVIOUS_VERSION='4.4.0' +NEXT_VERSION='5.0.0-rc.1' import os import re diff --git a/scripts/windows-installer/wasmer.iss b/scripts/windows-installer/wasmer.iss index c59320d5529..79d129967ff 100644 --- a/scripts/windows-installer/wasmer.iss +++ b/scripts/windows-installer/wasmer.iss @@ -1,6 +1,6 @@ [Setup] AppName=Wasmer -AppVersion=4.4.0 +AppVersion=5.0.0-rc.1 DefaultDirName={pf}\Wasmer DefaultGroupName=Wasmer Compression=lzma2 diff --git a/tests/integration/cli/Cargo.toml b/tests/integration/cli/Cargo.toml index 75e305596e6..18c238bf2c2 100644 --- a/tests/integration/cli/Cargo.toml +++ b/tests/integration/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-integration-tests-cli" -version = "4.4.0" +version = "5.0.0-rc.1" authors = ["Wasmer Engineering Team "] description = "CLI integration tests" repository = "https://github.com/wasmerio/wasmer" diff --git a/tests/integration/ios/Cargo.toml b/tests/integration/ios/Cargo.toml index 5b6d03fb55d..38339b06ae0 100644 --- a/tests/integration/ios/Cargo.toml +++ b/tests/integration/ios/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-integration-tests-ios" -version = "4.4.0" +version = "5.0.0-rc.1" authors = ["Wasmer Engineering Team "] description = "iOS integration tests" repository = "https://github.com/wasmerio/wasmer" diff --git a/tests/lib/wast/Cargo.toml b/tests/lib/wast/Cargo.toml index 1728df86dfc..526d3fca481 100644 --- a/tests/lib/wast/Cargo.toml +++ b/tests/lib/wast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wast" -version = "4.4.0" +version = "5.0.0-rc.1" authors = ["Wasmer Engineering Team "] description = "wast testing support for wasmer" license = "MIT OR Apache-2.0 WITH LLVM-exception" @@ -13,7 +13,7 @@ edition = "2018" [dependencies] wasmer-types = { path = "../../../lib/types", version="=4.4.0" } wasmer-wasix = { path = "../../../lib/wasix", version="=0.28.0" } -wasmer = { path = "../../../lib/api", version = "=4.4.0", default-features = false } +wasmer = { path = "../../../lib/api", version = "=5.0.0-rc.1", default-features = false } virtual-fs = { path = "../../../lib/virtual-fs", version = "0.17.0" } anyhow = "1.0" diff --git a/tests/wasi-wast/Cargo.toml b/tests/wasi-wast/Cargo.toml index 6cc2d1bbaab..9848e2b63c8 100644 --- a/tests/wasi-wast/Cargo.toml +++ b/tests/wasi-wast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasi-test-generator" -version = "4.4.0" +version = "5.0.0-rc.1" description = "Tests for our WASI implementation" license = "MIT" authors = ["Wasmer Engineering Team "] diff --git a/tests/wasmer-argus/Cargo.toml b/tests/wasmer-argus/Cargo.toml index a7db128d63e..92150278856 100644 --- a/tests/wasmer-argus/Cargo.toml +++ b/tests/wasmer-argus/Cargo.toml @@ -24,7 +24,7 @@ clap = {version = "4.4.11", features = ["derive", "string"]} tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.114" -wasmer = { version = "4.4.0", path = "../../lib/api", features = ["engine", "core", "singlepass", "cranelift", "llvm"], optional = true } +wasmer = { version = "5.0.0-rc.1", path = "../../lib/api", features = ["engine", "core", "singlepass", "cranelift", "llvm"], optional = true } derive_more = "0.99.17" webc.workspace = true async-trait = "0.1.77" From cab3bba6d38cfc83d4a0fe48f7cd0efc75cd4196 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Mon, 21 Oct 2024 13:56:46 +0330 Subject: [PATCH 3/6] fix build issues --- Cargo.lock | 52 ++++++++++++++++++------------------- lib/cli-compiler/Cargo.toml | 4 +-- lib/cli/Cargo.toml | 4 +-- lib/registry/Cargo.toml | 2 +- tests/lib/wast/Cargo.toml | 2 +- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e716e90a9a..4e6e52dfa10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2957,7 +2957,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if 1.0.0", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] @@ -3184,7 +3184,7 @@ dependencies = [ [[package]] name = "macro-wasmer-universal-test" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "proc-macro2", "quote", @@ -6738,7 +6738,7 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasi-test-generator" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "glob", "gumdrop", @@ -6928,7 +6928,7 @@ dependencies = [ [[package]] name = "wasmer" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "anyhow", "bindgen", @@ -6998,7 +6998,7 @@ dependencies = [ [[package]] name = "wasmer-argus" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "anyhow", "async-trait", @@ -7039,7 +7039,7 @@ dependencies = [ [[package]] name = "wasmer-c-api" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "cbindgen", "cfg-if 1.0.0", @@ -7070,7 +7070,7 @@ dependencies = [ [[package]] name = "wasmer-c-api-test-runner" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "cc", "regex", @@ -7080,7 +7080,7 @@ dependencies = [ [[package]] name = "wasmer-cache" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "blake3", "clap", @@ -7098,7 +7098,7 @@ dependencies = [ [[package]] name = "wasmer-capi-examples-runner" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "cc", "regex", @@ -7108,7 +7108,7 @@ dependencies = [ [[package]] name = "wasmer-cli" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "anyhow", "assert_cmd 2.0.16", @@ -7206,7 +7206,7 @@ dependencies = [ [[package]] name = "wasmer-compiler" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "backtrace", "bytes 1.7.2", @@ -7238,7 +7238,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-cli" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "anyhow", "bytesize", @@ -7259,7 +7259,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-cranelift" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -7279,7 +7279,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-llvm" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "byteorder", "cc", @@ -7301,7 +7301,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-singlepass" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "byteorder", "dynasm", @@ -7364,7 +7364,7 @@ dependencies = [ [[package]] name = "wasmer-derive" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "compiletest_rs", "proc-macro-error", @@ -7376,7 +7376,7 @@ dependencies = [ [[package]] name = "wasmer-emscripten" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "byteorder", "getrandom", @@ -7418,7 +7418,7 @@ dependencies = [ [[package]] name = "wasmer-integration-tests-cli" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "anyhow", "assert_cmd 2.0.16", @@ -7447,7 +7447,7 @@ dependencies = [ [[package]] name = "wasmer-integration-tests-ios" -version = "4.4.0" +version = "5.0.0-rc.1" [[package]] name = "wasmer-journal" @@ -7478,7 +7478,7 @@ dependencies = [ [[package]] name = "wasmer-middlewares" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "wasmer", "wasmer-types", @@ -7487,7 +7487,7 @@ dependencies = [ [[package]] name = "wasmer-object" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "object 0.29.0", "thiserror", @@ -7583,7 +7583,7 @@ dependencies = [ [[package]] name = "wasmer-types" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "bytecheck 0.6.12", "enum-iterator", @@ -7605,7 +7605,7 @@ dependencies = [ [[package]] name = "wasmer-vm" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "backtrace", "cc", @@ -7743,7 +7743,7 @@ dependencies = [ [[package]] name = "wasmer-wasm-interface" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "bincode", "either", @@ -7755,7 +7755,7 @@ dependencies = [ [[package]] name = "wasmer-wast" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "anyhow", "futures 0.3.31", @@ -7772,7 +7772,7 @@ dependencies = [ [[package]] name = "wasmer-workspace" -version = "4.4.0" +version = "5.0.0-rc.1" dependencies = [ "anyhow", "build-deps", diff --git a/lib/cli-compiler/Cargo.toml b/lib/cli-compiler/Cargo.toml index 9a40b9a13fc..e71ab7d8e27 100644 --- a/lib/cli-compiler/Cargo.toml +++ b/lib/cli-compiler/Cargo.toml @@ -38,14 +38,14 @@ target-lexicon = { version = "0.12", features = ["std"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] wasmer-compiler-singlepass = { version = "=5.0.0-rc.1", path = "../compiler-singlepass", optional = true } wasmer-compiler-cranelift = { version = "=5.0.0-rc.1", path = "../compiler-cranelift", optional = true } -clap = { version = "5.0.0-rc.1", features = ["derive", "env"] } +clap = { version = "4.4.0", features = ["derive", "env"] } [target.'cfg(target_arch = "wasm32")'.dependencies] wasmer-compiler-singlepass = { version = "=5.0.0-rc.1", path = "../compiler-singlepass", optional = true, default-features = false, features = ["wasm"] } wasmer-compiler-cranelift = { version = "=5.0.0-rc.1", path = "../compiler-cranelift", optional = true, default-features = false, features = ["wasm"] } # NOTE: Must use different features for clap because the "color" feature does not # work on wasi, due to the anstream dependency not compiling. -clap = { version = "5.0.0-rc.1", default-features = false, features = [ +clap = { version = "4.4.0", default-features = false, features = [ "std", "help", "usage", diff --git a/lib/cli/Cargo.toml b/lib/cli/Cargo.toml index 07d4fe642f0..4f2901e6359 100644 --- a/lib/cli/Cargo.toml +++ b/lib/cli/Cargo.toml @@ -240,9 +240,9 @@ dotenvy = "0.15.7" # NOTE: Must use different features for clap because the "color" feature does not # work on wasi due to the anstream dependency not compiling. [target.'cfg(not(target_family = "wasm"))'.dependencies] -clap = { version = "5.0.0-rc.1", features = ["derive", "env"] } +clap = { version = "4.4.0", features = ["derive", "env"] } [target.'cfg(target_family = "wasm")'.dependencies] -clap = { version = "5.0.0-rc.1", default-features = false, features = [ +clap = { version = "4.4.0", default-features = false, features = [ "std", "help", "usage", diff --git a/lib/registry/Cargo.toml b/lib/registry/Cargo.toml index f39cb1154f1..190c76a505d 100644 --- a/lib/registry/Cargo.toml +++ b/lib/registry/Cargo.toml @@ -23,7 +23,7 @@ full = [] [dependencies] anyhow = "1.0.65" -clap = { version = "5.0.0-rc.1", default-features = false, features = [ +clap = { version = "4.4.0", default-features = false, features = [ "derive", "env", ], optional = true } diff --git a/tests/lib/wast/Cargo.toml b/tests/lib/wast/Cargo.toml index 526d3fca481..1b9bb841608 100644 --- a/tests/lib/wast/Cargo.toml +++ b/tests/lib/wast/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-types = { path = "../../../lib/types", version="=4.4.0" } +wasmer-types = { path = "../../../lib/types", version="=5.0.0-rc.1" } wasmer-wasix = { path = "../../../lib/wasix", version="=0.28.0" } wasmer = { path = "../../../lib/api", version = "=5.0.0-rc.1", default-features = false } virtual-fs = { path = "../../../lib/virtual-fs", version = "0.17.0" } From 6072a709d361e8f1bf06c7ff0df2268aaa26a15d Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Mon, 21 Oct 2024 14:27:05 +0330 Subject: [PATCH 4/6] update 0.x package versions --- Cargo.lock | 18 +++++++++--------- lib/c-api/Cargo.toml | 4 ++-- lib/cli/Cargo.toml | 10 +++++----- lib/journal/Cargo.toml | 8 ++++---- lib/registry/Cargo.toml | 2 +- lib/swift/Cargo.toml | 2 +- lib/sys-utils/Cargo.toml | 2 +- lib/virtual-fs/Cargo.toml | 2 +- lib/virtual-io/Cargo.toml | 2 +- lib/virtual-net/Cargo.toml | 4 ++-- lib/wai-bindgen-wasmer/Cargo.toml | 2 +- lib/wasi-types/Cargo.toml | 2 +- lib/wasix/Cargo.toml | 12 ++++++------ tests/lib/wast/Cargo.toml | 4 ++-- 14 files changed, 37 insertions(+), 37 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4e6e52dfa10..48d99d608ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6503,7 +6503,7 @@ checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "virtual-fs" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "async-trait", @@ -6535,7 +6535,7 @@ dependencies = [ [[package]] name = "virtual-mio" -version = "0.4.0" +version = "0.5.0" dependencies = [ "async-trait", "bytes 1.7.2", @@ -6550,7 +6550,7 @@ dependencies = [ [[package]] name = "virtual-net" -version = "0.9.0" +version = "0.10.0" dependencies = [ "anyhow", "async-trait", @@ -6653,7 +6653,7 @@ dependencies = [ [[package]] name = "wai-bindgen-wasmer" -version = "0.28.0" +version = "0.29.0" dependencies = [ "anyhow", "async-trait", @@ -7451,7 +7451,7 @@ version = "5.0.0-rc.1" [[package]] name = "wasmer-journal" -version = "0.10.0" +version = "0.11.0" dependencies = [ "anyhow", "async-trait", @@ -7507,7 +7507,7 @@ dependencies = [ [[package]] name = "wasmer-registry" -version = "5.20.0" +version = "5.21.0" dependencies = [ "anyhow", "async-tungstenite", @@ -7569,7 +7569,7 @@ dependencies = [ [[package]] name = "wasmer-sys-utils" -version = "0.28.0" +version = "0.29.0" dependencies = [ "libc", "region", @@ -7634,7 +7634,7 @@ dependencies = [ [[package]] name = "wasmer-wasix" -version = "0.28.0" +version = "0.29.0" dependencies = [ "ahash 0.8.11", "anyhow", @@ -7720,7 +7720,7 @@ dependencies = [ [[package]] name = "wasmer-wasix-types" -version = "0.28.0" +version = "0.29.0" dependencies = [ "anyhow", "bitflags 1.3.2", diff --git a/lib/c-api/Cargo.toml b/lib/c-api/Cargo.toml index a2e18914eac..45632c7556d 100644 --- a/lib/c-api/Cargo.toml +++ b/lib/c-api/Cargo.toml @@ -32,9 +32,9 @@ wasmer-compiler-singlepass = { version = "=5.0.0-rc.1", path = "../compiler-sing wasmer-emscripten = { version = "=5.0.0-rc.1", path = "../emscripten", optional = true } wasmer-middlewares = { version = "=5.0.0-rc.1", path = "../middlewares", optional = true } wasmer-types = { version = "=5.0.0-rc.1", path = "../types" } -wasmer-wasix = { path = "../wasix", version="=0.28.0", features = ["host-fs", "host-vnet"], optional = true } +wasmer-wasix = { path = "../wasix", version="=0.29.0", features = ["host-fs", "host-vnet"], optional = true } webc = { workspace = true, optional = true } -virtual-fs = { version = "0.17.0", path = "../virtual-fs", optional = true, default-features = false, features = ["static-fs"] } +virtual-fs = { version = "0.18.0", path = "../virtual-fs", optional = true, default-features = false, features = ["static-fs"] } enumset.workspace = true cfg-if = "1.0" lazy_static = "1.4" diff --git a/lib/cli/Cargo.toml b/lib/cli/Cargo.toml index 4f2901e6359..6736634fea8 100644 --- a/lib/cli/Cargo.toml +++ b/lib/cli/Cargo.toml @@ -122,7 +122,7 @@ wasmer-emscripten = { version = "=5.0.0-rc.1", path = "../emscripten" } wasmer-package = { version = "=0.1.0", path = "../package" } wasmer-vm = { version = "=5.0.0-rc.1", path = "../vm", optional = true } -wasmer-wasix = { path = "../wasix", version = "=0.28.0", features = [ +wasmer-wasix = { path = "../wasix", version = "=0.29.0", features = [ "logging", "webc_runner_rt_wcgi", "webc_runner_rt_dcgi", @@ -135,16 +135,16 @@ wasmer-wast = { version = "=5.0.0-rc.1", path = "../../tests/lib/wast", optional wasmer-types = { version = "=5.0.0-rc.1", path = "../types", features = [ "enable-serde", ] } -wasmer-registry = { version = "=5.20.0", path = "../registry", features = [ +wasmer-registry = { version = "=5.21.0", path = "../registry", features = [ "build-package", "clap", ] } wasmer-object = { version = "=5.0.0-rc.1", path = "../object", optional = true } -virtual-fs = { version = "0.17.0", path = "../virtual-fs", default-features = false, features = [ +virtual-fs = { version = "0.18.0", path = "../virtual-fs", default-features = false, features = [ "host-fs", ] } -virtual-net = { version = "0.9.0", path = "../virtual-net" } -virtual-mio = { version = "0.4.0", path = "../virtual-io" } +virtual-net = { version = "0.10.0", path = "../virtual-net" } +virtual-mio = { version = "0.5.0", path = "../virtual-io" } # Wasmer-owned dependencies. diff --git a/lib/journal/Cargo.toml b/lib/journal/Cargo.toml index 802241b14b3..7dcfc81a2ab 100644 --- a/lib/journal/Cargo.toml +++ b/lib/journal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-journal" -version = "0.10.0" +version = "0.11.0" description = "Journaling functionality used by Wasmer to save and restore WASM state" authors.workspace = true edition.workspace = true @@ -15,13 +15,13 @@ log-file = ["shared-buffer"] [dependencies] wasmer = { default-features = false, path = "../api", version = "=5.0.0-rc.1" } -wasmer-wasix-types = { path = "../wasi-types", version = "0.28.0", features = [ +wasmer-wasix-types = { path = "../wasi-types", version = "0.29.0", features = [ "enable-serde", ] } -virtual-net = { path = "../virtual-net", version = "0.9.0", default-features = false, features = [ +virtual-net = { path = "../virtual-net", version = "0.10.0", default-features = false, features = [ "rkyv", ] } -virtual-fs = { path = "../virtual-fs", version = "0.17.0", default-features = false } +virtual-fs = { path = "../virtual-fs", version = "0.18.0", default-features = false } shared-buffer = { workspace = true, optional = true } base64.workspace = true rkyv = { workspace = true } diff --git a/lib/registry/Cargo.toml b/lib/registry/Cargo.toml index 190c76a505d..6c38ce52377 100644 --- a/lib/registry/Cargo.toml +++ b/lib/registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-registry" -version = "5.20.0" +version = "5.21.0" description = "Crate to interact with the wasmer registry, download packages, etc." authors.workspace = true edition.workspace = true diff --git a/lib/swift/Cargo.toml b/lib/swift/Cargo.toml index 6870c1ae390..844ed275407 100644 --- a/lib/swift/Cargo.toml +++ b/lib/swift/Cargo.toml @@ -13,7 +13,7 @@ name = "wasmer_swift" thiserror = "1" tokio = { version = "1.28.1", features = [ "rt" ], default-features = false } uniffi = "0.27" -virtual-fs = { path = "../virtual-fs", version = "0.17.0", default-features = false, features = [ +virtual-fs = { path = "../virtual-fs", version = "0.18.0", default-features = false, features = [ "webc-fs", ] } wasmer = { version = "5.0.0-rc.1", path = "../api", default-features = false, features = [ diff --git a/lib/sys-utils/Cargo.toml b/lib/sys-utils/Cargo.toml index dc9099825db..fee84c1620d 100644 --- a/lib/sys-utils/Cargo.toml +++ b/lib/sys-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-sys-utils" -version = "0.28.0" +version = "0.29.0" description = "Wasmer utilities for a sys environment." categories = ["wasm"] keywords = ["wasm", "webassembly"] diff --git a/lib/virtual-fs/Cargo.toml b/lib/virtual-fs/Cargo.toml index 9799ecdcad0..9c49c4ccdd6 100644 --- a/lib/virtual-fs/Cargo.toml +++ b/lib/virtual-fs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "virtual-fs" -version = "0.17.0" +version = "0.18.0" description = "Wasmer Virtual FileSystem" authors.workspace = true edition.workspace = true diff --git a/lib/virtual-io/Cargo.toml b/lib/virtual-io/Cargo.toml index 119fca4e4ce..b071a6277c4 100644 --- a/lib/virtual-io/Cargo.toml +++ b/lib/virtual-io/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "virtual-mio" -version = "0.4.0" +version = "0.5.0" description = "Wasmer Virtual IO Engine powered by mio" authors.workspace = true edition.workspace = true diff --git a/lib/virtual-net/Cargo.toml b/lib/virtual-net/Cargo.toml index e5deec6e66f..d4bdd69448e 100644 --- a/lib/virtual-net/Cargo.toml +++ b/lib/virtual-net/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "virtual-net" -version = "0.9.0" +version = "0.10.0" description = "Wasmer Virtual Networking" authors.workspace = true edition.workspace = true @@ -23,7 +23,7 @@ libc = { workspace = true, optional = true } mio = { workspace = true, optional = true } socket2 = { workspace = true, optional = true } derivative = { version = "^2" } -virtual-mio = { path = "../virtual-io", version = "0.4.0", default-features = false } +virtual-mio = { path = "../virtual-io", version = "0.5.0", default-features = false } bincode = { version = "1.3" } serde = { version = "1.0", default-features = false, features = ["derive"] } pin-project-lite = "0.2.9" diff --git a/lib/wai-bindgen-wasmer/Cargo.toml b/lib/wai-bindgen-wasmer/Cargo.toml index 1e63bb17962..f9e4f159e7a 100644 --- a/lib/wai-bindgen-wasmer/Cargo.toml +++ b/lib/wai-bindgen-wasmer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "wai-bindgen-wasmer" description = "Generate WAI glue for a Rust Wasmer host" -version = "0.28.0" +version = "0.29.0" categories = ["wasm", "os"] keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"] readme = "README.md" diff --git a/lib/wasi-types/Cargo.toml b/lib/wasi-types/Cargo.toml index af11a41882e..99413a1c9db 100644 --- a/lib/wasi-types/Cargo.toml +++ b/lib/wasi-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wasix-types" -version = "0.28.0" +version = "0.29.0" description = "WASI and WASIX types for Wasmer WebAssembly runtime" categories = ["wasm", "os"] keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"] diff --git a/lib/wasix/Cargo.toml b/lib/wasix/Cargo.toml index 8de25b0be7c..c673407c275 100644 --- a/lib/wasix/Cargo.toml +++ b/lib/wasix/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wasix" -version = "0.28.0" +version = "0.29.0" description = "WASI and WASIX implementation library for Wasmer WebAssembly runtime" categories = ["wasm", "os"] keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"] @@ -13,13 +13,13 @@ repository.workspace = true rust-version.workspace = true [dependencies] -wasmer-wasix-types = { path = "../wasi-types", version = "0.28.0", features = [ "enable-serde" ] } +wasmer-wasix-types = { path = "../wasi-types", version = "0.29.0", features = [ "enable-serde" ] } wasmer-types = { path = "../types", version = "=5.0.0-rc.1", default-features = false } wasmer = { path = "../api", version = "=5.0.0-rc.1", default-features = false, features = ["wat", "js-serializable-module"] } -virtual-mio = { path = "../virtual-io", version = "0.4.0", default-features = false } -virtual-fs = { path = "../virtual-fs", version = "0.17.0", default-features = false, features = ["webc-fs"] } -virtual-net = { path = "../virtual-net", version = "0.9.0", default-features = false, features = ["rkyv"] } -wasmer-journal = { path = "../journal", version = "0.10.0", default-features = false } +virtual-mio = { path = "../virtual-io", version = "0.5.0", default-features = false } +virtual-fs = { path = "../virtual-fs", version = "0.18.0", default-features = false, features = ["webc-fs"] } +virtual-net = { path = "../virtual-net", version = "0.10.0", default-features = false, features = ["rkyv"] } +wasmer-journal = { path = "../journal", version = "0.11.0", default-features = false } wasmer-emscripten = { path = "../emscripten", version = "=5.0.0-rc.1", optional = true } wasmer-config = { version = "0.9.0", path = "../config" } diff --git a/tests/lib/wast/Cargo.toml b/tests/lib/wast/Cargo.toml index 1b9bb841608..39169305246 100644 --- a/tests/lib/wast/Cargo.toml +++ b/tests/lib/wast/Cargo.toml @@ -12,9 +12,9 @@ edition = "2018" [dependencies] wasmer-types = { path = "../../../lib/types", version="=5.0.0-rc.1" } -wasmer-wasix = { path = "../../../lib/wasix", version="=0.28.0" } +wasmer-wasix = { path = "../../../lib/wasix", version="=0.29.0" } wasmer = { path = "../../../lib/api", version = "=5.0.0-rc.1", default-features = false } -virtual-fs = { path = "../../../lib/virtual-fs", version = "0.17.0" } +virtual-fs = { path = "../../../lib/virtual-fs", version = "0.18.0" } anyhow = "1.0" wast = "216.0.0" From 8d7299f366cb5d055b754985c167ae0c3eb738bd Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Mon, 21 Oct 2024 14:37:58 +0330 Subject: [PATCH 5/6] update CHANGELOG --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 846e850bcce..64328ada58b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ Looking for changes that affect our C API? See the [C API Changelog](lib/c-api/C ## 5.0.0-rc.1 - 21/10/2024 +This release adds experimental support for v8, wasmi, and wamr as interpreter backends to wasmer. Also, we updated the versions of +llvm, cranelift and rkyv gaining nice performance boosts. + ## Added - [#5154](https://github.com/wasmerio/wasmer/pull/5154) Add build steps for interpreter backends From 3dad0586dd555e65ab2c2a18a579775c917a7659 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Mon, 21 Oct 2024 14:43:07 +0330 Subject: [PATCH 6/6] update CHANGELOG --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64328ada58b..2de2bc94fa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,8 +11,7 @@ Looking for changes that affect our C API? See the [C API Changelog](lib/c-api/C ## 5.0.0-rc.1 - 21/10/2024 -This release adds experimental support for v8, wasmi, and wamr as interpreter backends to wasmer. Also, we updated the versions of -llvm, cranelift and rkyv gaining nice performance boosts. +This is a release candidate as we are preparing for the final release of 5.0 ## Added