v0.20.0
·
2260 commits
to master
since this release
What's Changed
- Switch between viewing typed or parsed tokens as warnings in the LSP client. by @JoshuaBatty in #2460
- 2474/generic repo name by @denizsurmeli in #2476
- Rename
Engine
toTypeEngine
and thetype_engine
dir totype_system
by @emilyaherbert in #2484 - Some preparation for function calls. by @otrho in #2471
- refactor: move build logic to
forc-pkg
fromforc
by @kayagokalp in #2478 - Add
expr
formatting tosway-fmt-v2
by @eureka-cpu in #2338 - Move
test
project toclap
by @AlicanC in #2470 - Use rust 1.62 in CI docker image by @sezna in #2506
- Removes outdated
todo
comments insfv2
by @eureka-cpu in #2503 - 2421/no main args by @denizsurmeli in #2472
- Misc cleanups in the parser by @Centril in #2480
- Fix DCA for used struct/enum function parameters. by @tritao in #2468
- Changes
.clone().into_inner()
to.get()
insfv2
by @eureka-cpu in #2504 - Fix link to Forc reference in the repo by @bingcicle in #2513
- Add minimum Forc version to manifest by @kayagokalp in #2405
- Collect
TypedStructField
tokens in the language server. by @JoshuaBatty in #2488 - Fix new clippy lints (with rust version 1.63) by @kayagokalp in #2518
- Add separate expression kind types by @canndrew in #2507
- Temporarily disable the 3 LSP tests that open a file by @JoshuaBatty in #2519
- Remove send address check by @joerlop in #2510
- Adds
ItemUse
tosway-fmt-v2
by @eureka-cpu in #2295 - Add Outer DocComment Parsing by @AlicanC in #2516
- Convert while loops to be an expression instead of a statement by @tritao in #2517
- Add pointers to IR and implement mutable parameters. by @tritao in #2363
- fix: Incorrect call parameter should be a compiler error by @kayagokalp in #2526
- fix: Setting the contract ID in an abi cast to a storage access fails to compile by @kayagokalp in #2529
- Fix support for parser recovery by @Centril in #2527
- Organize imports in
sfv2
by @eureka-cpu in #2502 - Fix:
Impl
formatting without generics generates unparsable output by @kayagokalp in #2523 - Adds multiline formatting for
match
statements insfv2
by @eureka-cpu in #2530 - Create markdown-lint.yml by @adlerjohn in #2534
- break and continue are not items by @canndrew in #2536
- Check for self parameters in free functions. by @tritao in #2538
- Store the variable decl Ident in VariableExpression and pass on the type_ascription_span by @JoshuaBatty in #2544
- Documentation for
ref mut
in the Sway Book by @mohammadfawaz in #2542 - Annotate TypeFields by @AlicanC in #2528
- Intrinsics for the VM's storage opcodes. by @vaivaswatha in #2508
- Update 'Sway toolchain' references to 'Fuel toolchain' where appropriate by @bingcicle in #2545
- [simplify-cfg] Separate
remove_dead_blocks
frommerge_blocks
by @vaivaswatha in #2548 - Diagnose Unrecognized Annotations by @AlicanC in #2547
- Speed improvements and bug fixes for
simplify-cfg
. by @vaivaswatha in #2560 - Adds better formatting to
match_branch_kind
by @eureka-cpu in #2539 - Split client interaction commands into a forc-client plugin by @kayagokalp in #2440
- Adds formatting for
if_else
control flow blocks by @eureka-cpu in #2564 - Adds multiline formatting for
fn_signature
insfv2
by @eureka-cpu in #2566 - Update forc plugin docs with a note on multi-command plugins by @mitchmindtree in #2521
- Provide LSP extension for printing the parsed or typed AST in VS Code by @JoshuaBatty in #2570
- Fix bug in serializing strings for storage by @vaivaswatha in #2571
- Fix some issues with
ref mut
parameters by @tritao in #2563 - Fixing the defaults for
forc new
by @mohammadfawaz in #2573 - New JSON ABI format supporting generics by @mohammadfawaz in #2524
- Introduce configuration-time constants in
Forc.toml
by @sezna in #2549 - Bump to
v0.20.0
by @emilyaherbert in #2565
New Contributors
- @denizsurmeli made their first contribution in #2476
- @joerlop made their first contribution in #2510
Full Changelog: v0.19.2...v0.20.0