Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scarb 2.5.0 #160675

Merged
merged 2 commits into from
Jan 23, 2024
Merged

scarb 2.5.0 #160675

merged 2 commits into from
Jan 23, 2024

Conversation

Porkepix
Copy link
Contributor

Created by brew bump


Created with brew bump-formula-pr.

release notes
[Cairo release notes ➡️](https://github.com/starkware-libs/cairo/releases/tag/v2.5.0)

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: software-mansion/scarb@v2.4.4...v2.5.0

@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Jan 23, 2024
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jan 23, 2024
@BrewTestBot BrewTestBot added this pull request to the merge queue Jan 23, 2024
Merged via the queue into Homebrew:master with commit b32c4cb Jan 23, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants