v0.8.2 - 2026-06-14
WAT/WASM Host ABI Alignment
This patch release tightens the host↔wasm list ABI so JavaScript hosts can pass numeric arrays
into list-parameter exports and read list results through zero-copy Float64Array views without
alignment hazards.
WAT/WASM Runtime
- Added
__ml_list_alloc(n), the host-side dual of the existing wasm→host list readers. Hosts can
allocate a list block, fill the item region through aFloat64Arrayview, and pass the pointer
directly to a list-parameter export. - Made
$ml_allocround the bump cursor to an 8-byte boundary before every fresh allocation, so
string allocations can no longer leave following list headers/items misaligned. - Kept class-recycled blocks aligned because they originate from the aligned bump allocator path.
Docs
- Corrected the documented
math.logaccuracy to the measured ~2e-10 range. - Clarified that WAT
round(x)follows Python / IEEE-754 round-half-to-even semantics via
f64.nearest, rather than JavaScriptMath.roundsemantics.
Packaging
- Bumped package version to
0.8.2.