What's Changed
- Document how to run e2e tests, including specific ones by @anton-trunov in #2964
- Update finalized asm example in Sway Book by @mohammadfawaz in #2956
- Remove
bytetype and associated literal by @anton-trunov in #2976 - Remove unused
peekableoperations fromswayfmtby @eureka-cpu in #2915 - Add LSP tests back in. by @JoshuaBatty in #2568
- Remove Rust integration testing behaviour from
forc testin anticipation of unit testing support by @mitchmindtree in #2264 - Support type arguments on methods by @Centril in #2974
- Lexer + Parser recovery & Gathering errors in sway-error by @Centril in #2891
- Forward attributes from
ParseProgramtoTyProgramby @mitchmindtree in #2979 - Add
#[test]to list of known attributes insway-coreby @mitchmindtree in #2980 - Replace PHIs with block arguments by @vaivaswatha in #2957
- Move the definitions for
TyExpressionandTyExpressionVariantto thetymodule. by @emilyaherbert in #2982 - CompileWarning -> sway_error by @Centril in #2981
- Move the storage definitions to the
tymodule. by @emilyaherbert in #2983 - Remove dead
ReassignmentLHSdefinition. by @emilyaherbert in #2999 - Propagate error messages in const eval instead of unwrapping by @mohammadfawaz in #3002
- Remove the no-op
TyReturnStatementtype. by @emilyaherbert in #3011 - Remove the
--generate-logged-typesflag by @mohammadfawaz in #2987 - Move the definition for
TyDeclarationto thetymodule. by @emilyaherbert in #2995 - Clarify some information about event logging in the Sway Book by @mohammadfawaz in #3013
- Disallow impl self for
Contractby @anton-trunov in #3021 - Move DocumentError to use thiserror by @sdankel in #2968
- Add tests for
OptionandResultin the ABI by @mohammadfawaz in #3020 - Fail on mismatch in method return types for ABIs and traits by @anton-trunov in #3022
- Move
tydefinitions to thetymodule. by @emilyaherbert in #3024 - Bump to
v0.26.0by @mohammadfawaz in #3023 - Add the
sway-errorcrate to the top levelCargo.tomlby @mohammadfawaz in #3028
Breaking Changes
- The
--generate-logged-typesflag was removed fromforc build. The types of logged values are now emitted in the JSON ABI file by default. - The type
bytewas removed from the language. The typeu8should be used instead. forc testcan no longer be used for Rust integration testing;cargo testshould be used instead. With that, the Sway program under test has to be manually built usingforc build.
Full Changelog: v0.25.2...v0.26.0