Wasmtime

Latest version: v20.0.0

Safety actively analyzes 630656 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 15 of 17

0.24.0

Not secure
Released 2021-03-04.

Added

* Implement support for `async` functions in Wasmtime
[2434](https://github.com/bytecodealliance/wasmtime/pull/2434)

Fixed

* Fix preservation of the sigaltstack on macOS
[2676](https://github.com/bytecodealliance/wasmtime/pull/2676)
* Fix incorrect semver dependencies involving fs-set-times.
[2705](https://github.com/bytecodealliance/wasmtime/pull/2705)
* Fix some `i128` shift-related bugs in x64 backend.
[2682](https://github.com/bytecodealliance/wasmtime/pull/2682)
* Fix incomplete trap metadata due to multiple traps at one address
[2685](https://github.com/bytecodealliance/wasmtime/pull/2685)

0.23.0

Not secure
Released 2021-02-16.

Added

* Support for limiting WebAssembly execution with fuel was added, including
support in the C API.
[2611](https://github.com/bytecodealliance/wasmtime/pull/2611)
[2643](https://github.com/bytecodealliance/wasmtime/pull/2643)
* Wasmtime now has more knobs for limiting memory and table allocations
[2617](https://github.com/bytecodealliance/wasmtime/pull/2617)
* Added a method to share `Config` across machines
[2608](https://github.com/bytecodealliance/wasmtime/pull/2608)
* Added a safe memory read/write API
[2528](https://github.com/bytecodealliance/wasmtime/pull/2528)
* Added support for the experimental wasi-crypto APIs
[2597](https://github.com/bytecodealliance/wasmtime/pull/2597)
* Added an instance limit to `Config`
[2593](https://github.com/bytecodealliance/wasmtime/pull/2593)
* Implemented module-linking's outer module aliases
[2590](https://github.com/bytecodealliance/wasmtime/pull/2590)
* Cranelift now supports 128-bit operations for the new x64 backend.
[2539](https://github.com/bytecodealliance/wasmtime/pull/2539)
* Cranelift now has detailed debug-info (DWARF) support in new backends (initially x64).
[2565](https://github.com/bytecodealliance/wasmtime/pull/2565)
* Cranelift now uses the `POPCNT`, `TZCNT`, and `LZCNT`, as well as SSE 4.1
rounding instructions on x64 when available.
* Cranelift now uses the `CNT`, instruction on aarch64 when available.

Changed

* A new WASI implementation built on the new
[`cap-std`](https://github.com/bytecodealliance/cap-std) crate was added,
replacing the previous implementation. This brings improved robustness,
portability, and performance.

* `wasmtime_wasi::WasiCtxBuilder` moved to
`wasi_cap_std_sync::WasiCtxBuilder`.

* The WebAssembly C API is updated, with a few minor API changes
[2579](https://github.com/bytecodealliance/wasmtime/pull/2579)

Fixed

* Fixed a panic in WASI `fd_readdir` on large directories
[2620](https://github.com/bytecodealliance/wasmtime/pull/2620)
* Fixed a memory leak with command modules
[2017](https://github.com/bytecodealliance/wasmtime/pull/2017)

--------------------------------------------------------------------------------

0.22.0

Not secure
Released 2021-01-07.

Added

* Experimental support for [the module-linking
proposal](https://github.com/WebAssembly/module-linking) was
added. [2094](https://github.com/bytecodealliance/wasmtime/pull/2094)

* Added support for [the reference types
proposal](https://webassembly.github.io/reference-types) on the aarch64
architecture. [2410](https://github.com/bytecodealliance/wasmtime/pull/2410)

* Experimental support for [wasi-nn](https://github.com/WebAssembly/wasi-nn) was
added. [2208](https://github.com/bytecodealliance/wasmtime/pull/2208)

Changed

Fixed

* Fixed an issue where the `select` instruction didn't accept `v128` SIMD
operands. [2391](https://github.com/bytecodealliance/wasmtime/pull/2391)

* Fixed an issue where Wasmtime could potentially use the wrong stack map during
GCs, leading to a
panic. [2396](https://github.com/bytecodealliance/wasmtime/pull/2396)

* Fixed an issue where if a host-defined function erroneously returned a value
from a different store, that value would be
leaked. [2424](https://github.com/bytecodealliance/wasmtime/pull/2424)

* Fixed a bug where in certain cases if a module's instantiation failed, it
could leave trampolines in the store that referenced the no-longer-valid
instance. These trampolines could be reused in future instantiations, leading
to use after free bugs.
[2408](https://github.com/bytecodealliance/wasmtime/pull/2408)

* Fixed a miscompilation on aarch64 where certain instructions would read `SP`
instead of the zero register. This could only affect you if you explicitly
enabled the Wasm SIMD
proposal. [2548](https://github.com/bytecodealliance/wasmtime/pull/2548)

--------------------------------------------------------------------------------

0.21.0

Not secure
Released 2020-11-05.

Added

* Experimental support for the multi-memory proposal was added.
[2263](https://github.com/bytecodealliance/wasmtime/pull/2263)

* The `Trap::trap_code` API enables learning what kind of trap was raised.
[2309](https://github.com/bytecodealliance/wasmtime/pull/2309)

Changed

* WebAssembly module validation is now parallelized.
[2059](https://github.com/bytecodealliance/wasmtime/pull/2059)

* Documentation is now available at docs.wasmtime.dev.
[2317](https://github.com/bytecodealliance/wasmtime/pull/2317)

* Windows now compiles like other platforms with a huge guard page instead of
having its own custom limit which made modules compile and run more slowly.
[2326](https://github.com/bytecodealliance/wasmtime/pull/2326)

* The size of the cache entry for serialized modules has been greatly reduced.
[2321](https://github.com/bytecodealliance/wasmtime/pull/2321)
[2322](https://github.com/bytecodealliance/wasmtime/pull/2322)
[2324](https://github.com/bytecodealliance/wasmtime/pull/2324)
[2325](https://github.com/bytecodealliance/wasmtime/pull/2325)

* The `FuncType` API constructor and accessors are now iterator-based.
[2365](https://github.com/bytecodealliance/wasmtime/pull/2365)

Fixed

* A panic in compiling reference-types-using modules has been fixed.
[2350](https://github.com/bytecodealliance/wasmtime/pull/2350)

--------------------------------------------------------------------------------

0.20.0

Not secure
Released 2020-09-23.

Added

* Support for explicitly serializing and deserializing compiled wasm modules has
been added.
[2020](https://github.com/bytecodealliance/wasmtime/pull/2020)

* A `wasmtime_store_gc` C API was added to run GC for `externref`.
[2052](https://github.com/bytecodealliance/wasmtime/pull/2052)

* Support for atomics in Cranelift has been added. Support is not fully
implemented in Wasmtime at this time, however.
[2077](https://github.com/bytecodealliance/wasmtime/pull/2077)

* The `Caller::get_export` function is now implemented for `Func` references as
well.
[2108](https://github.com/bytecodealliance/wasmtime/pull/2108)

Fixed

* Leaks in the C API have been fixed.
[2040](https://github.com/bytecodealliance/wasmtime/pull/2040)

* The `wasm_val_copy` C API has been fixed for reference types.
[2041](https://github.com/bytecodealliance/wasmtime/pull/2041)

* Fix a panic with `Func::new` and reference types when the store doesn't have
reference types enabled.
[2039](https://github.com/bytecodealliance/wasmtime/pull/2039)

--------------------------------------------------------------------------------

0.19.0

Not secure
Released 2020-07-14.

Added

* The [WebAssembly reference-types proposal][reftypes] is now supported in
Wasmtime and the C API.
[1832](https://github.com/bytecodealliance/wasmtime/pull/1832),
[1882](https://github.com/bytecodealliance/wasmtime/pull/1882),
[1894](https://github.com/bytecodealliance/wasmtime/pull/1894),
[1901](https://github.com/bytecodealliance/wasmtime/pull/1901),
[1923](https://github.com/bytecodealliance/wasmtime/pull/1923),
[1969](https://github.com/bytecodealliance/wasmtime/pull/1969),
[1973](https://github.com/bytecodealliance/wasmtime/pull/1973),
[1982](https://github.com/bytecodealliance/wasmtime/pull/1982),
[1984](https://github.com/bytecodealliance/wasmtime/pull/1984),
[1991](https://github.com/bytecodealliance/wasmtime/pull/1991),
[1996](https://github.com/bytecodealliance/wasmtime/pull/1996)

* The [WebAssembly simd proposal's][simd] spec tests now pass in Wasmtime.
[1765](https://github.com/bytecodealliance/wasmtime/pull/1765),
[1876](https://github.com/bytecodealliance/wasmtime/pull/1876),
[1941](https://github.com/bytecodealliance/wasmtime/pull/1941),
[1957](https://github.com/bytecodealliance/wasmtime/pull/1957),
[1990](https://github.com/bytecodealliance/wasmtime/pull/1990),
[1994](https://github.com/bytecodealliance/wasmtime/pull/1994)

* Wasmtime can now be compiled without the usage of threads for parallel
compilation, although this is still enabled by default.
[1903](https://github.com/bytecodealliance/wasmtime/pull/1903)

* The C API is [now
documented](https://bytecodealliance.github.io/wasmtime/c-api/).
[1928](https://github.com/bytecodealliance/wasmtime/pull/1928),
[1959](https://github.com/bytecodealliance/wasmtime/pull/1959),
[1968](https://github.com/bytecodealliance/wasmtime/pull/1968)

* A `wasmtime_linker_get_one_by_name` function was added to the C API.
[1897](https://github.com/bytecodealliance/wasmtime/pull/1897)

* A `wasmtime_trap_exit_status` function was added to the C API.
[1912](https://github.com/bytecodealliance/wasmtime/pull/1912)

* Compilation for the `aarch64-linux-android` target should now work, although
keep in mind this platform is not fully tested still.
[2002](https://github.com/bytecodealliance/wasmtime/pull/2002)

[reftypes]: https://github.com/WebAssembly/reference-types

Fixed

* Runtime warnings when using Wasmtime on musl have been fixed.
[1914](https://github.com/bytecodealliance/wasmtime/pull/1914)

* A bug affecting Windows unwind information with functions that have spilled
floating point registers has been fixed.
[1983](https://github.com/bytecodealliance/wasmtime/pull/1983)

Changed

* Wasmtime's default branch and development now happens on the `main` branch
instead of `master`.
[1924](https://github.com/bytecodealliance/wasmtime/pull/1924)

Removed

* The "host info" support in the C API has been removed since it was never fully
or correctly implemented.
[1922](https://github.com/bytecodealliance/wasmtime/pull/1922)

* Support for the `*_same` functions in the C API has been removed in the same
vein as the host info APIs.
[1926](https://github.com/bytecodealliance/wasmtime/pull/1926)

--------------------------------------------------------------------------------

Page 15 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.