Skip to content

Releases: AssemblyScript/assemblyscript

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.

v0.12.5

27 Jun 00:27
e950f9b
Compare
Choose a tag to compare

0.12.5 (2020-06-27)

Bug Fixes

v0.12.4

26 Jun 00:27
40440f7
Compare
Choose a tag to compare

0.12.4 (2020-06-26)

Bug Fixes

v0.12.3

19 Jun 00:26
52850bc
Compare
Choose a tag to compare

0.12.3 (2020-06-19)

Bug Fixes

  • Fix assertion when trying to inline virtual (super) calls (#1346) (47a2af0)

v0.12.2

18 Jun 00:26
3163abb
Compare
Choose a tag to compare

0.12.2 (2020-06-18)

Features

  • Add options merge algorithm for use by asconfig (#1343) (3163abb)

v0.12.1

17 Jun 00:26
f81250a
Compare
Choose a tag to compare

0.12.1 (2020-06-17)

Bug Fixes

  • Fix compiler-internal UTF-8 encoding & decoding helpers (#1345) (4ed8acb)

v0.12.0

15 Jun 00:26
6dce0f2
Compare
Choose a tag to compare

0.12.0 (2020-06-15)

Bug Fixes

  • Fix version string in SDK dist files (#1336) (e5bfe15)
  • Prevent stack overflow in portable fromCharCodes/CodePoints (#1340) (6dce0f2)

Code Refactoring

  • Rename dtoa/itoa_stream to dtoa/itoa_buffered & simplify them (#1339) (0e398c4)

BREAKING CHANGES

  • The internal dtoa/itoa_stream helpers (unsafe Number#toString) in util/number have been renamed to dtoa/itoa_buffered, don't take a redundant offset argument anymore, and the underlying core implementation helpers are no longer exposed. Usage now is: dtoa_buffered(buffer + byteOffset, value)

v0.11.0

14 Jun 00:26
2ec7133
Compare
Choose a tag to compare

0.11.0 (2020-06-14)

Code Refactoring

Features

BREAKING CHANGES

  • The values of ASC_TARGET have been flipped, with JS (portable) now being 0, WASM32 being 1 and WASM64 being 2.
  • The result of a ** binary operation is now the common denominator integer if both operands are integers. Previously, the result was a float as if calling Math/f.pow.

v0.10.2

13 Jun 22:13
085aa7f
Compare
Choose a tag to compare

From v0.10.2 onwards we are switching to automated semantic releases. This tag is otherwise identical to v0.10.1.

v0.10.1

12 Jun 01:26
Compare
Choose a tag to compare

New features

  • Added an experimental GC finalization hook to perform custom cleanup on free
  • Implemented radix argument on Number#toString
  • Allow disabling arbitrary globals with --use TheGlobal=
  • Emit a warning when exporting a generic element with no concrete instances
  • Implemented portable variants of TypedArray.wrap
  • Use node-like resolution instead of relative paths in asinit-generated tsconfigs, if possible
  • Updated Binaryen to latest incl. support for f32x4/f64x2.ceil/floor/trunc/nearest

Relevant fixes

  • Fixed Array#flat definitions
  • Improved error messages on unusual usages of void, null and undefined types
  • Fixed a resolver issue when calling function expressions
  • Disabled aggressive ARC optimizations due to a pending issue
  • Fixed a compiler issue when referencing variables in their own initializer
  • Fixed an assertion on accesses to variables that failed to compile earlier
  • Fixed Wasm module exports reference in asinit-generated index file