Skip to content

Releases: software-mansion/scarb

v2.5.2

31 Jan 15:05
4fcd40d
Compare
Choose a tag to compare

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.5.2!

This release brings the scarb check command for the first time!

Scarb Check

If you want to check your code for any build errors, but do not really need any build artifacts, you can now use the new check command instead of standard build! This will give you a perfomance advantage, as Scarb no longer needs to spend time creating and emitting all the output files. Try this in your CI!

Cairo Version

This version of Scarb comes with Cairo v2.5.2.

What's Changed

New Contributors

Full Changelog: v2.5.1...v2.5.2

v2.5.1

29 Jan 13:30
9d216f5
Compare
Choose a tag to compare

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.5.1!
This quick release is primarily a Cairo upgrade.

Cairo Version

This version of Scarb comes with Cairo v2.5.1.

What's Changed

Full Changelog: v2.5.0...v2.5.1

v2.5.0

22 Jan 20:11
c531a6e
Compare
Choose a tag to compare

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.5.0!

This is a significant Cairo language update with just a sprinkle of small improvements and fixes in Scarb itself ✨ But don't worry! We're just cooking big stuff behind the scenes 🧑‍🍳

scarb cairo-run arguments

The scarb cairo-run extension can now handle program arguments. Now, the main function in your Cairo programs may have parameters. The arguments can be passed to the scarb cairo-run command as a single JSON array of numbers, decimal bigints or recursive arrays of those. Nested arrays can translate to either Cairo arrays, tuples or plain structures. Consult the following table for example valid arguments and their matching function signatures:

Argument Function signature
[1] fn main(a: u64)
[1, "2"] fn main(a: u64, b: u64)
[[1, 2], [3, 4, 5]] fn main(t: (u64, u64), v: Array<u64>)

Big thank you to @neotheprogramist for implementing this feature! 🎉

Cairo Version

This version of Scarb comes with Cairo v2.5.0.

What's Changed

New Contributors

Full Changelog: v2.4.4...v2.5.0

v2.4.4

18 Jan 09:14
8ed977a
Compare
Choose a tag to compare

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.4.4!
This quick release comes with a Cairo upgrade and couple fixes.

Cairo Version

This version of Scarb comes with Cairo v2.4.4.

What's Changed

New Contributors

Full Changelog: v2.4.3...v2.4.4

v2.4.3

04 Jan 14:03
5dbab1f
Compare
Choose a tag to compare

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.4.3!
This quick release is primarily a Cairo upgrade.

Cairo Version

This version of Scarb comes with Cairo v2.4.3.

What's Changed

Full Changelog: v2.4.2...v2.4.3

v2.4.2

02 Jan 19:02
d15b169
Compare
Choose a tag to compare

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.4.2!
This quick release is primarily a Cairo upgrade.

Cairo Version

This version of Scarb comes with Cairo v2.4.2.

What's Changed

Full Changelog: v2.4.1...v2.4.2

v2.4.1

22 Dec 08:51
c93ee62
Compare
Choose a tag to compare

Cairo release notes ➡️

Welcome to the release notes for Scarb v2.4.1!
This quick release is primarily a Cairo upgrade.

Cairo Version

This version of Scarb comes with Cairo v2.4.1.

What's Changed

New Contributors

Full Changelog: v0.7.0...v2.4.1

v2.4.0

07 Dec 11:06
cba988e
Compare
Choose a tag to compare

Cairo release notes ➡️

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

New Contributors

Full Changelog: v2.4.0-rc6...v2.4.0

v2.4.0-rc6

27 Nov 09:38
813ace6
Compare
Choose a tag to compare
v2.4.0-rc6 Pre-release
Pre-release

Cairo release notes ➡️

Warning

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-rc6!
This quick release is primarily a Cairo upgrade.

Cairo Version

This version of Scarb comes with Cairo v2.4.0-rc6.

What's Changed

Full Changelog: v2.4.0-rc5...v2.4.0-rc6

v2.4.0-rc5

26 Nov 11:57
ac50545
Compare
Choose a tag to compare
v2.4.0-rc5 Pre-release
Pre-release

Cairo release notes ➡️

Warning

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-rc5!
This quick release is primarily a Cairo upgrade.

Cairo Version

This version of Scarb comes with Cairo v2.4.0-rc5.

What's Changed

  • Document and make private SourceKind::can_lock_source_kind by @mkaput in #930
  • Add ChildPathEx::read_to_string by @mkaput in #933
  • Bump itertools to 0.12.0 by @mkaput in #936
  • Fill missing docs in resolver area and remove unnecessary method by @mkaput in #938

Full Changelog: v2.4.0-rc4...v2.4.0-rc5