Skip to content

Commit

Permalink
Release 0.35.0 (#2777)
Browse files Browse the repository at this point in the history
<!-- Reference any GitHub issues resolved by this PR -->

Closes #2524

## Introduced changes

<!-- A brief description of the changes -->

- Removed hardcoded package version from test

## Checklist

<!-- Make sure all of these are complete -->

- [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`
  • Loading branch information
cptartur authored Dec 13, 2024
1 parent ebe9348 commit 281bd6b
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 18 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 4 additions & 3 deletions crates/sncast/tests/e2e/script/general.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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
...
"});
}
Expand Down
2 changes: 1 addition & 1 deletion crates/snforge-scarb-plugin/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "snforge_scarb_plugin"
version = "0.34.0"
version = "0.35.0"
edition = "2024_07"

[cairo-plugin]
2 changes: 1 addition & 1 deletion sncast_std/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ version = 1

[[package]]
name = "sncast_std"
version = "0.34.0"
version = "0.35.0"
2 changes: 1 addition & 1 deletion sncast_std/Scarb.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions snforge_std/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
2 changes: 1 addition & 1 deletion snforge_std/Scarb.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 281bd6b

Please sign in to comment.