v0.50.0
版本发布时间: 2024-02-07 22:22:26
FuelLabs/sway最新发布版本:v0.63.3(2024-08-29 14:59:12)
What's Changed
- feat: implement
-o
flags for disabling optimizations by @kayagokalp in https://github.com/FuelLabs/sway/pull/5385 - Forbid configurables in constants by @IGI-111 in https://github.com/FuelLabs/sway/pull/5497
- Change auto_import test to use git tag of std lib by @JoshuaBatty in https://github.com/FuelLabs/sway/pull/5501
- Add support recover key by @crodas in https://github.com/FuelLabs/sway/pull/5419
- Remove token library from book libraries.md by @tritao in https://github.com/FuelLabs/sway/pull/5505
- Optimizes
TraitMap
insert
to not useTypeEngine
by @esdrubal in https://github.com/FuelLabs/sway/pull/5503 - Fixes error while using From trait that returns a tuple. by @esdrubal in https://github.com/FuelLabs/sway/pull/5470
- feat: update
AbiEncode
implementations by @hal3e in https://github.com/FuelLabs/sway/pull/5506 - feat: add Tuple
AbiEncode
impls by @danielbate in https://github.com/FuelLabs/sway/pull/5517 - LSP Optimization: Remove
ParseResult
and write to session types directly by @JoshuaBatty in https://github.com/FuelLabs/sway/pull/5516 - Significant
TokenMap
optimisation by removing clones and returning refs instead. by @JoshuaBatty in https://github.com/FuelLabs/sway/pull/5509 - Fixes for auto impl of AbiEncode; encoding version and better tests by @xunilrj in https://github.com/FuelLabs/sway/pull/5481
- Redesign From trait into From/Into pair by @IGI-111 in https://github.com/FuelLabs/sway/pull/5259
- Introduce TerminatorValue to force handling of divergence by @jjcnn in https://github.com/FuelLabs/sway/pull/5496
- Refactor parsed declaration storage by @tritao in https://github.com/FuelLabs/sway/pull/5443
- Struct field privacy by @ironcev in https://github.com/FuelLabs/sway/pull/5508
- Explicitly use
u64
operations for safeu8
arithmetic by @vaivaswatha in https://github.com/FuelLabs/sway/pull/5510 - Fixes associated type not found in libraries. by @esdrubal in https://github.com/FuelLabs/sway/pull/5526
- Fix typo in plugins.rs by @eltociear in https://github.com/FuelLabs/sway/pull/5529
- Fix ABI when logging generic types by @xunilrj in https://github.com/FuelLabs/sway/pull/5528
- Dereferencing operator index
[]
by @ironcev in https://github.com/FuelLabs/sway/pull/5530 - Fix missing shadowing errors due to error deduplication by @ironcev in https://github.com/FuelLabs/sway/pull/5532
- Cleanup parsed AST by @tritao in https://github.com/FuelLabs/sway/pull/5464
- Support for criterion-compare-prs gh action by @sdankel in https://github.com/FuelLabs/sway/pull/5547
- Fix typo in generic_types.md by @smoelius in https://github.com/FuelLabs/sway/pull/5535
- Dereferencing operator
.
on struct field access by @ironcev in https://github.com/FuelLabs/sway/pull/5538 - Separate forc-debug CI tests by @sdankel in https://github.com/FuelLabs/sway/pull/5544
- Remove Arcs from QE by @JoshuaBatty in https://github.com/FuelLabs/sway/pull/5548
- Fixes
ReplaceDecls
to no longer depend on filter hack. by @esdrubal in https://github.com/FuelLabs/sway/pull/5541 - Adds test case that covers PR #3818. by @esdrubal in https://github.com/FuelLabs/sway/pull/5553
- ci: use buildjet cache for steps using buildjet runners by @kayagokalp in https://github.com/FuelLabs/sway/pull/5545
- Add page for LSP troubleshooting by @sdankel in https://github.com/FuelLabs/sway/pull/5554
- Dereferencing operator
.
on tuple element access by @ironcev in https://github.com/FuelLabs/sway/pull/5552 - Only run docs CI checks when docs have changed by @sdankel in https://github.com/FuelLabs/sway/pull/5556
- Disable DCA and writing diagnostics on did_change events by @JoshuaBatty in https://github.com/FuelLabs/sway/pull/5555
- Bump to v0.50.0 by @IGI-111 in https://github.com/FuelLabs/sway/pull/5564
New Contributors
- @danielbate made their first contribution in https://github.com/FuelLabs/sway/pull/5517
- @smoelius made their first contribution in https://github.com/FuelLabs/sway/pull/5535
Full Changelog: https://github.com/FuelLabs/sway/compare/v0.49.1...v0.50.0
1、 forc-binaries-darwin_amd64.tar.gz 98.22MB
2、 forc-binaries-darwin_arm64.tar.gz 97.3MB
3、 forc-binaries-linux_amd64.tar.gz 105.93MB
4、 forc-binaries-linux_arm64.tar.gz 103.68MB