Releases: AssemblyScript/assemblyscript
Releases · AssemblyScript/assemblyscript
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.
v0.12.5
v0.12.4
v0.12.3
v0.12.2
v0.12.1
v0.12.0
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
BREAKING CHANGES
- The internal
dtoa/itoa_stream
helpers (unsafeNumber#toString
) inutil/number
have been renamed todtoa/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
0.11.0 (2020-06-14)
Code Refactoring
Features
BREAKING CHANGES
- The values of
ASC_TARGET
have been flipped, with JS (portable) now being0
, WASM32 being1
andWASM64
being2
. - 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 callingMath/f.pow
.