5.2.0 (2021-05-31)
5.1.1 (2021-04-26)
- missing initializer in devtools name generator for exceptions (a35948b)
5.1.0 (2021-04-15)
- add support for "exception handling" proposal (8dbd8c8)
5.0.2 (2021-03-25)
5.0.1 (2021-03-04)
- simd: update SIMD opcodes (648fff5)
5.0.0 (2021-02-24)
- add support for WasmGC proposal (5d4e5a0)
- IFunctionType is replaced by the more general ITypeEntry.
- Type is now a class; the former enum is now called TypeKind. Several other interfaces now use Type instances instead of numbers to describe types.
4.0.0 (2020-11-03)
- both members of IFunctionBodyOffset are mandatory numbers (7383b87)
- the
start
andend
fields ofIFunctionBodyOffset
were optional members before.
3.3.1 (2020-10-27)
- update data section support (1dc9f39)
3.3.0 (2020-10-24)
- add support for i32x4.dot_i16x8_s (ebd88d6)
- add support for pmin/pmax (2f03191)
- add support for v128.load32_zero and v128.load64_zero (51f00f5)
3.2.1 (2020-10-23)
- print opcodes in errors in hexadecimal form (687ba47)
3.2.0 (2020-10-13)
- support some extended name subsections (d3efc60)
3.1.3 (2020-10-12)
- ignore unsupported "name" subsections (652f0f7)
3.1.2 (2020-08-26)
3.1.1 (2020-08-19)
- threads: add atomic.fence (a9fd605), closes /github.com/WebAssembly/wabt/commit/d041025854ba2b00b3df9f308914c8aba05dcda9#diff-25d902c24283ab8cfbac54dfa101ad31
3.1.0 (2020-07-13)
- add tests for chunked disassembly (4976b44)
3.0.0 (2020-06-24)
- dropping the
WasmDisassembler#maxLines
feature that was introduced earlier.
The WasmDisassembler#maxLines
feature doesn't interact well
with the chunked disassembly machinery, in particular the
logic in getResult()
to avoid breaking def-use chains for
labels didn't play well with the maxLines
feature at all
(it would remove ;; -- text is truncated due to size --
marker when the line limit was reached).
Since there's already support for chunked disassembly built into wasmparser by design, that should be used instead.
2.2.5 (2020-06-23)
- imports need to use .js suffix to work correctly (64a7f77)
2.2.4 (2020-06-23)
- rename atomic.notify and *.atomic.wait (9d10a22), closes WebAssembly/threads#149
2.2.3 (2020-06-21)
- correct import from "WasmParser" in "WasmDis.ts" (8abb34b)
2.2.2 (2020-06-16)
grow_memory
->memory.grow
(4bf7233)
2.2.1 (2020-06-11)
- make
dist/esm
output ES2015 compatible (f2c16cf)
2.2.0 (2020-06-10)
2.1.0 (2020-06-10)
2.0.0 (2020-06-10)
- print data section entries in a single line (e2aa667)
- Disassembly output will no longer print all the types in the beginning by default.
The type section can be reconstructed from the implicit type information in the remainder of the disassembly, and is generally just cognitive overhead for developers, especially in the browser DevTools (see https://crbug.com/1092763 for relevant downstream issue in Chromium DevTools). Relying on the implicit type information is far more readable for humans and also avoids the need to dump all the types in the beginning, which take up precious space since both Chromium and Firefox DevTools limit the number of lines that are displayed for large Wasm modules.
This adds a skipTypes
option to WasmDisassembler
instances, which
can be used to restore the old behavior. By default this option is set
to true
.
This includes a fix to call_indirect
and return_call_indirect
,
where we had previously refered to the type by name, and now we
use the abbreviated form for printing types as well 1.