Released 2022-07-20
Added
* Initial support for shared memories and the `threads` WebAssembly proposal
has been added. Note that this feature is still experimental and not ready
for production use yet.
[4187](https://github.com/bytecodealliance/wasmtime/pull/4187)
* A new `Linker::define_unknown_imports_as_traps` method and
`--trap-unknown-imports` CLI flag have been added to conveniently support
running modules with imports that aren't dynamically called at runtime.
[4312](https://github.com/bytecodealliance/wasmtime/pull/4312)
* The VTune profiling strategy can now be selected through the C API.
[4316](https://github.com/bytecodealliance/wasmtime/pull/4316)
Changed
* Some methods on the `Config` structure now return `&mut Self` instead of
`Result<&mut Self>` since the validation is deferred until `Engine::new`:
`profiler`, `cranelift_flag_enable`, `cranelift_flag_set`, `max_wasm_stack`,
`async_stack_size`, and `strategy`.
[4252](https://github.com/bytecodealliance/wasmtime/pull/4252)
[4262](https://github.com/bytecodealliance/wasmtime/pull/4262)
* Parallel compilation of WebAssembly modules is now enabled in the C API by
default.
[4270](https://github.com/bytecodealliance/wasmtime/pull/4270)
* Implicit Cargo features of the `wasmtime` introduced through `optional`
dependencies may have been removed since namespaced features are now used.
It's recommended to only used the set of named `[features]` for Wasmtime.
[4293](https://github.com/bytecodealliance/wasmtime/pull/4293)
* Register allocation has fixed a few issues related to excessive memory usage
at compile time.
[4324](https://github.com/bytecodealliance/wasmtime/pull/4324)
Fixed
* A refactor of `Config` was made to fix an issue that the order of calls to `Config`
matters now, which may lead to unexpected behavior.
[4252](https://github.com/bytecodealliance/wasmtime/pull/4252)
[4262](https://github.com/bytecodealliance/wasmtime/pull/4262)
* Wasmtime has been fixed to work on SSE2-only x86\_64 platforms when the
`simd` feature is disabled in `Config`.
[4231](https://github.com/bytecodealliance/wasmtime/pull/4231)
* Generation of platform-specific unwinding information is disabled if
`wasm_backtrace` and `wasm_reference_types` are both disabled.
[4351](https://github.com/bytecodealliance/wasmtime/pull/4351)
--------------------------------------------------------------------------------