This guide covers upgrading from v0.7.0 to v0.8.0. The main changes are version bumps, tooling updates, and a new --skip-local-circuit flag for arcium test. There are no Rust or TypeScript API breaking changes.
arcup self update
arcup update
This updates arcup itself, then updates the Arcium CLI.
Verify:
2. Update Rust Dependencies
cd programs/your-program-name
cargo update --package arcium-client --precise 0.8.0
cargo update --package arcium-macros --precise 0.8.0
cargo update --package arcium-anchor --precise 0.8.0
cd ../../encrypted-ixs
cargo update --package arcis --precise 0.8.0
3. Update TypeScript Dependencies
npm install @arcium-hq/client@0.8.0
4. Verify Migration
arcium build
cargo check --all
arcium test
If your project uses offchain circuits, use arcium test --skip-local-circuit to skip running them locally. This reduces load and speeds up test runs.
5. Changes Summary
| Change | v0.7.0 | v0.8.0 |
|---|
arcium test --skip-local-circuit | N/A | New: skip offchain circuits in local test runs |
| Rust dependencies | 0.7.0 | 0.8.0 |
| TypeScript client | @arcium-hq/client@0.7.0 | @arcium-hq/client@0.8.0 |