Releases: AssemblyScript/assemblyscript
Releases · AssemblyScript/assemblyscript
v0.14.0
0.14.0 (2020-07-17)
Bug Fixes
chore
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-addedcall_indirect
builtin, but typical AS functions must now be called idiomatically. - The
anyref
type has been renamed toexternref
and support for externrefnull
values has been temporarily disabled.
v0.13.8
v0.13.7
v0.13.6
v0.13.5
v0.13.4
v0.13.3
v0.13.2
v0.13.1
v0.13.0
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 beforethis
is either implicitly or explicitly returned from the constructor, passed to another function or another instance method is called onthis
. Overall the behavior is similar to, but not exactly the same as--strictPropertyInitialization
in TypeScript.