v0.56.0
版本发布时间: 2024-03-15 22:54:40
FuelLabs/fuels-rs最新发布版本:v0.66.4(2024-09-06 22:25:31)
What's Changed
- feat!: add support for experimental encoding in logs by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1259
- chore!: remove unused
response
method by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1263 - chore: bump
forc
to0.49.2
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1268 - chore: refactor
fuel_types
imports by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1273 - chore: bump
forc
to0.50.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1272 - fix!: encoding capacity overflow by @iqdecay in https://github.com/FuelLabs/fuels-rs/pull/1249
- chore: seal traits by @MujkicA in https://github.com/FuelLabs/fuels-rs/pull/1276
- chore: bump
fuel-core
to0.22.1
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1280 - refactor:
Error
type by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1270 - chore: bump
forc
to0.51.1
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1284 - chore: update deprecated functions by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1293
- feat!: add
decode_as_debug_str
toABIDecoder
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1291 - docs: expand converting types page by @sarahschwartz in https://github.com/FuelLabs/fuels-rs/pull/1295
- fix: configurables encoding to have top level u8 and bool single-byte optimizations by @segfault-magnet in https://github.com/FuelLabs/fuels-rs/pull/1294
- feat!: update
fuel-core
to0.23.0
by @hal3e in https://github.com/FuelLabs/fuels-rs/pull/1292 - Bump versions to 0.56.0 by @digorithm in https://github.com/FuelLabs/fuels-rs/pull/1298
Full Changelog: https://github.com/FuelLabs/fuels-rs/compare/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 aResult<Configurables>
instead ofConfigurables
. -
Predicates::encode_data
now returns aResult<UnresolvedBytes>
instead ofUnresolvedBytes
. -
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(¶m_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 withtip
. -
dry_run
now returnsTxStatus
. The receipts can be taken withtx_status.take_receipts()
. -
checked_dry_run
is deleted. -
TransactionResponse
'sblock_id
is replaced withblock_height
. -
estimate_transaction_cost
has a new argumentblock_horizon
used to estimate the gas price.