Skip to content

Releases: AssemblyScript/assemblyscript

v0.26.5

20 Jan 01:37
eb60348
Compare
Choose a tag to compare

Bug fixes

  • Correctly analyze ParenthesizedExpression and FunctionExpression in parser (#2605) (#2620) (c0a0fd0)

Other

v0.26.4

18 Jan 01:29
Compare
Choose a tag to compare

Bug fixes

v0.26.3

14 Jan 01:23
6a7aaef
Compare
Choose a tag to compare

New features

v0.26.2

13 Jan 01:29
fc52230
Compare
Choose a tag to compare

Bug fixes

  • Maintain onNewLine state on subsequent lookahead (#2613) (fc52230)

Other

v0.26.1

09 Jan 01:26
Compare
Choose a tag to compare

Bug fixes

  • Mitigate endless loop in (invalid) override discovery (d46bfeb)
  • Check ASI upon unusual trailing expressions (#2252) (282d924)

Other

  • [NFC] Simplify lookup tables with reinterprect casts (#2609) (c9297db)

v0.26.0

07 Jan 01:25
Compare
Choose a tag to compare

Breaking changes

  • Add LUB computation for class types (#2594) (4b3b390)
    Binary and ternary expressions now compute and evaluate to the least upper bound of two not identical class type inputs in the absence of a better fitting contextual type. Technically a breaking change, yet likely without noticeable effects on existing code.

Bug fixes

  • Defuse assert in lookupPropertyAccessExpression after prior error (82812de)
  • Support trailing comma in function type parameters (#2608) (1ff71e5)

Other

v0.25.2

23 Dec 01:24
7a35ff8
Compare
Choose a tag to compare

New features

  • Add --uncheckedBehavior to customize the use of unchecked() (#2575) (7a35ff8)

Bug fixes

  • Fix lifetime confusion in shadow stack pass (#2596) (d3410f4)

Other

v0.25.1

15 Dec 01:38
1d0451a
Compare
Choose a tag to compare

Bug fixes

  • Use constructor signature for class decorators (#2587) (1d0451a)
  • Do proper subtype tests in instanceof (#2588) (78b3260)

Other

  • Remove unchecked indexed set on normal arrays (#2586) (b3cffa3)

v0.25.0

06 Dec 01:27
378659a
Compare
Choose a tag to compare

Breaking changes

  • Fix variable initialization checks / revise flow logic (#2578) (6717de0)
    Initialization of global variables sometimes wasn't guaranteed before, allowing unsafe behavior if initialization indeed wasn't performed before access. To mitigate, variables from now on require either an initializer, a primitive type with a trivial default value (typically 0), a nullable type (if a reference, defaulting to null) or otherwise annotation with definitive assignment (i.e. let someObject!: ..., then inserting a runtime check upon access).

Other

v0.24.1

17 Nov 01:52
8ae086d
Compare
Choose a tag to compare

Bug fixes

  • Bindings: Expect memory growth when lowering references (#2568) (8ae086d)
  • Defuse assert in finishResolveClass (#2567) (cb982b1)