v0.100.0
·
92 commits
to master
since this release
Summary
In this release, we:
- Consider
assetIdonisUserAccountandgetAddressTypemethods - Enabled hashing + signing of bytes via
personalMessageas per EIP-191 - Support customizing TX request from
BaseInvocationScope - Improved JSON RPC interface between SDK and Connectors, reducing HTTP requests
- Added the corresponding receipt to the operation in the Tx summary
- Improved directory detection for
fuels init - Introduced
decodeScriptDatato decode the the values from a contract call script - Merge gas price and predicate estimation on a single request
- Adapted
ResourceCacheto conform with newcoinsToSpendlimitations - Upgraded
fuel-coreto0.41.9 - Upgraded
fuel-coreto0.41.7 - Made
getBlockWithTransactionsandgetBlocksupports BN parameter - Upgraded
forcto0.67.0 - Upgraded
forcto0.66.7
Breaking
- Chores
- #3697 - Made
ResourceCacheconsider resource owner, by @Torres-ssf - #3590 - Upgrade
fuel-coreto0.41.7, by @Torres-ssf
- #3697 - Made
Features
- #3618 - Consider
assetIdin check account utility, by @Torres-ssf - #3720 - Enable arbitrary data signing, by @petertonysmith94
- #3773 - Support customizing TX request from
BaseInvocationScope, by @Torres-ssf - #3735 - Improved connector JSON RPC interface, by @petertonysmith94
- #3658 - Add receipts with the operations summary, by @nelitow
Fixes
- #3776 - Ensure is possible to forward 0 amount to contract, by @Torres-ssf
- #3759 - Correct revert error name, by @Torres-ssf
- #3638 - Improve
fuels initdirectory detection, by @petertonysmith94 - #3680 - Favour
.tsover.d.tsfiles in@fuel-ts/abi-typegen, by @petertonysmith94 - #3704 - Contract operations in transaction summary, by @danielbate
Chores
- #3676 - Merge gas price and predicate estimation requests, by @Torres-ssf
- #3698 - Upgrade
viterelated dependencies, by @petertonysmith94 - #3772 - Revert "fix: ignored subscriptions not being read", by @nedsalk
- #3723 - Upgraded various dependencies, by @petertonysmith94
- #3756 - Bump
fuel-coreto0.41.9, by @Torres-ssf - #3688 - Upgrade NPM package versions, by @petertonysmith94
- #3734 - Remove call ops in tx summary, by @danielbate
- #3713 - Add missing turbo cache, by @petertonysmith94
- #3700 - Support BN input in block fetch methods, by @Torres-ssf
- #3774 - Updated
forcto0.67.0, by @petertonysmith94 - #3673 - Upgrade
forcto0.66.7, by @petertonysmith94 - #3694 - Upgrade frontend dependencies, by @petertonysmith94
Migration Notes
Chores
#3697 - Made ResourceCache consider resource owner
//before
provider.cache?.getActiveData();
provider.cache?.isCached(key);//after
const owner = wallet.address.toB256();
provider.cache?.getActiveData(owner)
provider.cache?.isCached(owner, key);#3590 - Upgrade fuel-core to 0.41.7
Because of the latest fuel-core changes, TS SDK does not throw the following error codes and messages anymore:
- NOT_ENOUGH_FUNDS
// before
"The account(s) sending the transaction don't have enough funds to cover the transaction."// after
"Insufficient funds or too many small value coins. Consider combining UTXOs."- MAX_COINS_REACHED
// before
"The account retrieving coins has exceeded the maximum number of coins per asset. Please consider combining your coins into a single UTXO."// after
"Insufficient funds or too many small value coins. Consider combining UTXOs."Both error codes were removed in favor of INSUFFICIENT_FUNDS_OR_MAX_COINS