@@ -4,8 +4,91 @@ Unreleased.
44
55### Added
66
7+ * WASIp3 support for ` wasi:http ` now implements ` Response::from_http ` to convert
8+ from standard Rust types to WASI types.
9+ [ #12063 ] ( https://github.com/bytecodealliance/wasmtime/pull/12063 )
10+
11+ * Cranelift now supports a "patchable" ABI which has a maximum number of
12+ arguments and clobbers no registers. This is paired as well with a new
13+ ` patchable_call ` instruction which supports being turned into NOPs at runtime.
14+ [ #12061 ] ( https://github.com/bytecodealliance/wasmtime/pull/12061 )
15+ [ #12101 ] ( https://github.com/bytecodealliance/wasmtime/pull/12101 )
16+
717### Changed
818
19+ * Support for the WebAssembly ` threads ` proposal is now classified as tier 2 by
20+ default. Additionally creation of ` SharedMemory ` is disabled by deafult behind
21+ a new config knob/CLI flag.
22+ [ #12036 ] ( https://github.com/bytecodealliance/wasmtime/pull/12036 )
23+
24+ * A variety of peephole-style optimizations have been added to Cranelift's
25+ optimization passes.
26+ [ #11994 ] ( https://github.com/bytecodealliance/wasmtime/pull/11994 )
27+ [ #11995 ] ( https://github.com/bytecodealliance/wasmtime/pull/11995 )
28+ [ #11996 ] ( https://github.com/bytecodealliance/wasmtime/pull/11996 )
29+ [ #11997 ] ( https://github.com/bytecodealliance/wasmtime/pull/11997 )
30+ [ #11998 ] ( https://github.com/bytecodealliance/wasmtime/pull/11998 )
31+ [ #11999 ] ( https://github.com/bytecodealliance/wasmtime/pull/11999 )
32+ [ #12000 ] ( https://github.com/bytecodealliance/wasmtime/pull/12000 )
33+ [ #12006 ] ( https://github.com/bytecodealliance/wasmtime/pull/12006 )
34+ [ #12008 ] ( https://github.com/bytecodealliance/wasmtime/pull/12008 )
35+
36+ * Component host functions have been slightly optimized to remove an ` Arc ` clone
37+ and reduce contention.
38+ [ #11987 ] ( https://github.com/bytecodealliance/wasmtime/pull/11987 )
39+
40+ * Support for component-model-async has been updated to account for the binary
41+ changes specified in [ WebAssembly/component-model #578 ] ( https://github.com/WebAssembly/component-model/pull/578 ) .
42+ [ #12031 ] ( https://github.com/bytecodealliance/wasmtime/pull/12031 )
43+
44+ * The ` UnsyncBoxBody ` type is now used everywhere in wasmtime-wasi-http instead
45+ of just in the wasip3 support.
46+ [ #12060 ] ( https://github.com/bytecodealliance/wasmtime/pull/12060 )
47+
48+ * Initial groundwork for gracefully handling OOM (e.g. returning an error
49+ instead of aborting) has been added.
50+ [ #12070 ] ( https://github.com/bytecodealliance/wasmtime/pull/12070 )
51+ [ #12089 ] ( https://github.com/bytecodealliance/wasmtime/pull/12089 )
52+
53+ * Wasmtime will create a private copy of code memory when guest debugging is
54+ enabled to assist with modifying code when adding/removing breakpoints.
55+ [ #12051 ] ( https://github.com/bytecodealliance/wasmtime/pull/12051 )
56+
57+ * The ` ResourceTable ` type will no longer use ` Tombstone ` when compiled in debug
58+ mode.
59+ [ #12114 ] ( https://github.com/bytecodealliance/wasmtime/pull/12114 )
60+
61+ * Intra-component future/stream reads/writes will now trap instead of
62+ accidentally being allowed.
63+ [ #12117 ] ( https://github.com/bytecodealliance/wasmtime/pull/12117 )
64+
65+ * Cranelift optimization rules have been tweaked after it was discovered that
66+ they could pessimize code containing long chains of computations.
67+ [ #12116 ] ( https://github.com/bytecodealliance/wasmtime/pull/12116 )
68+
69+ ### Fixed
70+
71+ * Compilation of ` i8x16.popcnt ` has been fixed in Winch for some potential
72+ inputs.
73+ [ #12010 ] ( https://github.com/bytecodealliance/wasmtime/pull/12010 )
74+
75+ * A panic in ` Instance::prepare_call ` for some component-model-async situations
76+ has been fixed.
77+ [ #12054 ] ( https://github.com/bytecodealliance/wasmtime/pull/12054 )
78+
79+ * An off-by-one error for lifting/lowering enums/variants with 255 cases has
80+ been fixed.
81+ [ #12066 ] ( https://github.com/bytecodealliance/wasmtime/pull/12066 )
82+
83+ * Restarting the read of a host future after cancellation has been fixed.
84+ [ #12093 ] ( https://github.com/bytecodealliance/wasmtime/pull/12093 )
85+
86+ * Compilation for OpenBSD on x86\_ 64 has been fixed.
87+ [ #12097 ] ( https://github.com/bytecodealliance/wasmtime/pull/12097 )
88+
89+ * Components containing a module type which exoprts a ` tag ` are now supported.
90+ [ #12125 ] ( https://github.com/bytecodealliance/wasmtime/pull/12125 )
91+
992--------------------------------------------------------------------------------
1093
1194Release notes for previous releases of Wasmtime can be found on the respective
0 commit comments