From 36b077d34b47ec735e5bac7aebcf2878e30135e7 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 25 May 2023 17:30:02 +0200 Subject: [PATCH] Release 4.0.0-alpha.1 (#3912) * Release 4.0.0-alpha.1 --- CHANGELOG.md | 50 ++++++++++ Cargo.lock | 98 +++++++++---------- Cargo.toml | 28 +++--- lib/api/Cargo.toml | 24 ++--- .../macro-wasmer-universal-test/Cargo.toml | 2 +- lib/c-api/Cargo.toml | 22 ++--- .../wasmer-capi-examples-runner/Cargo.toml | 2 +- .../tests/wasmer-c-api-test-runner/Cargo.toml | 2 +- lib/cache/Cargo.toml | 8 +- lib/cli-compiler/Cargo.toml | 14 +-- lib/cli/Cargo.toml | 34 +++---- lib/compiler-cranelift/Cargo.toml | 6 +- lib/compiler-llvm/Cargo.toml | 8 +- lib/compiler-singlepass/Cargo.toml | 6 +- lib/compiler/Cargo.toml | 8 +- lib/derive/Cargo.toml | 2 +- lib/emscripten/Cargo.toml | 6 +- lib/middlewares/Cargo.toml | 10 +- lib/object/Cargo.toml | 4 +- lib/registry/Cargo.toml | 4 +- lib/sys-utils/Cargo.toml | 12 +-- lib/types/Cargo.toml | 2 +- lib/virtual-fs/Cargo.toml | 2 +- lib/virtual-net/Cargo.toml | 2 +- lib/vm/Cargo.toml | 4 +- lib/wai-bindgen-wasmer/Cargo.toml | 4 +- lib/wasi-experimental-io-devices/Cargo.toml | 8 +- lib/wasi-types/Cargo.toml | 8 +- lib/wasi-web/Cargo.lock | 22 ++--- lib/wasi-web/Cargo.toml | 4 +- lib/wasi/Cargo.toml | 20 ++-- lib/wasm-interface/Cargo.toml | 2 +- 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 | 8 +- tests/wasi-wast/Cargo.toml | 2 +- 38 files changed, 249 insertions(+), 199 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3ff5062396..a76d28ab217 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,56 @@ Looking for changes that affect our C API? See the [C API Changelog](lib/c-api/C ## **Unreleased** +## 4.0.0-alpha.1 - 25/05/2023 + +A new major release, with a few breaking changes and the removal of many deprecated functions. Also, some methods previously available from on `Engine` has been moved to the `NativeEngineExt` trait. +Deserialize has changed, with the default version using artifact layout validation. The old function has been renamed to `_unchecked` variant. The speed impact is usually negligeable , but the old function are still present if needed +Many bugfixes and improvements on `wasmer run` and `wasmer run-unstable` (that will be merged into just `wasmer run` soon). `--allow-multiple-wasi-versions` CLI flag is now removed that is now removed and active by default. Logic for `wasmer config set registry.url` that has been fixed to work with `localhost:1234` + +## Added + + - [#3879](https://github.com/wasmerio/wasmer/pull/3879) Add compiler features to wai-bindgen-wasmer + - [#1212](https://github.com/wasmerio/wasmer/pull/1212) Add support for GDB JIT debugging + +## Changed + + - [#3852](https://github.com/wasmerio/wasmer/pull/3852) Re-work package resolution and make runners use it + - [#3910](https://github.com/wasmerio/wasmer/pull/3910) Removed all deprecated functions + - [#3900](https://github.com/wasmerio/wasmer/pull/3900) lib/virtual-net: tokio::net::lookup_host requires host:port format + - [#3906](https://github.com/wasmerio/wasmer/pull/3906) WASIX updates after superset changes + - [#3907](https://github.com/wasmerio/wasmer/pull/3907) Choose subversion of tracing crate in wasix + - [#3873](https://github.com/wasmerio/wasmer/pull/3873) Initial implementation for poll on pipe + - [#3904](https://github.com/wasmerio/wasmer/pull/3904) Changed tunables to have a VMConfig settings + - [#3902](https://github.com/wasmerio/wasmer/pull/3902) TmpFs Memory Usage Tracking and Limiting + - [#3894](https://github.com/wasmerio/wasmer/pull/3894) Rework Module deserialization functions + - [#3899](https://github.com/wasmerio/wasmer/pull/3899) enable integration tests with debug binary + - [#3889](https://github.com/wasmerio/wasmer/pull/3889) Bump llvm + - [#3881](https://github.com/wasmerio/wasmer/pull/3881) Use `js-default` feature in wai-bindgen-wasmer + - [#3874](https://github.com/wasmerio/wasmer/pull/3874) refactor!: Memory API Modifications (try_clone/copy, duplicate_in_store) + - [#3763](https://github.com/wasmerio/wasmer/pull/3763) Implement NativeWasmTypeInto for u32 and u64 + - [#3866](https://github.com/wasmerio/wasmer/pull/3866) Align vfs and vnet directories with crate names + - [#3864](https://github.com/wasmerio/wasmer/pull/3864) feat(cli): Integrate deploy commands + - [#3771](https://github.com/wasmerio/wasmer/pull/3771) Asynchronous threading phase2 + - [#3710](https://github.com/wasmerio/wasmer/pull/3710) Implemented an asyncify based implementation of asynchronous threading + - [#3859](https://github.com/wasmerio/wasmer/pull/3859) Support static linking on Windows + - [#3856](https://github.com/wasmerio/wasmer/pull/3856) Switch FileSystemCache to use checked artifact deserialization + - [#3854](https://github.com/wasmerio/wasmer/pull/3854) deps: Upgrade clap to v4 + - [#3849](https://github.com/wasmerio/wasmer/pull/3849) Support MinGW + - [#3841](https://github.com/wasmerio/wasmer/pull/3841) Introduce a module cache abstraction + - [#3400](https://github.com/wasmerio/wasmer/pull/3400) Use the wasm_bindgen_downcast crate for downcasting JsValues + - [#3831](https://github.com/wasmerio/wasmer/pull/3831) Introduce a package resolver + - [#3843](https://github.com/wasmerio/wasmer/pull/3843) Adapted the publishing script + +## Fixed + + - [#3867](https://github.com/wasmerio/wasmer/pull/3867) lib/wasi: try quick fix for WasiFS::get_inode_at_path + - [#3891](https://github.com/wasmerio/wasmer/pull/3891) Fix typos in docs + - [#3898](https://github.com/wasmerio/wasmer/pull/3898) fix: Use fallback home directory detection in config commands. + - [#3861](https://github.com/wasmerio/wasmer/pull/3861) fuzz: fix build error + - [#3853](https://github.com/wasmerio/wasmer/pull/3853) Fix cargo update + + + ## 3.3.0 - 03/05/2023 Along a few important bugfixes, this version introduce JavaScriptCore support, with full WASI support. diff --git a/Cargo.lock b/Cargo.lock index 6e0ebe0b61c..0bff336d784 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -265,9 +265,9 @@ checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" [[package]] name = "base64" -version = "0.21.1" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105" +checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" [[package]] name = "basic-toml" @@ -2190,9 +2190,9 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ "hermit-abi 0.3.1", "libc", @@ -2419,7 +2419,7 @@ dependencies = [ [[package]] name = "macro-wasmer-universal-test" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "proc-macro2", "proc-quote", @@ -4848,9 +4848,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" +checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0" [[package]] name = "unicode-normalization" @@ -4981,7 +4981,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "virtual-fs" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "async-trait", @@ -5006,7 +5006,7 @@ dependencies = [ [[package]] name = "virtual-net" -version = "0.1.0" +version = "0.2.0" dependencies = [ "async-trait", "bytes", @@ -5089,7 +5089,7 @@ dependencies = [ [[package]] name = "wai-bindgen-wasmer" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "async-trait", @@ -5184,7 +5184,7 @@ dependencies = [ "url", "validator", "wapm-toml", - "wasmer-registry 4.5.0 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmer-registry 4.5.0", "webc", ] @@ -5212,7 +5212,7 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasi-test-generator" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "glob", "gumdrop", @@ -5425,7 +5425,7 @@ dependencies = [ [[package]] name = "wasmer" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "anyhow", "bytes", @@ -5497,7 +5497,7 @@ dependencies = [ [[package]] name = "wasmer-c-api" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "cbindgen", "cfg-if 1.0.0", @@ -5525,7 +5525,7 @@ dependencies = [ [[package]] name = "wasmer-c-api-test-runner" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "cc", "regex", @@ -5535,7 +5535,7 @@ dependencies = [ [[package]] name = "wasmer-cache" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "blake3", "criterion", @@ -5549,7 +5549,7 @@ dependencies = [ [[package]] name = "wasmer-capi-examples-runner" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "cc", "regex", @@ -5559,7 +5559,7 @@ dependencies = [ [[package]] name = "wasmer-cli" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "anyhow", "async-trait", @@ -5617,7 +5617,7 @@ dependencies = [ "wasmer-deploy-cli", "wasmer-emscripten", "wasmer-object", - "wasmer-registry 4.5.0", + "wasmer-registry 4.6.0", "wasmer-toml", "wasmer-types", "wasmer-vm", @@ -5629,7 +5629,7 @@ dependencies = [ [[package]] name = "wasmer-compiler" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "backtrace", "cfg-if 1.0.0", @@ -5654,7 +5654,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-cli" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "anyhow", "atty", @@ -5675,7 +5675,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-cranelift" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -5694,7 +5694,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-llvm" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "byteorder", "cc", @@ -5716,7 +5716,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-singlepass" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "byteorder", "dynasm", @@ -5764,7 +5764,7 @@ dependencies = [ "wasmer-api", "wasmer-deploy-schema", "wasmer-deploy-util", - "wasmer-registry 4.5.0 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmer-registry 4.5.0", "wasmer-toml", "webc", ] @@ -5798,7 +5798,7 @@ dependencies = [ [[package]] name = "wasmer-derive" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "compiletest_rs", "proc-macro-error", @@ -5810,7 +5810,7 @@ dependencies = [ [[package]] name = "wasmer-emscripten" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "byteorder", "getrandom", @@ -5852,7 +5852,7 @@ dependencies = [ [[package]] name = "wasmer-integration-tests-cli" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "anyhow", "assert_cmd 2.0.11", @@ -5878,11 +5878,11 @@ dependencies = [ [[package]] name = "wasmer-integration-tests-ios" -version = "3.3.0" +version = "4.0.0-alpha.1" [[package]] name = "wasmer-middlewares" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "wasmer", "wasmer-types", @@ -5891,7 +5891,7 @@ dependencies = [ [[package]] name = "wasmer-object" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "object 0.28.4", "thiserror", @@ -5901,6 +5901,8 @@ dependencies = [ [[package]] name = "wasmer-registry" version = "4.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "734862f2b8d92b3640e7d2a487c2d59857c53854a3312eacf5df786655aae819" dependencies = [ "anyhow", "console", @@ -5917,7 +5919,6 @@ dependencies = [ "log", "lzma-rs", "minisign", - "rand", "regex", "reqwest", "rpassword", @@ -5942,9 +5943,7 @@ dependencies = [ [[package]] name = "wasmer-registry" -version = "4.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "734862f2b8d92b3640e7d2a487c2d59857c53854a3312eacf5df786655aae819" +version = "4.6.0" dependencies = [ "anyhow", "console", @@ -5961,6 +5960,7 @@ dependencies = [ "log", "lzma-rs", "minisign", + "rand", "regex", "reqwest", "rpassword", @@ -5977,7 +5977,7 @@ dependencies = [ "toml 0.5.11", "url", "wasmer-toml", - "wasmer-wasm-interface 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmer-wasm-interface 4.0.0-alpha.1", "wasmparser 0.51.4", "webc", "whoami", @@ -5985,7 +5985,7 @@ dependencies = [ [[package]] name = "wasmer-sys-utils" -version = "0.4.0" +version = "0.5.0" dependencies = [ "libc", "region", @@ -6016,7 +6016,7 @@ dependencies = [ [[package]] name = "wasmer-types" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "bytecheck", "enum-iterator", @@ -6033,7 +6033,7 @@ dependencies = [ [[package]] name = "wasmer-vm" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "backtrace", "cc", @@ -6060,7 +6060,7 @@ dependencies = [ [[package]] name = "wasmer-wasix" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "async-trait", @@ -6125,7 +6125,7 @@ dependencies = [ [[package]] name = "wasmer-wasix-experimental-io-devices" -version = "0.4.0" +version = "0.5.0" dependencies = [ "minifb", "nix 0.25.1", @@ -6140,7 +6140,7 @@ dependencies = [ [[package]] name = "wasmer-wasix-types" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bitflags", @@ -6163,30 +6163,30 @@ dependencies = [ [[package]] name = "wasmer-wasm-interface" version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b31bad82289ef8ca59b098682c562f03a3b1bcd02e2110e4cce64bece47dbfba" dependencies = [ - "bincode", "either", "nom 5.1.3", "serde", "wasmparser 0.51.4", - "wat", ] [[package]] name = "wasmer-wasm-interface" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b31bad82289ef8ca59b098682c562f03a3b1bcd02e2110e4cce64bece47dbfba" +version = "4.0.0-alpha.1" dependencies = [ + "bincode", "either", "nom 5.1.3", "serde", "wasmparser 0.51.4", + "wat", ] [[package]] name = "wasmer-wast" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "anyhow", "serde", @@ -6201,7 +6201,7 @@ dependencies = [ [[package]] name = "wasmer-workspace" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "anyhow", "build-deps", diff --git a/Cargo.toml b/Cargo.toml index 48e96079bf7..e8f6cfa758a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-workspace" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Wasmer workspace" authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" @@ -10,20 +10,20 @@ publish = false autoexamples = false [dependencies] -wasmer = { version = "=3.3.0", path = "lib/api", default-features = false } -wasmer-compiler = { version = "=3.3.0", path = "lib/compiler", features = [ +wasmer = { version = "=4.0.0-alpha.1", path = "lib/api", default-features = false } +wasmer-compiler = { version = "=4.0.0-alpha.1", path = "lib/compiler", features = [ "compiler", ], optional=true } -wasmer-compiler-cranelift = { version = "=3.3.0", path = "lib/compiler-cranelift", optional = true } -wasmer-compiler-singlepass = { version = "=3.3.0", path = "lib/compiler-singlepass", optional = true } -wasmer-compiler-llvm = { version = "=3.3.0", path = "lib/compiler-llvm", optional = true } -wasmer-emscripten = { version = "=3.3.0", path = "lib/emscripten", optional = true } -wasmer-wasix = { version = "0.4.0", path = "lib/wasi", optional = true } -wasmer-wast = { version = "=3.3.0", path = "tests/lib/wast", optional = true } -wasi-test-generator = { version = "=3.3.0", path = "tests/wasi-wast", optional = true } -wasmer-cache = { version = "=3.3.0", path = "lib/cache", optional = true } -wasmer-types = { version = "=3.3.0", path = "lib/types" } -wasmer-middlewares = { version = "=3.3.0", path = "lib/middlewares", optional = true } +wasmer-compiler-cranelift = { version = "=4.0.0-alpha.1", path = "lib/compiler-cranelift", optional = true } +wasmer-compiler-singlepass = { version = "=4.0.0-alpha.1", path = "lib/compiler-singlepass", optional = true } +wasmer-compiler-llvm = { version = "=4.0.0-alpha.1", path = "lib/compiler-llvm", optional = true } +wasmer-emscripten = { version = "=4.0.0-alpha.1", path = "lib/emscripten", optional = true } +wasmer-wasix = { version = "0.5.0", path = "lib/wasi", optional = true } +wasmer-wast = { version = "=4.0.0-alpha.1", path = "tests/lib/wast", optional = true } +wasi-test-generator = { version = "=4.0.0-alpha.1", path = "tests/wasi-wast", optional = true } +wasmer-cache = { version = "=4.0.0-alpha.1", path = "lib/cache", optional = true } +wasmer-types = { version = "=4.0.0-alpha.1", path = "lib/types" } +wasmer-middlewares = { version = "=4.0.0-alpha.1", path = "lib/middlewares", optional = true } cfg-if = "1.0" [workspace] @@ -75,7 +75,7 @@ glob = "0.3" rustc_version = "0.4" [dev-dependencies] -wasmer = { version = "=3.3.0", path = "lib/api", default-features = false, features = [] } +wasmer = { version = "=4.0.0-alpha.1", path = "lib/api", default-features = false, features = [] } anyhow = "1.0" criterion = "0.3" lazy_static = "1.4" diff --git a/lib/api/Cargo.toml b/lib/api/Cargo.toml index 463e7f94422..aeb0533de7b 100644 --- a/lib/api/Cargo.toml +++ b/lib/api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "High-performance WebAssembly runtime" categories = ["wasm"] keywords = ["wasm", "webassembly", "runtime", "vm"] @@ -36,15 +36,15 @@ rustc-demangle = "0.1" # Dependencies and Development Dependencies for `sys`. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] # - Mandatory dependencies for `sys`. -wasmer-vm = { path = "../vm", version = "=3.3.0" } -wasmer-compiler = { path = "../compiler", version = "=3.3.0" } -wasmer-derive = { path = "../derive", version = "=3.3.0" } -wasmer-types = { path = "../types", version = "=3.3.0" } +wasmer-vm = { path = "../vm", version = "=4.0.0-alpha.1" } +wasmer-compiler = { path = "../compiler", version = "=4.0.0-alpha.1" } +wasmer-derive = { path = "../derive", version = "=4.0.0-alpha.1" } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1" } target-lexicon = { version = "0.12.2", default-features = false } # - Optional dependencies for `sys`. -wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "=3.3.0", optional = true } -wasmer-compiler-cranelift = { path = "../compiler-cranelift", version = "=3.3.0", optional = true } -wasmer-compiler-llvm = { path = "../compiler-llvm", version = "=3.3.0", optional = true } +wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "=4.0.0-alpha.1", optional = true } +wasmer-compiler-cranelift = { path = "../compiler-cranelift", version = "=4.0.0-alpha.1", optional = true } +wasmer-compiler-llvm = { path = "../compiler-llvm", version = "=4.0.0-alpha.1", optional = true } wasm-bindgen = { version = "0.2.74", optional = true } js-sys = { version = "0.3.51", optional = true } @@ -60,17 +60,17 @@ winapi = "0.3" wat = "1.0" tempfile = "3.4.0" anyhow = "1.0" -macro-wasmer-universal-test = { version = "3.3.0", path = "./macro-wasmer-universal-test" } +macro-wasmer-universal-test = { version = "4.0.0-alpha.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 = "=3.3.0", default-features = false, features = ["std"] } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1", default-features = false, features = ["std"] } wasm-bindgen = "0.2.74" wasm-bindgen-downcast = { version = "0.1.1" } js-sys = "0.3.51" #web-sys = { version = "0.3.51", features = [ "console" ] } -wasmer-derive = { path = "../derive", version = "=3.3.0" } +wasmer-derive = { path = "../derive", version = "=4.0.0-alpha.1" } # - Optional dependencies for `js`. wasmparser = { version = "0.95", default-features = false, optional = true } hashbrown = { version = "0.11", optional = true } @@ -82,7 +82,7 @@ serde = { version = "1.0", features = ["derive"] } wat = "1.0" anyhow = "1.0" wasm-bindgen-test = "0.3.0" -macro-wasmer-universal-test = { version = "3.3.0", path = "./macro-wasmer-universal-test" } +macro-wasmer-universal-test = { version = "4.0.0-alpha.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 a4b802214c0..f13ea9caf3f 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 = "3.3.0" +version = "4.0.0-alpha.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 7aecabd3611..57f375659d1 100644 --- a/lib/c-api/Cargo.toml +++ b/lib/c-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-c-api" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Wasmer C API library" categories = ["wasm", "api-bindings"] keywords = ["wasm", "webassembly", "runtime"] @@ -22,17 +22,17 @@ 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 = "=3.3.0", path = "../api", default-features = false, package = "wasmer" } -wasmer-compiler = { version = "=3.3.0", path = "../compiler", optional = true } -wasmer-compiler-cranelift = { version = "=3.3.0", path = "../compiler-cranelift", optional = true } -wasmer-compiler-llvm = { version = "=3.3.0", path = "../compiler-llvm", optional = true } -wasmer-compiler-singlepass = { version = "=3.3.0", path = "../compiler-singlepass", optional = true } -wasmer-emscripten = { version = "=3.3.0", path = "../emscripten", optional = true } -wasmer-middlewares = { version = "=3.3.0", path = "../middlewares", optional = true } -wasmer-types = { version = "=3.3.0", path = "../types" } -wasmer-wasix = { version = "0.4.0", path = "../wasi", features = ["host-fs", "host-vnet"], optional = true } +wasmer-api = { version = "=4.0.0-alpha.1", path = "../api", default-features = false, package = "wasmer" } +wasmer-compiler = { version = "=4.0.0-alpha.1", path = "../compiler", optional = true } +wasmer-compiler-cranelift = { version = "=4.0.0-alpha.1", path = "../compiler-cranelift", optional = true } +wasmer-compiler-llvm = { version = "=4.0.0-alpha.1", path = "../compiler-llvm", optional = true } +wasmer-compiler-singlepass = { version = "=4.0.0-alpha.1", path = "../compiler-singlepass", optional = true } +wasmer-emscripten = { version = "=4.0.0-alpha.1", path = "../emscripten", optional = true } +wasmer-middlewares = { version = "=4.0.0-alpha.1", path = "../middlewares", optional = true } +wasmer-types = { version = "=4.0.0-alpha.1", path = "../types" } +wasmer-wasix = { version = "0.5.0", path = "../wasi", features = ["host-fs", "host-vnet"], optional = true } webc = { version = "5.0", optional = true } -virtual-fs = { version = "0.2.0", path = "../virtual-fs", optional = true, default-features = false, features = ["static-fs"] } +virtual-fs = { version = "0.3.0", path = "../virtual-fs", optional = true, default-features = false, features = ["static-fs"] } enumset = "1.0.2" cfg-if = "1.0" lazy_static = "1.4" 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 68ff50f8265..713d45dd3a3 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 = "3.3.0" +version = "4.0.0-alpha.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 d61a4d1a81c..c1375735fd3 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 = "3.3.0" +version = "4.0.0-alpha.1" edition = "2021" license = "MIT" description = "wasmer-c-api-test-runner" diff --git a/lib/cache/Cargo.toml b/lib/cache/Cargo.toml index b313d6df924..437bfb94610 100644 --- a/lib/cache/Cargo.toml +++ b/lib/cache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-cache" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Cache system for Wasmer WebAssembly runtime" categories = ["wasm", "caching"] keywords = ["wasm", "webassembly", "cache"] @@ -11,7 +11,7 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer = { path = "../api", version = "=3.3.0", default-features = false } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false } hex = "0.4" thiserror = "1" blake3 = "1.0" @@ -20,8 +20,8 @@ blake3 = "1.0" criterion = "0.3" tempfile = "3.4.0" rand = "0.8.3" -wasmer = { path = "../api", version = "=3.3.0", default-features = false, features = ["sys", "cranelift"] } -wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "=3.3.0" } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false, features = ["sys", "cranelift"] } +wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "=4.0.0-alpha.1" } [features] default = ["filesystem"] diff --git a/lib/cli-compiler/Cargo.toml b/lib/cli-compiler/Cargo.toml index e69384d90cc..aa736aaeb4a 100644 --- a/lib/cli-compiler/Cargo.toml +++ b/lib/cli-compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler-cli" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Wasmer Compiler CLI" categories = ["wasm", "command-line-interface"] keywords = ["wasm", "webassembly", "cli"] @@ -18,8 +18,8 @@ path = "src/bin/wasmer_compiler.rs" doc = false [dependencies] -wasmer-compiler = { version = "=3.3.0", path = "../compiler", features = ["compiler"] } -wasmer-types = { version = "=3.3.0", path = "../types" } +wasmer-compiler = { version = "=4.0.0-alpha.1", path = "../compiler", features = ["compiler"] } +wasmer-types = { version = "=4.0.0-alpha.1", path = "../types" } atty = "0.2" colored = "2.0" anyhow = "1.0" @@ -34,13 +34,13 @@ log = { version = "0.4", optional = true } target-lexicon = { version = "0.12", features = ["std"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -wasmer-compiler-singlepass = { version = "=3.3.0", path = "../compiler-singlepass", optional = true } -wasmer-compiler-cranelift = { version = "=3.3.0", path = "../compiler-cranelift", optional = true } +wasmer-compiler-singlepass = { version = "=4.0.0-alpha.1", path = "../compiler-singlepass", optional = true } +wasmer-compiler-cranelift = { version = "=4.0.0-alpha.1", path = "../compiler-cranelift", optional = true } clap = { version = "4.2.7", features = ["derive", "env"] } [target.'cfg(target_arch = "wasm32")'.dependencies] -wasmer-compiler-singlepass = { version = "=3.3.0", path = "../compiler-singlepass", optional = true, default-features = false, features = ["wasm"] } -wasmer-compiler-cranelift = { version = "=3.3.0", path = "../compiler-cranelift", optional = true, default-features = false, features = ["wasm"] } +wasmer-compiler-singlepass = { version = "=4.0.0-alpha.1", path = "../compiler-singlepass", optional = true, default-features = false, features = ["wasm"] } +wasmer-compiler-cranelift = { version = "=4.0.0-alpha.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.2.7", default-features = false, features = [ diff --git a/lib/cli/Cargo.toml b/lib/cli/Cargo.toml index 5459dd4caf7..391fee12ae0 100644 --- a/lib/cli/Cargo.toml +++ b/lib/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-cli" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Wasmer CLI" categories = ["wasm", "command-line-interface"] keywords = ["wasm", "webassembly", "cli"] @@ -26,22 +26,22 @@ required-features = ["headless"] [dependencies] # Repo-local dependencies. -wasmer = { version = "=3.3.0", path = "../api", default-features = false } -wasmer-compiler = { version = "=3.3.0", path = "../compiler", features = ["compiler"], optional = true } -wasmer-compiler-cranelift = { version = "=3.3.0", path = "../compiler-cranelift", optional = true } -wasmer-compiler-singlepass = { version = "=3.3.0", path = "../compiler-singlepass", optional = true } -wasmer-compiler-llvm = { version = "=3.3.0", path = "../compiler-llvm", optional = true } -wasmer-emscripten = { version = "=3.3.0", path = "../emscripten" } -wasmer-vm = { version = "=3.3.0", path = "../vm", optional = true } -wasmer-wasix = { version = "0.4.0", path = "../wasi", features = ["logging", "webc_runner", "webc_runner_rt_wcgi", "webc_runner_rt_wasi", "webc_runner_rt_emscripten", "host-fs"] } -wasmer-wasix-experimental-io-devices = { version = "0.4.0", path = "../wasi-experimental-io-devices", optional = true, features = ["link_external_libs"] } -wasmer-wast = { version = "=3.3.0", path = "../../tests/lib/wast", optional = true } -wasmer-cache = { version = "=3.3.0", path = "../cache", features = ["blake3-pure"] } -wasmer-types = { version = "=3.3.0", path = "../types", features = ["enable-serde"] } -wasmer-registry = { version = "4.5.0", path = "../registry", features = ["build-package"] } -wasmer-object = { version = "=3.3.0", path = "../object", optional = true } -virtual-fs = { version = "0.2.0", path = "../virtual-fs", default-features = false, features = ["host-fs"] } -virtual-net = { version = "0.1.0", path = "../virtual-net" } +wasmer = { version = "=4.0.0-alpha.1", path = "../api", default-features = false } +wasmer-compiler = { version = "=4.0.0-alpha.1", path = "../compiler", features = ["compiler"], optional = true } +wasmer-compiler-cranelift = { version = "=4.0.0-alpha.1", path = "../compiler-cranelift", optional = true } +wasmer-compiler-singlepass = { version = "=4.0.0-alpha.1", path = "../compiler-singlepass", optional = true } +wasmer-compiler-llvm = { version = "=4.0.0-alpha.1", path = "../compiler-llvm", optional = true } +wasmer-emscripten = { version = "=4.0.0-alpha.1", path = "../emscripten" } +wasmer-vm = { version = "=4.0.0-alpha.1", path = "../vm", optional = true } +wasmer-wasix = { version = "0.5.0", path = "../wasi", features = ["logging", "webc_runner", "webc_runner_rt_wcgi", "webc_runner_rt_wasi", "webc_runner_rt_emscripten", "host-fs"] } +wasmer-wasix-experimental-io-devices = { version = "0.5.0", path = "../wasi-experimental-io-devices", optional = true, features = ["link_external_libs"] } +wasmer-wast = { version = "=4.0.0-alpha.1", path = "../../tests/lib/wast", optional = true } +wasmer-cache = { version = "=4.0.0-alpha.1", path = "../cache", features = ["blake3-pure"] } +wasmer-types = { version = "=4.0.0-alpha.1", path = "../types", features = ["enable-serde"] } +wasmer-registry = { version = "4.6.0", path = "../registry", features = ["build-package"] } +wasmer-object = { version = "=4.0.0-alpha.1", path = "../object", optional = true } +virtual-fs = { version = "0.3.0", path = "../virtual-fs", default-features = false, features = ["host-fs"] } +virtual-net = { version = "0.2.0", path = "../virtual-net" } # Wasmer-owned dependencies. webc = { version = "5.0" } diff --git a/lib/compiler-cranelift/Cargo.toml b/lib/compiler-cranelift/Cargo.toml index 175abfa22c2..26183598140 100644 --- a/lib/compiler-cranelift/Cargo.toml +++ b/lib/compiler-cranelift/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler-cranelift" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Cranelift compiler for Wasmer WebAssembly runtime" categories = ["wasm"] keywords = ["wasm", "webassembly", "compiler", "cranelift"] @@ -12,8 +12,8 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-compiler = { path = "../compiler", version = "=3.3.0", features = ["translator", "compiler"], default-features = false } -wasmer-types = { path = "../types", version = "=3.3.0", default-features = false, features = ["std"] } +wasmer-compiler = { path = "../compiler", version = "=4.0.0-alpha.1", features = ["translator", "compiler"], default-features = false } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1", default-features = false, features = ["std"] } cranelift-entity = { version = "0.91.1", default-features = false } cranelift-codegen = { version = "0.91.1", default-features = false, features = ["x86", "arm64", "riscv64"] } cranelift-frontend = { version = "0.91.1", default-features = false } diff --git a/lib/compiler-llvm/Cargo.toml b/lib/compiler-llvm/Cargo.toml index 607ad0f5978..6630356f44e 100644 --- a/lib/compiler-llvm/Cargo.toml +++ b/lib/compiler-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler-llvm" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "LLVM compiler for Wasmer WebAssembly runtime" categories = ["wasm"] keywords = ["wasm", "webassembly", "compiler", "llvm"] @@ -12,11 +12,11 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-compiler = { path = "../compiler", version = "=3.3.0", features = [ +wasmer-compiler = { path = "../compiler", version = "=4.0.0-alpha.1", features = [ "translator", "compiler" ] } -wasmer-vm = { path = "../vm", version = "=3.3.0" } -wasmer-types = { path = "../types", version = "=3.3.0" } +wasmer-vm = { path = "../vm", version = "=4.0.0-alpha.1" } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.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 5232a10d1ae..68e48abd954 100644 --- a/lib/compiler-singlepass/Cargo.toml +++ b/lib/compiler-singlepass/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler-singlepass" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Singlepass compiler for Wasmer WebAssembly runtime" categories = ["wasm"] keywords = ["wasm", "webassembly", "compiler", "singlepass"] @@ -12,8 +12,8 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-compiler = { path = "../compiler", version = "=3.3.0", features = ["translator", "compiler"], default-features = false } -wasmer-types = { path = "../types", version = "=3.3.0", default-features = false, features = ["std"] } +wasmer-compiler = { path = "../compiler", version = "=4.0.0-alpha.1", features = ["translator", "compiler"], default-features = false } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1", default-features = false, features = ["std"] } hashbrown = { version = "0.11", optional = true } gimli = { version = "0.26", optional = true } enumset = "1.0.2" diff --git a/lib/compiler/Cargo.toml b/lib/compiler/Cargo.toml index d714a07e2f1..9d2b7dbba2b 100644 --- a/lib/compiler/Cargo.toml +++ b/lib/compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Base compiler abstraction for Wasmer WebAssembly runtime" categories = ["wasm", "no-std"] keywords = ["wasm", "webassembly", "compiler"] @@ -11,8 +11,8 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-types = { path = "../types", version = "=3.3.0", default-features = false } -wasmer-object = { path = "../object", version = "=3.3.0", optional = true } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1", default-features = false } +wasmer-object = { path = "../object", version = "=4.0.0-alpha.1", optional = true } wasmparser = { version = "0.95", optional = true, default-features = false } enumset = "1.0.2" hashbrown = { version = "0.11", optional = true } @@ -31,7 +31,7 @@ leb128 = "0.2" enum-iterator = "0.7.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -wasmer-vm = { path = "../vm", version = "=3.3.0" } +wasmer-vm = { path = "../vm", version = "=4.0.0-alpha.1" } region = { version = "3.0" } [target.'cfg(target_os = "windows")'.dependencies] diff --git a/lib/derive/Cargo.toml b/lib/derive/Cargo.toml index 6c6e4747ace..22701c988e9 100644 --- a/lib/derive/Cargo.toml +++ b/lib/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-derive" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Wasmer derive macros" authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" diff --git a/lib/emscripten/Cargo.toml b/lib/emscripten/Cargo.toml index 665e52506be..590ede857ad 100644 --- a/lib/emscripten/Cargo.toml +++ b/lib/emscripten/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-emscripten" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Emscripten implementation library for Wasmer WebAssembly runtime" categories = ["wasm", "os"] keywords = ["wasm", "webassembly", "abi", "emscripten", "posix"] @@ -16,8 +16,8 @@ lazy_static = "1.4" libc = "^0.2" log = "0.4" time = { version = "0.2", features = ["std"] } -wasmer = { path = "../api", version = "=3.3.0", default-features = false } -wasmer-types = { path = "../types", version = "=3.3.0" } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1" } [target.'cfg(windows)'.dependencies] getrandom = "0.2" diff --git a/lib/middlewares/Cargo.toml b/lib/middlewares/Cargo.toml index 7a5e23537e8..d68cd5da7c4 100644 --- a/lib/middlewares/Cargo.toml +++ b/lib/middlewares/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-middlewares" -version = "3.3.0" +version = "4.0.0-alpha.1" authors = ["Wasmer Engineering Team "] description = "A collection of various useful middlewares" license = "MIT OR Apache-2.0 WITH LLVM-exception" @@ -11,12 +11,12 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer = { path = "../api", version = "=3.3.0", default-features = false, features = ["compiler"] } -wasmer-types = { path = "../types", version = "=3.3.0" } -wasmer-vm = { path = "../vm", version = "=3.3.0" } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false, features = ["compiler"] } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1" } +wasmer-vm = { path = "../vm", version = "=4.0.0-alpha.1" } [dev-dependencies] -wasmer = { path = "../api", version = "=3.3.0", features = ["compiler"] } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", features = ["compiler"] } [badges] maintenance = { status = "actively-developed" } diff --git a/lib/object/Cargo.toml b/lib/object/Cargo.toml index dced743b8da..62d15499014 100644 --- a/lib/object/Cargo.toml +++ b/lib/object/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-object" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Wasmer Native Object generator" categories = ["wasm"] keywords = ["wasm", "webassembly"] @@ -11,6 +11,6 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-types = { path = "../types", version = "=3.3.0" } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1" } object = { version = "0.28.3", default-features = false, features = ["write"] } thiserror = "1.0" diff --git a/lib/registry/Cargo.toml b/lib/registry/Cargo.toml index 2fe47c3faeb..3ddb15da961 100644 --- a/lib/registry/Cargo.toml +++ b/lib/registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-registry" -version = "4.5.0" +version = "4.6.0" edition = "2021" license = "MIT" description = "Crate to interact with the wasmer registry (wapm.io), download packages, etc." @@ -42,7 +42,7 @@ tempfile = "3.4.0" rusqlite = { version = "0.28.0", optional = true, features = ["bundled"] } time = { version = "0.3.17", default-features = false, features = ["parsing", "std", "formatting"], optional = true } indexmap = { version = "1.9.3", optional = true } -wasmer-wasm-interface = { version = "3.3.0", path = "../wasm-interface", optional = true } +wasmer-wasm-interface = { version = "4.0.0-alpha.1", path = "../wasm-interface", optional = true } wasmparser = { version = "0.51.4", optional = true } rpassword = { version = "7.2.0", optional = true } minisign = { version = "0.7.2", optional = true } diff --git a/lib/sys-utils/Cargo.toml b/lib/sys-utils/Cargo.toml index 66fdbfa49d9..3f8153fedc5 100644 --- a/lib/sys-utils/Cargo.toml +++ b/lib/sys-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-sys-utils" -version = "0.4.0" +version = "0.5.0" description = "Wasmer utilities for a sys environment." categories = ["wasm"] keywords = ["wasm", "webassembly"] @@ -10,9 +10,9 @@ license = "MIT OR Apache-2.0 WITH LLVM-exception" edition = "2018" [dependencies] -wasmer = { path = "../api", version = "=3.3.0", default-features = false, features = ["sys", "compiler"] } -wasmer-vm = { path = "../vm", version = "=3.3.0" } -wasmer-types = { path = "../types", version = "=3.3.0" } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false, features = ["sys", "compiler"] } +wasmer-vm = { path = "../vm", version = "=4.0.0-alpha.1" } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1" } region = { version = "3.0" } tracing = "0.1.37" @@ -20,7 +20,7 @@ tracing = "0.1.37" libc = { version = "^0.2", default-features = false } [dev-dependencies] -wasmer-wasix = { path = "../wasi", version = "0.4.0" } -wasmer = { path = "../api", version = "=3.3.0", default-features = false, features = ["sys", "compiler", "cranelift"] } +wasmer-wasix = { path = "../wasi", version = "0.5.0" } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false, features = ["sys", "compiler", "cranelift"] } tracing-subscriber = { version = "0.3.16", features = ["fmt"] } tracing = "0.1.37" diff --git a/lib/types/Cargo.toml b/lib/types/Cargo.toml index 13997491190..6fc650573bf 100644 --- a/lib/types/Cargo.toml +++ b/lib/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-types" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Wasmer Common Types" categories = ["wasm", "no-std", "data-structures"] keywords = ["wasm", "webassembly", "types"] diff --git a/lib/virtual-fs/Cargo.toml b/lib/virtual-fs/Cargo.toml index 803118e1e10..8594abba4cb 100644 --- a/lib/virtual-fs/Cargo.toml +++ b/lib/virtual-fs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "virtual-fs" -version = "0.2.0" +version = "0.3.0" description = "Wasmer Virtual FileSystem" authors = ["Wasmer Engineering Team "] license = "MIT" diff --git a/lib/virtual-net/Cargo.toml b/lib/virtual-net/Cargo.toml index aa25859a700..2561e4965e9 100644 --- a/lib/virtual-net/Cargo.toml +++ b/lib/virtual-net/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "virtual-net" -version = "0.1.0" +version = "0.2.0" description = "Wasmer Virtual Networking" authors = ["Wasmer Engineering Team "] license = "MIT" diff --git a/lib/vm/Cargo.toml b/lib/vm/Cargo.toml index 98feb7aeabe..017ec50cf64 100644 --- a/lib/vm/Cargo.toml +++ b/lib/vm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-vm" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Runtime library support for Wasmer" categories = ["wasm"] keywords = ["wasm", "webassembly"] @@ -11,7 +11,7 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-types = { path = "../types", version = "=3.3.0" } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1" } libc = { version = "^0.2", default-features = false } memoffset = "0.8.0" indexmap = { version = "1.6" } diff --git a/lib/wai-bindgen-wasmer/Cargo.toml b/lib/wai-bindgen-wasmer/Cargo.toml index fec5b665a7b..3e12bfba6ed 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.4.0" +version = "0.5.0" edition = "2018" categories = ["wasm", "os"] keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"] @@ -18,7 +18,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 = "=3.3.0", path = "../api", default-features = false } +wasmer = { version = "=4.0.0-alpha.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-experimental-io-devices/Cargo.toml b/lib/wasi-experimental-io-devices/Cargo.toml index 9ef259a4eb2..c9c7e93acd7 100644 --- a/lib/wasi-experimental-io-devices/Cargo.toml +++ b/lib/wasi-experimental-io-devices/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wasix-experimental-io-devices" -version = "0.4.0" +version = "0.5.0" description = "An experimental non-standard WASI/WASIX extension for graphics" categories = ["wasm"] keywords = ["wasm", "webassembly", "types"] @@ -14,9 +14,9 @@ edition = "2018" maintenance = { status = "experimental" } [dependencies] -wasmer = { version = "3.3.0", path = "../api", default-features=false } -wasmer-wasix = { version = "0.4.0", path = "../wasi", default-features=false } -wasmer-wasix-types = { path = "../wasi-types", version = "0.4.0" } +wasmer = { version = "4.0.0-alpha.1", path = "../api", default-features=false } +wasmer-wasix = { version = "0.5.0", path = "../wasi", default-features=false } +wasmer-wasix-types = { path = "../wasi-types", version = "0.5.0" } tracing = "0.1" minifb = { version = "0.24.0", optional = true } nix = "0.25.0" diff --git a/lib/wasi-types/Cargo.toml b/lib/wasi-types/Cargo.toml index f30a7dfc459..2bb5fc50ec7 100644 --- a/lib/wasi-types/Cargo.toml +++ b/lib/wasi-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wasix-types" -version = "0.4.0" +version = "0.5.0" description = "WASI and WASIX types for Wasmer WebAssembly runtime" categories = ["wasm", "os"] keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"] @@ -13,9 +13,9 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -wasmer = { default-features = false, path = "../api", version = "=3.3.0" } -wasmer-types = { path = "../types", version = "=3.3.0" } -wasmer-derive = { path = "../derive", version = "=3.3.0" } +wasmer = { default-features = false, path = "../api", version = "=4.0.0-alpha.1" } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1" } +wasmer-derive = { path = "../derive", version = "=4.0.0-alpha.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/wasi-web/Cargo.lock b/lib/wasi-web/Cargo.lock index aef615ed879..703efd4524c 100644 --- a/lib/wasi-web/Cargo.lock +++ b/lib/wasi-web/Cargo.lock @@ -2044,7 +2044,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "virtual-fs" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "async-trait", @@ -2063,7 +2063,7 @@ dependencies = [ [[package]] name = "virtual-net" -version = "0.1.0" +version = "0.2.0" dependencies = [ "async-trait", "bytes", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "wai-bindgen-wasmer" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bitflags", @@ -2321,7 +2321,7 @@ dependencies = [ [[package]] name = "wasmer" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "bytes", "cfg-if", @@ -2348,7 +2348,7 @@ dependencies = [ [[package]] name = "wasmer-compiler" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "backtrace", "cfg-if", @@ -2368,7 +2368,7 @@ dependencies = [ [[package]] name = "wasmer-derive" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "proc-macro-error", "proc-macro2", @@ -2378,7 +2378,7 @@ dependencies = [ [[package]] name = "wasmer-types" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "bytecheck", "enum-iterator", @@ -2393,7 +2393,7 @@ dependencies = [ [[package]] name = "wasmer-vm" -version = "3.3.0" +version = "4.0.0-alpha.1" dependencies = [ "backtrace", "cc", @@ -2418,7 +2418,7 @@ dependencies = [ [[package]] name = "wasmer-wasix" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "async-trait", @@ -2470,7 +2470,7 @@ dependencies = [ [[package]] name = "wasmer-wasix-types" -version = "0.4.0" +version = "0.5.0" dependencies = [ "anyhow", "bitflags", @@ -2491,7 +2491,7 @@ dependencies = [ [[package]] name = "wasmer-web" -version = "0.2.0" +version = "0.3.0" dependencies = [ "anyhow", "async-trait", diff --git a/lib/wasi-web/Cargo.toml b/lib/wasi-web/Cargo.toml index 15304e6d17d..ff7f0676928 100644 --- a/lib/wasi-web/Cargo.toml +++ b/lib/wasi-web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-web" -version = "0.2.0" +version = "0.3.0" authors = ["John Sharratt "] edition = "2021" publish = false @@ -12,7 +12,7 @@ readme = "../README.md" [dependencies] wasmer = { path = "../api", default_features = false, features = [ "js-default" ] } -wasmer-wasix = { path = "../wasi", default-features = false, features = [ "js-default" ] } +wasmer-wasix = { path = "../wasi", version = "0.5.0", default-features = false, features = [ "js-default" ] } #wasm-bindgen = { version = "0.2", features = [ "nightly", "serde-serialize" ] } wasm-bindgen = { version = "0.2", features = [ "serde-serialize" ] } wasm-bindgen-futures = "0.4" diff --git a/lib/wasi/Cargo.toml b/lib/wasi/Cargo.toml index e6159cc2aef..e80d89e3b0d 100644 --- a/lib/wasi/Cargo.toml +++ b/lib/wasi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wasix" -version = "0.4.0" +version = "0.5.0" description = "WASI and WASIX implementation library for Wasmer WebAssembly runtime" categories = ["wasm", "os"] keywords = ["wasm", "webassembly", "wasi", "sandbox", "ABI"] @@ -15,12 +15,12 @@ cfg-if = "1.0" thiserror = "1" tracing = { version = "0.1.37" } getrandom = "0.2" -wasmer-wasix-types = { path = "../wasi-types", version = "0.4.0", features = [ "enable-serde" ] } -wasmer-types = { path = "../types", version = "=3.3.0", default-features = false } -wasmer = { path = "../api", version = "=3.3.0", default-features = false, features = ["wat", "js-serializable-module"] } -virtual-fs = { path = "../virtual-fs", version = "0.2.0", default-features = false, features = ["webc-fs"] } -virtual-net = { path = "../virtual-net", version = "0.1.0", default-features = false } -wasmer-emscripten = { path = "../emscripten", version = "=3.3.0", optional = true } +wasmer-wasix-types = { path = "../wasi-types", version = "0.5.0", features = [ "enable-serde" ] } +wasmer-types = { path = "../types", version = "=4.0.0-alpha.1", default-features = false } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false, features = ["wat", "js-serializable-module"] } +virtual-fs = { path = "../virtual-fs", version = "0.3.0", default-features = false, features = ["webc-fs"] } +virtual-net = { path = "../virtual-net", version = "0.2.0", default-features = false } +wasmer-emscripten = { path = "../emscripten", version = "=4.0.0-alpha.1", optional = true } typetag = { version = "0.1", optional = true } serde = { version = "1.0", default-features = false, features = ["derive"] } bincode = { version = "1.3" } @@ -49,7 +49,7 @@ hex = { version = "^0.4" } term_size = { version = "0.3" } linked_hash_set = { version = "0.1" } http = "0.2.8" -wai-bindgen-wasmer = { path = "../wai-bindgen-wasmer", version = "0.4.0", features = ["tracing"] } +wai-bindgen-wasmer = { path = "../wai-bindgen-wasmer", version = "0.5.0", features = ["tracing"] } heapless = "0.7.16" once_cell = "1.17.0" pin-project = "1.0.12" @@ -91,7 +91,7 @@ winapi = "0.3" wasm-bindgen = ">= 0.2.74, < 0.2.85" [dev-dependencies] -wasmer = { path = "../api", version = "=3.3.0", default-features = false, features = ["wat", "js-serializable-module"] } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false, features = ["wat", "js-serializable-module"] } tokio = { version = "1", features = [ "sync", "macros", "rt" ], default_features = false } pretty_assertions = "1.3.0" @@ -101,7 +101,7 @@ tracing-wasm = "0.2" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] tracing-subscriber = { version = "^0.2" } -wasmer = { path = "../api", version = "=3.3.0", default-features = false, features = ["wat", "js-serializable-module", "cranelift"] } +wasmer = { path = "../api", version = "=4.0.0-alpha.1", default-features = false, features = ["wat", "js-serializable-module", "cranelift"] } [features] default = ["sys-default"] diff --git a/lib/wasm-interface/Cargo.toml b/lib/wasm-interface/Cargo.toml index c2f0e293996..76b08ba6e1b 100644 --- a/lib/wasm-interface/Cargo.toml +++ b/lib/wasm-interface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wasm-interface" -version = "3.3.0" +version = "4.0.0-alpha.1" authors = ["The Wasmer Engineering Team "] edition = "2018" repository = "https://github.com/wasmerio/wapm-cli" diff --git a/scripts/update-version.py b/scripts/update-version.py index 29d5c7fc472..26c1a6162ab 100644 --- a/scripts/update-version.py +++ b/scripts/update-version.py @@ -1,7 +1,7 @@ #!/usr/bin/python -PREVIOUS_VERSION='3.2.1' -NEXT_VERSION='3.3.0' +PREVIOUS_VERSION='3.3.0' +NEXT_VERSION='4.0.0-alpha.1' import os import re diff --git a/scripts/windows-installer/wasmer.iss b/scripts/windows-installer/wasmer.iss index cc6a6f624a0..ec29ae57959 100644 --- a/scripts/windows-installer/wasmer.iss +++ b/scripts/windows-installer/wasmer.iss @@ -1,6 +1,6 @@ [Setup] AppName=Wasmer -AppVersion=3.3.0 +AppVersion=4.0.0-alpha.1 DefaultDirName={pf}\Wasmer DefaultGroupName=Wasmer Compression=lzma2 diff --git a/tests/integration/cli/Cargo.toml b/tests/integration/cli/Cargo.toml index 2f4d6034205..b8ddc21e609 100644 --- a/tests/integration/cli/Cargo.toml +++ b/tests/integration/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-integration-tests-cli" -version = "3.3.0" +version = "4.0.0-alpha.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 9dcab90b05b..6121476f3a5 100644 --- a/tests/integration/ios/Cargo.toml +++ b/tests/integration/ios/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-integration-tests-ios" -version = "3.3.0" +version = "4.0.0-alpha.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 ae7767f245c..e89c3714839 100644 --- a/tests/lib/wast/Cargo.toml +++ b/tests/lib/wast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wast" -version = "3.3.0" +version = "4.0.0-alpha.1" authors = ["Wasmer Engineering Team "] description = "wast testing support for wasmer" license = "MIT OR Apache-2.0 WITH LLVM-exception" @@ -12,9 +12,9 @@ edition = "2018" [dependencies] anyhow = "1.0" -wasmer = { path = "../../../lib/api", version = "=3.3.0", default-features = false } -wasmer-wasix = { path = "../../../lib/wasi", version = "0.4.0" } -virtual-fs = { path = "../../../lib/virtual-fs", version = "0.2.0" } +wasmer = { path = "../../../lib/api", version = "=4.0.0-alpha.1", default-features = false } +wasmer-wasix = { path = "../../../lib/wasi", version = "0.5.0" } +virtual-fs = { path = "../../../lib/virtual-fs", version = "0.3.0" } wast = "38.0" serde = "1" tempfile = "3.4.0" diff --git a/tests/wasi-wast/Cargo.toml b/tests/wasi-wast/Cargo.toml index ee9b2fb5286..4d77e6d1db9 100644 --- a/tests/wasi-wast/Cargo.toml +++ b/tests/wasi-wast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasi-test-generator" -version = "3.3.0" +version = "4.0.0-alpha.1" description = "Tests for our WASI implementation" license = "MIT" authors = ["Wasmer Engineering Team "]