v0.18.0
mohammadfawaz
released this
08 Jul 23:13
·
2049 commits
to master
since this release
What's Changed
- const_eval can try (recursively) compile unresolved decls by @vaivaswatha in #2196
- Update author entry in manifest test for
e2e/.../language/modulo_uint_test
by @Braqzen in #2200 - Warning about using zero address as ownership in SwayBook by @bitzoic in #2127
- Check for unknown file check directives and fix a broken test. by @tritao in #2185
- Add
std::tx::get_predicate_data
by @camsjams in #1984 - #2205 - Use ZERO_B256 const to initialize BASE_ASSET_ID const by @r-sitko in #2206
- Bump fuel-core to v0.9.4. by @adlerjohn in #2023
- Add
parsed_to_ast
fn insway_core
by @JoshuaBatty in #2210 - Refactor std::tx by @simonr0204 in #2142
- add
remove
,insert
andpop
toVec
by @xffxff in #2170 - Remove duplicate check to length of function arguments by @emilyaherbert in #2201
- Move all the
sway_to_ir
tests fromsway_core
to the integration tests. by @otrho in #2211 - Add the
SMO
opcode tosway-core
by @Braqzen in #2178 - add input/output type constants to std-lib by @simonr0204 in #2187
- Add a
tx_id()
function to std::tx by @nfurfaro in #2214 - Fix pointer types and use
std::mem
onstd::tx
by @AlicanC in #2208 - Swap order of operands for
std::mem::copy
by @AlicanC in #2216 - Add
Span
tobreak
andcontinue
declarations by @mohammadfawaz in #2213 - #2219 - get_coins_owner() renamed to coins_owner() by @r-sitko in #2222
- Add storage formatting to sway-fmt-v2 by @kayagokalp in #2124
- Fix
from
inevm_address
to make amut
local copy of thebits
argument before callingmcli
by @mohammadfawaz in #2227 - Check for calling of associated functions as method calls. by @tritao in #2198
- Turn
CallPath
into a wrapper type by @emilyaherbert in #2191 - Fix and clean up forc reference docs. by @adlerjohn in #2233
- Switch the check if an IR block is terminated by a branch to just be a check if terminated at all. by @otrho in #2221
- Add 'Ty' formatting to
sway-fmt-v2
by @kayagokalp in #2168 - Correctly display DCA warnings and fix some incorrect warnings that showed up by @mohammadfawaz in #2230
- Type arguments in JSON ABI and the function selector by @mohammadfawaz in #2218
- Update the new ir_generation test suite a bit. by @otrho in #2223
- Fix CI: Avoid using
then_some
because it's "unstable" by @mohammadfawaz in #2236 - Add swap method to Vec by @r-sitko in #2231
forc-pkg
: RefactorBuildPlan
construction and validation to minimize fetching, improve offline support, reduce I/O, fix bugs. by @mitchmindtree in #2234- Bump
openssl-src
to 111.22. by @adlerjohn in #2250 - improvement(formatter): Enums and Structs are formatted to a single line first before getting their length to determine multiline formatting by @kayagokalp in #2212
- Update
sway-fmt-v2
with newTy
formatting and replacepush_str
withwrite!
by @eureka-cpu in #2255 - Add
tx_input_owner()
function to std. by @nfurfaro in #2215 - Fix broken link to the instruction set spec in the Sway Book by @mohammadfawaz in #2270
- Remove unsupported LSP Capabilities by @JoshuaBatty in #2262
- Return a
CompileResult
& aCompileAstResult
fromforc_pkg::check
by @JoshuaBatty in #2220 - forc-pkg: Improve error handling around removed path deps and patches by @mitchmindtree in #2209
- Account for characters that are larger than 1 byte when displaying warnings and errors by @mohammadfawaz in #2267
- feat: struct destructuring by @matt-user in #2243
- Remove
Spanned
and addFormat
trait toPunctuated
by @eureka-cpu in #2269 - Fix some small issues in compiling load and store IR instructions when the word offset is > 4096 by @mohammadfawaz in #2252
- Some code golf by @mohammadfawaz in #2271
- Make storage initializers required, just like local variables by @mohammadfawaz in #2278
- Bump to fuels 0.17.0 by @mohammadfawaz in #2273
- Bump to v0.18.0 by @mohammadfawaz in #2268
New Contributors
- @camsjams made their first contribution in #1984
- @matt-user made their first contribution in #2243
Full Changelog: v0.17.0...v0.18.0