All changes are relative to v0.8.0-alpha.4.
Usage related changes
hardhat starknet-build
adapted to Scarb 0.7.0 (Cairo 2.2.0)hardhat starknet-compile
improved:- Simply specify semver of the desired Cairo compiler in hardhat config under
compilerVersion
- E.g.
compilerVersion: "2.2.0"
- E.g.
- Compiler downloaded automatically if on linux-amd64 or mac-arm64, otherwise check out
cairo1BinDir
- Removed the constraint of having
venv
specified when usingcairo1BinDir
- Simply specify semver of the desired Cairo compiler in hardhat config under
- Simplified Cairo 0 compilation docs
- If you have docker CLI and want to use the latest Cairo 0 compiler, you're good to go; otherwise check the docs
- Integrated-devnet defaults to the latest
starknet-devnet
(v0.6.3) - Removed cairo-migrate CLI command
- Old obsolete command for migrating between old Cairo 0 versions
Development related changes
- Supported full image specification for dockerized integrated-devnet
- Allows specifying Devnet in Rust:
dockerizedVersion: "shardlabs/starknet-devnet-rs:<TAG>"
- Not yet fully useful as Devnet in Rust only provides JSON-RPC API, and this plugin does not yet fully rely on it.
- Allows specifying Devnet in Rust:
Merged PRs
- Support full image specification of dockerized integrated-devnet by @FabijanC in #406
- Compiler downloader by @Nathan-SL and @FabijanC in #402
- Allow cairo1BinDir with dockerized plugin by @FabijanC in #408
- Prepare release of 0.8.0 alpha.5 by @FabijanC in #410
Full Changelog: v0.8.0-alpha.4...v0.8.0-alpha.5