Releases: FuelLabs/fuels-rs
Releases · FuelLabs/fuels-rs
v0.66.1
What's Changed
- feat: default gas estimation horizon in tx builders by @hal3e in #1480
- fix: string slice decoding by @segfault-magnet in #1483
- chore: bump fuel-core by @segfault-magnet in #1484
- chore: bump versions prior to release by @segfault-magnet in #1485
Full Changelog: v0.66.0...v0.66.1
v0.66.0
What's Changed
- chore: update
forc build
path in docs by @danielbate in #1459 - feat!: unfunded read only calls by @segfault-magnet in #1412
- bug!: accounts now cover max fee increase due to tolerance by @segfault-magnet in #1464
- chore: use
forc
0.62.0
by @hal3e in #1466 - docs: Fix callParams broken link by @calldelegation in #1461
- chore: bump rust to 1.79.0 by @Br1ght0ne in #1467
- ci: bump (and pin) rust-cache action to v2.7.3 by @Br1ght0ne in #1468
- feat!: implement abi spec changes by @esdrubal in #1465
- feat!: account impersonation by @MujkicA in #1473
- feat: remove legacy code for abi without callpaths by @hal3e in #1474
- chore: enable testnet connection test by @hal3e in #1476
- feat!: deploying large contracts (loader + blob support) by @segfault-magnet in #1472
- chore: bump versions to 0.66.0 by @digorithm in #1478
Breaking changes
SizedAsciiString
no longer implementsAsRef<[u8]>
. To get the underlying bytes, you can turn it into a&str
via the newAsRef<str>
and callas_bytes()
on the&str
:sized_string.as_ref().as_bytes()
.build_without_signatures
is now achieved by setting the build strategy toBuildStrategy::NoSignatures
on the transaction builder before callingbuild
..simulate()
now accepts anExecution
argument, allowing for realistic or state-read-only simulations.fee_checked_from_tx
is removed from all transaction builders. The max fee can now be estimated using the new methodestimate_max_fee
, which considers the maximum fee estimation tolerance set on the builders.- The SDK previously performed transaction validity checks, including signature verification, before sending a transaction to the network. This was problematic since the checks also included signature verification, even when UTXO validation was turned off. To enable this feature and prevent future issues like failed validation checks due to version mismatches between the network and the SDK's upstream dependencies, we decided to remove the check. Since the SDK already abstracts building transactions for common cases (contract calls, transfers, etc.), validity issues are unlikely.
Contract::new
is removed and replaced withContract::regular
.Contract
now accepts a generic argument denoting the type of contract (regular, loader, etc.)
New Contributors
- @danielbate made their first contribution in #1459
- @calldelegation made their first contribution in #1461
- @esdrubal made their first contribution in #1465
Full Changelog: v0.65.1...v0.66.0
v0.65.1
What's Changed
- feat: add max fee estimation tolerance by @segfault-magnet in #1458
- chore: bump versions to 0.65.1 by @digorithm in #1460
Full Changelog: v0.65.0...v0.65.1
v0.65.0
What's Changed
- chore: use
fuel-core
0.30.0
by @xgreenx in #1436 - feat: use fallback predicate estimation in
set_max_fee_policy
by @hal3e in #1435 - refactor!: unify call handlers to
CallHandler
by @hal3e in #1402 - chore: add editorconfig for TOML by @Br1ght0ne in #1421
- feat!: support static gas price setting in
NodeConfig
by @MujkicA in #1396 - chore: use fuel publish action by @MujkicA in #1450
- chore: update code owners by @hal3e in #1451
- docs: fix testnet and faucet link by @hal3e in #1452
- feat: finalize support for
raw_slice
andstring_slice
by @hal3e in #1448 - chore: use
forc
0.61.2
by @hal3e in #1453 - chore: use
fuel-core
0.31.0
by @hal3e in #1454 - chore: bump versions to 0.65.0 by @digorithm in #1456
Breaking changes
FuelCallResponse
renamed toCallResponse
ContractCallHandler
removed in favour ofCallHandler
ScriptCallHandler
removed in favour ofCallHandler
method_hash
removed in favour ofCallHandler::new_contract_call
- We've added the field
static_gas_price
toNodeConfig
- The
static_gas_price
for test providers is set to1
which means that the user will have to have enough base asset to pay for transactions. The user can set thestatic_gas_price
to0
manually and start a provider with the specificNodeConfig
Full Changelog: v0.64.0...v0.65.0
v0.64.0
What's Changed
- chore: use
fuel-core
0.28.0
by @xgreenx in #1420 - feat!: var output estimation optimization (#1393) by @hal3e in #1418
- fix!:
dry_run
tx with non-zero base asset and tip by @hal3e in #1422 - fix: ensure policies are respected by @MujkicA in #1423
- fix!: filter already used inputs when adjusting for fee by @MujkicA in #1425
- fix: include witness data in estimation by @MujkicA in #1426
- fix: use fallback predicate estimation within transaction builder by @hal3e in #1428
- fix: estimate predicates during max fee estimation by @MujkicA in #1434
- chore: bump versions to
0.64.0
by @digorithm in #1433
Full Changelog: v0.63.1...v0.64.0
v0.63.1
What's Changed
- fix doc by @Azleal in #1410
- feat(macros): add
SetOptions { profile }
command by @Br1ght0ne in #1404 - docs: fix fuel specification links by @hal3e in #1411
- feat(provider): predicate estimation fallback to API by @Br1ght0ne in #1413
- chore: bump versions to
0.63.1
by @digorithm in #1417
New Contributors
Full Changelog: v0.63.0...v0.63.1
v0.63.0
What's Changed
- chore: update forc to 0.59.0 by @segfault-magnet in #1386
- fix(docs): replace version variables with hardcoded verisons by @Br1ght0ne in #1301
- Use dynamic supported fuel-core version by @Br1ght0ne in #1190
- chore: bump
forc
to0.60.0
by @hal3e in #1388 - feat: use doc strings from the
abi
inabigen
by @hal3e in #1390 - refactor: remove
provider
fromScriptCallHandler
by @hal3e in #1391 - feat: make
setup_program_test!
macro hygienic by @Br1ght0ne in #1389 - Support
Upload
andUpgrade
transactions by @xgreenx in #1382 - chore: bump
fuel-core
to0.27.0
by @hal3e in #1395 - bug: e2e build script by @segfault-magnet in #1398
- bug: await tx committal by @segfault-magnet in #1400
- Bump versions to 0.63.0 by @digorithm in #1401
- bug: fix cargo publish by @segfault-magnet in #1403
Full Changelog: v0.62.0...v0.63.0
v0.62.0
What's Changed
- bug: fix revert id by @segfault-magnet in #1368
- chore: update
wallet.rs
in-line BIP doc by @K1-R1 in #1370 - refactor: move e2e tests into separate crate by @segfault-magnet in #1374
- chore: bump
forc
to0.58.0
by @hal3e in #1379 - chore: export
Hasher
throughfuels::crypto
by @hal3e in #1377 - feat: use
fuel-abi-types
0.5.0
by @hal3e in #1381 - chore: bump versions to v0.62.0 by @segfault-magnet in #1383
Full Changelog: v0.61.0...v0.62.0
v0.61.0
What's Changed
- chore: use
beta-5
endpoint by @iqdecay in #1245 - feat!: remove legacy encoding by @hal3e in #1338
- bug: fix estimation issue by @segfault-magnet in #1366
- chore: add
Clone
toContract
by @hal3e in #1362 - Bump versions to v0.61.0 by @digorithm in #1371
Full Changelog: v0.60.0...v0.61.0
v0.60.0
What's Changed
- chore: remove syntax highlighting of Sway files as Rust by @bitzoic in #1352
- feat!: remove legacy decoding by @hal3e in #1357
- chore: adapt to forc
0.56.0
again (CI got stuck) by @segfault-magnet in #1358 - chore!: use release paths for sway projects by @Br1ght0ne in #1275
- feat: upgrade fuel-core to 0.26.0 by @MujkicA in #1336
- feat!: improve error on malformed
abi
by @hal3e in #1347 - chore: add echo string test by @MujkicA in #1341
- Bump versions to v0.60.0 by @digorithm in #1364
New Contributors
Full Changelog: v0.59.0...v0.60.0