Releases: FuelLabs/sway
Releases 路 FuelLabs/sway
v0.56.1
What's Changed
- Remove syntax highlighting of Sway files as Rust by @bitzoic in #5926
- ci: add a job for checking fuel-core versions between sdk-harness and test suite by @kayagokalp in #5930
- Add conversion methods for u256,b256 from tuple of u64s by @SwayStar123 in #5889
- chore: use rust-sdk v0.58.0 by @kayagokalp in #5933
- chore: update ci_checks script to represent current ci better by @kayagokalp in #5934
- Implement From< U128 > for u256, b256 by @SwayStar123 in #5887
- Dereferencing as reassignment target by @ironcev in #5923
- Refactor: Move import name resolution to Root by @jjcnn in #5916
- Implement TryFrom< U128 > for all primitive u types by @SwayStar123 in #5888
- Run clippy::pedantic on sway-lsp by @JoshuaBatty in #5939
- Fail nicer on missing expected_result in test.toml files by @jjcnn in #5941
- Eliminate alias map from lexical scope by @jjcnn in #5931
- Clean up dead code. by @tritao in #5946
- docs: rewrite introduction by @sarahschwartz in #5956
- docs: fix typos by @sarahschwartz in #5959
- Larger clippy::pedantic and code quality pass on whole repo by @JoshuaBatty in #5945
- Fix non idiomatic function names warnings in the std lib. by @tritao in #5949
- Cleanup duplicated data from
ty::TyDecl
by @tritao in #5751 - Fixes to accessing the data section during bytecode gen by @vaivaswatha in #5927
- Refactor: Split contract-specific namespace module code into its own file. by @tritao in #5948
- Code quality pass on forc doc by @JoshuaBatty in #5962
- Fix inline docs example for
From<T> for b256
implementations forContractId
,AssetId
,Address
, andEvmAddress
by @bitzoic in #5970 - Adds documentation about the compiler internals. by @tritao in #5937
- Reference Sway-Libs, Sway-Standards, and Sway-Applications In Sway Book by @bitzoic in #5944
- docs: add external code doc by @sarahschwartz in #5840
- Bump to v0.56.1 by @IGI-111 in #5974
Full Changelog: v0.56.0...v0.56.1
v0.56.0
What's Changed
- Remove
contract_id()
in favor ofContractId::this()
by @bitzoic in #5867 - chore: fix some typos in comments by @yudrywet in #5855
- Update docs on how to disable LSP by @sdankel in #5877
- Refactor read and write access to namespace modules. by @tritao in #5868
- feat!: add
call_with_function_selector
version for new encoding by @hal3e in #5869 - Use GM opcode to fetch the base_asset_id by @bitzoic in #5806
- docs: Wallet Example Clarification by @calldelegation in #5878
- Fixes missing error when using trait constraint. by @esdrubal in #5882
- Fixes type inference on inlined method applications. by @esdrubal in #5823
- Adds test that proves unexpected error no longer occcurs. by @esdrubal in #5910
- Allow conversions between native u types and U128 by @SwayStar123 in #5825
- Refactor: Split use synonyms into separate maps for glob and item imports by @jjcnn in #5914
- Simplify Asset Transfer and Mint Functions by @bitzoic in #5891
- set new encoding as true by default and allow it to be disabled by @xunilrj in #5915
- Disabling run_external by @xunilrj in #5918
- chore: fix some comments by @toofooboo in #5880
- Bump to v0.56.0 by @IGI-111 in #5919
New Contributors
- @yudrywet made their first contribution in #5855
- @toofooboo made their first contribution in #5880
Full Changelog: v0.55.0...v0.56.0
v0.55.0
What's Changed
- Fix and improve
Unimplemented
compile errors by @ironcev in #5847 - Update test SDK Harness to fuel-core v0.24.2 and Fuels v0.57.0 by @bitzoic in #5858
- Improves debug build times. by @esdrubal in #5861
- Do not force inling functions that have pointer args. by @vaivaswatha in #5762
- move documents from
Session
toServerState
by @JoshuaBatty in #5862 - Use
ModuleId
instead ofSourceId
as the metrics map key by @JoshuaBatty in #5871 - chore: bump to v0.55.0 by @JoshuaBatty in #5872
Full Changelog: v0.54.0...v0.55.0
v0.54.0
What's Changed
- Add expect to option and result by @SwayStar123 in #5431
- Improves DCA warnings after divergent expressions. by @esdrubal in #5726
- AbiDecode for Vec using
with_capacity
by @xunilrj in #5849 - chore: bump fuel-core to 0.24.2, fuel-vm to 0.48.0, sdk to 0.57.0 by @kayagokalp in #5844
- Bump to v0.54.0 by @IGI-111 in #5853
Full Changelog: v0.53.0...v0.54.0
v0.53.0
What's Changed
- From<u8, u16, u32> for u64 implementations by @SwayStar123 in #5817
- Refactor trait map and module symbol resolution code to allow usage for parsed declarations by @tritao in #5810
- Add support for fig completions by @crodas in #5669
- Cache in front of check_if_trait_constraints_are_satisfied_for_type by @xunilrj in #5827
- Add
ZERO_U256
constant by @bitzoic in #5829 - Fix ZERO_B256 docs by @GearedPaladin in #5835
- Expand Native Asset Docs by @bitzoic in #5808
- change ConcurrentSlab to use Vec by @xunilrj in #5838
- Fix and improve errors when the entry fns cannot be generated by @xunilrj in #5824
- Optimize retrieve_interface_surface_and_items_and_implemented_items_for_type by @xunilrj in #5837
- Fixes compiler performance in mega_example. by @esdrubal in #5841
- Fixes FQP root type not found when inside a library. by @esdrubal in #5832
- chore:bump sdk to v0.56, fuel-core to 0.23.0, fuel-vm to 0.47.1 by @kayagokalp in #5759
- Fix critical GC <> LSP bug and enable dynamic GC configuration. by @JoshuaBatty in #5813
- chore: bump to v0.53.0 by @JoshuaBatty in #5831
New Contributors
- @GearedPaladin made their first contribution in #5835
Full Changelog: v0.52.1...v0.53.0
v0.52.1
What's Changed
- Some cleanups and refactors to module-related code by @tritao in #5793
- Fix dead links by @bitzoic in #5807
- Fixes compiler asking for unnecessary disambiguation for trait methods. by @esdrubal in #5801
- Add u256 conversions by @SwayStar123 in #5767
- Fail nicely on imports without callpaths by @jjcnn in #5792
- From for u16 implementation by @SwayStar123 in #5815
- docs: add troubleshooting for slow performance by @hummusonrails in #5794
- fix: make sure to check std is taken from sway-lib-std folder by @kayagokalp in #5819
- Fixes ignored where clause. by @esdrubal in #5799
- From<u8, u16> for u32 by @SwayStar123 in #5816
- chore: bump to v0.52.1 by @kayagokalp in #5822
New Contributors
- @hummusonrails made their first contribution in #5794
Full Changelog: v0.52.0...v0.52.1
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
v0.49.3-patch.1
This release is going to be used to patch the forc-lsp binary for beta-5. All of the other forc binaries will remain the same, but forc-lsp will be manually updated to the latest version. This is due to a critical bug in forc-lsp in this version.
Full Changelog: v0.49.3...v0.49.3-patch.1
v0.49.3
What's Changed
- Enable LSP Garbage Collection test for CI by @JoshuaBatty in #5704
Full Changelog: v0.49.2...v0.49.3
v0.51.1
What's Changed
Full Changelog: v0.51.0...v0.51.1