Skip to content

Releases: FuelLabs/fuels-ts

v0.64.0

20 Oct 18:18
6e7f04f
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.64.0

@fuel-ts/abi-typegen@0.64.0

@fuel-ts/address@0.64.0

@fuel-ts/contract@0.64.0

@fuel-ts/crypto@0.64.0

@fuel-ts/errors@0.64.0

@fuel-ts/forc@0.64.0

Minor Changes

@fuel-ts/fuel-core@0.64.0

fuels@0.64.0

@fuel-ts/hasher@0.64.0

@fuel-ts/hdwallet@0.64.0

@fuel-ts/interfaces@0.64.0

@fuel-ts/math@0.64.0

@fuel-ts/merkle@0.64.0

@fuel-ts/mnemonic@0.64.0

@fuel-ts/predicate@0.64.0

@fuel-ts/program@0.64.0

@fuel-ts/providers@0.64.0

Patch Changes

  • Rearrange error messages regarding insufficient tx params, by @danielbate (See #1352)

@fuel-ts/script@0.64.0

@fuel-ts/signer@0.64.0

@fuel-ts/testcases@0.64.0

@fuel-ts/transactions@0.64.0

@fuel-ts/utils@0.64.0

@fuel-ts/versions@0.64.0

@fuel-ts/wallet@0.64.0

Minor Changes

  • Added support for integration testing on live node, by @camsjams (See #1324)

@fuel-ts/wallet-manager@0.64.0

@fuel-ts/wordlists@0.64.0

v0.63.0

17 Oct 18:43
3d3cf79
Compare
Choose a tag to compare
  • refactor: purge usage of arrayify from ethers v5 in favor of getBytes from ethers v6, by @danielbate (See #1255)
  • Add typegen support and docs for new types, by @camsjams (See #1342)
  • Auto-loading *-storage_slots.json based on *-abi.json filepaths, by @arboleya (See #1346)
  • Upgrade fuel-core to 0.20.7, by @Torres-ssf (See #1357)

Breaking Changes and New Features

Support for new types

You can now use these Sway types with the TS SDK.

Bytes

const bytes = [40, 41, 42];
const { value } = await contract.functions.bytes_comparison(bytes).simulate();

Raw Slices

 const rawSlice = [40, 41, 42];
 const { value } = await contract.functions.raw_slice_comparison(rawSlice).simulate();

StdString

const stdString = 'Hello World';
const { value } = await contract.functions.string_comparison(stdString).simulate();

Auto-loading of storage slots

Typegen tries to resolve, auto-load, and embed the Storage Slots for your Contract within the MyContract__factory class. Still, you can override it alongside other options from DeployContractOptions, when calling the deployContract method:

import storageSlots from "../contract/out/debug/storage-slots.json";

const contract = await MyContract__factory.deployContract(bytecode, wallet, {
  storageSlots,
});

v0.62.0

11 Oct 15:50
24dd620
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.62.0

@fuel-ts/abi-typegen@0.62.0

@fuel-ts/address@0.62.0

@fuel-ts/contract@0.62.0

@fuel-ts/crypto@0.62.0

@fuel-ts/errors@0.62.0

Minor Changes

  • Reverted GraphQL subscriptions, thus removing Provider.operations.statusChange, by @nedsalk (See #1333)

@fuel-ts/forc@0.62.0

@fuel-ts/fuel-core@0.62.0

fuels@0.62.0

@fuel-ts/hasher@0.62.0

@fuel-ts/hdwallet@0.62.0

@fuel-ts/interfaces@0.62.0

@fuel-ts/math@0.62.0

@fuel-ts/merkle@0.62.0

@fuel-ts/mnemonic@0.62.0

@fuel-ts/predicate@0.62.0

@fuel-ts/program@0.62.0

@fuel-ts/providers@0.62.0

Minor Changes

  • Reverted GraphQL subscriptions, thus removing Provider.operations.statusChange, by @nedsalk (See #1333)

@fuel-ts/script@0.62.0

@fuel-ts/signer@0.62.0

@fuel-ts/testcases@0.62.0

@fuel-ts/transactions@0.62.0

@fuel-ts/utils@0.62.0

@fuel-ts/versions@0.62.0

@fuel-ts/wallet@0.62.0

@fuel-ts/wallet-manager@0.62.0

@fuel-ts/wordlists@0.62.0

v0.61.0

10 Oct 15:37
f3c3817
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.61.0

Minor Changes

Patch Changes

  • refactor: purge the usage of the hardcoded constant VM_TX_MEMORY, by @Dhaiwat10 (See #1318)

@fuel-ts/abi-typegen@0.61.0

@fuel-ts/address@0.61.0

Minor Changes

  • Improve developer experience of fromEvmAddress address helper function, by @danielbate (See #1309)

@fuel-ts/contract@0.61.0

@fuel-ts/crypto@0.61.0

@fuel-ts/errors@0.61.0

Minor Changes

  • Check mismatch of fuel client version and supported version: throw on major/minor mismatch, warn on patch mismatch, by @nedsalk (See #1287)
  • Improve developer experience of fromEvmAddress address helper function, by @danielbate (See #1309)

@fuel-ts/forc@0.61.0

@fuel-ts/fuel-core@0.61.0

Patch Changes

fuels@0.61.0

@fuel-ts/hasher@0.61.0

@fuel-ts/hdwallet@0.61.0

@fuel-ts/interfaces@0.61.0

@fuel-ts/math@0.61.0

@fuel-ts/merkle@0.61.0

@fuel-ts/mnemonic@0.61.0

@fuel-ts/predicate@0.61.0

Patch Changes

  • refactor: purge the usage of the hardcoded constant VM_TX_MEMORY, by @Dhaiwat10 (See #1318)

@fuel-ts/program@0.61.0

Minor Changes

  • Add StdString dynamic string type, by @camsjams (See #1277)
  • made prop transactionRequest protected on BaseInvocationScope in favor of getTransactionRequest, by @Torres-ssf (See #1296)

Patch Changes

  • refactor: purge the usage of the hardcoded constant VM_TX_MEMORY, by @Dhaiwat10 (See #1318)

@fuel-ts/providers@0.61.0

Minor Changes

  • rename Provider switchUrl to connect, by @Torres-ssf (See #1294)
  • Check mismatch of fuel client version and supported version: throw on major/minor mismatch, warn on patch mismatch, by @nedsalk (See #1287)

Patch Changes

  • 🐞 Fixed the TransferOut and Transfer receipts, by @matt-user (See #1328)
  • remove console warn, by @camsjams (See #1323)
  • refactor: purge the usage of the hardcoded constant VM_TX_MEMORY, by @Dhaiwat10 (See #1318)
  • On the Provider class, make nodeInfoCache and chainInfoCache private fields, by @Dhaiwat10 (See #1303)

@fuel-ts/script@0.61.0

@fuel-ts/signer@0.61.0

@fuel-ts/testcases@0.61.0

@fuel-ts/transactions@0.61.0

@fuel-ts/utils@0.61.0

@fuel-ts/versions@0.61.0

Patch Changes

@fuel-ts/wallet@0.61.0

Patch Changes

  • 🐞 fix: launchNode will create a GENESIS_KEY if not already set, by @dmihal (See #1305)

@fuel-ts/wallet-manager@0.61.0

@fuel-ts/wordlists@0.61.0

v0.60.0

26 Sep 22:06
bf7413f
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.60.0

Minor Changes

@fuel-ts/abi-typegen@0.60.0

@fuel-ts/address@0.60.0

@fuel-ts/contract@0.60.0

Minor Changes

@fuel-ts/crypto@0.60.0

@fuel-ts/errors@0.60.0

Minor Changes

@fuel-ts/forc@0.60.0

@fuel-ts/fuel-core@0.60.0

fuels@0.60.0

@fuel-ts/hasher@0.60.0

@fuel-ts/hdwallet@0.60.0

@fuel-ts/interfaces@0.60.0

@fuel-ts/math@0.60.0

@fuel-ts/merkle@0.60.0

@fuel-ts/mnemonic@0.60.0

@fuel-ts/predicate@0.60.0

@fuel-ts/program@0.60.0

Minor Changes

@fuel-ts/providers@0.60.0

Minor Changes

@fuel-ts/script@0.60.0

@fuel-ts/signer@0.60.0

@fuel-ts/testcases@0.60.0

@fuel-ts/transactions@0.60.0

Minor Changes

@fuel-ts/utils@0.60.0

@fuel-ts/versions@0.60.0

@fuel-ts/wallet@0.60.0

Minor Changes

@fuel-ts/wallet-manager@0.60.0

@fuel-ts/wordlists@0.60.0

v0.59.0

22 Sep 15:59
bd2b7b6
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.59.0

Minor Changes

@fuel-ts/abi-typegen@0.59.0

@fuel-ts/address@0.59.0

Minor Changes

@fuel-ts/contract@0.59.0

Minor Changes

@fuel-ts/crypto@0.59.0

@fuel-ts/errors@0.59.0

Minor Changes

@fuel-ts/forc@0.59.0

@fuel-ts/fuel-core@0.59.0

Minor Changes

fuels@0.59.0

@fuel-ts/hasher@0.59.0

@fuel-ts/hdwallet@0.59.0

@fuel-ts/interfaces@0.59.0

@fuel-ts/math@0.59.0

@fuel-ts/merkle@0.59.0

@fuel-ts/mnemonic@0.59.0

@fuel-ts/predicate@0.59.0

Minor Changes

@fuel-ts/program@0.59.0

Minor Changes

@fuel-ts/providers@0.59.0

Minor Changes

@fuel-ts/script@0.59.0

@fuel-ts/signer@0.59.0

@fuel-ts/testcases@0.59.0

@fuel-ts/transactions@0.59.0

Minor Changes

@fuel-ts/utils@0.59.0

@fuel-ts/versions@0.59.0

Minor Changes

@fuel-ts/wallet@0.59.0

@fuel-ts/wallet-manager@0.59.0

@fuel-ts/wordlists@0.59.0

v0.58.0

21 Sep 13:32
236d8f9
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.58.0

Minor Changes

  • chainInfo is now fetched and cached on all Providers when they are initialized. With this release, you now need to initialize a Provider like so:
    const provider = await Provider.create(url);
    For the full list of breaking-changes, please see this PR, by @Dhaiwat10 (See #1181)
  • Remove chainId from the Predicate constructor. You don't need to pass in chainId anymore since you are passing in a provider already, by @Dhaiwat10 (See #1181)
  • using FuelError across all packages, by @Torres-ssf (See #1230)

Patch Changes

@fuel-ts/abi-typegen@0.58.0

Minor Changes

@fuel-ts/address@0.58.0

Minor Changes

@fuel-ts/contract@0.58.0

Minor Changes

@fuel-ts/crypto@0.58.0

Minor Changes

@fuel-ts/errors@0.58.0

Minor Changes

  • Remove chainId from the Predicate constructor. You don't need to pass in chainId anymore since you are passing in a provider already, by @Dhaiwat10 (See #1181)
  • using FuelError across all packages, by @Torres-ssf (See #1230)

@fuel-ts/forc@0.58.0

@fuel-ts/fuel-core@0.58.0

fuels@0.58.0

@fuel-ts/hasher@0.58.0

@fuel-ts/hdwallet@0.58.0

Minor Changes

@fuel-ts/interfaces@0.58.0

@fuel-ts/math@0.58.0

Minor Changes

@fuel-ts/merkle@0.58.0

@fuel-ts/mnemonic@0.58.0

Minor Changes

@fuel-ts/predicate@0.58.0

Minor Changes

  • chainInfo is now fetched and cached on all Providers when they are initialized. With this release, you now need to initialize a Provider like so:
    const provider = await Provider.create(url);
    For the full list of breaking-changes, please see this PR, by @Dhaiwat10 (See #1181)
  • Remove chainId from the Predicate constructor. You don't need to pass in chainId anymore since you are passing in a provider already, by @Dhaiwat10 (See #1181)
  • using FuelError across all packages, by @Torres-ssf (See #1230)

Patch Changes

@fuel-ts/program@0.58.0

Minor Changes

  • chainInfo is now fetched and cached on all Providers when they are initialized. With this release, you now need to initialize a Provider like so:
    const provider = await Provider.create(url);
    For the full list of breaking-changes, please see this PR, by @Dhaiwat10 (See #1181)
  • Remove chainId from the Predicate constructor. You don't need to pass in chainId anymore since you are passing in a provider already, by @Dhaiwat10 (See #1181)
  • using FuelError across all packages, by @Torres-ssf (See #1230)
  • purging GAS_PRICE_FACTOR and GAS_PER_BYTE constants, by @Torres-ssf (See #1271)

Patch Changes

@fuel-ts/providers@0.58.0

Minor Changes

  • chainInfo is now fetched and cached on all Providers when they are initialized. With this release, you now need to initialize a Provider like so:
    const provider = await Provider.create(url);
    For the full list of breaking-changes, please see this PR, by @Dhaiwat10 (See #1181)
  • Remove chainId from the Predicate constructor. You don't need to pass in chainId anymore since you are passing in a provider already, by @Dhaiwat10 (See #1181)
  • using FuelError across all packages, by @Torres-ssf (See #1230)
  • purging GAS_PRICE_FACTOR and GAS_PER_BYTE constants, by @Torres-ssf (See #1271)

@fuel-ts/script@0.58.0

Minor Changes

  • chainInfo is now fetched and cached on all Providers when they are initialized. With this release, you now need to initialize a Provider like so:
    const provider = await Provider.create(url);
    For the full list of breaking-changes, please see this PR, by @Dhaiwat10 (See #1181)
  • Remove chainId from the Predicate constructor. You don't need to pass in chainId anymore since you are passing in a provider already, by @Dhaiwat10 (See #1181)
  • using FuelError across all packages, by @Torres-ssf (See #1230)

@fuel-ts/signer@0.58.0

@fuel-ts/testcases@0.58.0

@fuel-ts/transactions@0.58.0

Minor Changes

@fuel-ts/utils@0.58.0

Minor Changes

@fuel-ts/versions@0.58.0

@fuel-ts/wallet@0.58.0

Minor Changes

  • chainInfo is now fetched and cached on all Providers when they are initialized. With this release, you now need to initialize a Provider like so:
    const provider = await Provider.create(url);
    For the full list of breaking-changes, please see this PR, by @Dhaiwat10 (See #1181)
  • Remove chainId from the Predicate constructor. You don't need to pass in chainId anymore since you are passing in a provider already, by @Dhaiwat10 (See #1181)
  • using FuelError across all packages, by @Torres-ssf (See #1230)
  • purging GAS_PRICE_FACTOR and GAS_PER_BYTE constants, by @Torres-ssf (See #1271)

Patch Changes

  • Only attempt to kill process if pid is defined for launchNodeAndGetWallets, by @Dhaiwat10 (See #1266)
  • Add and export explicit return types for launchNodeAndGetWallets and launchNode, by @Dhaiwat10 (See #1267)

@fuel-ts/wallet-manager@0.58.0

Minor Changes

  • chainInfo is now fetched and cached on all Providers when they are initialized. With this release, you now need to initialize a Provider like so:
    const provider = await Provider.create(url);
    For the full list of breaking-changes, please see this PR, by @Dhaiwat10 (See [#1181](https://github.com...
Read more

v0.57.0

13 Sep 19:54
acbb442
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.57.0

@fuel-ts/abi-typegen@0.57.0

Patch Changes

@fuel-ts/address@0.57.0

@fuel-ts/contract@0.57.0

@fuel-ts/crypto@0.57.0

@fuel-ts/errors@0.57.0

@fuel-ts/forc@0.57.0

@fuel-ts/fuel-core@0.57.0

fuels@0.57.0

@fuel-ts/hasher@0.57.0

Patch Changes

@fuel-ts/hdwallet@0.57.0

@fuel-ts/interfaces@0.57.0

@fuel-ts/math@0.57.0

@fuel-ts/merkle@0.57.0

@fuel-ts/mnemonic@0.57.0

@fuel-ts/predicate@0.57.0

@fuel-ts/program@0.57.0

Minor Changes

  • made ScriptResultDecoderError works for dryRun calls, by @Torres-ssf (See #1250)

@fuel-ts/providers@0.57.0

Minor Changes

Patch Changes

@fuel-ts/script@0.57.0

@fuel-ts/signer@0.57.0

@fuel-ts/testcases@0.57.0

@fuel-ts/transactions@0.57.0

@fuel-ts/utils@0.57.0

Patch Changes

@fuel-ts/versions@0.57.0

@fuel-ts/wallet@0.57.0

@fuel-ts/wallet-manager@0.57.0

@fuel-ts/wordlists@0.57.0

v0.56.1

11 Sep 11:27
e49d63c
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.56.1

@fuel-ts/abi-typegen@0.56.1

@fuel-ts/address@0.56.1

@fuel-ts/contract@0.56.1

@fuel-ts/crypto@0.56.1

@fuel-ts/errors@0.56.1

Patch Changes

  • Simplyfing errors package and its test utility, by @arboleya (See #1228)

@fuel-ts/forc@0.56.1

@fuel-ts/fuel-core@0.56.1

fuels@0.56.1

@fuel-ts/hasher@0.56.1

@fuel-ts/hdwallet@0.56.1

@fuel-ts/interfaces@0.56.1

@fuel-ts/math@0.56.1

@fuel-ts/merkle@0.56.1

@fuel-ts/mnemonic@0.56.1

@fuel-ts/predicate@0.56.1

@fuel-ts/program@0.56.1

@fuel-ts/providers@0.56.1

@fuel-ts/script@0.56.1

@fuel-ts/signer@0.56.1

@fuel-ts/testcases@0.56.1

@fuel-ts/transactions@0.56.1

@fuel-ts/utils@0.56.1

@fuel-ts/versions@0.56.1

@fuel-ts/wallet@0.56.1

Patch Changes

  • Awaiting for WASM initialization inside wallet utility, by @arboleya (See #1243)

@fuel-ts/wallet-manager@0.56.1

@fuel-ts/wordlists@0.56.1

v0.56.0

09 Sep 01:18
08e3959
Compare
Choose a tag to compare

@fuel-ts/abi-coder@0.56.0

Minor Changes

  • forbid multicall for more than one function that returns heap types, by @Torres-ssf (See #1217)

@fuel-ts/abi-typegen@0.56.0

@fuel-ts/address@0.56.0

@fuel-ts/contract@0.56.0

@fuel-ts/crypto@0.56.0

@fuel-ts/errors@0.56.0

Minor Changes

  • forbid multicall for more than one function that returns heap types, by @Torres-ssf (See #1217)

@fuel-ts/forc@0.56.0

@fuel-ts/fuel-core@0.56.0

fuels@0.56.0

@fuel-ts/hasher@0.56.0

@fuel-ts/hdwallet@0.56.0

@fuel-ts/interfaces@0.56.0

@fuel-ts/math@0.56.0

@fuel-ts/merkle@0.56.0

@fuel-ts/mnemonic@0.56.0

@fuel-ts/predicate@0.56.0

@fuel-ts/program@0.56.0

Minor Changes

@fuel-ts/providers@0.56.0

@fuel-ts/script@0.56.0

@fuel-ts/signer@0.56.0

@fuel-ts/testcases@0.56.0

@fuel-ts/transactions@0.56.0

@fuel-ts/utils@0.56.0

@fuel-ts/versions@0.56.0

@fuel-ts/wallet@0.56.0

@fuel-ts/wallet-manager@0.56.0

@fuel-ts/wordlists@0.56.0