v2.7.0
Welcome to the release notes for Scarb v2.7.0
!
This release comes with several new developments.
Procedural macros
Since this release, we now officially support code generation! You can write your own macros in Rust, that modify the Cairo code of your project during compilation.
Learn more by reading our docs.
Generating documentation with scarb-doc
With this release, it is now possible to automatically generate documentation for your project by running scarb doc
command. This documentation will include all doc comments you add to your code with ///
prefix. The collected documentation is output to the target/doc/<package-name>
directory, in either custom JSON
, or mdBook
compatible markdown format.
Learn more by reading our docs.
Cairo Version
This version of Scarb comes with Cairo v2.7.0
.
What's Changed
- Update Cairo by @maciektr in #1469
- Bump the non-critical group with 6 updates by @dependabot in #1470
- Foldable sidebar by @piotmag769 in #1468
- Bump openssl from 0.10.64 to 0.10.66 by @dependabot in #1471
- Fix clippy warnings after rust update by @maciektr in #1476
- Allow executing scripts in workspace root by @maciektr in #1473
- Bump gix-attributes from 0.22.2 to 0.22.3 by @dependabot in #1475
- Replace stabilized once_cell api by @maciektr in #1477
- Make scarb new and init command interactive by @ksew1 in #1472
- Fix inlining strategy flag - pass during db construction by @maciektr in #1478
- Bump gix from 0.63.0 to 0.64.0 by @dependabot in #1481
- Bump the non-critical group with 6 updates by @dependabot in #1480
- Update CODEOWNERS by @maciektr in #1482
- Prepare scarb-stable-hash for publishing by @maciektr in #1490
- Prepare cairo-lang-macro-stable for publishing by @maciektr in #1491
- Add procedural macros page to docs by @maciektr in #1492
- Fix verify archive smoke test by @maciektr in #1498
- Drop rlib from build_cairo_plugin tests by @maciektr in #1493
- Prepare cairo-lang-macro-attributes for publishing by @maciektr in #1494
- Prepare cairo-lang-macro for publishing by @maciektr in #1495
- Add link to docs.rs for cairo-lang-macro by @maciektr in #1496
- Prepare release 2.7.0 by @THenry14 in #1500
New Contributors
Full Changelog: v2.7.0-rc.4...v2.7.0