Releases: FuelLabs/sway-libs
Releases · FuelLabs/sway-libs
v0.10.0
What's Changed
- Reentrancy test improvements by @nfurfaro in #150
- Begin move of standards to new repo by @bitzoic in #152
- Add
ref mut
keyword for String Library function definitions by @bitzoic in #154
Breaking Changes
The addition of including ref mut
in #154 as an argument for the String
type function implementations could result in breaking changes. To resolve these, please ensure your String
variables are mutable. Accessing the underlying Bytes
type is no longer required.
Notes
The standards in this repo have been deprecated. Please check https://github.com/FuelLabs/sway-standards for the latest standards.
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- Update Codeowners by @Braqzen in #130
- Bump repository to use
forc 0.38.0
by @rostyslavtyshko in #143 - Queue by @rostyslavtyshko in #125
- Add test for cross-contract reentrancy by @nfurfaro in #147
- Add additional documentation for setting an owner on contract deployment by @bitzoic in #149
Breaking Changes
- The Ownership library has a breaking change. As it now uses the recently introduced
StorageKey
, theOwnership
struct must be added to the storage block. Please see the Ownership Library's README for information on how to do this.
Full Changelog: v0.8.1...v0.9.0
v0.8.1
What's Changed
- Reimplement
append()
forString
type by @bitzoic in #132 - Proper test directory naming #112 by @rostyslavtyshko in #131
- Update to fuels-rs v0.41.0 by @bitzoic in #139
- Unit test CI step by @rostyslavtyshko in #136
- Introduce StorageString to sway-libs by @bitzoic in #92
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
- Bumped action toolchain to 0.6.0 by @Braqzen in #108
- Two's complement by @rostyslavtyshko in #94
- Update and add banners for libraries by @bitzoic in #109
- Two's complement for
I128
andI256
by @rostyslavtyshko in #110 - Add fungible token abi by @nfurfaro in #115
- IFP64 by @rostyslavtyshko in #103
- Add Storage Read and Writes for StorageVecMap by @bitzoic in #122
- Add inline docs for Ownership library by @bitzoic in #121
- Add Storage Read and Writes for NFT by @bitzoic in #124
- IFP128 by @rostyslavtyshko in #105
- Adding a non-fungible token standard by @nfurfaro in #116
- IFP256 by @rostyslavtyshko in #107
- Update alt tag in README by @Braqzen in #129
- Bump repo by @bitzoic in #128
New Contributors
Breaking Changes
- Until FuelLabs/sway#4158 is resolved, developers must directly access the underlying Bytes type to make modifications to the String type.
Full Changelog: v0.7.1...v0.8.0
v0.7.1
v0.7.0
What's Changed
- Fix signed integer bugs by @rostyslavtyshko in #66
- Bump repo to forc v0.35.3, fuels-rs v0.36.1, fuel-core v0.17.3, and rust v1.67.0 by @bitzoic in #100
Breaking Changes
- This update bumps all libraries to forc v0.35.3. This will not build with previous releases.
String
no longer supports the.join()
andsplit()
functions. These have been renamed toappend()
andsplit_at()
.append()
is currently not available.
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- Update Merkle Proof Library to use Bytes type by @bitzoic in #81
- Update String library to use
Bytes
type by @bitzoic in #88 - migrate reentrancy to new directory structure by @jtriley-eth in #83
- UFP32 by @rostyslavtyshko in #84
New Contributors
- @jtriley-eth made their first contribution in #83
Breaking Changes
- The
as_bytes()
function no longer exists for the String Library and has been replaced with the From trait.
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- UFP64 by @rostyslavtyshko in #31
- Remove SDK vec comment from README by @bitzoic in #59
- Update the CI versions by @rostyslavtyshko in #63
- Update README for new versions by @bitzoic in #64
- Unused variables and private functions used - Fix by @SwayStar123 in #60
- UFP128 by @rostyslavtyshko in #32
- Refactor the tests folder to use workspaces by @bitzoic in #73
- Check rust formatting in the ci by @bitzoic in #74
- Add Contributing book for repo by @bitzoic in #75
- Add Simon as code owner by @bitzoic in #77
- Storagemapvec by @SwayStar123 in #58
- add missing keyword 'use' in library import example by @mehtavishwa30 in #79
- Contract Owner Library by @bitzoic in #76
- Refactor libraries into their own pkgs under a
libs
workspace by @mitchmindtree in #78
New Contributors
- @SwayStar123 made their first contribution in #60
- @mehtavishwa30 made their first contribution in #79
- @mitchmindtree made their first contribution in #78
Full Changelog: v0.4.1...v0.5.0
Breaking Changes
- This release will break downstream packages that currently depend on sway-libs as a single library. The README has been updated to demonstrate the new approach for importing libraries from the sway-libs repo.
v0.4.1
v0.4.0
What's Changed
- Signed integers by @rostyslavtyshko in #30
New Contributors
- @rostyslavtyshko made their first contribution in #30
Full Changelog: v0.3.1...v0.4.0