v0.55.0
版本发布时间: 2024-01-30 04:36:59
FuelLabs/fuels-rs最新发布版本:v0.61.0(2024-05-10 12:13:19)
What's Changed
- refactor!: remove
NetworkInfo
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1231 - chore: add test for compute_calls_instructions_len by @Br1ght0ne in https://github.com/FuelLabs/fuels-rs/pull/1183
- fix: use only base asset amount when calculating fee by @mpoplavkov in https://github.com/FuelLabs/fuels-rs/pull/1240
- refactor!: use
submit_and_await_commit
API by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1187 - chore!: remove duplicate function by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1243
- fix: prevent overflow while decoding param types by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1227
- refactor!: signing and the
Signer
trait by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1241 - chore: fixing broken links by @Frierened in https://github.com/FuelLabs/fuels-rs/pull/1248
- chore: bump
forc
to0.49.1
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1251 - fix: remove redundant contract tests by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1254
- chore: remove hybrid trigger by @MujkicA in https://github.com/FuelLabs/fuels-rs/pull/1250
- feat: add conversion from
Address
/ContractId
types toIdentity
by @dmihal in https://github.com/FuelLabs/fuels-rs/pull/1252 - Bump versions to 0.55.0 by @digorithm in https://github.com/FuelLabs/fuels-rs/pull/1262
- Change publish action by @digorithm in https://github.com/FuelLabs/fuels-rs/pull/1264
New Contributors
- @mpoplavkov made their first contribution in https://github.com/FuelLabs/fuels-rs/pull/1240
- @Frierened made their first contribution in https://github.com/FuelLabs/fuels-rs/pull/1248
- @dmihal made their first contribution in https://github.com/FuelLabs/fuels-rs/pull/1252
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/v0.54.0...v0.55.0
Breaking changes
Removed NetworkInfo
- Removed
NetworkInfo
and all related functions/methods - Renamed
DryRunner
trait and added trait methods - Removed
ScritpTransactionBuilder::new
andCreateTransactionBuilder::new
- Removed
Provider::new
Use submit_and_await_commit
API
send_transaction_and_await_commit
function now returns a TxStatus
instead of TxId
.
Signing and the Signer
trait
- Removed
sign_message
andsign_transaction
from theSigner
trait - Added
sign
andaddress
methods to theSigner
trait -
Signer
trait moved dofuels::core::traits:::Signer
-
Message
,PublicKey
,SecretKey
andSignature
moved tofuels::crypto::
- Replaced
Transaction
'scheck_without_signatures
withcheck
- Renamed
Account
sadd_witnessses
toadd_witnesses
- Removed
Clone
forTransactionBuilder
s
Conversion from Address
/ContractId
types to Identity
It's not a breaking change, just a new cool UX feature. Convert from Address
/Bech32Address
/ContractId
/Bech32ContractId
to Identity
easily.