Skip to content

v0.10.1

Compare
Choose a tag to compare
@dcodeIO dcodeIO released this 12 Jun 01:26

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