What's Changed
๐ฅ Go API Breaking Chance
- Update randomness runtime interface method by @tarakby in #2706
- Add the
NewEmulatorBackend
method onTestFramework
interface by @m-Peter in #2744
โญ Features
- Introduce
filter
in Fixed/Variable sized Array types by @darkdrag00nv2 in #2678 - Add a utility method to the
Test.Blockchain
struct for moving the blockchain time by @m-Peter in #2729 - Add capability field to capabilitity controllers by @turbolent in #2724
- Introduce
map
in Fixed/Variable sized Array types by @darkdrag00nv2 in #2737 - Add functions on testing framework's blockchain to create/load snapshots by @m-Peter in #2763
๐ Improvements
- Cadence testing framework improvements by @m-Peter in #2696
- Allow
moveTime
function to accept negative time deltas for going backwards in time by @m-Peter in #2734 - Give
CompositeTypeHandler
higher precedence overgetUserCompositeType
by @m-Peter in #2717 - Improve error message for overloaded declaration by @PratikDhanave in #2738
- Improve composite and interface static types by @turbolent in #2751
- Avoid unnecessary static to sema type conversions for
Type
by @turbolent in #2750 - Make CodesAndPrograms public by @janezpodhostnik in #2746
๐ Bug Fixes
- Hex encode user input in error to avoid invalid UTF-8 by @fxamacker in #2704
- Fix doc (pretty printing) for function declaration without function block by @turbolent in #2774
๐งช Testing
- Add test for attachment on built-in composite by @turbolent in #2732
- Add test for inner container mutation while iterating outer by @SupunS in #2733
๐ Documentation
- Add meeting notes for 2023-08-15 by @turbolent in #2740
- Add notes for 2023-09-12 meeting by @turbolent in #2780
Other Changes
- Update to Go 1.20, improve random value generation by @turbolent in #2694
- Merge
release/v0.40.0
tomaster
by @github-actions in #2695 - Add
cadence-tools/test
as a dependency to the language server by @SupunS in #2742
New Contributors
- @PratikDhanave made their first contribution in #2738
Full Changelog: v0.40.0...v0.41.0