v25.0.0: Release Wasmtime 25.0.0 (#9289)
25.0.0
Released 2024-09-20.
Added
-
The WinML backend of wasmtime-wasi-nn now supports FP16 and I64.
#8964 -
Pooling allocator configuration options for table elements and core instance
size can now be changed on the CLI.
#9138 -
Wasmtime now supports the extended-const WebAssembly proposal.
#9141 -
The
wasmtime
crate embedding API now hasArrayRef
for allocating wasm GC
arrays.
#9145 -
Cranelift now has a
stack_switch
CLIF instruction to be used with the
WebAssembly stack switching proposal.
#9078 -
There are now more constructors available on
bindgen!
-generated structures
for component exports now which use instantiated components rather than
pre-instantiated components.
#9177
Changed
-
The host bindgen macro now accepts a new
verbose_tracing
option, which will
trace the value oflist
arguments. The new behavior of thetracing
option
is that it does not printlist
values withoutverbose_tracing
also being
present.
#9262 -
Wasmtime's support for WASI is now listed with the 0.2.1 version instead of
0.2.0. This is expected to not cause fallout or breakage, but please open an
issue if you see any problems.
#9063 -
Work continues on Winch's AArch64 backend.
#9114
#9092
#9171 -
Component model resource methods can now be generated as
async
and will do
so by default if async is enabled for all functions.
#9091 -
Work has continued on Wasmtime's interpreter backend, Pulley.
#9089 -
The internal implementation of
input-stream
andoutput-stream
for
filesystems inwasmtime-wasi
have been refactored to directly implement
the corresponding host traits. This additionally helps cleanup the internal
organization of host-side resources inwasmtime-wasi
.
#9129 -
Wasmtime now uses the new "user" stack maps in Cranelift rather than the old
regalloc-based stack maps for GC references.
#9082 -
Wasmtime's handling of WebAssembly features now works slightly differently
from before to provide better error messages and fewer panics on unsupported
WebAssembly features depending on compiler and target selection. Additionally
the reference-types WebAssembly proposal is always on-by-default regardless of
crate features.
#9158
#9162 -
The
wasmtime
CLI will now use the async version of I/O where possible to
properly support-Wtimeout
and timing out instances blocked in I/O.
#9184
Fixed
-
Use
tracing::Instrument
in generated bindings when tracing and async are
enabled, ensuring that spans aren't present in traces from unrelated async
tasks.
#9217
#9263 -
Completed support for the
CallHook
API when using the component model.
#9196 -
The compile time for a component model
enum
type with many cases should be
much improved now.
#9122 -
Some minor bugfixes have been made for when Wasmtime is working with split
DWARF in WebAssembly files.
#9109
#9132
#9134
#9139
#9151 -
An issue with bounds checks and dynamic checks has been fixed in Winch to
ensure bounds checks are correctly implemented.
#9156