v2.8.0
Welcome to the release notes for Scarb v2.8.0
!
This release includes several bug fixes and new developments.
- Scarb features support in scarb-doc - you can now control conditional compilation while generating docs!
- Document only public items - the documentation is now only generated for public items by
scarb-doc
(unless used with--document-private-items
flag). - Cairo coverage support - Scarb now includes an
unstable-add-statements-code-locations-debug-info
Cairo config key that enables generating mappings used by cairo-coverage. - Dev dependencies propagation fix - due to an error in Scarb dependency resolver, in some cases dev-deps from other workspace members would end up being used during compilation.
- Diagnostics fix - in some cases, diagnostics from package dependencies could be missing, resulting in a panic during package build.
The assert_macros package version change - the(fixed inassert_macros
package that contains macros likeassert_eq!
is now versioned with the same version as Scarb.2.8.1
)
Cairo Version
This version of Scarb comes with Cairo v2.8.0
.
What's Changed
- Add cairo highlight documentation by @wawel37 in #1521
- Update Cairo by @maciektr in #1522
- Document registries and packaging process by @szymmis in #962
- Bump the non-critical group with 6 updates by @dependabot in #1526
- Fix test runner flag in docs by @maciektr in #1529
- Doc/features support by @wawel37 in #1511
- Update Cairo, move scarb-doc to rust-analyzer-salsa by @maciektr in #1531
- Document Scarb.toml
publish
field by @DelevoXDG in #1533 - Update Cairo by @maciektr in #1539
- starknet_multiple_contracts example refurbishment by @stranger80 in #1543
- Fix dev-deps propagation for ws members by @maciektr in #1542
- Revert "Fix diagnostics reporter main crates setup (#1514)" by @maciektr in #1540
- Pin assert_macros version to Scarb version by @maciektr in #1537
- Doc / Add
--document-private-items
flag by @wawel37 in #1528 - Do not show warnings from dependencies by @maciektr in #1547
- Add
unstable-add-statements-code-locations-debug-info
flag by @maciektr in #1538 - Bump the non-critical group with 7 updates by @dependabot in #1545
- Update gix to 0.66 by @maciektr in #1549
- Stack size troubleshooting by @maciektr in #1548
- Fix dev deps propagation by @maciektr in #1552
- Prepare release
2.8.0
by @maciektr in #1551
New Contributors
- @stranger80 made their first contribution in #1543
Full Changelog: v2.7.1...v2.8.0