v2.7.0-rc.1
Pre-release
Pre-release
github-actions
released this
08 Jul 20:59
·
237 commits
to main
since this release
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 packagessrc/
directory), or integration tests (defined intests/
directory). This can be done with help of newcairo-test
cli argument--test-kind
which accepts eitherunit
,integration
orall
(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 eitherdefault
oravoid
. With the later, only functions withinline(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
- Update website dependencies by @mkaput in #1399
- Add note about --snforge by @maciektr in #1395
- Add missing error context on snforge invocation by @maciektr in #1398
- Doc cairo-run plugin by @maciektr in #1396
- Cairo-test target type argument cli by @maciektr in #1400
- Dedup workspace.profile_names by @maciektr in #1402
- Use gix-path exe_invocation by @maciektr in #1401
- Bump the non-critical group with 4 updates by @dependabot in #1403
- Test asserts plugin by @maciektr in #1390
- Bump starknet-types-core from 0.1.2 to 0.1.5 by @dependabot in #1404
- Update Cairo, add TestCompilationConfig, disable deprecated cairo-doc impl by @maciektr in #1405
- Statement map test: deserialize instead of is_object by @maciektr in #1407
DocGroup
in scarb-doc by @piotmag769 in #1409- Add inlining strategy to compiler config by @maciektr in #1408
- Bump the non-critical group with 2 updates by @dependabot in #1413
- Cairo run fix argument deserialization for numbers larger than u64 by @maciektr in #1410
- Add new/init --snforge e2e test by @maciektr in #1411
- [scarb-doc] Inner attributes by @drknzz in #1315
- Update snforge docs by @piotmag769 in #1416
- Update Cairo by @maciektr in #1418
- Bump the non-critical group with 4 updates by @dependabot in #1422
- Add documentation for inline procedural macros by @maciektr in #1419
- Snapshot tests for
scarb-doc
by @piotmag769 in #1420 - Prepare release
2.7.0-rc.1
by @maciektr in #1431
Full Changelog: v2.7.0-rc.0...v2.7.0-rc.1