Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for release wasmer 0.5.2 #521

Merged
merged 1 commit into from
Jul 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All PRs to the Wasmer repository must add to this file.
Blocks of changes will separated by version increments.

## **[Unreleased]**

## 0.5.2 - 2019-07-02
- [#521](https://github.com/wasmerio/wasmer/pull/521) Update Wapm-cli, bump version numbers
- [#518](https://github.com/wasmerio/wasmer/pull/518) Update Cranelift and WasmParser
- [#514](https://github.com/wasmerio/wasmer/pull/514) [#519](https://github.com/wasmerio/wasmer/pull/519) Improved Emscripten network related calls, added a null check to `WasmPtr`
- [#515](https://github.com/wasmerio/wasmer/pull/515) Improved Emscripten dyncalls
- [#513](https://github.com/wasmerio/wasmer/pull/513) Fix emscripten lseek implementation.
- [#510](https://github.com/wasmerio/wasmer/pull/510) Simplify construction of floating point constants in LLVM backend. Fix LLVM assertion failure due to definition of %ctx.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer"
version = "0.5.1"
version = "0.5.2"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
edition = "2018"
repository = "https://github.com/wasmerio/wasmer"
Expand Down
6 changes: 3 additions & 3 deletions lib/clif-backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "wasmer-clif-backend"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer runtime Cranelift compiler backend"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
repository = "https://github.com/wasmerio/wasmer"
edition = "2018"

[dependencies]
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.1" }
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.2" }
cranelift-native = { git = "https://github.com/wasmerio/cranelift.git", rev = "2ada531d79b34a9e6c94c81f2615677e22d68780" }
cranelift-codegen = { git = "https://github.com/wasmerio/cranelift.git", rev = "2ada531d79b34a9e6c94c81f2615677e22d68780" }
cranelift-entity = { git = "https://github.com/wasmerio/cranelift.git", rev = "2ada531d79b34a9e6c94c81f2615677e22d68780" }
Expand All @@ -34,7 +34,7 @@ version = "0.0.7"

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["errhandlingapi", "minwindef", "minwinbase", "winnt"] }
wasmer-win-exception-handler = { path = "../win-exception-handler", version = "0.5.1" }
wasmer-win-exception-handler = { path = "../win-exception-handler", version = "0.5.2" }

[features]
debug = ["wasmer-runtime-core/debug"]
2 changes: 1 addition & 1 deletion lib/dev-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-dev-utils"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer runtime core library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand Down
12 changes: 6 additions & 6 deletions lib/emscripten/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-emscripten"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer runtime emscripten implementation library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand All @@ -14,17 +14,17 @@ hashbrown = "0.1"
lazy_static = "1.2.0"
libc = "0.2.49"
time = "0.1.41"
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.1" }
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.1", optional = true }
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.1" }
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.1", optional = true }
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.2" }
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.2", optional = true }
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.2" }
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.2", optional = true }

[target.'cfg(windows)'.dependencies]
rand = "0.6"

[dev-dependencies]
wabt = "0.7.2"
wasmer-dev-utils = { path = "../dev-utils", version = "0.5.1"}
wasmer-dev-utils = { path = "../dev-utils", version = "0.5.2"}

[build-dependencies]
glob = "0.2.11"
Expand Down
4 changes: 2 additions & 2 deletions lib/llvm-backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "wasmer-llvm-backend"
version = "0.5.1"
version = "0.5.2"
authors = ["Lachlan Sneff <lachlan.sneff@gmail.com>"]
edition = "2018"

[dependencies]
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.1" }
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.2" }
inkwell = { git = "https://github.com/wasmerio/inkwell", branch = "llvm7-0" }
wasmparser = "0.32.1"
hashbrown = "0.1.8"
Expand Down
8 changes: 4 additions & 4 deletions lib/middleware-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-middleware-common"
version = "0.5.1"
version = "0.5.2"
repository = "https://github.com/wasmerio/wasmer"
description = "Wasmer runtime common middlewares"
license = "MIT"
Expand All @@ -9,9 +9,9 @@ edition = "2018"

[dependencies]
wasmer-runtime-core = { path = "../runtime-core" }
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.1" }
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.1", optional = true }
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.1", optional = true }
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.2" }
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.2", optional = true }
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.2", optional = true }

[dev-dependencies]
wabt = "0.7.4"
Expand Down
2 changes: 1 addition & 1 deletion lib/runtime-abi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-runtime-abi"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer runtime core library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand Down
6 changes: 3 additions & 3 deletions lib/runtime-c-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-runtime-c-api"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer C API library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand All @@ -16,11 +16,11 @@ libc = "0.2"

[dependencies.wasmer-runtime]
path = "../runtime"
version = "0.5.1"
version = "0.5.2"

[dependencies.wasmer-runtime-core]
path = "../runtime-core"
version = "0.5.1"
version = "0.5.2"

[features]
debug = ["wasmer-runtime/debug"]
Expand Down
2 changes: 1 addition & 1 deletion lib/runtime-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-runtime-core"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer runtime core library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand Down
8 changes: 4 additions & 4 deletions lib/runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-runtime"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer runtime library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand All @@ -9,17 +9,17 @@ edition = "2018"
readme = "README.md"

[dependencies]
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.1", optional = true }
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.2", optional = true }
lazy_static = "1.2.0"
memmap = "0.7.0"

[dependencies.wasmer-runtime-core]
path = "../runtime-core"
version = "0.5.1"
version = "0.5.2"

[dependencies.wasmer-clif-backend]
path = "../clif-backend"
version = "0.5.1"
version = "0.5.2"
optional = true

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions lib/singlepass-backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "wasmer-singlepass-backend"
version = "0.5.1"
version = "0.5.2"
repository = "https://github.com/wasmerio/wasmer"
description = "Wasmer runtime single pass compiler backend"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
edition = "2018"

[dependencies]
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.1" }
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.2" }
wasmparser = "0.32.1"
dynasm = "0.3.2"
dynasmrt = "0.3.1"
Expand Down
10 changes: 5 additions & 5 deletions lib/spectests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-spectests"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer spectests library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand All @@ -9,10 +9,10 @@ edition = "2018"
build = "build/mod.rs"

[dependencies]
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.1" }
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.1" }
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.1", optional = true }
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.1", optional = true }
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.2" }
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.2" }
wasmer-llvm-backend = { path = "../llvm-backend", version = "0.5.2", optional = true }
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.2", optional = true }

[build-dependencies]
wabt = "0.7.2"
Expand Down
10 changes: 5 additions & 5 deletions lib/wasi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-wasi"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer runtime WASI implementation library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand All @@ -9,7 +9,7 @@ edition = "2018"
build = "build/mod.rs"

[dependencies]
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.1" }
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.2" }
libc = "0.2.50"
rand = "0.6.5"
# wasmer-runtime-abi = { path = "../runtime-abi" }
Expand All @@ -18,7 +18,7 @@ generational-arena = "0.2.2"
log = "0.4.6"
byteorder = "1.3.1"
# hack to get tests to work
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.1", optional = true }
wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.5.2", optional = true }

[target.'cfg(windows)'.dependencies]
winapi = "0.3"
Expand All @@ -27,8 +27,8 @@ winapi = "0.3"
glob = "0.2.11"

[dev-dependencies]
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.1" }
wasmer-dev-utils = { path = "../dev-utils", version = "0.5.1"}
wasmer-clif-backend = { path = "../clif-backend", version = "0.5.2" }
wasmer-dev-utils = { path = "../dev-utils", version = "0.5.2"}

[features]
clif = []
Expand Down
4 changes: 2 additions & 2 deletions lib/win-exception-handler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "wasmer-win-exception-handler"
version = "0.5.1"
version = "0.5.2"
description = "Wasmer runtime exception handling for Windows"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
repository = "https://github.com/wasmerio/wasmer"
edition = "2018"

[target.'cfg(windows)'.dependencies]
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.1" }
wasmer-runtime-core = { path = "../runtime-core", version = "0.5.2" }
winapi = { version = "0.3", features = ["winbase", "errhandlingapi", "minwindef", "minwinbase", "winnt"] }
libc = "0.2.49"

Expand Down
4 changes: 2 additions & 2 deletions update_version_numbers.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PREVIOUS_VERSION='0.5.0'
NEXT_VERSION='0.5.1'
PREVIOUS_VERSION='0.5.1'
NEXT_VERSION='0.5.2'

# quick hack
fd Cargo.toml --exec sed -i '' "s/version = \"$PREVIOUS_VERSION\"/version = \"$NEXT_VERSION\"/"
Expand Down
2 changes: 1 addition & 1 deletion wapm-cli
Submodule wapm-cli updated 57 files
+14 −0 CHANGELOG.md
+257 −178 Cargo.lock
+3 −3 Cargo.toml
+43 −6 azure-pipelines.yml
+14 −0 end-to-end-tests/manifest-validation.sh
+10 −0 end-to-end-tests/manifest-validation.txt
+8 −9 end-to-end-tests/package-fs-mapping.sh
+10 −14 end-to-end-tests/package-fs-mapping.txt
+0 −9 graphql/queries/get_contract_version.graphql
+9 −0 graphql/queries/get_interface_version.graphql
+11 −0 graphql/queries/get_package_by_command.graphql
+46 −23 graphql/schema.graphql
+0 −11 lib/wasm-contract/src/lib.rs
+2 −2 lib/wasm-interface/Cargo.toml
+11 −11 lib/wasm-interface/README.md
+29 −29 lib/wasm-interface/src/interface.rs
+11 −0 lib/wasm-interface/src/lib.rs
+16 −16 lib/wasm-interface/src/parser.rs
+58 −58 lib/wasm-interface/src/validate.rs
+2 −2 src/abi.rs
+2 −2 src/bin/wapm.rs
+10 −0 src/commands/install.rs
+3 −3 src/commands/list.rs
+1 −1 src/commands/mod.rs
+81 −53 src/commands/publish.rs
+32 −90 src/commands/run.rs
+1 −1 src/commands/validate.rs
+0 −65 src/contracts.rs
+13 −1 src/data/lock/lockfile.rs
+52 −15 src/data/lock/lockfile_module.rs
+103 −12 src/data/lock/migrate.rs
+1 −1 src/data/lock/mod.rs
+68 −18 src/data/manifest.rs
+7 −1 src/database.rs
+54 −3 src/dataflow/find_command_result.rs
+9 −9 src/dataflow/interfaces.rs
+8 −1 src/dataflow/local_package.rs
+21 −8 src/dataflow/lockfile_packages.rs
+4 −1 src/dataflow/manifest_packages.rs
+16 −16 src/dataflow/mod.rs
+4 −11 src/dataflow/resolved_packages.rs
+2 −2 src/graphql.rs
+4 −2 src/init.rs
+65 −0 src/interfaces.rs
+8 −6 src/keys.rs
+1 −1 src/lib.rs
+3 −4 src/logging.rs
+26 −0 src/sql/migrations/0002.sql
+9 −9 src/sql/mod.rs
+0 −4 src/sql/queries/get_contract.sql
+4 −0 src/sql/queries/get_interface.sql
+0 −3 src/sql/queries/insert_contract.sql
+3 −0 src/sql/queries/insert_interface.sql
+0 −5 src/sql/queries/wasm_contract_existence_check.sql
+5 −0 src/sql/queries/wasm_interface_existence_check.sql
+58 −5 src/util.rs
+26 −23 src/validate.rs