Avatar for the FuelLabs user
FuelLabs
sway
BlogDocsChangelog

Performance History

Latest Results

feat: implement `forc add` and `forc remove` to add/remove dependencies (#7143) ## Description Close #2369 **Summary:** Implements functionality for `forc` to add remove dependencies through cli, similar to Cargo's `add` and `remove` commands. **Work Done:** * ✅ Added `forc add` command to support adding both regular and contract dependencies from path, git, IPFS, or version. * ✅ Implemented conflict checks for version + source collisions (e.g., version + git). * ✅ Added automatic fallback to workspace-relative path for local packages. * ✅ Introduced `forc remove` to cleanly remove specified dependencies from the manifest. * ✅ Modularized update logic using `DepSection` enum for unified regular/contract dependency handling. * ✅ Used `toml_edit` to update the manifest file while preserving formatting. ## Checklist - [x] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [x] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [x] I have added tests that prove my fix is effective or that my feature works. - [x] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
master
15 minutes ago
chore: fix fmt error
JoE11-y:feat/forc-edit-subcommands-impl
3 hours ago
Merge branch 'master' into feat/forc-edit-subcommands-impl
JoE11-y:feat/forc-edit-subcommands-impl
4 hours ago
Merge branch 'master' into feat/forc-edit-subcommands-impl
JoE11-y:feat/forc-edit-subcommands-impl
5 hours ago
fix: Prevent panic in semantic highlighting for unknown token types (#7189) ## Description Previously, the language server would panic if it encountered a `SymbolKind` that mapped to a `SemanticTokenType` not present in the `SUPPORTED_TYPES` array. This was due to an `unwrap()` call in the `type_index` function. This PR addresses the issue by: Adding `SemanticTokenType::new("traitType")` to the `SUPPORTED_TYPES` array, which was the specific missing type causing a crash when opening `sway-lib-std/src/iterator.sw`. Modifying `type_index` to return `Option<u32>` instead of `u32`, removing the `unwrap()`. closes #7188 ## Checklist - [x] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [x] I have added tests that prove my fix is effective or that my feature works. - [x] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
master
7 hours ago
fix compiling transmute intrinsic
vaivaswatha/ir2_pr3
22 hours ago

Active Branches

Put function arguments into a local, to be optimised later
last run
22 hours ago
#6967
CodSpeed Performance Gauge
0%
#6760
CodSpeed Performance Gauge
0%
#7149
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home Terms PrivacyDocs