Skip to content

Releases: onflow/cadence

v1.0.0-M9

04 Mar 18:08
Compare
Choose a tag to compare
v1.0.0-M9 Pre-release
Pre-release

What's Changed

πŸ’₯ Language Breaking Changes

  • Prevent container mutation while iterating by @SupunS in #3126

⭐ Features

  • Add support for FunctionType.Purity in CCF codec by @fxamacker in #3107
  • Add support for Attachment and AttachmentType in CCF codec by @fxamacker in #3131
  • Add more support for entitlements (ReferenceType.Authorization) to CCF codec by @fxamacker in #3139

πŸ›  Improvements

  • Improve update tool: Fix config, improve documentation by @turbolent in #3130
  • Require added entitlements to be equal to migrated entitlements rather than supertypes by @dsainati1 in #3134
  • Fix migrating values with empty intersection type by @turbolent in #3138
  • Pass location-range to value-interface methods by @SupunS in #3140

🐞 Bug Fixes

  • Fix EntitlementSetAuthorization.Equal() by making it ignore order of elements by @fxamacker in #3137
  • Migrate static types of arrays and dictionaries by @SupunS in #3141

πŸ§ͺ Testing

  • Add test for nested container value migration by @SupunS in #3142

Full Changelog: v1.0.0-M8...v1.0.0-M9

v1.0.0-M8

22 Feb 19:06
Compare
Choose a tag to compare
v1.0.0-M8 Pre-release
Pre-release

What's Changed

⭐ Features

πŸ›  Improvements

  • Improve migration by @turbolent in #3110
  • Improve update tool: Allow releasing a particular branch by @turbolent in #3124
  • Improve Cadence-1.0 contract update checker by @SupunS in #3111
  • Fix location collection in contract update validator by @SupunS in #3117
  • Convert untyped path capability values to ID capability values by @turbolent in #3125
  • Allow registering custom type updating rules in contract update validator by @SupunS in #3120
  • Rewrite owned intersection types in migration by @turbolent in #3118

πŸ§ͺ Testing

  • Add tests for migrating reference to optional type by @SupunS in #3123

Other Changes

  • Merge release/v1.0.0-M7 to master by @github-actions in #3106
  • Dependencies got updated to onflow/flowkit/v2 by @turbolent in #3109

Full Changelog: v1.0.0-M7...v1.0.0-M8

v1.0.0-M7

14 Feb 18:28
Compare
Choose a tag to compare
v1.0.0-M7 Pre-release
Pre-release

What's Changed

πŸ’₯ Language Breaking Changes

  • Unify the requirement for all interface types to have to occur in intersection types by @turbolent in #3090

πŸ›  Improvements

  • Add more information to analysis.Diagnostic by @jribbink in #3082
  • Report a proper error for swapping a resource to itself by @SupunS in #3101
  • Bring back support for decoding published path capabilities by @turbolent in #3103
  • Allow analysis.Load to continue with parsing/checking errors by @jribbink in #3083

🐞 Bug Fixes

  • Consider inherited interfaces when checking for member clashes in intersection types by @turbolent in #3093
  • Fix FunctionType.Equal() to check Purity equality by @fxamacker in #3105

Other Changes

  • Merge release/v1.0.0-M6 to master by @github-actions in #3100
  • Update configuration of downstream dependencies by @turbolent in #3095

Full Changelog: v1.0.0-M6...v1.0.0-M7

v1.0.0-M6

12 Feb 23:29
Compare
Choose a tag to compare
v1.0.0-M6 Pre-release
Pre-release

What's Changed

πŸ›  Improvements

🐞 Bug Fixes

πŸ“– Documentation

Other Changes

  • Merge release/v1.0.0-M5 to master by @github-actions in #3067

Full Changelog: v1.0.0-M5...v1.0.0-M6

v0.42.9

07 Feb 16:51
Compare
Choose a tag to compare

What's Changed

🐞 Bug Fixes

Full Changelog: v0.42.8...v0.42.9

v1.0.0-M5

02 Feb 17:39
Compare
Choose a tag to compare
v1.0.0-M5 Pre-release
Pre-release

What's Changed

⭐ Features

  • Allow reading from CSV and querying AST using (Go) JQ by @turbolent in #3051

πŸ›  Improvements

🐞 Bug Fixes

πŸ§ͺ Testing

  • Add tests for using keywords as field names by @SupunS in #3057
  • Minor improvement in a revertibleRandom test by @tarakby in #3060

Full Changelog: v1.0.0-M4...v1.0.0-M5

v1.0.0-M4

26 Jan 05:03
Compare
Choose a tag to compare
v1.0.0-M4 Pre-release
Pre-release

What's Changed

πŸ’₯ Go API Breaking Chance

⭐ Features

  • Use old parser for contract upgrades when legacy upgrade config option is set by @dsainati1 in #3043

🐞 Bug Fixes

  • Remove backticks around suggested fixes for parser errors by @jribbink in #3046

πŸ§ͺ Testing

Other Changes

  • Merge release/v1.0.0-M3 to master by @github-actions in #3041

New Contributors

Full Changelog: v1.0.0-M3...v1.0.0-M4

v0.42.8

26 Jan 23:22
Compare
Choose a tag to compare

What's Changed

⭐ Features

πŸ›  Improvements

Full Changelog: v0.42.7...v0.42.8

v1.0.0-M3

24 Jan 02:48
Compare
Choose a tag to compare
v1.0.0-M3 Pre-release
Pre-release

What's Changed

πŸ’₯ Language Breaking Changes

  • Reserve more keywords for future proofing by @turbolent in #3019
  • Require explicit type annotation for arguments passed to authorized reference parameters by @turbolent in #3023

⭐ Features

πŸ›  Improvements

🐞 Bug Fixes

Other Changes

  • Merge release/v1.0.0-preview.2 to master by @github-actions in #3024
  • Upgrade exp package version by @tarakby in #3027

Full Changelog: v1.0.0-preview.2...v1.0.0-M3

v1.0.0-preview.2

16 Jan 19:29
Compare
Choose a tag to compare
v1.0.0-preview.2 Pre-release
Pre-release

What's Changed

πŸ’₯ Language Breaking Changes

πŸ’₯ Go API Breaking Changes

  • Add support for injecting types into the environment by @turbolent in #2811
  • Allow different base activations per location in checker and interpreter by @turbolent in #2887

⭐ Features

πŸ›  Improvements

🐞 Bug Fixes

  • Fix doc (pretty printing) for function declaration without function block by @turbolent in #2774
  • Port internal #143 by @turbolent in #2793
  • Properly check removed expression for resource loss by @dsainati1 in #2798
  • Fix Test framework's TestAccount's type name by @SupunS in #2802
  • Fix capability controller deletion by @turbolent in #2788
  • meter and deduplicate included entitlement relations by @dsainati1 in #2810
  • Use kr/pretty instead of go-test/deep to prevent empty diffs, remove gocap by @turbolent in #2819
  • properly access-check optional chaining with entitlements by @dsainati1 in #2825
  • Check before statements in view contexts by @dsainati1 in #2835
  • Skip adding malformed entitlement relations to maps by @dsainati1 in #2838
  • Require full codomain of map when assigning to mapped field by @dsainati1 in #2840
  • Port internal 141: Fix swapping in resource array by @turbolent in #2844
  • Port internal 144: Fix swap statement evaluation by @turbolent in #2845
  • Port internal fix 145: Prevent re-deploy in same transaction by @turbolent in #2846
  • Properly set base on loaded attachments during attachment iteration by @dsainati1 in #2847
  • Fix memory metering for loading stored values by @turbolent in #2509
  • [stable-cadence] Fix field assignment via referen...
Read more