What's Changed
- Use Jemalloc in
forc-lsp
and LSP benchmarks for greater performance. by @JoshuaBatty in #5373 - Check test consistency by @ironcev in #5375
- Update LSP tests to use std lib v0.48.1 by @JoshuaBatty in #5371
- Add
InstructionInserter
and make a block's instruction list private by @vaivaswatha in #5365 - Implement order-independent module evaluation by @tritao in #5300
- Refactor Language Server I/O to Use Tokio Async Primitives by @JoshuaBatty in #5378
- Ignore Forc.lock in LSP tests by @sdankel in #5389
- Add fuel-debugger as a forc plugin by @sdankel in #5390
- Improve error message for illegal enum variants by @jjcnn in #5397
- docs: configure spell check, minor improvements by @sarahschwartz in #5369
- Refactor forc-test to expose VM interpreter by @sdankel in #5409
- Fix broken link in access_control.md by @sdankel in #5420
- Improve forc-fmt to format std lib and core by @crodas in #5410
- Fmt std core by @crodas in #5405
- Fix resolution of local items that shadow imported ones by @ironcev in #5418
- Implements the
Hash
trait forEvmAddress
by @brandonsurh in #5422 - Make sure that list of plugins is sorted and unique by @crodas in #5395
- Added tests for the
sqrt()
method inmath.sw
by @brandonsurh in #5423 - Added
assert_ne(x, y)
function by @brandonsurh in #5426 - Run
forc fmt
on std-lib by @crodas in #5404 - Introduce
predicate_id()
to the std-lib by @bitzoic in #5425 - Changes
ConcurrentSlab
to store values in map. by @esdrubal in #5400 - Add references to Sway by @ironcev in #5406
- ci: use rust 1.75 in CI by @kayagokalp in #5435
- Check errors related to return as an expression by @jjcnn in #5416
- Major Performance Boost in
line_col
Function withbytecount
Integration by @JoshuaBatty in #5440 - chore: use sdk v0.54.0 to enable forc-client deployments to beta5 by @kayagokalp in #5433
- Implement a more responsive compilation thread in the the language server. by @JoshuaBatty in #5429
- Create the
asset_id.sw
file and moveAssetId
out ofcontract_id.sw
by @bitzoic in #5439 - Large integers in aggregates cannot be scalarised by @vaivaswatha in #5442
- Add examples to cli --help by @crodas in #5388
- refactor: update error message for
forc deploy
when password is mismatch by @Halimao in #5446 - fix:
forc build
panic when sway package folder contains dot by @Halimao in #5448 - Fix Internal Compiler Error related to
break
andcontinue
by @jjcnn in #5451 - fix: point std to local version for forc-client cli tests by @kayagokalp in #5457
- Add
try_insert
to storage map by @SwayStar123 in #5441 - chore: replaced
filter().map()
withfilter_map()
insway-core
. by @bogdiw in #5466 - feat: add beta-5 network to supported networks by @kayagokalp in #5460
- refactor: improve the flow of
forc deploy
when selecting an account that doesn't exist by @Halimao in #5447 - Formalize Asset and Coin Terminology in the std-lib by @bitzoic in #5461
- __log outputting encoded values by @xunilrj in #5306
- Fix broken link to book in README by @IGI-111 in #5471
- LSP Optimization: Wrap
programs_cache
in anArc
by @JoshuaBatty in #5472 - Convert numeric literals to U256 based on inferred expression type by @vaivaswatha in #5489
- LSP Optimization: Use rayon for
parse_ast_to_typed_tokens
function by @JoshuaBatty in #5473 - fix: depend on std via path for forc-doc, forc-fmt and forc-tx cli tests by @kayagokalp in #5483
- LSP Optimization: Add par_iters to the
traverse::typed_tree
module by @JoshuaBatty in #5487 - chore: bump to v0.49.0 by @kayagokalp in #5452
New Contributors
- @jjcnn made their first contribution in #5397
- @Halimao made their first contribution in #5446
- @bogdiw made their first contribution in #5466
Full Changelog: v0.48.1...v0.49.0