What's Changed
- Add
set
function toVec<T>
by @mauricewbr in #2837 - Re-enable formatting in the
lsp
by @eureka-cpu in #2801 - When --offline flag specified for forc build, attempt to use local git checkouts for git dependencies before failing by @kayagokalp in #2366
- Remove old unused fn in LSP server by @JoshuaBatty in #2846
- Publish error and warning diagnostics when the project cannot be parsed by @JoshuaBatty in #2809
- Store attributes in the
ParseProgram
declaration types. by @JoshuaBatty in #2792 - Fix parse error when whitespace precedes comments by @eureka-cpu in #2844
- Signed integers by @rostyslavtyshko in #2340
- UFP64 type for std library by @rostyslavtyshko in #2197
- Move the
resolve_types
function to theTypeEngine
by @emilyaherbert in #2835 - Better error message when fetching a git dependency failed by @kayagokalp in #2860
- Re-apply a PR that got written over in a merge conflict by @emilyaherbert in #2866
- Search locally for git sources before fetching them in online mode by @kayagokalp in #2377
- Type checker: bubble up existing recovery by @Centril in #2823
- Fix CopyTypes implementation for
DeclarationId
. by @tritao in #2874 - Add
append
macro by @emilyaherbert in #2882 - Handle leading newlines and whitespaces before pre-module comments by @kayagokalp in #2879
- Parser: recovery for auto-completion by @Centril in #2858
parse_module_tree
: add recovery by @Centril in #2859- Add --log-level and --silent to forc by @sdankel in #2870
- Simplify and refactor the lexer by @Centril in #2877
- Revert signed integers, ufp64 by @rostyslavtyshko in #2892
- Add a special revert code for
transfer_to_output
by @mohammadfawaz in #2898 - Remove dead docstrings crate by @sezna in #2901
- Add some missing keywords for mdBook syntax highlighting by @JoshuaBatty in #2903
- Make
FunctionParameter
take aTypeInfo
by @emilyaherbert in #2902 - Update lock file since the
docstring
crate was removed by @mohammadfawaz in #2908 - Bump a few dependencies by @mohammadfawaz in #2896
- Reduce use of
to_typeinfo(..).unwrap()
by @emilyaherbert in #2910 - Rename
visit_expr
toexpr_leaf_spans
by @eureka-cpu in #2914 - Fix
doc
comments and apply tolib std
by @eureka-cpu in #2913 - Missing changes from 2913 by @eureka-cpu in #2916
- Misc simplifications (Lexer + LSP) by @Centril in #2921
- Some minor e2e tests cleanup by @mohammadfawaz in #2924
- Bump to
fuels v0.25.0
by @mohammadfawaz in #2935 - ci: revert forc-client CI removals by @bingcicle in #2920
- Add function calls to the back end. by @otrho in #2843
- Enable a
StorageMap
test case that wasn't working before by @mohammadfawaz in #2940 - Rename
transfer_to_output
totransfer_to_address
by @mohammadfawaz in #2941 - Fix
struct
andtuple
destructuring formatting by @eureka-cpu in #2918 - Introduce a
__revert
intrinsic a disallowrvrt
,ret
andretd
inasm
blocks by @mohammadfawaz in #2890 - Bump to
v0.25.0
by @mohammadfawaz in #2942
New Contributors
- @mauricewbr made their first contribution in #2837
Breaking Changes
- The standard library function
std::token::transfer_to_output
has been renamed tostd::token::transfer_to_address
. - The VM instruction
rvrt
is no longer allowed inasm
blocks. The standard library functionstd::revert::revert
, which is included in the prelude, should be used instead. - The VM instructions
ret
andretd
are no longer allowed inasm
blocks. The usual implicit or explicit returns should be used instead.
Full Changelog: v0.24.5...v0.25.0