v0.45.0
What's Changed
- chore: use
fuel-asm
instead offuel-vm
by @hal3e in #1032 - feat!: add support for string slices by @IGI-111 in #1044
- docs: fix broken links by @hal3e in #1056
- refactor(fuels): add test for more types in scripts by @Br1ght0ne in #1027
- feat: macro recompile trigger by @segfault-magnet in #1061
- docs: fix
low_level_call
anchor by @hal3e in #1072 - feat: improve missing log decoder error by @hal3e in #1070
- feat(fuels-core): add CoinType::owner() by @Br1ght0ne in #1057
- feat!: add
String
support by @iqdecay in #1042 - ci: add docs workflow by @sarahschwartz in #1068
- feat: make message input w data persist when covering fees by @MujkicA in #1074
- feat!: upgrade
fuel-core
tov0.20.1
by @xgreenx in #1053 - chore: impl Ser + Deser + Hash for SizedAsciiString by @ra0x3 in #1077
- Bump versions to 0.45.0 by @digorithm in #1078
New Contributors
Full Changelog: v0.44.0...v0.45.0
New features
Support for Sway's dynamic string and string slices type;
Usage example:
let contract_methods = contract_instance.methods();
{
let resp = contract_methods.return_dynamic_string().call().await?.value;
assert_eq!(resp, "Hello World");
}
{
let _resp = contract_methods
.accepts_dynamic_string(String::from("Hello World"))
.call()
.await?;
}
See the documentation for more details.
Automatic macro recompile
This means abigen!
and setup_program_test!
macros can now detect file changes.
Improve log decoder error
The log decoder error object now has a data
field.
Support for fuel-core
0.20
This means support for the upcoming beta-4
release of the network.