github onflow/cadence v1.0.0-preview.1

pre-release12 months ago

What's Changed

💥 Language Breaking Changes

💥 Go API Breaking Chance

  • Update randomness runtime interface method by @tarakby in #2706
  • Add the NewEmulatorBackend method on TestFramework interface by @m-Peter in #2744

⭐ Features

  • Introduce built-in mutability entitlements by @SupunS in #2586
  • Allow entitlement mappings to be used in container-typed composite-fields by @SupunS in #2587
  • Add identity entitlement mapping by @SupunS in #2588
  • Return a reference with all entitlements, when access through owned values by @SupunS in #2637
  • Introduce filter in Fixed/Variable sized Array types by @darkdrag00nv2 in #2678
  • Allow declaration of events in interfaces by @dsainati1 in #2662
  • 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
  • Composition of entitlement mappings by @dsainati1 in #2743
  • Allow use of type code generator in any package, refactor RLP and BLS contracts by @turbolent in #2753
  • Add functions on testing framework's blockchain to create/load snapshots by @m-Peter in #2763

🛠 Improvements

🐞 Bug Fixes

  • Wrap host env errors with external errors by @SupunS in #2683
  • Fix interface member inheritance by @dsainati1 in #2686
  • Fix storage iteration and error misclassification by @SupunS in #2676
  • Fix error on reference creation with invalid type by @SupunS in #2687
  • Invalidate references to nested resources upon the move of the outer resource by @SupunS in #2460
  • Hex encode user input in error to avoid invalid UTF-8 by @fxamacker in #2704
  • Use thread safe data structures for entitlement maps by @dsainati1 in #2716
  • Properly meter the creation of entitlement static types by @dsainati1 in #2723

📖 Documentation

Other Changes

  • Sync mutability restrictions branch with stable-cadence by @SupunS in #2600
  • Rename mutability entitlements by @SupunS in #2690
  • Update to Go 1.20, improve random value generation by @turbolent in #2694
  • Merge release/v0.40.0 to master by @github-actions in #2695
  • Update storage iteration value check and related tests by @SupunS in #2702
  • Sync Stable Cadence branch with master by @turbolent in #2701
  • Update mutability restrictions feature branch by @turbolent in #2714
  • Add test for borrowing as inherited interface by @SupunS in #2722
  • 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
  • Add cadence-tools/test as a dependency to the language server by @SupunS in #2742
  • Sync Stable Cadence feature branch by @turbolent in #2755
  • Clean up intersection types by @turbolent in #2757
  • Add tests for invalidation of references created with index/field-access by @SupunS in #2758
  • Merge master into Stable Cadence by @dsainati1 in #2770

New Contributors

Full Changelog: v0.41.0-stable-cadence.1...v1.0.0-preview.1

Don't miss a new cadence release

NewReleases is sending notifications on new releases.