Releases: FuelLabs/sway
Releases · FuelLabs/sway
v0.66.6
What's Changed
- forc test single-step until jump point instead of patching binary by @xunilrj in #6731
- Support for aliased import for encoding v1 by @xunilrj in #6628
- improve asm copy propagation for MOVE instruction by @xunilrj in #6641
- Error on use of self intead of Self in return type by @esdrubal in #6763
- Fixes
for
specific error message. by @esdrubal in #6758 - Improve document symbol hierarchy to match rust-analyzer layout by @JoshuaBatty in #6678
- Fixes qualified call path without as trait. by @esdrubal in #6764
- Implement Serde for AstNode types by @JoshuaBatty in #6605
- More namespace cleanups by @tritao in #6675
- Implement hierarchical trait map and namespace lookups. by @tritao in #6516
- refactor: Improve DAP server code organisation and readability by @JoshuaBatty in #6770
- Fix handling of associated constants in ABI/traits by @tritao in #6768
- Change
SubstTypesContext
to contain an optionalTypeSubstMap
. by @tritao in #6773 - Add
mod
toU128
by @bitzoic in #6771 - Associate lexical scopes with their respective declarations. by @tritao in #6780
- typo-Update deploy.rs by @shystrui1199 in #6783
- Update
output_asset_to()
andoutput_asset_id()
to handleOutput::Variable
by @bitzoic in #6781 - docs: add sway memory model by @matt-user in #6775
- fix: typos cleanup by @yash251 in #6799
- Add testing of
storage_domains
to language and SDK tests by @ironcev in #6809 - Refactor
swayfmt
to support arbitrary lexed trees by @ironcev in #6806 - Add modulo inline tests by @SwayStar123 in #6817
- fix: formatting for loop by @amiremohamadi in #6807
- Rename forc doc
--manifest-path
to--path
by @amiremohamadi in #6797 - fix bug in
memcopyopt
related to killing defined symbols by @vaivaswatha in #6820 - Remove instances of multiple impl blocks by @SwayStar123 in #6822
- Fixes array oob on reassignment. by @esdrubal in #6819
- add erroneously missing #[test()] attribute by @SwayStar123 in #6824
- Implements fully working hierarchical lexical scopes. by @esdrubal in #6784
- Implement
Iterator
forStorageVec
by @ironcev in #6821 - Show error when contract method names conflict by @xunilrj in #6782
- codegen: Use idiomatic fuel-vm ops for memcpy and addr_of by @Dentosal in #6795
- Refactor the module structure of the namespace module by @jjcnn in #6291
- migrate from shellfish to rustyline with enhanced CLI features by @JoshuaBatty in #6830
- [asmgen] pushing / popping registers for call should handle all def'd regs by @vaivaswatha in #6826
- [asmgen] bugfixes in
const_indexing_aggregates_function
by @vaivaswatha in #6834 - Add Transaction::Blob tests by @SwayStar123 in #6667
- Add
forc-migrate
tool by @ironcev in #6790 - Do not allow inline
VirtualImmediate
* instantiations by @vaivaswatha in #6852 - fix: Adds generic trait impls to forc-doc by @sdankel in #6850
- Bump to v0.66.6 by @IGI-111 in #6853
- fix: gh-pages CI failing due to forc-migrate by @sdankel in #6854
- chore: enable serde feature for num_bigint by @JoshuaBatty in #6855
- Add splice method to Bytes by @SwayStar123 in #6823
New Contributors
- @shystrui1199 made their first contribution in #6783
- @amiremohamadi made their first contribution in #6807
Full Changelog: v0.66.5...v0.66.6
v0.66.5
What's Changed
- chore: add a script to bump all fuel maintained dependencies by @kayagokalp in #6684
- docs: remove dead links to sway-libs/fixed-point by @kayagokalp in #6689
- chore: remove unmaintained
atty
crate by @kayagokalp in #6691 - chore: remove unmaintained
difference
in favor ofsimilar
by @kayagokalp in #6694 - Rewrite
TypeEngine
for performance, robustness, and simplicity by @ironcev in #6613 - chore: remove unmaintained
ansi_term
in favor ofansiterm
by @kayagokalp in #6696 - Remove
forc
help test. by @tritao in #6682 - chore: remove
uwuify
feature by @kayagokalp in #6698 - fix: forc-deploy asks for password before checking if the wallet exists by @kayagokalp in #6704
- Forc-deploy import wallet support if non-existent wallet by @zees-dev in #6680
- chore: upgrade fuels sdk to 66.10 by @sdankel in #6715
- Send method arguments with numerics to the second pass by @xunilrj in #6700
- Add verifications-complete job by @IGI-111 in #6716
- Add modules to forc-doc search index by @sdankel in #6711
- Test encoding raw slices does not allows buffer overflows by @xunilrj in #6699
- Add revert with log function to std lib by @SwayStar123 in #6717
- Transmute intrinsics by @xunilrj in #6692
- Profiling support by @tritao in #6705
- Storage domains by @ironcev in #6466
- Fix module visibility check by @jjcnn in #6685
- Make
OrdEq
trait public by @bitzoic in #6723 - Add configurables section offset in the preamble by @vaivaswatha in #6709
Forc.toml
metadata support by @zees-dev in #6728- Proof that #6324 is not a bug. by @esdrubal in #6573
- Add repro for issue #6335. by @tritao in #6730
- feat: add function for generating bytecode identifier by @sdankel in #6674
- Add comments about bytecode test files by @sdankel in #6741
- chore: bump version to 0.66.5 by @sdankel in #6743
Full Changelog: v0.66.4...v0.66.5
v0.66.4
What's Changed
- Optimise TokenMap to only hold either a typed or parsed AST token by @JoshuaBatty in #6585
EncodeBufferAppend
:grow_if_needed
should allocate sufficiently by @vaivaswatha in #6686- Bump to v0.66.4 by @IGI-111 in #6688
Full Changelog: v0.66.3...v0.66.4
v0.66.3
What's Changed
- Return 0 early if divisor is 0 - U128 div by @SwayStar123 in #6652
- Forbid
memcpyopt
if the source pointer escapes by @ironcev in #6655 - Remove redundant
cfe(i)/cfs(i)
instructions from the allocated ASM by @ironcev in #6627 - Refactor monomorphization/type resolving code out of
TypeCheckContext
. by @tritao in #6615 - ci: move to buildjet by @kayagokalp in #6656
- Function dedup conf decode by @xunilrj in #6623
- improve error messages for array items by @xunilrj in #6663
- feat: add
TotalOrd
library tocore::ops
foruint
types by @Edwardjes in #6635 - Fixes ContractCaller type propagation. by @esdrubal in #6662
- Fixes issue with nested method type args. by @esdrubal in #6658
- Fix module ancestor check for imports by @jjcnn in #6671
- [asmgen] generate code for stack argument access differently by @vaivaswatha in #6651
- Namespace module cleanups by @tritao in #6660
- Simplify the return path analysis by @jjcnn in #6541
- Add
TypeInfo::UntypedEnum
andTypeInfo::UntypedStruct
. by @tritao in #6633 - forc-crypto: vanity address generation by @zees-dev in #6661
- Add parallel garbage collection test runner by @JoshuaBatty in #6665
- Adds type inference from trait implementations. by @esdrubal in #6590
- migrate encoding v1 to sway-features by @xunilrj in #6586
- [docs] Update
::call_frames::ContractId
to::contract_id::ContractId
in Native Assets Documentation by @0x0077 in #6141 - chore: bump rust version to 1.82 by @kayagokalp in #6672
- Remove
root_type_id
fromTypeInfo::Custom
. by @tritao in #6676 - return type checked trait constraints by @xunilrj in #6604
- Add configurables section offset in the preamble by @vaivaswatha in #6522
- Fixes find_method_for_type bail out with 1st match by @esdrubal in #6606
- Bump to v0.66.3 by @IGI-111 in #6679
New Contributors
- @Edwardjes made their first contribution in #6635
- @zees-dev made their first contribution in #6661
- @0x0077 made their first contribution in #6141
Full Changelog: v0.66.2...v0.66.3
v0.66.2
What's Changed
- style: update troubleshooting.md by @KyryloKilin in #6632
- fix: u256 log suggestions by @K1-R1 in #6645
- Properly treat
FuelVMInstruction
s in thememcpyopt
by @ironcev in #6650 - caller_addresses: use input_message_recipient by @K1-R1 in #6649
- Fix u128 log rounding errors, and overflow reverts by @SwayStar123 in #6647
- chore: bump to v0.66.2 by @JoshuaBatty in #6643
New Contributors
- @KyryloKilin made their first contribution in #6632
Full Changelog: v0.66.1...v0.66.2
v0.66.1
What's Changed
- Minimal changes to remove miden deps by @xunilrj in #6638
- chore: bump to v0.66.1 by @JoshuaBatty in #6639
Full Changelog: v0.66.0...v0.66.1
v0.66.0
What's Changed
- revert to original code owners before the freeze by @JoshuaBatty in #6622
- add new target to forc by @sdankel in #6621
- feat: bump fuel-core to v0.40.0 and sdk to v0.66.9 + show checksum addresses in forc-deploy by @kayagokalp in #6630
- chore: bump to v0.66.0 by @JoshuaBatty in #6637
Breaking
- Removes support for beta-1, beta-2, beta-3, beta-4, beta-5, and devnet channels in
forc-deploy
and adds a newmainnet
channel.
Full Changelog: v0.65.2...v0.66.0
v0.65.2
What's Changed
- fix: pin forc-deploy to use 100kb blob size by default by @kayagokalp in #6616
- chore: bump to v0.65.2 by @kayagokalp in #6617
Full Changelog: v0.65.1...v0.65.2
v0.65.1
What's Changed
- feat: generate a loader abi of loaders generated for predicates and scripts by @kayagokalp in #6611
- chore: bump to v0.65.1 by @JoshuaBatty in #6612
Full Changelog: v0.65.0...v0.65.1
v0.65.0
What's Changed
- Proof that #5046 is fixed. by @esdrubal in #6583
- fix: proxy deployments for contracts with storage by @sdankel in #6591
- Update single and multi asset example in docs hub by @bitzoic in #6594
- fix code snippet for old diagnostics by @xunilrj in #6507
- Fix release check script to check new version specs by @IGI-111 in #6592
- fix: Capture more declarations for sway autocomplete by @sdankel in #6598
- Formalize code freeze by @IGI-111 in #6600
- feat: add blob deployments for scripts and predicates by @kayagokalp in #6607
- chore: bump to 0.65.0 by @JoshuaBatty in #6610
Full Changelog: v0.64.0...v0.65.0