What's Changed
- feat:
sway-fmt-v2
preserves newline with given threshold by @kayagokalp in #2537 - Remove
forc json-abi
because it's not very useful on its own by @mohammadfawaz in #2580 - Remove known issue and fix issue number for another by @mohammadfawaz in #2590
- Annotate ItemStorage fields by @AlicanC in #2588
- Add math & bitwise ops to U256 type 2 by @rostyslavtyshko in #2445
- Update getting started section by @camiinthisthang in #2533
- Adds multiline formatting for
array
by @eureka-cpu in #2593 - Adds docstring for test macros by @eureka-cpu in #2576
- feat: check for dependency program type in dependency manifest validation by @kayagokalp in #2596
- Evaluate const decls before storage decls by @vaivaswatha in #2599
- Break/continue expressions by @canndrew in #2546
- Fix IR gen for explicit return of structs. by @tritao in #2602
- Adds the optional type of integer literals by @eureka-cpu in #2611
- Removes extra space from
if let
logic by @eureka-cpu in #2610 - Add missing
gtf
support to compiler by @nfurfaro in #2613 - Reorganize module tree and modules by @eureka-cpu in #2612
- Handles annotated fields by @eureka-cpu in #2614
- Reassignment expressions by @canndrew in #2535
- Fold CMP and CBR instructions by @vaivaswatha in #2615
- Added missing END to ANCHOR by @joerlop in #2607
- Fixed typo by @joerlop in #2616
- Collect SymbolKind info and generate correct semantic tokens by @JoshuaBatty in #2569
- fix: ForwardSlash span collection by @kayagokalp in #2625
- Fix
storage
blocks by @eureka-cpu in #2618 - Use zero and one registers instead of 0/1 immediates by @vaivaswatha in #2621
- Make
ConcurrentSlab
more general. by @emilyaherbert in #2617 - Formatter bug fixes by @eureka-cpu in #2619
- Add the declaration engine skeleton code by @emilyaherbert in #2630
- Fix in how the
__gtf
intrinsic is lowered to asm by @mohammadfawaz in #2645 - re-enable and fix malformed test by @sezna in #2628
- Fix warning regression when handling break and continue expressions. by @tritao in #2640
- Pass the
Declaration Engine
to IR gen by @emilyaherbert in #2642 - Collect missing tokens in the language server by @JoshuaBatty in #2620
- Bump to
v0.21.0
by @mohammadfawaz in #2651
New Contributors
- @rostyslavtyshko made their first contribution in #2445
- @camiinthisthang made their first contribution in #2533
Full Changelog: v0.20.2...v0.21.0