Releases: FuelLabs/sway
Releases · FuelLabs/sway
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
v0.64.0
What's Changed
- ci: Fix typo in forc-unit tests by @sdankel in #6566
- Fixed required trait constraint not being checked by @esdrubal in #6525
- fix: forc-client build script should update proxy abi also for deployment tests by @kayagokalp in #6561
- Introduce the collection context in the type check context. by @tritao in #6460
- fix: forc-deploy block url by @sdankel in #6570
- Move all crate dependencies to the workspace Cargo.toml (#6179) by @alfiedotwtf in #6563
- docs: added a link to the Fuel blockchain by @Ocheretovich in #6574
- fix OOB slab panic when creating runnables on a did_save event by @JoshuaBatty in #6575
- Version bump all crate dependencies after the workspace move by @alfiedotwtf in #6571
- fix array element type algorithm to avoid selecting never by @xunilrj in #6511
- Version bump the remaining crate dependencies by @alfiedotwtf in #6579
- Add inlay hints for function parameters by @JoshuaBatty in #6513
- Common sub-expression elimination pass by @vaivaswatha in #6413
- fix: use build script for proxy deployments as well by @kayagokalp in #6580
- chore: update fuel-core to 0.36.0, fuels-* to 0.66.5 by @kayagokalp in #6582
- Support
Output::Change
inoutput_asset_to()
andoutput_asset_id()
by @bitzoic in #6562 - feat: AWS kms signer support for forc-client by @kayagokalp in #6578
- chore: bump to v0.64.0 by @JoshuaBatty in #6584
- Fix verify_tag.sh script to use workspace version by @IGI-111 in #6587
- ci: add versions to cargo workspace by @sdankel in #6588
New Contributors
- @Ocheretovich made their first contribution in #6574
Full Changelog: v0.63.6...v0.64.0
v0.63.6
What's Changed
- conditional constant propagation by @vaivaswatha in #6498
- Correctly check for overflow in add, mul and pow by @SwayStar123 in #6452
- Add
find all references
feature to the language server. by @JoshuaBatty in #6512 - docs: Add build script to test templates by @sdankel in #6510
- Fix "Testing with Rust / Writing Tests" example by @smoelius in #5539
- Replace cargo deps with built-in cargo tree (#6179) by @alfiedotwtf in #6515
- fix: forc-test log decoding in libraries by @sdankel in #6518
- Use cargo-nextest with retries for flaky LSP test by @JoshuaBatty in #6521
- Update proxy contract binary shipped with
forc-deploy
by @kayagokalp in #6520 - fix second pass of method application arguments by @xunilrj in #6526
- Add support for
Transaction::Upload
,Transaction::Upgrade
, andTransaction::Blob
by @bitzoic in #6500 - Update helpers.rs by @cypherpepe in #6255
- Remove subs type optimization causing find method issues by @xunilrj in #6532
- Add Caller addresses function by @SwayStar123 in #6514
- Add Eq for Result by @SwayStar123 in #6140
- feat: Add --raw-logs option for forc-test by @sdankel in #6528
- Add tests for recursive
const
definitions and associated consts usages by @ironcev in #6545 - feat: add a build script to forc-client to keep proxy abi in sync with file by @kayagokalp in #6535
- Adds test for implicit trait constraint. by @esdrubal in #6517
- Fixes unreachable on invalid cfg attribute arg. by @esdrubal in #6553
- Fixes OOB in type_check_analyze of ImplTrait. by @esdrubal in #6551
- Fixes panic error on decl_to_type_info. by @esdrubal in #6552
- Only check non-parent monomorphization args by @xunilrj in #6549
- Fix
function_cache
garbage collection bug by @JoshuaBatty in #6555 - chore: bump to v0.63.6 by @JoshuaBatty in #6556
New Contributors
- @alfiedotwtf made their first contribution in #6515
- @cypherpepe made their first contribution in #6255
Full Changelog: v0.63.5...v0.63.6