We had a bug in the Wasm pointer implementation that was not caught by our tests. Sorry for the inconvenience!
Install the latest version of Wasmer with:
curl https://get.wasmer.io -sSfL | sh
Changelog
#1294 Fix bug related to system calls in WASI that rely on reading from WasmPtrs as arrays of length 0. WasmPtr will now succeed on length 0 arrays again.
0.16.1
This release fixes a small bug in the install script that prevented wax from running.
0.16.0
This version of Wasmer ships some fixes into the WASI memory, a better Wasmer integration in Windows and a completely new tool for WAPM: wax. Read more here.
#1284 Implement string and memory instructions in wasmer-interface-types
#1272 Fix off-by-one error bug when accessing memory with a WasmPtr that contains the last valid byte of memory. Also changes the behavior of WasmPtr<T, Array> with a length of 0 and WasmPtr<T> where std::mem::size_of::<T>() is 0 to always return None
0.15.0
This version of Wasmer ships Polymorphic functions support, along with a new debugger for WebAssembly modules and some other small improvements π
π Contributors
We'd like to thank everyone that contributed into this release of Wasmer, with special thanks to:
π @MikaelUrankar for his ongoing work on Wasmer for FreeBSD
Changelog
#1263 Changed the behavior of some WASI syscalls to now handle preopened directories more properly. Changed default --debug logging to only show Wasmer-related messages.
#1217 Polymorphic host functions based on dynamic trampoline generation.
Add --generate-debug-info and -g flags to wasmer run to generate debug information during compilation. The debug info is passed via the GDB JIT interface to a debugger to allow source-level debugging of Wasm files. Currently only available on clif-backend.
Break public middleware APIs: there is now a source_loc parameter that should be passed through if applicable.
Break compiler trait methods such as feed_local, feed_event as well as ModuleCodeGenerator::finalize.
#1294 Fix bug related to system calls in WASI that rely on reading from WasmPtrs as arrays of length 0. WasmPtr will now succeed on length 0 arrays again.
0.16.1 - 2020-03-11
#1291 Fix installation packaging script to package the wax command.
#1284 Implement string and memory instructions in wasmer-interface-types
#1272 Fix off-by-one error bug when accessing memory with a WasmPtr that contains the last valid byte of memory. Also changes the behavior of WasmPtr<T, Array> with a length of 0 and WasmPtr<T> where std::mem::size_of::<T>() is 0 to always return None
0.15.0 - 2020-03-04
#1263 Changed the behavior of some WASI syscalls to now handle preopened directories more properly. Changed default --debug logging to only show Wasmer-related messages.
#1217 Polymorphic host functions based on dynamic trampoline generation.
Add --generate-debug-info and -g flags to wasmer run to generate debug information during compilation. The debug info is passed via the GDB JIT interface to a debugger to allow source-level debugging of Wasm files. Currently only available on clif-backend.
Break public middleware APIs: there is now a source_loc parameter that should be passed through if applicable.
Break compiler trait methods such as feed_local, feed_event as well as ModuleCodeGenerator::finalize.
Commits
81f7411 Merge pull request #1295 from wasmerio/release/0.16.2
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps wasmer-runtime-c-api from 0.14.1 to 0.16.2.
Release notes
Sourced from wasmer-runtime-c-api's releases.
Changelog
Sourced from wasmer-runtime-c-api's changelog.
Commits
81f7411
Merge pull request #1295 from wasmerio/release/0.16.2fffdba3
Prepare for 0.16.2 release2234f79
Merge pull request #1294 from wasmerio/fix/wasmptr-len-0-is-okayc3865c9
Allow zero length arrays and check base offset for being out of boundsc99fdf6
Merge pull request #1291 from wasmerio/release/0.16.1418edef
Update CHANGELOG.mddc9cc32
Prepare for 0.16.1 releasea0d0263
Update azure-pipelines.yml65da0da
Merge pull request #1290 from wasmerio/fix/wax-packaging9d66810
Fixwax
command packaging for install scriptDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)