Releases: AssemblyScript/assemblyscript
Releases · AssemblyScript/assemblyscript
v0.20.19
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
New features
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
Bug fixes
Other
- [NFC] Refactor fill methos of all arrays (#2406) (aec8eb3)
- Refactor uniqueMap. Add mergeMaps (#2394) (2a20187)
- Optimize indent util (#2395) (7680aa1)
- Refactor stringify methods of Date (#2398) (876f9ff)
- Refactor types.ts (#2396) (3e0462b)
- Optimize util for calculation year, month, day in Date (#2397) (f9de611)
- Improve valueof definitions. Add some extra tests (#2390) (24a908d)
- Update esbuild & typescript dependencies (#2389) (71b02d4)
v0.20.16
v0.20.15
v0.20.14
New features
- Add
isVector
builtin (#2369) (2a55449) - Add
override
keyword (#2366) (9cbb728) - Add overflow detection during parsing integer literals (#2365) (1d05e8d)
- Add more document methods for bindings/dom.ts (#2336) (96599c6)
- Add
--disableWarning
option to disable compilation warning (#2341) (4b73edb)
Bug fixes
- Fix compiler crash when certain operators used on types #3 (#2309) (7e1ff30)
- Fix non-nullable assertion for externref-s (#2337) (9d8d4fa)
- Fix resolve
typeof
type (#2342) (ffbcbb2) - Fix incorrect error message for declaration (#2373) (1b02776)
- Fix type of slice in definitions (#2371) (42831a8)
- Add memory & table for esm binding's exports (#2344) (2d18059)
- Add coercion for unsigned 64-bit types for bindings (#2350) (fa4a6ef)
Other
- Add fast-path for
StaticArray
lowering if values isTypedArray
in bindings (#2370) (c74ef5e) - Introduce faster and memory optimal
BitSet
as replacement ofSet<i32>
(#2361) (17e4647) - Add engine requirements for package.json (#2378) (75dbcfd)
- Add workaround for Math.pow constant folding (only for JS builds) (#2346) (ec0b0c8)
- Fallback to
_start
value for--exportStart
if argument was skipped (#2343) (2ccea6b) - Use
unchecked
array access for Map#values/keys and Set#values methods (#2339) (1465322)