What's Changed
- Represent module level doc comments in
forc doc
by @eureka-cpu in #4096 - rm unused compiler errors by @jtriley-eth in #4143
- Add tokens for where clause by @IGI-111 in #4149
- Rework trait/ABI/impl and constant related code. by @tritao in #4140
- ci: fix forc-fmt usage in CI when checking examples by @bingcicle in #4153
- Add usage docs for Salt feature by @mehtavishwa30 in #4132
- Fix: add type_def for
GenericTypeForFunctionScope
and fix storage field type_def by @JoshuaBatty in #4167 - Add LSP tests for
TyAbiDeclaration
by @JoshuaBatty in #4165 - add Result to blockchain types by @camiinthisthang in #3894
- refactor(
forc-pkg
): Abstract outsource
-related items frompkg
by @mitchmindtree in #4168 - DCA now detects dead code when all branches return explicitly. by @vaivaswatha in #4169
- Add syntax highlighting to code blocks in
forc doc
by @eureka-cpu in #4176 - Add
forc build
flag to treat warnings as errors by @vaivaswatha in #4177 - Storage Vector Test Refactor by @jtriley-eth in #4171
- Remove unnecessary call to export methods defined for trait fn return types. by @emilyaherbert in #4182
- feat(forc-pkg): Print before compiling each package. Only print after on warnings/error. by @mitchmindtree in #4187
- feat(forc-pkg): Improve workspace build summary by @mitchmindtree in #4188
- Small refactor to only create a
TraitMap
entry for the supertraits if there are supertraits. by @emilyaherbert in #4183 - Clear memory from type and decl engines by @JoshuaBatty in #4190
- Set up infrastructure for MidenVM compilation mode by @p0ry-g0n in #4173
- Rework trait mapping code to be item-based. by @tritao in #4179
- feat(fmt): format comments supertraits by @bingcicle in #4129
- feat: display gas used for unit tests by @kayagokalp in #4178
- Simplify stored types during token collection by @JoshuaBatty in #4202
- Add
std
docs to the sway book by @eureka-cpu in #4204 - fix: calculate contract dependency ids with tests disabled by @kayagokalp in #4159
- Generic refactor of
DeclEngine
by @IGI-111 in #4181 - Check for regressions in warnings thrown by @vaivaswatha in #4210
- Adds documentation for Sway attributes. by @esdrubal in #4203
- Implements #[allow(dead_code)] by @esdrubal in #4170
- Implements json abi with call paths for structs and enums. by @esdrubal in #4137
- Use
DeclRef
for struct and enum TypeInfo by @IGI-111 in #4213 - Fix broken link and missing summary item for the "Attributes" chapter by @mohammadfawaz in #4214
- Update the invalid link to Developer Quickstart Guide in the Sway Docs. by @h3lio5 in #4216
- Add links for types that go to their definitions by @eureka-cpu in #4017
- Refactor to use
Engines
where possible by @emilyaherbert in #4225 - Remove re-borrow of
Engines
, which is aCopy
type. by @emilyaherbert in #4224 - New example for methods and associated functions by @mohammadfawaz in #4226
- fix(forc-fmt): propagate error on failure by @bingcicle in #4222
- ci: check for
fuels
deps inforc-pkg
by @bingcicle in #4221 - LSP: Rewrite
LexedProgram
andParseProgram
traversal to use the Parse trait. by @JoshuaBatty in #4220 - Add more logging to flaky test by @sdankel in #4227
- Disable flaky goto definition testcase until fixed by @sdankel in #4228
- bump to
v0.35.4
by @mohammadfawaz in #4230
New Contributors
Full Changelog: v0.35.3...v0.35.4