Releases: AssemblyScript/assemblyscript
Releases · AssemblyScript/assemblyscript
v0.27.2
New features
Bug fixes
- Update Binaryen to 112.0.0-nightly.20230411 (#2683) (f7571a4)
Emscripten lowered the default stack size of emitted modules to 64kb recently, easily producing stack overflows in the optimizer. This version of Binaryen increases stack size to the previous 5mb again.
Other
v0.27.1
Bug fixes
- Move compilation of instanceof helpers post override discovery (#2661) (9497c3d)
Other
v0.27.0
Breaking changes
- Check global uses more strictly (#2632) (5cbbf84)
Use of global variables (in the Wasm sense) is now checked more strictly to prevent undesirable execution order. If the compiler detects that it is possible that a variable might not have been initialized when accessed, a diagnostic is produced. It cannot be ruled out that some amount of existing code will be affected, since such checks are performed at runtime in JS but are proven at compile time in AS. If encountered, the fix is to move the variable's declaration up, say before the first invocation of a function (that might call another function) accessing the variable, so it is guaranteed that it is initialized before its first use.
Bug fixes
- Update this and return type in generated child class constructor (#2635) (941b0e1)
Other
v0.26.6
Bug fixes
- Handle all possible element kinds when walking exports (#2631) (e06c7bc)
- Diagnose not yet implemented 'in' operator (#2629) (7ccadf0)
Other
- Add parse methods to portable. Also fix couple type definitions (#2627) (4535263)
v0.26.5
Bug fixes
- Correctly analyze
ParenthesizedExpression
and FunctionExpression
in parser (#2605) (#2620) (c0a0fd0)
Other
v0.26.2
Bug fixes
- Maintain onNewLine state on subsequent lookahead (#2613) (fc52230)
Other
v0.26.1
Bug fixes
- Mitigate endless loop in (invalid) override discovery (d46bfeb)
- Check ASI upon unusual trailing expressions (#2252) (282d924)
Other
- [NFC] Simplify lookup tables with reinterprect casts (#2609) (c9297db)