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