Releases: AssemblyScript/assemblyscript
Releases · AssemblyScript/assemblyscript
v0.26.0
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
v0.25.1
v0.25.0
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 (typically0
), a nullable type (if a reference, defaulting tonull
) or otherwise annotation with definitive assignment (i.e.let someObject!: ...
, then inserting a runtime check upon access).
Other
v0.24.1
v0.24.0
v0.23.1
v0.23.0
Breaking changes
- Remove no longer used half of RTTI (#2555) (a565d73)
RTTI at__rtti_base
no longer contains base class ids and now is just type flags. - Make class fields a special kind of property (#2548) (0fd4db2)
Element kinds FIELD and FIELD_PROTOTYPE and elements Field and FieldPrototype have been removed. Instead, Property inherit previous Field functionality, indicated by property.isField.
Other
- Fix CI publishing (#2557) (a150a49)
- Add remaining heap type APIs (#2556) (158b6b6)
- Update GitHub actions to most recent versions (#2541) (5d18a71)
- Add heap type utility definitions (#2549) (6b9f71e)
- Move module creation to program (#2550) (625bf0d)
- Expose import maps when generating web template (#2542) (c7970b5)
- Remove superfluous casts in TLSF (#2543) (f0af970)