Skip to content

Releases: software-mansion/scarb

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

v2.4.0-rc4

24 Nov 12:50
ba27952
Compare
Choose a tag to compare
v2.4.0-rc4 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-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

New Contributors

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

v2.4.0-rc3

20 Nov 19:32
fa3b3b6
Compare
Choose a tag to compare
v2.4.0-rc3 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-rc3!
This quick release is primarily a Cairo upgrade.

Cairo Version

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

What's Changed

  • Introduce RegistryClientCache stub by @mkaput in #808
  • Use constant mtime for packaged tarballs by @mkaput in #898
  • Bump the non-critical group with 3 updates by @dependabot in #899
  • Implement caching of records returned from registry clients by @mkaput in #809
  • Set up machinery for testing HTTP interactions of HTTP registry by @mkaput in #818
  • Detect target name duplicates across workspace by @maciektr in #900
  • Add PackagesFilterLong without short clap arguments by @maciektr in #902
  • Prepare scarb-ui release 0.1.2 by @maciektr in #905
  • Handle readme and license files in scarb package by @szymmis in #897
  • Implement records caching on HttpRegistryClient level by @mkaput in #819
  • Add AsyncFileLockGuard by @mkaput in #844
  • Impl Clone for Filesystem by @mkaput in #845
  • Implement caching of downloaded tarballs by @mkaput in #846
  • Cache index configs by @mkaput in #892
  • Fix clippy errors after update by @maciektr in #913
  • Move validation before usage in build-external glob selectors by @maciektr in #914
  • Fix failing tests by adjusting stderr message assertions by @szymmis in #915
  • Handle checksums in registry packages by @mkaput in #906

Full Changelog: v2.4.0-rc2...v2.4.0-rc3

v2.4.0-rc2

13 Nov 17:39
17df366
Compare
Choose a tag to compare
v2.4.0-rc2 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-rc2!
This quick release is primarily a Cairo upgrade.

Cairo Version

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

What's Changed

Full Changelog: v2.4.0-rc1...v2.4.0-rc2

v2.4.0-rc1

09 Nov 17:33
2df52d3
Compare
Choose a tag to compare
v2.4.0-rc1 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-rc1! This quick release is primarily a Cairo upgrade.

Cairo Version

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

What's Changed

New Contributors

Full Changelog: v2.3.0-rc1...v2.4.0-rc1

v2.4.0-rc0

08 Nov 12:41
4d5e0a8
Compare
Choose a tag to compare
v2.4.0-rc0 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

Editions

Since this release, Scarb supports defining Cairo compiler edition for a package. The editions allow newer Cairo compiler versions to introduce opt-in features that may break existing code.

The edition can be defined with edition key in [package] section in Scarb manifest.

[package]
name = "hello_world"
version = "1.0.0"
edition = "2023_10"

Setting the edition key in [package] will affect all targets in the package, including test suites etc.

scarb update

Since the introduction of lockfiles, Scarb will not automatically update all dependencies on each run. The update of locked versions can be requested with the scarb update command. This will perform project resolution ignoring the existing lockfile, then write out a new Scarb.lock with the new version information. Note that the Scarb.toml manifest file will not be changed, and all version requirements from it will be preserved.

Cairo Version

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

What's Changed

New Contributors

Full Changelog: v2.3.1...v2.4.0-rc0