Skip to content

v2.7.0-rc.1

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jul 11:08
· 881 commits to main since this release
1af57c9

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