Skip to content

Releases: FuelLabs/fuels-rs

v0.61.0

10 May 04:13
f28f609
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.60.0...v0.61.0

v0.60.0

06 May 18:44
b5f563e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.59.0...v0.60.0

v0.59.0

30 Apr 17:13
895264c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.58.0...v0.59.0

v0.58.0

25 Apr 14:55
6813574
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.57.0...v0.58.0

Breaking changes

This release makes the experimental encoding default and adds the legacy_encoding flag to use the old one.

v0.57.0

11 Apr 13:34
5dd6f66
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.56.0...v0.57.0

v0.55.1

29 Mar 18:27
Compare
Choose a tag to compare

Hotfix for the v0.55.0.

Full Changelog: v0.55.0...v0.55.1

v0.56.0

15 Mar 14:54
834a848
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.55.0...v0.56.0

Removed unused response method

We've removed response method from ScriptCallHandler, ContractCallHandler and MultiContractCallHandler.

Fix encoding capacity overflow bug

  • Configurables structs must be instantiated through a ::new(encoder_config) or ::default() method.
  • Configurables::with_some_string_config(some_string) methods now return a Result<Configurables> instead of Configurables.
  • Predicates::encode_data now returns a Result<UnresolvedBytes> instead of UnresolvedBytes.
  • PredicateEncoder structs must be instantiated through a ::new(encoder_config) or ::default() method.

New decode_as_debug_str for the `ABIDecoder

You can now decode straight into a debug string:

let debug_output =  ABIDecoder::default().decode_as_debug_str(&param_type, &[0, 0, 0, 0, 0, 0, 0, 123])?;

This was done so users could use ParamTypes at runtime to debug logs or return receipts. In addition, users are able to go directly from ProgramABI and some data to decoded debug.

BREAKING CHANGE: EnumVariants are now imported through param_types::EnumVariants

Support for fuel-core 0.23.0

  • TxPolicies gas_price is replaced with tip.
  • dry_run now returns TxStatus. The receipts can be taken with tx_status.take_receipts().
  • checked_dry_run is deleted.
  • TransactionResponse's block_id is replaced with block_height.
  • estimate_transaction_cost has a new argument block_horizon used to estimate the gas price.

v0.55.0

29 Jan 20:36
7caf8af
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 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 and CreateTransactionBuilder::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 and sign_transaction from the Signer trait
  • Added sign and address methods to the Signer trait
  • Signer trait moved do fuels::core::traits:::Signer
  • Message, PublicKey, SecretKey and Signature moved to fuels::crypto::
  • Replaced Transaction's check_without_signatures with check
  • Renamed Accounts add_witnessses to add_witnesses
  • Removed Clone for TransactionBuilders

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.

v0.54.0

13 Dec 16:28
d809a24
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.53.0...v0.54.0

v0.53.0

29 Nov 23:06
2fe88f7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.52.0...v0.53.0

Breaking changes

  • U256 is not supported anymore. If used in sway, the SDK will return a runtime error.