Skip to content

Releases: AssemblyScript/assemblyscript

v0.14.0

17 Jul 00:35
7de4745
Compare
Choose a tag to compare

0.14.0 (2020-07-17)

Bug Fixes

  • Add a node representing an omitted expression (#1394) (f131785)

chore

  • Rename anyref to externref to match proposal change (#1319) (0234c8b)

Features

BREAKING CHANGES

  • Functions are now represented by a managed Function object, and are no longer just function table indexes under the hood. As such, returning a function reference to JS now returns a memory address. External functions imported as part of the function table can be called by index with the re-added call_indirect builtin, but typical AS functions must now be called idiomatically.
  • The anyref type has been renamed to externref and support for externref null values has been temporarily disabled.

v0.13.8

16 Jul 00:34
1b38b2a
Compare
Choose a tag to compare

0.13.8 (2020-07-16)

Bug Fixes

  • Respect outFile when detecting no output in asc (#1391) (1b38b2a)
  • Restrict leading zero before decimal separator (#1389) (ec86d41)

v0.13.7

14 Jul 00:34
8941652
Compare
Choose a tag to compare

0.13.7 (2020-07-14)

Features

  • Support separators in floating point literals (#1385) (8941652)

v0.13.6

11 Jul 00:34
3f97e1a
Compare
Choose a tag to compare

0.13.6 (2020-07-11)

Bug Fixes

  • Fix incorrect callback return when validating modules in asc (#1383) (3f97e1a)

v0.13.5

10 Jul 00:34
1d86695
Compare
Choose a tag to compare

0.13.5 (2020-07-10)

Bug Fixes

v0.13.4

08 Jul 00:33
4fd9c29
Compare
Choose a tag to compare

0.13.4 (2020-07-08)

Bug Fixes

  • Do not serialize ? on optional parameters with initializer in ASTBuilder (#1377) (4fd9c29)

v0.13.3

05 Jul 00:34
68db679
Compare
Choose a tag to compare

0.13.3 (2020-07-05)

Bug Fixes

  • Support separating interface members with commas (#1375) (68db679)

v0.13.2

03 Jul 00:32
ed1cd09
Compare
Choose a tag to compare

0.13.2 (2020-07-03)

Bug Fixes

  • Emit text format before converting to JS (#1372) (ed1cd09)

Features

  • Improve pass pipeline when flattening code (#1368) (2a29cab)
  • Support lazy global and function exports (#1371) (af3b489)

v0.13.1

02 Jul 00:33
36c706d
Compare
Choose a tag to compare

0.13.1 (2020-07-02)

Bug Fixes

  • Handle strict field initialization in inlined ctors (#1369) (36c706d)

v0.13.0

01 Jul 00:34
57a55d3
Compare
Choose a tag to compare

0.13.0 (2020-07-01)

BREAKING CHANGES

  • Instance fields not definitely assigned within the constructor now yield an error, unless the field's name is annotated with a trailing ! (checked at runtime), is of a nullable or is of a value type (initialized to zero). Fields of non-nullable reference types must be assigned before this is either implicitly or explicitly returned from the constructor, passed to another function or another instance method is called on this. Overall the behavior is similar to, but not exactly the same as --strictPropertyInitialization in TypeScript.