v0.47.0
What's Changed
- Implement TODO in Storage API by @bitzoic in #5150
- Code quality updates for
Option
usage throughout the std lib by @bitzoic in #5154 - chore/docs: improve wording and fix typos by @PaulRBerg in #5157
- Fix parser panics in edge cases by @IGI-111 in #5155
- deprecated attribute by @xunilrj in #5142
- Replace TypeInfo::SelfType with a generic type parameter by @anton-trunov in #4962
- Function deduplication by @vaivaswatha in #5167
- Added keccak256 tests for Hasher by @brandonsurh in #5172
- Fixes associated types and re-enables tests. by @esdrubal in #5169
- Refactor use of destructive methods in
swayfmt
by @eureka-cpu in #5148 - Fix fmt whitespaces between comments and doc comments by @cr-fuel in #5178
- bug: Fix formatting for
ItemTraitItem
andAnnotated<T>
by @eureka-cpu in #5182 - feat: Bumping template to use fuels v0.48.0 by @calldelegation in #5181
- Fix new lines into empty implementation by @cr-fuel in #5176
- Remove
List
options from the formatter by @eureka-cpu in #5183 - docs: link to docs hub fuel installation guide by @cold-briu in #5144
- Fix formatting issue when generated by @calldelegation in #5185
- Fix formatting of
abi
&trait
function signatures by @eureka-cpu in #5186 - Implements qualified paths for associated types. by @esdrubal in #5160
- Add bytes conversions and move array conversions to std lib by @SwayStar123 in #5180
- Compiler assembly support for ecr1 and ed19 by @vaivaswatha in #5133
- fix u256 as ref type for configurables by @xunilrj in #5194
- Use
u32
as exponent inPower
instead ofSelf
by @IGI-111 in #5199 - docs: fix typos by @xiaolou86 in #5198
- Implements generic trait constraints. by @esdrubal in #5200
- Type check analysis by @tritao in #5134
- Use a copy of standard libraries for LSP tests by @IGI-111 in #5203
- Fixes unexpected error while using generic Into trait. by @esdrubal in #5211
- feat: auto-import for sway by @sdankel in #5174
- Support for more than 6 arguments in functions, without having to inline by @vaivaswatha in #5197
- Allow method calls between impl self methods. by @tritao in #4933
- pow impl for u256 by @xunilrj in #5195
- IR entities must reference their parent by @vaivaswatha in #5217
- Fix side effects in
if-let
expressions by @ironcev in #5215 - Add go-to definition for dependency types:
ImplTraits
by @eureka-cpu in #5205 - refactor: Move dir helpers from
forc-util
tosway-utils
by @JoshuaBatty in #5224 - Fixes error while using generic From and Into traits. by @esdrubal in #5218
- Optimize gas for
AssetId::new()
andAssetId::default()
functions by @bitzoic in #5226 - Refactor match expressions and fix critical issue by @ironcev in #5213
- Attempt to break long expressions into multiple lines by @cr-fuel in #5207
- #4318
forc-crypto
plugin exposing a CLI for common-use cryptographic operations by @cr-fuel in #5153 - Initialise large enough, same-const-initialised, arrays using loops by @vaivaswatha in #5240
- Fixes unexpected trait dummy method error. by @esdrubal in #5234
- Add code action to Qualify as Path by @sdankel in #5222
- Add revert cases for new ecr functionality by @bitzoic in #5233
- Error for uninitialized register on asm blocks by @xunilrj in #5231
- Introduce explicit type check unification pass by @tritao in #5158
- bug: Update
swayfmt::Config
& remove partial implementations by @eureka-cpu in #5193 - Add custom LSP method for visualizing build plan by @sdankel in #5243
- Fix hash.sw, replaced
#![foo]
for#[foo]
by @cr-fuel in #5248 - Do not memcpy optimize when passed as fn arg by @vaivaswatha in #5253
- allow implicit stdlib to be configured with env vars by @xunilrj in #5249
- Fixes missing error on type unification. by @esdrubal in #5230
- correctly deal with missing semicolons by @xunilrj in #5236
- Fix DCA handling for
__revert
intrinsic andstd::revert
. by @tritao in #5235 - Optimizes
type_engine.insert
to be done inside if. by @esdrubal in #5254 - Update CI to handle forc-crypto by @IGI-111 in #5256
- Bump to v0.47.0 by @IGI-111 in #5257
New Contributors
- @xiaolou86 made their first contribution in #5198
Full Changelog: v0.46.1...v0.47.0