From edd2e3562975ee3de69c0fe7b8af01414d2761c1 Mon Sep 17 00:00:00 2001 From: Maksymilian Demitraszek <32527780+MaksymilianDemitraszek@users.noreply.github.com> Date: Wed, 13 Sep 2023 15:12:28 +0200 Subject: [PATCH] RELEASE 0.6.0 (#655) --- CHANGELOG.md | 4 ++-- Cargo.lock | 4 ++-- Cargo.toml | 2 +- RELEASING.md | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea3aac9e8d..b37a7bb22b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,19 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). # [Unreleased] +# [0.6.0] - 2023-09-13 ### Forge #### Added - - `deploy_at` cheatcode - printing failures summary at the end of an execution - filtering tests now uses an absolute module tree path — it is possible to filter tests by module names, etc. -- fixed mocking functions even if the contract does not exist ### Fixed - non-zero exit code is returned when any tests fail +- mock_call works with dispatchers if contract does not exists ### Cast diff --git a/Cargo.lock b/Cargo.lock index b5c2eae342..5c4fe56f56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1073,7 +1073,7 @@ dependencies = [ [[package]] name = "cast" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "camino", @@ -1783,7 +1783,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "forge" -version = "0.5.0" +version = "0.6.0" dependencies = [ "anyhow", "ark-ff", diff --git a/Cargo.toml b/Cargo.toml index f701c55dfa..2517b2eb91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ [workspace.package] name = "starknet-foundry" -version = "0.5.0" +version = "0.6.0" edition = "2021" repository = "https://github.com/foundry-rs/starknet-foundry" license = "MIT" diff --git a/RELEASING.md b/RELEASING.md index 301f4f5d02..f260e4f11a 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,7 +1,8 @@ # Instruction For Creating New Starknet Forge Releases 1. Bump Starknet Foundry version in the top-level `Cargo.toml` file -2. Regenerate locks using `cargo generate-lockfile` +2. Regenerate locks using `cargo update -p forge cast` +3. Update `CHANGELOG.md` 3. Merge introduced changes 4. Create a new tag in repository with format `vMAJOR.MINOR.PATCH`. This will trigger the release workflow 5. Wait for release workflows to pass. A new draft release will be created on GitHub.