github onflow/cadence v0.12.6

latest releases: v1.0.0-preview-atree-register-inlining.21, v1.0.0-preview.21, v0.42.11-atree-register-inlining...
3 years ago

🛠 Improvements

  • Optimize activations (#571)
  • Make occurrences and origins optional (#570)
  • Update to hamt 37930cf9f7d8, which contains ForEach, optimize activations (#569)
  • Move global values, global types, and transaction types to elaboration (#558)
  • Improve AST indices (#556)
  • Cache programs before checking succeeded, properly wrap returned error (#557)

Performance of checking and interpretation has been improved,
e.g. for BenchmarkCheckContractInterfaceFungibleTokenConformance:

Commit Description Ops Time
21764d8 Baseline, v0.12.5 595 2018162 ns/op
df2ba05 Update hamt, use ForEach everywhere 1821 658515 ns/op
6088ce0 Optional occurrences and origins recording 2258 530121 ns/op
429a779 Optimize activations, replace use of HAMT map 3667 327368 ns/op

⭐ Features

  • Optionally run checker tests concurrently (#554)

🐞 Bug Fixes

  • Fix runtime type of Block.timestamp (#575)
  • Use correct CommandSubmitTransaction command in entrypoint code lens (#568)
  • Revert "always find the declared variable (#408)" (#561)
  • Make parameter list thread-safe (#555)

📖 Documentation

  • More developer documentation (#535)
  • Update the roadmap (#553)
  • Document how to inject value declarations (#547)

Don't miss a new cadence release

NewReleases is sending notifications on new releases.