v18.0.0: Release Wasmtime 18.0.0 (#7958)
18.0.0
Released 2024-02-20.
Added
-
The
wasmtime-c-api-implcrate is now published on crates.io.
#7837 -
A new
EngineWeaktype enables holding a weak pointer to an engine with the
ability to dynamically and fallibly upgrade it to anEngine.
#7797 -
The WebAssembly tail calls proposal can now be enabled through the C API.
#7811 -
The import and export types of a
Componentcan now be inspected at runtime.
#7804 -
New APIs/types have been added to support a faster version of looking up
module exports without using string lookups withModule::get_export_index.
#7828
Changed
-
Owned resources represented with
ResourceAnycan now be passed as arguments
to functions that require aborrow<T>parameter.
#7783 -
Generated structures from
wasmtime::component::bindgen!for exported
interfaces are now all renamed toGuestto avoid conflicting with WIT names.
#7794 -
Guest profiler output will now automatically demangle symbols.
#7809 -
The
wasmtimecrate now has aruntimeCargo feature which, if disabled,
enables building Wasmtime with only the ability to compile WebAssembly
modules. This enables compiling Wasmtime's compilation infrastructure, for
example, to WebAssembly itself.
#7766 -
Support for the old
wasi-commoncrate and the original implementation of
"WASIp1" aka "preview1" is being deprecated in thewasmtime-wasicrate.
Users should migrate to thewasmtime_wasi::preview2implementation, which
supports both WASIp1 and WASIp2, as in the next release the
wasi-common-based reexports ofwasmtime-wasiwill be deleted.
#7881