v2.4.0
Warning
This version is not yet 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
!
This release brings new stable Cairo compiler release to Scarb.
Development dependencies
Since this release, you can specify development dependencies in your package manifest.
Development dependencies are only used when compiling tests.
These dependencies are not propagated to other packages which depend on this package.
In order to add development dependency, specify it under [dev-dependencies]
section:
[dev-dependencies]
alexandria_math = { git = "https://github.com/keep-starknet-strange/alexandria.git" }
Alternatively, you can add development dependencies with scarb add
command by passing --dev
flag:
scarb add --dev alexandria_math --git https://github.com/keep-starknet-strange/alexandria.git
Cairo Version
This version of Scarb comes with Cairo v2.4.0
.
What's Changed
- Run scheduled tests Monday - Friday only by @maciektr in #945
- Add docs for fmt emit functionality by @maciektr in #943
- Fix emit tests: replace stdout_matches with stdout_eq by @maciektr in #942
- Implement lockfiles checksums verification by @mkaput in #937
- Bump deno_task_shell from 0.14.0 to 0.14.2 by @dependabot in #949
- Bump the non-critical group with 6 updates by @dependabot in #948
- Add
dev-dependencies
by @tomek0123456789 in #920 - Parse
BlockId
on forge's side -> remove starknet dependency by @piotmag769 in #941 - Do not compile packages when publishing them in tests by @mkaput in #939
- Handle case when packaged repo does not have any commits by @szymmis in #956
- Bump openssl from 0.10.59 to 0.10.60 by @dependabot in #958
- Enable Windows CI by @mkaput in #947
- Stop requesting reviews from mkaput (for now) by @maciektr in #959
- Remove DiagnosticReporter creation duplicate by @maciektr in #952
- Add test for verified HttpRegistry publish by @szymmis in #957
- Optimize E2E tests build times by @mkaput in #953
- Use
cannonical_url
instead ofurl
for SourceId comparisons by @szymmis in #963 - Add fmt parsing error test case by @maciektr in #965
- adds snforge test collector test by @tkumor3 in #961
- Update deps by @maciektr in #980
- add
--dev
flag toadd
andrm
by @tomek0123456789 in #977 - validate git urls by @tomek0123456789 in #976
- Bump vite from 5.0.2 to 5.0.5 in /website by @dependabot in #981
New Contributors
Full Changelog: v2.4.0-rc6...v2.4.0