github onflow/cadence v0.24.0
v0.24 (Secure Cadence)

latest releases: v1.2.2, v1.0.2, v1.2.1...
2 years ago

What's Changed

The Secure Cadence milestone is focused on code-hardening and will enable the permissionless deployment of smart contracts on Mainnet. It is an important step in our path to Stable Cadence.

This required some breaking changes. You can read all about these changes and how to update your contracts in this forum post:
Breaking changes coming with Secure Cadence release

While the focus was on securing Cadence, this release is also packed with many new features and improvements!

💥 Breaking Changes

  • Zero-pad string representation of addresses by @turbolent in #1214
  • Allow importing type and capability values by @dsainati1 in #1202
  • Report an error when the parameter list is missing commas by @turbolent in #1073
  • Use common super-type for expression type inferring by @SupunS in #1027
  • load, copy and borrow cause a force cast by @dsainati1 in #1286
  • Taking a reference to an optional value now produces an optionally-typed reference by @dsainati1 in #1303
  • Disallow arithmetic, comparison and bitwise operations on number supertypes by @SupunS in #1360
  • Add CharacterValue type by @dsainati1 in #1392
  • Limit mutation of container-typed fields to the scope of the composite by @dsainati1 in #1267

⭐ Features

🛠 Improvements

🐞 Bug Fixes

📖 Documentation

Other Changes

New Contributors

We would like to thank all of our new contributors improving Cadence:

Full Changelog: v0.23.0...v0.24.0

Don't miss a new cadence release

NewReleases is sending notifications on new releases.