Skip to content

Latest commit

 

History

History
306 lines (146 loc) · 12 KB

CHANGELOG.md

File metadata and controls

306 lines (146 loc) · 12 KB

5.11.0 (2024-03-15)

Features

  • fix text representation of some ref and relaxed_simd ops (#144) (41a16d5)

5.10.0 (2024-03-14)

Features

  • implement exnref type and try_table opcode. (#141) (5aa20fd)

5.9.0 (2023-11-16)

Features

  • rename extern.internalize and extern.externalize instructions (#138) (040e8d8)

5.8.0 (2023-09-28)

Features

5.7.0 (2023-06-16)

Features

  • extend 0xfd prefix codespace; add relaxed_simd ops. (#135) (c6243c7)

5.6.0 (2023-05-19)

Features

  • sync op and type codes for GC proposal (#133) (ce821b5)

5.5.0 (2023-05-12)

Features

  • update wabt; rename memory insts and tag ops (#134) (f895bbb)

5.4.0 (2021-10-12)

Bug Fixes

  • prevent negative name subsection entry length (c9eeec7)

Features

  • add tests for negative name subsection length (b5d8d83)

5.3.0 (2021-09-20)

Bug Fixes

  • escape export name strings §6.3.3 (1c0d874)

Features

  • add tests for escaped export name strings (8c27bdf)
  • update GC proposal support to "milestone 4" (5d63bb6)

5.2.0 (2021-05-31)

Features

  • implement br_on_non_null too (e5415ae)
  • implement more instructions (08c1f87)

5.1.1 (2021-04-26)

Bug Fixes

  • missing initializer in devtools name generator for exceptions (a35948b)

5.1.0 (2021-04-15)

Features

  • add support for "exception handling" proposal (8dbd8c8)

5.0.2 (2021-03-25)

Bug Fixes

  • simd: update wabt.js and remove/unskip simd tests (#95) (ce582b7)

5.0.1 (2021-03-04)

Bug Fixes

  • simd: update SIMD opcodes (648fff5)

5.0.0 (2021-02-24)

Features

  • add support for WasmGC proposal (5d4e5a0)

BREAKING CHANGES

  • 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)

Bug Fixes

  • both members of IFunctionBodyOffset are mandatory numbers (7383b87)

BREAKING CHANGES

  • the start and end fields of IFunctionBodyOffset were optional members before.

3.3.1 (2020-10-27)

Bug Fixes

  • update data section support (1dc9f39)

3.3.0 (2020-10-24)

Features

  • 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)

Bug Fixes

  • print opcodes in errors in hexadecimal form (687ba47)

3.2.0 (2020-10-13)

Features

  • support some extended name subsections (d3efc60)

3.1.3 (2020-10-12)

Bug Fixes

  • ignore unsupported "name" subsections (652f0f7)

3.1.2 (2020-08-26)

Bug Fixes

  • extensions have an leb128 opcode (#77) (149816c)

3.1.1 (2020-08-19)

Bug Fixes

3.1.0 (2020-07-13)

Bug Fixes

  • make chunked parsing work for element entries (34d35d0), closes #22

Features

  • add tests for chunked disassembly (4976b44)

3.0.0 (2020-06-24)

  • revert!: add option to truncate disassembly (2eb0025), closes #30

BREAKING CHANGES

  • 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)

Bug Fixes

  • imports need to use .js suffix to work correctly (64a7f77)

2.2.4 (2020-06-23)

Bug Fixes

2.2.3 (2020-06-21)

Bug Fixes

  • correct import from "WasmParser" in "WasmDis.ts" (8abb34b)

2.2.2 (2020-06-16)

Bug Fixes

  • grow_memory -> memory.grow (4bf7233)

2.2.1 (2020-06-11)

Bug Fixes

  • make dist/esm output ES2015 compatible (f2c16cf)

2.2.0 (2020-06-10)

Features

  • add support for inline export notation (c730a88), closes #56

2.1.0 (2020-06-10)

Features

  • use abbreviated syntax for all imports (39ee77c), closes #56

2.0.0 (2020-06-10)

Bug Fixes

  • print data section entries in a single line (e2aa667)

Features

  • remove type section from disassembly (d61d67d), closes #56

BREAKING CHANGES

  • 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.