From 281bd6b3e84fb8d5cf2044763b04174d99457f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Micha=C5=82ek?= <52135326+cptartur@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:00:56 +0100 Subject: [PATCH] Release 0.35.0 (#2777) Closes #2524 ## Introduced changes - Removed hardcoded package version from test ## Checklist - [x] Linked relevant issue - [x] Updated relevant documentation - [x] Added relevant tests - [x] Performed self-review of the code - [x] Added changes to `CHANGELOG.md` --- CHANGELOG.md | 12 +++++++++--- Cargo.lock | 10 +++++----- Cargo.toml | 2 +- crates/sncast/tests/e2e/script/general.rs | 7 ++++--- crates/snforge-scarb-plugin/Scarb.toml | 2 +- sncast_std/Scarb.lock | 2 +- sncast_std/Scarb.toml | 2 +- snforge_std/Scarb.lock | 4 ++-- snforge_std/Scarb.toml | 2 +- 9 files changed, 25 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ad3a2a17b..7ae476b55a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.35.0] - 2024-12-13 + ### Forge #### Added @@ -19,15 +21,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `snforge_scarb_plugin` will now also emit warnings when errors occur +#### Deprecated + +- `snforge init` command + ### Cast -#### Deprecated +#### Changed -- `--fee-token` and `--version` flags are now optional, `strk` and `v3` will be used by default +- `--version` flag is now optional and `v3` will be used by default #### Deprecated -- `snforge init` command has been deprecated +- `--fee-token` flag - `strk` will be used by default ## [0.34.0] - 2024-11-26 diff --git a/Cargo.lock b/Cargo.lock index e5a86e1c20..efa291c533 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1882,7 +1882,7 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "docs" -version = "0.34.0" +version = "0.35.0" dependencies = [ "anyhow", "camino", @@ -2135,7 +2135,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "forge" -version = "0.34.0" +version = "0.35.0" dependencies = [ "anyhow", "assert_fs", @@ -2185,7 +2185,7 @@ dependencies = [ [[package]] name = "forge_runner" -version = "0.34.0" +version = "0.35.0" dependencies = [ "anyhow", "blockifier", @@ -4852,7 +4852,7 @@ dependencies = [ [[package]] name = "sncast" -version = "0.34.0" +version = "0.35.0" dependencies = [ "anyhow", "async-trait", @@ -4908,7 +4908,7 @@ dependencies = [ [[package]] name = "snforge_scarb_plugin" -version = "0.34.0" +version = "0.35.0" dependencies = [ "cairo-lang-diagnostics", "cairo-lang-filesystem", diff --git a/Cargo.toml b/Cargo.toml index 2d4cd8faca..fbda1dab03 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ members = [ ] [workspace.package] -version = "0.34.0" +version = "0.35.0" edition = "2021" repository = "https://github.com/foundry-rs/starknet-foundry" license = "MIT" diff --git a/crates/sncast/tests/e2e/script/general.rs b/crates/sncast/tests/e2e/script/general.rs index 637205b53b..3a955bb45d 100644 --- a/crates/sncast/tests/e2e/script/general.rs +++ b/crates/sncast/tests/e2e/script/general.rs @@ -6,7 +6,7 @@ use crate::helpers::fixtures::{ }; use crate::helpers::runner::runner; use camino::Utf8PathBuf; -use indoc::indoc; +use indoc::{formatdoc, indoc}; use shared::test_utils::output_assert::assert_stderr_contains; use sncast::get_default_state_file_name; use sncast::state::state_file::{read_txs_from_state_file, ScriptTransactionStatus}; @@ -132,10 +132,11 @@ async fn test_incompatible_sncast_std_version() { ]; let snapbox = runner(&args).current_dir(script_dir.path()); + let version = env!("CARGO_PKG_VERSION"); - snapbox.assert().success().stdout_matches(indoc! {r" + snapbox.assert().success().stdout_matches(formatdoc! {r" ... - [WARNING] Package sncast_std version does not meet the recommended version requirement =0.34.0, it might result in unexpected behaviour + [WARNING] Package sncast_std version does not meet the recommended version requirement ={version}, it might result in unexpected behaviour ... "}); } diff --git a/crates/snforge-scarb-plugin/Scarb.toml b/crates/snforge-scarb-plugin/Scarb.toml index 64519161c6..61fa7a8940 100644 --- a/crates/snforge-scarb-plugin/Scarb.toml +++ b/crates/snforge-scarb-plugin/Scarb.toml @@ -1,6 +1,6 @@ [package] name = "snforge_scarb_plugin" -version = "0.34.0" +version = "0.35.0" edition = "2024_07" [cairo-plugin] diff --git a/sncast_std/Scarb.lock b/sncast_std/Scarb.lock index 0cf0672dbc..1875e5ffbe 100644 --- a/sncast_std/Scarb.lock +++ b/sncast_std/Scarb.lock @@ -3,4 +3,4 @@ version = 1 [[package]] name = "sncast_std" -version = "0.34.0" +version = "0.35.0" diff --git a/sncast_std/Scarb.toml b/sncast_std/Scarb.toml index c78e7e2b71..c93aacc85f 100644 --- a/sncast_std/Scarb.toml +++ b/sncast_std/Scarb.toml @@ -1,6 +1,6 @@ [package] name = "sncast_std" -version = "0.34.0" +version = "0.35.0" edition = "2023_11" description = "Library used for writing deployment scripts in Cairo" homepage = "https://foundry-rs.github.io/starknet-foundry/starknet/script.html" diff --git a/snforge_std/Scarb.lock b/snforge_std/Scarb.lock index 1d45c2d1b6..efa40fb385 100644 --- a/snforge_std/Scarb.lock +++ b/snforge_std/Scarb.lock @@ -3,11 +3,11 @@ version = 1 [[package]] name = "snforge_scarb_plugin" -version = "0.34.0" +version = "0.35.0" [[package]] name = "snforge_std" -version = "0.34.0" +version = "0.35.0" dependencies = [ "snforge_scarb_plugin", ] diff --git a/snforge_std/Scarb.toml b/snforge_std/Scarb.toml index 297d8ebb8a..7bbe4724e2 100644 --- a/snforge_std/Scarb.toml +++ b/snforge_std/Scarb.toml @@ -1,6 +1,6 @@ [package] name = "snforge_std" -version = "0.34.0" +version = "0.35.0" edition = "2024_07" description = "Cairo testing library" documentation = "https://foundry-rs.github.io/starknet-foundry/appendix/snforge-library.html"