github FuelLabs/sway v0.71.0

15 hours ago

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

Don't miss a new sway release

NewReleases is sending notifications on new releases.