Skip to content

Releases: AssemblyScript/assemblyscript

v0.21.6

07 Oct 02:22
f159298
Compare
Choose a tag to compare

Bug fixes

  • Properly handle multiple implemented interfaces (#2510) (3afcce8)

Other

v0.21.5

04 Oct 02:12
dc797a4
Compare
Choose a tag to compare

Bug fixes

  • Push to the inline stack after compiling arguments (#2527) (dc797a4)

Other

  • Fix link in CONTRIBUTING.md (#2528) (08a6b96)
  • Add two to four bytes utf8 character tests (#2495) (0ed65eb)
  • Support supplementary CPs in Unicode identifiers (#2522) (f8a775f)
  • [CI] Build respective other variant after bootstrap (#2523) (3135e7e)

v0.21.4

26 Sep 02:30
bf3bf34
Compare
Choose a tag to compare

Bug fixes

Other

v0.21.3

01 Sep 02:12
28bfe64
Compare
Choose a tag to compare

New features

  • Add warning about NaN invariant and -0.0 for direct comparisons (#2475) (6c79e39)

Bug fixes

  • Update Binaryen and fix #2482 (#2477) (8ae597d)
  • Disallow expressions with void type & references for some operations (#2474) (28bfe64)
  • Properly handle -0 literal for floating point context (#2478) (f52f612)
  • Proper parseFloat for signed zeros inputs (#2483) (12838ac)

Other

  • Enhance FunctionExpression type inference (#2458) (e06557c)
  • Add stringref expression ids (#2487) (b176649)
  • Simplify floating points comparison for Object.is (#2476) (525b2e1)
  • Add optimized path of Math.round for preferred size mode (#2479) (819d8a3)

v0.21.2

27 Aug 02:18
141e350
Compare
Choose a tag to compare

New features

  • Introduce new parse methods for builtin value types. Deprecate XX.parseInt/parseFloat (#2465) (12b3f35)

Bug fixes

  • Element access operator should derive index type properly from overloaded signature (#2468) (141e350)
  • Fix number of lines for f32x4.shuffle definition (#2459) (61317b4)

Other

v0.21.1

22 Aug 02:07
3ac6efd
Compare
Choose a tag to compare

Bug fixes

  • handle void to void during convertExpression (#2412) (707fc7a)
  • Fix resolveNamedType cannot resolve type parameter in contextual element (#2448) (b044b71)

Other

v0.21.0

21 Aug 02:04
a20c005
Compare
Choose a tag to compare

Breaking changes

New features

Bug fixes

  • Remove the parameter number limit for functionType infer (#2434) (a20c005)
  • Disallow "any to v128" or "v128 to any" conversions (#2442) (b0ca388)
  • Infer return type in implicit return arrow function (#2433) (f7beaac)
  • Properly check undefined exportStart option (#2453) (7406fa1)
  • Add missing type for i64_signbit input argument (#2454) (beda866)

Other

  • Add optimized for size float to bool conversion path (#2445) (11094c5)
  • Add debugInfo for compiler's Options (#2450) (114fd03)
  • Disable "preserveConstEnums" in tsconfig (#2440) (0e10552)
  • Reorganize & refactor diagnostic's utils. Add more const enums (#2438) (a81896e)

v0.20.19

16 Aug 02:09
256a6b0
Compare
Choose a tag to compare

New features

  • Add simd shuffle / swizzle aliases for i16x8, i32x4, i64x2, f32x4 and f64x2 (#2368) (e8ed2dd)
  • Make result of StaticArray#slice and StaticArray#concat as instance generics. Deprecate static methods (#2404) (847dbde)

Bug fixes

  • assert throwing expected 2 arguments but got 1 (#2435) (cf676d3)
  • Fix mixed up naming "upcast" <-> "downcast" for runtime checks (#2423) (5faef3a)

Other

  • Add warnings if entry contains imported / exported function or global with v128 type (#2429) (256a6b0)
  • Update binaryen (#2385) (bdfe551)
  • Prevent uses binaryFile and propose use outFile (#2380) (c6b4e84)
  • Move bswap to builtins. Remove bswap16 (#2417) (afa0e2d)
  • Cover the functionalities of SIMD with more test cases (#2420) (90bd9e8)
  • [NFC] Refactor using size operations (#2424) (cf750b7)
  • Add v128 case for makeNegOne (#2425) (64ac6a8)
  • Refactor branch / select sign checks from rshift to cmp with zero (#2426) (e612355)
  • Template literal optimization (#2432) (6cfd8b3)
  • Remove dead code of compiler.ts (#2428) (fd90fda)

v0.20.18

08 Aug 01:58
270d00d
Compare
Choose a tag to compare

New features

  • Automatically export runtime when necessary (#2383) (53af0e0)

Bug fixes

  • Fix endless recursion during dts generation (#2387) (1983883)
  • Add missing unit test cases to v128 of simd (#2384) (6ca63c7)

Other

  • Generalize TypedArray#set (#2388) (7db1006)
  • Refactor unary and binary methods in Module (#2411) (270d00d)
  • Revert #1353: revert runtime type check to compile time check for Array#flat (#2416) (9975301)
  • [cli] Update --exportRuntime option description (#2415) (84a06c8)
  • [bindings] Add size types for fast path lowering in StaticArray (#2414) (1fdf83f)

v0.20.17

07 Aug 02:06
aec8eb3
Compare
Choose a tag to compare

Bug fixes

Other