v0.17.0
mohammadfawaz
released this
01 Jul 19:13
·
2066 commits
to master
since this release
What's Changed
- Add struct formatting to sway-fmt-v2 by @kayagokalp in #2058
- internal: Reduce amount of String::new() in sway-fmt-v2 by @xffxff in #2111
- examples: fix renaming to BASE_ASSET_ID in comment by @Wondertan in #2120
- Added storage field alignment threshold to formatter config by @kayagokalp in #2113
- Enable storage initializers and emit a storage initialization JSON by @mohammadfawaz in #2078
- Improve reserved keywords checking and add support for raw identifiers. by @tritao in #2066
- remove
fuels-abigen-macro
dependency by @Salka1988 in #2007 - Adds
Generics
handling tosway-fmt-v2
by @eureka-cpu in #2110 - #2020 - changed BASE_ASSET_ID type to ContractId by @r-sitko in #2137
- #2039 - add storage keyword highlighting in book by @r-sitko in #2141
- Add the U256 type by @nfurfaro in #2103
- sway-fmt-v2 formatting should use tokens directly from sway-parse by @kayagokalp in #2097
- Move monomorphization conceptually inside of the type engine by @emilyaherbert in #2093
forc-pkg
- Don't add transitive deps (besidescore
) to a package's initial namespace by @mitchmindtree in #2136- Demonstrate that
T
forVec
can now be inferred by arguments by @emilyaherbert in #2132 - Remove unnecessary "core" str check in
Span::join
by @mitchmindtree in #2156 - Update the book to explicitly mention that
impl
functions can't call each other yet. by @otrho in #2160 - Remove duplicate CI checks that already have dedicated jobs by @mitchmindtree in #2161
- Speedup
find_dead_code
pass in control flow analysis by @mitchmindtree in #2159 - const initialization: a few fixes by @vaivaswatha in #2158
- Update broken link for contributing to Sway in README.md by @mohammadfawaz in #2172
- Backport improvements to
U128
type. by @nfurfaro in #2169 - Introduce
__eq
intrinsic by @vaivaswatha in #2100 - Improvements around
forc plugins
command by @tritao in #1969 - Updates
user_def
withFieldAlignment
& fix corresponding use cases by @eureka-cpu in #2153 - Add
lex_commented
andCommentedTokenStream
tosway_parse
by @mitchmindtree in #2123 - Remove unused field
const_decl_origin
fromTypedVariableDeclaration
by @vaivaswatha in #2181 - create
ZERO_B256
const by @r-sitko in #2162 - #2177 - Use assert_eq instead of assert in sway-fmt-v2 tests by @r-sitko in #2182
- Fix new clippy lints. by @sezna in #2192
- Fix checking for too many function call arguments. by @tritao in #2096
- chore: use
concurrency
to cancel previous CI runs by @AlicanC in #2194 - Rely on
is_copy_type
when compilingload
andstore
intoasm
by @mohammadfawaz in #2189 break
andcontinue
by @mohammadfawaz in #2112- Bump
sway-core
to usefuel-asm
version0.6
by @Braqzen in #2193 - Distinguish between
forc init
andforc new
(Copy over changes from PR#1669) by @ra0x3 in #2175 - Bump to v0.17.0 by @mohammadfawaz in #2174
New Contributors
- @xffxff made their first contribution in #2111
- @Salka1988 made their first contribution in #2007
- @r-sitko made their first contribution in #2137
Full Changelog: v0.16.2...v0.17.0