v0.16.0
·
2507 commits
to master
since this release
What's Changed
- Bump to fuels 0.15 by @mohammadfawaz in #1921
- Rename native -> base asset. by @adlerjohn in #1929
- sway-fmt-v2 should actually use the newline style utils implemented before by @kayagokalp in #1927
- sway-fmt-v2 Formatter struct should have a Shape field that can keep track of the current indentation by @kayagokalp in #1925
- Support hex and binary literals for integers by @mohammadfawaz in #1933
- Add
ReplaceSelfType
trait by @emilyaherbert in #1934 - Add
std::tx::get_script_data
by @AlicanC in #1928 - Implement
ToJsonAbi
onTypedProgramKind
by @emilyaherbert in #1932 - Enums with unit type variants don't need a union by @mohammadfawaz in #1922
- Implement Add for b256 by @nfurfaro in #1707
- Add a full recursive check of the AST for purity mismatches. by @otrho in #1716
- Unify type parameters inside of the
unify
function by @emilyaherbert in #1938 - Give
TypedAbiDeclaration
andTypedTraitDeclaration
their own files. by @emilyaherbert in #1939 - Fix sway formatting turns
op
+=
intoop
+=
which breaks the build command because it is not a valid expression by @kayagokalp in #1949 - Allow more than just a
literal
inconst
initializer expressions by @vaivaswatha in #1948 - Allow struct field expressions to be on function calls. by @otrho in #1954
- Use
--locked
option when building tests to ensure up-to-date lock file by @mitchmindtree in #1951 - Fix
master
CI error due to test that slipped by the--locked
PR by @mitchmindtree in #1955 - Test for cyclic dependency added to should_fail by @kayagokalp in #1944
- Replace r#type with
type_id
andtype_info
. by @emilyaherbert in #1937 - Remove unnecessary
CompileResults
by @emilyaherbert in #1959 - Do not rely on
TypeMapping
when type checking declarations. by @emilyaherbert in #1940 - Rename Ethereum -> the EVM. by @adlerjohn in #1930
- Furnic/revert b256 add by @nfurfaro in #1961
- Allow the transfer_to function to transfer any native asset by @nfurfaro in #1935
- Update test runners to accept optional
--locked
flag. Use it in CI. by @mitchmindtree in #1964 - Prevent leaking types in
impl
blocks by @emilyaherbert in #1941 - Store/show bytecode hash by @seem-less in #1913
sway-fmt-v2
brace handler and implementation for enum added by @kayagokalp in #1968- Remove dead code. by @emilyaherbert in #1983
- Emit a
MOVE
for aphi
value only when needed by @mohammadfawaz in #1965 - Refactor
optimize.rs
into anir_generation
module. by @otrho in #1966 - preprocessor strictness change by @binggh in #1987
- Translate assignments to
_
as variable declaration by @vaivaswatha in #1988 - Don't emit hashes for predicates by @mohammadfawaz in #1992
- Prevent unconstrained type parameters in
impl
blocks by @emilyaherbert in #1942 - Add
std::alloc
by @AlicanC in #1979 - Adds
AngleBracket
toutils::bracket
by @eureka-cpu in #1991 - Adds
SquareBracket
trait toutils::bracket
by @eureka-cpu in #1989 - Use
TypeId
inTypeMapping
and inTraitMap
. by @emilyaherbert in #1963 - Adds
Parenthesis
trait toutils::bracket
by @eureka-cpu in #1990 - Updates
apply_newline_style
function to use determined setting by @eureka-cpu in #2000 - forc run simulate txs by @ra0x3 in #1845
- Allow
self
to be mutable by @mohammadfawaz in #1956 - Getting root hash for predicates when building by @seem-less in #2002
- Bump to v0.16.0 by @mohammadfawaz in #1998
Full Changelog: v0.15.2...v0.16.0