Skip to content

Releases: FuelLabs/sway

v0.71.0

14 Apr 12:08
f9b8158

Choose a tag to compare

What's Changed

  • ci: ensure forc-crypto moved to forc repo still gets installed for doc generation by @kayagokalp in #7523
  • Decrease size threshold inside sroa profitability by @xunilrj in #7527
  • Forbid outer variables in const evaluations by @ironcev in #7522
  • Add len method to std::string::String by @ironcev in #7526
  • encode_allow_alias to optimise logging by @xunilrj in #7516
  • Speed up execution of cargo-run-e2e-test-release on CI by @ironcev in #7531
  • feat: add pkg names to the output of predicate roots while building by @kayagokalp in #7533
  • Migrate forc-node to forc monorepo by @JoshuaBatty in #7534
  • Implement init_aggr in IR and optimize aggregates initialization by @ironcev in #7530
  • Hash attributes to avoid undesired dedup matches by @xunilrj in #7538
  • Fix type check issues on CI by @ironcev in #7543
  • Fix runtime memory layout of string arrays by @xunilrj in #7517
  • Optimisations for leaf fns by @xunilrj in #7541
  • chore: Update outdated GitHub Actions versions by @pgoslatara in #7537
  • Bump bytes from 1.10.1 to 1.11.1 in /test/src/sdk-harness by @dependabot[bot] in #7544
  • Bump time from 0.3.41 to 0.3.47 in /test/src/sdk-harness by @dependabot[bot] in #7546
  • Replace forc-client with fuels SDK in e2e test harness by @JoshuaBatty in #7549
  • Remove MOVE $$locbase, $$sp if non-entry function doesn't use stack by @ironcev in #7548
  • Migrate forc-client to forc monorepo by @JoshuaBatty in #7545
  • Remove stale workspace dependencies by @JoshuaBatty in #7554
  • Const condition on if expressions only generate the correct branch by @xunilrj in #7535
  • Remove memcpying of b256 intrinsic arguments to a temporary by @ironcev in #7552
  • Improve execution time and coverage of SDK harness and in-language tests by @ironcev in #7555
  • Fix issues in forc add/remove --help by @ironcev in #7558
  • Verify all jumps on asm are using ControlFlowOp by @xunilrj in #7563
  • Bump keccak from 0.1.5 to 0.1.6 in /test/src/sdk-harness by @dependabot[bot] in #7562
  • Bump Rust to 1.93.0 by @ironcev in #7569
  • Improve asm const propagation by @xunilrj in #7550
  • Bump quinn-proto from 0.11.12 to 0.11.14 in /test/src/sdk-harness by @dependabot[bot] in #7573
  • Optimise pshl by @xunilrj in #7561
  • Slides for trivial encoding, const generics and dbg by @xunilrj in #7566
  • Support attributes and constants in self impl Contracts by @ironcev in #7580
  • Add comprehensive benchmarks for storage access by @ironcev in #7583
  • Remove forc-mcp from sway repo by @JoshuaBatty in #7585
  • Pin tracing-subscriber to 0.3.19 by @JoshuaBatty in #7587
  • Add comprehensive benchmarks for StorageVec by @ironcev in #7588
  • Add dynamic_storage experimental feature and offset to srw opcode by @ironcev in #7565
  • Update fuel-vm and fuels dependencies in sdk-harness tests by @ironcev in #7591
  • Promote const_generics to a standard feature by @ironcev in #7592
  • Fix default gas costs and add perf diff scripts to storage_benchmarks by @ironcev in #7593
  • Bump to 0.71.0 by @ironcev in #7594

Breaking Changes

  • An immediate offset value is added to the srw opcode, next to the existing three registers. For details and migration guidelines see: Dynamic storage.
  • Const generics are promoted to a standard feature and the const_generic experimental feature flag is removed. If a project uses --experimental/no-experimental const_generic compiler option, or #[cfg(experimental_const_generics)] attribute, it will fail to compile. To migrate, remove all the usages of the const_generic feature flag.

New Contributors

Full Changelog: v0.70.3...v0.71.0

v0.70.3

17 Dec 15:41

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.70.2...v0.70.3

v0.70.2

19 Nov 15:00

Choose a tag to compare

What's Changed

Full Changelog: v0.70.1...v0.70.2

v0.70.1

10 Oct 07:36
107b092

Choose a tag to compare

What's Changed

Full Changelog: v0.70.0...v0.70.1

v0.70.0

04 Oct 04:34
74bab18

Choose a tag to compare

What's Changed

Breaking Changes

Hashing has received a significant change to alleviate security issues as detailed in #7256.

The new_hashing feature is now enabled by default which will result in dynamically sized collections now producing hashes that include size to reflect their shape.

If you have code that uses canonical hashes as part of its logic or relies on the stability of sway produced hashes you may be affected.
Make sure to use forc migrate to check if you are. If necessary you may disable the change for now with --no-experimental new_hashing, however this option will be removed in a future release.

Full Changelog: v0.69.6...v0.70.0

v0.69.6

29 Sep 19:11
a1300ba

Choose a tag to compare

What's Changed

Full Changelog: v0.69.5...v0.69.6

v0.69.5

29 Sep 14:41
acd1316

Choose a tag to compare

What's Changed

Full Changelog: v0.69.4...v0.69.5

v0.69.4

24 Sep 16:09
a2c0531

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.69.1...v0.69.4

v0.69.1

17 Jul 18:49
b68a386

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.69.0...v0.69.1

v0.69.0

23 Jun 15:27
5c22e33

Choose a tag to compare

What's Changed

Breaking Changes

  • panic is now a keyword
  • fuel-vm, fuel-core fuels-rs and forc-wallet dependencies have been updated to latest versions

Full Changelog: v0.68.9...v0.69.0