Skip to content

v2.7.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 08 Jul 20:59
· 147 commits to main since this release
bd0f131

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.7.0-rc.1!

Warning

This version is not supported on Starknet! If you want to develop contracts deployable to the current Starknet, please stick with Scarb v2.6.5

This Scarb release comes with few new developments:

  • Filtering tests by type in cairo-test - Since this release, you can filter tests that will be compiled and run by type - either unit tests (ones defined in your packages src/ directory), or integration tests (defined in tests/ directory). This can be done with help of new cairo-test cli argument --test-kind which accepts either unit, integration or all (default).
  • Compiler inlining strategy configuration - You can now, you can control the compilers inlining strategy, by chaning the inlining-strategy property of compiler manifest config ([cairo] section). This property can be set to either default or avoid. With the later, only functions with inline(always) attribute are inlined during the compilation. Warning: while this setting is helpful for particular narrow usecases, in general can cause your programs to be slow and the output files to be large, so please use with caution!

Cairo Version

This version of Scarb comes with Cairo v2.7.0-rc.1.

What's Changed

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