Releases: software-mansion/protostar
v0.14.0
v0.13.0
v0.12.0
v0.11.0
Changelog
New compiler version
Cairo Compiler 1.0.0rc0 is now supported - now you can write your contracts and tests using bleeding edge cairo 1 features!
Warning We do not support starknet 0.11.1 yet, this may result in some incompatibilities on the side of CLI.
New cheatcodes
start_warp
and start_roll
cheatcodes - DOCS and DOCS
Deprecated legacy test runner
Deprecated legacy cairo0 runner (you can still deploy your cairo0 contracts from cairo1 tests)
test-cario1
->test
build-cario1
->build
test
->test-cario0
build
->build-cario0
Documentation makeover
Protostar documentation is now cairo 1 focused. It has more examples and is much more accessible than before! Check it out!
Other
Fixed bugs related to gas
0.10.0
- Added #available_gas attribute DOCS
- Compiler version included in —version info
- Added RevertedTransaction result for
invoke
,call
,deploy
, improved handling reverted transaction panic reasons DOCS - Added start_prank cheatcodes for modifying caller address DOCS
- Added
deploy_contract
anddeploy_contract_cairo0
cheatcodes DOCS - Added print utilities for debugging DOCS
- Extended cairo 1 support documentation
0.9.5 - pre-release
Some scarb support
0.9.4 Fix a bug with declaring two contracts in one test
We encountered a problem with declaring two contracts next to each other:
#[test]
fn test_two_declares() {
let class_hash = declare('simple').unwrap();
let class_hash2 = declare('basic').unwrap();
}
This release fixes it and it will no longer fail!
0.9.3 - Cairo 1 - contract testing support
- Starknet 0.11 integration for cairo 0 and cairo 1 tests
- Cheatcodes in cairo 1 tests
prepare
,declare
,deploy
,invoke
,call
,declare_cairo0
,deploy_contract
,deploy_contract_cairo0
, - Support for gas in unit tests
- V2 declare command
v0.9.2
This version contains initial support for Cairo 1.0:
- Running tests in pure Cairo 1.0 (no starknet contracts support yet)
- Initializing a Cairo 1.0 project
See the documentation for more info on the functionality
This release also includes multiple bugfixes and docs improvements
Full Changelog: v0.9.1...v0.9.2