Skip to content

Release v0.26.0#354

Merged
bitzoic merged 2 commits into
releasefrom
release-v0.26.0
Jul 3, 2025
Merged

Release v0.26.0#354
bitzoic merged 2 commits into
releasefrom
release-v0.26.0

Conversation

@bitzoic

@bitzoic bitzoic commented Jun 26, 2025

Copy link
Copy Markdown
Member

Release v0.26.0

Added

  • #347 Adds examples on how to prevent ownership front-running.
  • #351 Adds CI job to run forc publish on version changes in the release branch.

Changed

  • #348 Updates to forc v0.68.5 and fuel-core v0.43.2.
  • #350 Updates documentation on adding libraries via forc add.
  • #352 Updates to forc v0.69.0 and fuel-core v0.44.0.

Fixed

  • #350 Fixes typos in inline documentation in the Asset Library.

Breaking

  • #350 Refactors the repository such that each library is a separate project to be imported with forc add.
  1. The dependencies in your Forc.toml file must be updated.

    Before:

    [dependencies]
    sway_libs = { git = "https://github.com/FuelLabs/sway-libs", tag = "v0.25.2" }

    After:

    [dependencies]
    admin = "0.26.0"
    ownership = "0.26.0"
  2. The following imports have changed:

    Admin Library

    Before:

    use sway_libs::admin::*;

    After:

    use admin::*;

    Asset Library

    Before:

    use sway_libs::asset::*;

    After:

    use asset::*;

    Big Integers Library

    use sway_libs::bigint::*;

    After:

    use big_int::*;

    Bytecode Library

    Before:

    use sway_libs::bytecode::*;

    After:

    use bytecode::*;

    Merkle Library

    Before:

    use sway_libs::merkle::*;

    After:

    use merkle::*;

    Ownership Library

    Before:

    use sway_libs::ownership::*;

    After:

    use ownership::*;

    Pausable Library

    Before:

    use sway_libs::pausable::*;

    After:

    use pausable::*;

    Queue

    Before:

    use sway_libs::queue::*;

    After:

    use queue::*;

    Reentrancy Library

    Before:

    use sway_libs::reentrancy::*;

    After:

    use reentrancy::*;

    Signed Integers

    Before:

    use sway_libs::signed_integers::*;

    After:

    use signed_int::*;

    Upgradeability

    Before:

    use sway_libs::upgradeability::*;

    After:

    use upgradeability::*;

@bitzoic bitzoic self-assigned this Jun 26, 2025
@bitzoic bitzoic requested a review from a team as a code owner June 26, 2025 08:26
PraneshASP
PraneshASP previously approved these changes Jun 26, 2025
@luizstacio luizstacio closed this Jul 3, 2025
@luizstacio luizstacio reopened this Jul 3, 2025
@luizstacio luizstacio closed this Jul 3, 2025
@luizstacio luizstacio reopened this Jul 3, 2025
@bitzoic bitzoic merged commit a82a073 into release Jul 3, 2025
165 checks passed
@bitzoic bitzoic deleted the release-v0.26.0 branch July 3, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants