Skip to content

Releases: FuelLabs/fuels-ts

v0.101.3

22 Jul 15:09
e4cf8af
Compare
Choose a tag to compare

Summary

In this release, we:

  • Implemented the auto-consolidation flow to detect when the max UTXO limit has been reached.
  • Added helper function for consolidating coins (consolidateCoins).
  • Added method for consolidating non-base assets.
  • Added the JSON ABI error entry to FuelError.metadata property
  • Added detection and handling for malformed response body
  • Deprecate function signature in InvocationScope helper methods
  • Add support for object parameter at TransactionResponse constructor

Features

Chores

v0.101.2

10 Jun 17:00
365cfa8
Compare
Choose a tag to compare

Summary

In this release, we:

  • Implement support for new ABI error codes
  • Populated transaction summary property calls with invoked contract fn and args
  • Deprecated Node 18 - upgrade to a newer version of Node.
  • Upgraded forc to 0.68.6

Features

Fixes

Chores

v0.101.1

29 May 18:56
b575c6e
Compare
Choose a tag to compare

Summary

In this release, we:

  • Made Account.signTransaction returns TransactionRequest or string

Chores

  • #3895 - Made Account.signTransaction returns TransactionRequest, by @Torres-ssf

v0.101.0

19 May 20:30
4ceb898
Compare
Choose a tag to compare

Summary

In this release, we:

  • Added method setData to Predicate class
  • Added support for on-the-fly modifications to TransactionRequest when using InvocationScope
  • Made provider.assembleTx() to consider reserveGas when setting TX gasLimit
  • Enforced Predicate's data property when the Predicate has arguments
  • Close subscription after Preconfirmation when another status is not awaited by the user
  • Removed BaseInvocationScope.getTransactionId()

Breaking


Features

Fixes

  • #3887 - Close subscription after Preconfirmation status when applicable, by @Torres-ssf

Migration Notes

Fixes

#3886 - Enforce predicateData when predicate has arguments

Predicates that define arguments must now be instantiated with the data property. It is no longer allowed to omit data when the predicate expects input arguments.

For example, for the given predicate:

predicate;

fn main(pin: u64) -> bool {
    return 999 == pin;
}

The following code would compile, even though the predicate expects arguments:

// before
const predicateNoData = new PredicatePin({ provider }) // ✅ Allowed (incorrectly)

const predicate = new PredicatePin({ provider, data: [100] }) // ✅ Correct

TypeScript now enforces that data must be provided:

// after
const predicateNoData = new PredicatePin({ provider }) // ❌ Error: missing required `data`

const predicate = new PredicatePin({ provider, data: [100] }) // ✅ Correct

Chores

#3864 - Remove BaseInvocationScope.getTransactionId()

  • getTransactionId() is no longer available on the BaseInvocationScope.
// before
const contract = new CounterContract(contractId, wallet)

const scope = contract.functions.get_counter()

const txId = await scope.getTransactionId()
// after
const contract = new CounterContract(contractId, wallet)

const request = contract.functions.get_counter().fundWithRequiredCoins()

const chainId = await provider.getChainId()

const txId = await scope.getTransactionId(chainId)

v0.100.6

07 May 02:31
1b9e399
Compare
Choose a tag to compare

Summary

In this release, we:

  • Made connector sendTransaction return TransactionResponse instead TransactionResponseJson

Chores

v0.100.5

06 May 23:24
7f094bb
Compare
Choose a tag to compare

Summary

In this release, we:

  • Implemented helpers to serialize/deserialize TransactionResponse
  • Fixed error with missing CALL receipt in getAllDecodedLogs
  • Fixed Provider auto-refetch strategy

Features

  • #3878 - Implement methods to serialize/deserialize TransactionResponse, by @Torres-ssf

Fixes

v0.100.4

29 Apr 17:59
015c976
Compare
Choose a tag to compare

Summary

In this release, we:

  • Upgraded fuel-core to v0.42.0v0.43.0v0.43.1
  • Upgraded forc to v0.67.1v0.67.2v0.68.1
  • Implemented RPC consistency approach: using required_fuel_block_height
  • Implemented the new AssembleTx GraphQL endpoint in the Provider class
  • Added support for Pre-Confirmations
  • Implemented helper method for base asset (UTXO) consolidation: account.consolidateCoins()
  • Exported @fuels/vm-asm package as FuelAsm from fuels

Features

Fixes

Chores

v0.100.3

14 Apr 17:30
abe5933
Compare
Choose a tag to compare

Summary

In this release, we:

  • Introduced groupedLogs for contracts and scripts

Features

Fixes

v0.100.2

03 Apr 20:20
e210797
Compare
Choose a tag to compare

Summary

In this release, we:

  • Adjusted feature detection for balances indexation

Fixes

Chores

v0.100.1

19 Mar 15:32
3746f6c
Compare
Choose a tag to compare

Summary

In this release, we:

  • Avoid decoding logs from inter-called contracts without a JSON ABI
  • Eliminated duplicate chain requests across multiple concurrent provider instances

Fixes

Chores