v0.52.0
What's Changed
- Refactor scoped namespace accesses and clones in type check context by @tritao in #5642
- Fix type check and inference issues in references, structs, and enums by @ironcev in #5643
- Provide
__jmpb_ssp
intrinsic by @vaivaswatha in #5576 - fix: several typos in the documentation by @tudorpintea999 in #5362
- Fix ICE in relation to local declarations with erroneous initializers by @jjcnn in #5631
- Make
replace_decl
s to know when a change was introduced by @xunilrj in #5677 - Encapsulation for std-lib by @bitzoic in #5658
- Replace
__jmpb_ssp
with__jmp_mem
by @vaivaswatha in #5674 - Fixes dummy method while using where clause in trait impl. by @esdrubal in #5684
- Add client heartbeat to shutdown LSP zombie processes by @sdankel in #5690
- Add docs about forc debug by @sdankel in #5683
- Rename
predicate_id()
topredicate_address()
and additional Predicate docs by @bitzoic in #5596 - Add --version to forc-debug by @sdankel in #5687
- New encoding for contract calls by @xunilrj in #5427
- Implement Pid file locking by @crodas in #5676
- Correctly export the main fn in the json abi by @xunilrj in #5707
- Refactor: Imports must use absolute paths by @jjcnn in #5697
- Enable LSP Garbage Collection test for CI by @JoshuaBatty in #5704
- Port
TraitItem::TraitFn
to be stored in the parsed declaration engine. by @tritao in #5714 - more impls for abi_encode for tuples by @xunilrj in #5716
- References to mutable values by @ironcev in #5688
- Use an explicit module id when generating auto impl declarations by @tritao in #5712
- Introduce the symbol collection context and a symbol collection step. by @tritao in #5661
- docs: add type conversions page by @sarahschwartz in #5708
- Implement
DebugWithEngines
andDeclUniqueId
forParsedDeclId
by @tritao in #5718 - Fix decode for u16/u32 by @xunilrj in #5719
- Adds unification of method application type params with impl self type params. by @esdrubal in #5694
- Improves error handling of method application args type checking. by @esdrubal in #5717
- feat: change default script and predicate program generated at init by @kayagokalp in #5720
- Advanced Storage Docs by @bitzoic in #5715
- make source id optional when auto impl for new encoding by @xunilrj in #5721
- fix predicate entry fn by @xunilrj in #5723
- Initial DWARF debug symbols output code. by @vaivaswatha in #5521
- Remove warning comments by @JoshuaBatty in #5730
- Tweak the
did_change_stress_test_random_wait
test by @JoshuaBatty in #5724 - fallback when all contract selectors fail by @xunilrj in #5703
- fix auto impl removing method name log by @xunilrj in #5733
- Update Rust version in deployment Dockerfile by @IGI-111 in #5732
- Only copy sway relevant files into LSP tmp memory by @JoshuaBatty in #5725
- remove repetitive words by @thirdkeyword in #5699
- fix typo to beta-5 by @great9 in #5731
- Remove U256 by @SwayStar123 in #5738
- Do not initialise zero-sized types by @vaivaswatha in #5741
- Continue even if the lsp cannot acquire an exclusive lock by @crodas in #5740
- feat: Add predicate and script templates by @calldelegation in #5238
- stdlib: Fix temp alloc size in
try_as_str_array
. by @vaivaswatha in #5753 - New encoding fixes by @xunilrj in #5745
- Enable commented tests for references and enums in
match
expressions by @ironcev in #5755 - refactor:
forc init
generate unexpected project_name when project dir contains dot by @Halimao in #5455 - Optimizing AST Traversal with Adaptive Iteration by @JoshuaBatty in #5754
- Expose external code loading with
std::execution::run_external
by @IGI-111 in #5685 - Improve execution time of
should_pass
E2E tests by @ironcev in #5757 - Enhance LSP Testing Strategy for Better Reliability by @JoshuaBatty in #5764
- Improve execution time of E2E tests by @ironcev in #5763
- Fix LSP initialisation bug. by @JoshuaBatty in #5771
- Add DevRel request item to PR checklist by @IGI-111 in #5783
- Refactor module evaluation order handling. by @tritao in #5784
- Bump to v0.52.0 by @IGI-111 in #5791
New Contributors
- @tudorpintea999 made their first contribution in #5362
- @thirdkeyword made their first contribution in #5699
- @great9 made their first contribution in #5731
Full Changelog: v0.51.1...v0.52.0