Wasmtime

Latest version: v20.0.0

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

Scan your dependencies

Page 13 of 17

0.34.0

Not secure
Released 2022-02-07.

Fixed

* The `wasi-common` default implementation of some attributes of files has been
updated to ensure that `wasi-libc`'s `isatty` function works as intended.
[3696](https://github.com/bytecodealliance/wasmtime/pull/3696)

* A benign debug assertion related to `externref` and garbage-collection has
been fixed.
[3734](https://github.com/bytecodealliance/wasmtime/pull/3734)

Added

* Function names are now automatically demangled when informing profilers of
regions of JIT code to apply Rust-specific demangling rules if applicable.
[3683](https://github.com/bytecodealliance/wasmtime/pull/3683)

* Support for profiling JIT-generated trampolines with VTune has been added.
[3687](https://github.com/bytecodealliance/wasmtime/pull/3687)

* Wasmtime now supports a new method of async preemption dubbed "epoch-based
interruption" which is intended to be much more efficient than the current
fuel-based method of preemption.
[3699](https://github.com/bytecodealliance/wasmtime/pull/3699)

* On Linux Wasmtime will now by default use copy-on-write mappings to initialize
memories of wasm modules where possible, accelerating instantiation by
avoiding costly memory copies. When combined with the pooling allocator this
can also be used to speed up instance-reuse cases due to fewer syscalls to
change memory mappings being necessary.
[3697](https://github.com/bytecodealliance/wasmtime/pull/3697)
[3738](https://github.com/bytecodealliance/wasmtime/pull/3738)
[3760](https://github.com/bytecodealliance/wasmtime/pull/3760)

* Wasmtime now supports the recently-added `sock_accept` WASI function.
[3711](https://github.com/bytecodealliance/wasmtime/pull/3711)

* Cranelift now has support for specifying blocks as cold.
[3698](https://github.com/bytecodealliance/wasmtime/pull/3698)

Changed

* Many more instructions for the x64 backend have been migrated to ISLE,
additionally with refactorings to make incorrect lowerings harder to
accidentally write.
[3653](https://github.com/bytecodealliance/wasmtime/pull/3653)
[3659](https://github.com/bytecodealliance/wasmtime/pull/3659)
[3681](https://github.com/bytecodealliance/wasmtime/pull/3681)
[3686](https://github.com/bytecodealliance/wasmtime/pull/3686)
[3688](https://github.com/bytecodealliance/wasmtime/pull/3688)
[3690](https://github.com/bytecodealliance/wasmtime/pull/3690)
[3752](https://github.com/bytecodealliance/wasmtime/pull/3752)

* More instructions in the aarch64 backend are now lowered with ISLE.
[3658](https://github.com/bytecodealliance/wasmtime/pull/3658)
[3662](https://github.com/bytecodealliance/wasmtime/pull/3662)

* The s390x backend's lowering rules are now almost entirely defined with ISLE.
[3702](https://github.com/bytecodealliance/wasmtime/pull/3702)
[3703](https://github.com/bytecodealliance/wasmtime/pull/3703)
[3706](https://github.com/bytecodealliance/wasmtime/pull/3706)
[3717](https://github.com/bytecodealliance/wasmtime/pull/3717)
[3723](https://github.com/bytecodealliance/wasmtime/pull/3723)
[3724](https://github.com/bytecodealliance/wasmtime/pull/3724)

* Instantiation of modules in Wasmtime has been further optimized now that the
copy-on-write memory initialization removed the previously most-expensive part
of instantiating a module.
[3727](https://github.com/bytecodealliance/wasmtime/pull/3727)
[3739](https://github.com/bytecodealliance/wasmtime/pull/3739)
[3741](https://github.com/bytecodealliance/wasmtime/pull/3741)
[3742](https://github.com/bytecodealliance/wasmtime/pull/3742)

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

0.33.1

Released 2022-02-16.

Security Fixes

* [CVE-2022-23636](https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-88xq-w8cq-xfg7):
Fixed an invalid drop of a partially-initialized instance in the pooling instance
allocator.

0.33.0

Not secure
Released 2022-01-05.

Added

* Compiled wasm modules may now optionally omit debugging information about
mapping addresses to source locations, resulting in smaller binaries.
[3598](https://github.com/bytecodealliance/wasmtime/pull/3598)

* The WebAssembly SIMD proposal is now enabled by default.
[3601](https://github.com/bytecodealliance/wasmtime/pull/3601)

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

0.32.1

Released 2022-01-04.

Fixed

* Cranelift: remove recently-added build dependency on `sha2` to allow usage in
some dependency-sensitive environments, by computing ISLE manifest hashes
with a different hash function.
[3619](https://github.com/bytecodealliance/wasmtime/pull/3619)

* Cranelift: fixed 8- and 16-bit behavior of popcount (bit population count)
instruction. Does not affect Wasm frontend.
[3617](https://github.com/bytecodealliance/wasmtime/pull/3617)

* Cranelift: fixed miscompilation of 8- and 16-bit bit-rotate instructions.
Does not affect Wasm frontend.
[3610](https://github.com/bytecodealliance/wasmtime/pull/3610)

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

0.32.0

Not secure
Released 2021-12-13.

Added

* A new configuration option has been added to force using a "static" memory
style to automatically limit growth of memories in some configurations.
[3503](https://github.com/bytecodealliance/wasmtime/pull/3503)

* The `InstancePre<T>` type now implements `Clone`.
[3510](https://github.com/bytecodealliance/wasmtime/pull/3510)

* Cranelift's instruction selection process has begun to be migrated towards the
ISLE compiler and definition language.
[3506](https://github.com/bytecodealliance/wasmtime/pull/3506)

* A `pooling-allocator` feature has been added, which is on-by-default, to
disable the pooling allocator at compile time.
[3514](https://github.com/bytecodealliance/wasmtime/pull/3514)

Fixed

* A possible panic when parsing a WebAssembly `name` section has been fixed.
[3509](https://github.com/bytecodealliance/wasmtime/pull/3509)

* Generating native DWARF information for some C-produced modules has been
fixed, notably those where there may be DWARF about dead code.
[3498](https://github.com/bytecodealliance/wasmtime/pull/3498)

* A number of SIMD code generation bugs have been fixed in the x64 backend
by migrating their lowerings to ISLE.

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

0.31.0

Not secure
Released 2021-10-29.

Added

* New `Func::new_unchecked` and `Func::call_unchecked` APIs have been added with
accompanying functions in the C API to improve the performance of calls into
wasm and the host in the C API.
[3350](https://github.com/bytecodealliance/wasmtime/pull/3350)

* Release binaries are now available for the s390x-unknown-linux-gnu
architecture.
[3372](https://github.com/bytecodealliance/wasmtime/pull/3372)

* A new `ResourceLimiterAsync` trait is added which allows asynchronous blocking
of WebAssembly on instructions such as `memory.grow`.
[3393](https://github.com/bytecodealliance/wasmtime/pull/3393)

Changed

* The `Func::call` method now takes a slice to write the results into rather
than returning a boxed slice.
[3319](https://github.com/bytecodealliance/wasmtime/pull/3319)

* Trampolines are now covered when jitdump profiling is enabled.
[3344](https://github.com/bytecodealliance/wasmtime/pull/3344)

Fixed

* Debugging with GDB has been fixed on Windows.
[3373](https://github.com/bytecodealliance/wasmtime/pull/3373)

* Some quadradic behavior in Wasmtime's compilation of modules has been fixed.
[3469](https://github.com/bytecodealliance/wasmtime/pull/3469)
[3466](https://github.com/bytecodealliance/wasmtime/pull/3466)

* Bounds-checks for wasm memory accesses in certain non-default configurations
have been fixed to correctly allow loads at the end of the address space.
[3462](https://github.com/bytecodealliance/wasmtime/pull/3462)

* When type-checking memories and tables for satisfying instance imports the
runtime size of the table/memory is now consulted instead of the object's
original type.
[3450](https://github.com/bytecodealliance/wasmtime/pull/3450)

Removed

* The Lightbeam backend has been removed, as per [RFC 14].
[3390](https://github.com/bytecodealliance/wasmtime/pull/3390)

[RFC 14]: https://github.com/bytecodealliance/rfcs/pull/14

* Cranelift's old x86 backend has been removed, as per [RFC 12].
[3309](https://github.com/bytecodealliance/wasmtime/pull/3009)

[RFC 12]: https://github.com/bytecodealliance/rfcs/pull/12

Page 13 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.