NOTE: This release was accidentally published as a patch release.
We have released v0.37.3 that reverts these changes, and v0.38.0 that re-includes them.
You likely want one of those versions instead.
What's Changed
- feat:
forc contract-id
print contract name before printing id for workspaces by @kayagokalp in #4440 - memcpyopt: Ensure source local isn't clobbered before the new memcpy by @vaivaswatha in #4422
- Fix ref mut parameter checking to apply to all function parameters. by @tritao in #4442
- U256 c fix by @rostyslavtyshko in #4441
- Failure to delete the only element of
Vec
of length 1 by @rostyslavtyshko in #4445 - chore: deprecate
built_pkgs_with_manifest()
by @bingcicle in #4447 - refactor:
forc-doc
- move headers above descriptions and add extra vertical spacing between items by @sarahschwartz in #4433 - Add the LSP highlighting capability. by @JoshuaBatty in #4434
- refactor: Introduce
ForcResult
andForcError
to propagate return code with error message by @kayagokalp in #4455 - Refactor
TyDecl
Enum and Separate Structs for Improved Code Organization by @JoshuaBatty in #4457 - Remove unused locals by @vaivaswatha in #4458
- Implement OR match pattern by @IGI-111 in #4348
- refactor: better error formatting for
ForcResult
by @kayagokalp in #4460 - feat: workspace level patch table added by @kayagokalp in #4086
- LSP: Rewrite
TyProgram
traversal to use theParse
trait. by @JoshuaBatty in #4467 - feat: enable contract calls from unit tests in scripts by @kayagokalp in #4456
- Sort forc-doc links alphabetically, add std-lib docs definitions by @sarahschwartz in #4465
- Fix hover docs for self and boolean keywords by @sdankel in #4469
- feat: exit with 101 from forc-test if there are failing tests by @kayagokalp in #4463
- Switch the Sway
sdk-harness
tests to useForc
workspaces instead of the bash scriptbuild.sh
by @mohammadfawaz in #4476 - Bugfix: use the index param in std::tx::tx_witness_pointer by @nfurfaro in #4454
- Adding subsection on address and contract types by @calldelegation in #4479
- Implement associated consts for ABIs by @tritao in #4425
- fix: forc-doc links sort order by @sarahschwartz in #4475
- fix(fmt): redundant newline insertions in commented code by @bingcicle in #4472
- Replace old storage API with the new one explained in the
StorageKey
RFC by @mohammadfawaz in #4464 - Implements aliases support in DCA. by @esdrubal in #4337
- Fixes
Self
not found in match statement. by @esdrubal in #4459 - Improves error message when log is used in predicate. by @esdrubal in #4484
- ci: bump ci to use rust 1.69.0 by @kayagokalp in #4486
- Bump to v0.37.2 by @kayagokalp in #4492
New Contributors
- @calldelegation made their first contribution in #4479
Full Changelog: v0.37.1...v0.37.2