v2.4.0-rc4
Pre-releaseWarning
This version is not supported on Starknet! If you want to develop contracts deployable to current Starknet, please stick with Scarb v2.3.1
Welcome to the release notes for Scarb v2.4.0-rc4!
This quick release includes following small improvements.
Formatter emit
option
Since this release, when formatting your project with scarb fmt
you can use --emit stdout
argument. With this argument, Scarb will not make any changes to the files on your disk. Instead, full new content of formatted files will be printed to stdout, prepended with their path. Files that had already been in a correct format will not be emitted.
Environmental variables in scripts
Since this release, all environmental variables inherited by Scarb will be passed to package scripts runtime. This will allow you, to read external variables inside your scripts.
Cairo Version
This version of Scarb comes with Cairo v2.4.0-rc4
.
What's Changed
- Bump the non-critical group with 3 updates by @dependabot in #917
- Add
checksum
field toPackageLock
and add Builder pattern there by @mkaput in #909 - Store package checksum in
Summary
by @mkaput in #910 - Remove obsolete TODO comment by @mkaput in #911
- Store checksums for registry deps in Scarb.lock by @mkaput in #912
- Verify that package tarball compiles by @szymmis in #908
- feat: add workflow for typo by @xiaolou86 in #923
- Add snforge test collector by @piotmag769 in #886
- Remove
update_read_async
method and useupdate_read
instead by @mkaput in #924 - Upgrade
redb
to1.4.0
by @mkaput in #927 - Pass env variables to scripts shell by @maciektr in #926
- Fix link in
Testing Scarb projects
docs section by @tomek0123456789 in #928 - feat: add emit option by @Eikix in #863
- Update Cairo by @maciektr in #929
- Pull corelib from cargo cache for path/git builds by @maciektr in #918
- Update
vitepress
tov1.0.0-rc.30
and other website dependencies by @mkaput in #931
New Contributors
- @xiaolou86 made their first contribution in #923
- @piotmag769 made their first contribution in #886
- @Eikix made their first contribution in #863
Full Changelog: v2.4.0-rc3...v2.4.0-rc4