github starkware-libs/cairo v2.7.0-rc.1

latest releases: v2.12.2, v2.12.1, v2.12.0...
14 months ago

This is the Cairo version associated with Starknet 0.13.2. Contracts written with 2.7.0 are not declarable on Starknet until the upgrade.

New Features

  • For loops full support - on any type implementing IntoIterator trait.
  • Require destruct instead of drop for unwrapping. #5902
  • Added Default for Option. #5920
  • Allow for implicit impls for impl impl items. #5915
  • Add 2024_07 edition. #5923
    • Vastly reducing the amount of items in the prelude.
    • Not auto adding pub for starknet storage members.
  • Better diagnostics for types missing :: in expression context. #5926
  • Vastly reduce diagnostics that are less useful when others appear. #5930
  • Add compiler flag to disable non-always inlining by @javra in #5911

Bug Fixes

  • Fixing formatting of long unsplittable words. #5906
  • Fixed issue #5967 . #5968

Language Server Updates

Added documentation for inline macros.

New Contributors

Full Changelog: v2.7.0-rc.0...v2.7.0-rc.1

Don't miss a new cairo release

NewReleases is sending notifications on new releases.