Skip to content

Releases: AssemblyScript/assemblyscript

v0.17.7

10 Dec 00:52
879e10f
Compare
Choose a tag to compare

Bug fixes

  • Fix invalid and remove unnecessary string encoding arguments in asc (#1570) (879e10f)

v0.17.6

09 Dec 00:52
1f611c6
Compare
Choose a tag to compare

Bug fixes

  • Account for virtual stub finalization discovering more virtual calls (#1569) (1f611c6)

Other

v0.17.5

08 Dec 00:50
38f7705
Compare
Choose a tag to compare

Bug fixes

  • Fix parseExp reading oob during parseFloat (#1567) (38f7705)

v0.17.4

03 Dec 00:48
1fcc374
Compare
Choose a tag to compare

Bug fixes

  • Fix wrong reallocations in String#replaceAll + refactoring (#1564) (1fcc374)

v0.17.3

24 Nov 00:44
bdee862
Compare
Choose a tag to compare

New features

Bug fixes

  • Update Binaryen constants to reflect opcode renumbering (#1552) (00bc624)

Other

  • Add more detailed release config for asconfig template (#1532) (bdee862)
  • Add definitions for RTrace hooks (#1558) (34dd7a0)

v0.17.2

10 Nov 00:43
d0a2c9e
Compare
Choose a tag to compare

Bug fixes

  • Fix local confusion in builtin min/max/rotl/rotr (#1540) (d0a2c9e)

Other

  • Update Binaryen to 98.0.0-nightly.20201109 (#1531) (0204ff3)
  • Update Binaryen to 98.0.0-nightly.20201030 / update pass pipeline (#1526) (353807e)

v0.17.1

29 Oct 01:03
c7ba137
Compare
Choose a tag to compare

Bug fixes

  • Add package exports fallback for the CLI, dist files, etc. (#1527) (019515e)

Other

v0.17.0

26 Oct 01:02
cf20c6c
Compare
Choose a tag to compare

Breaking changes

  • Make Rtrace ESM by default, with UMD fallback (#1515) (2e249e4)
    Rtrace is now an ES module by default as well.
  • Generalize runtime (#1503) (8c97612)
    The __alloc family of built-ins has been split, now being named __new. __renew, __newString, __newArray etc. when dealing with managed objects. Furthermore, internal memory layouts of managed objects have changed. As a result, the new heap.alloc/realloc/free APIs now allow working with unmanaged heap memory more naturally and do not imply a managed object header anymore, more closely resembling malloc/realloc/free in C.
  • Make loader ESM by default, with UMD fallback (#1513) (ff80a4e)
    The loader is now an ES module by default so it works out of the box on the web. Users of older node.js versions may have to switch to require("@assemblyscript/loader/umd").
  • Wrap RHS of SMI shifts to maximum size of type in bits (#1511) (9b57abd)
    When shifting a small integer value of type i8/u8 or i16/u16, only the 3 respectively 4 least significant bits of the RHS value affect the result, analogous to the result of an i32.shl only being affected by the 5 least significant bits of the RHS value. Example: someI8 << 8 previously produced the value 0, but now produces someI8 due to masking the RHS as 8 & 7 = 0 (3 bits).

Bug fixes

  • Use explicit cast in Usize/Isize#toString (#1517) (bee3b73)
  • Fix publishing / update dependencies (#1516) (32d10b4)
  • Keep recompiling when unifying local flags in loops (a0a9da7)

Other

v0.16.1

17 Oct 00:58
dad5add
Compare
Choose a tag to compare

0.16.1 (2020-10-17)

Bug Fixes

  • Fix conflicting imports type definition in loader (#1508) (dad5add)

v0.16.0

16 Oct 00:58
81fda4c
Compare
Choose a tag to compare

0.16.0 (2020-10-16)

Bug Fixes

  • Small integer rotl/rotr should use temp variables (81fda4c)

  • Refactor binary expression compilation to be reusable in builtins (#1489) (a4dc45e), closes #1489

BREAKING CHANGES

  • The compiler's convertExpression does no longer take a wrap argument.