Skip to content

Commit 90842a2

Browse files
authored
chore: release v0.7.0 (#508)
* chore: bump versions * chore: update CHANGELOG * chore: remove deprecated flag
1 parent 72c1f30 commit 90842a2

File tree

7 files changed

+60
-51
lines changed

7 files changed

+60
-51
lines changed

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,52 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.7.0] - 2025-04-02
6+
7+
### 🚀 Features
8+
9+
- Enable pop up without project type specification (#403)
10+
- Update parachain templates (#297)
11+
- Add the filter mode and password to `Cli` (#435)
12+
- Register parachain (#404)
13+
- Enable `pop test` without project type specification (#466)
14+
- Benchmarking feature (#424)
15+
- Build with try-runtime feature enabled (#476)
16+
- Integration with deployment provider (#459)
17+
- Try-runtime feature (#496)
18+
19+
### 🐛 Fixes
20+
21+
- Check_contracts_node handles skip_confirm (#396)
22+
- Increase `DefaultBodyLimit` to prevent large payload failures (#409)
23+
- Prevent recursion error with `pallet_collective` metadata (#412)
24+
- Remove onboard.rs empty file (#433)
25+
- Hardcoded test failing in the CI (#448)
26+
- Display events when wallet-signing (#463)
27+
- *(build spec)* Default bootnode prompt (#482)
28+
- Improve build spec error messaging (#477)
29+
- Sort releases by published_at (#489)
30+
- Argument exists in bench commands & skip parameters flag (#494)
31+
32+
### 🚜 Refactor
33+
34+
- Check binary and prompt (#429)
35+
- Runtime utilities & runtime feature enum (#490)
36+
37+
### ⚙️ Miscellaneous Tasks
38+
39+
- Support specify contract path input with or without -p flag (#361)
40+
- `profile` comment in `build_parachain` (#406)
41+
- Update cargo-deny-action@v2 (#439)
42+
- Resolve unmaintained crate & clippy warnings (#454)
43+
- Fix typo (#474)
44+
- Bump versions
45+
46+
### Build
47+
48+
- *(release)* Update upload-artifact to v4 (#398)
49+
- *(deps)* Bump openssl from 0.10.68 to 0.10.70 (#402)
50+
551
## [0.6.0] - 2024-12-19
652

753
### 🚀 Features

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ documentation = "https://learn.onpop.io/"
1818
license = "GPL-3.0"
1919
repository = "https://github.com/r0gue-io/pop-cli"
2020
rust-version = "1.81.0"
21-
version = "0.6.0"
21+
version = "0.7.0"
2222

2323
[workspace.dependencies]
2424
anyhow = "1.0"

crates/pop-cli/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ strum.workspace = true
3535
strum_macros.workspace = true
3636

3737
# contracts
38-
pop-contracts = { path = "../pop-contracts", version = "0.6.0", optional = true }
38+
pop-contracts = { path = "../pop-contracts", version = "0.7.0", optional = true }
3939
sp-weights = { workspace = true, optional = true }
4040

4141
# parachains
42-
pop-parachains = { path = "../pop-parachains", version = "0.6.0", optional = true }
42+
pop-parachains = { path = "../pop-parachains", version = "0.7.0", optional = true }
4343
dirs = { workspace = true, optional = true }
4444
git2.workspace = true
4545

4646
# telemetry
47-
pop-telemetry = { path = "../pop-telemetry", version = "0.6.0", optional = true }
47+
pop-telemetry = { path = "../pop-telemetry", version = "0.7.0", optional = true }
4848

4949
# common
50-
pop-common = { path = "../pop-common", version = "0.6.0" }
50+
pop-common = { path = "../pop-common", version = "0.7.0" }
5151

5252
# wallet-integration
5353
axum.workspace = true

crates/pop-cli/src/commands/build/spec.rs

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@ pub struct BuildSpecCommand {
142142
/// the necessary directories will be created
143143
#[arg(short, long = "output")]
144144
pub(crate) output_file: Option<PathBuf>,
145-
/// [DEPRECATED] and will be removed in v0.7.0, use `profile`.
146-
#[arg(short = 'R', long, conflicts_with = "profile")]
147-
pub(crate) release: bool,
148145
/// Build profile for the binary to generate the chain specification.
149146
#[arg(long, value_enum)]
150147
pub(crate) profile: Option<Profile>,
@@ -220,7 +217,6 @@ impl BuildSpecCommand {
220217
let BuildSpecCommand {
221218
output_file,
222219
profile,
223-
release,
224220
id,
225221
default_bootnode,
226222
chain_type,
@@ -362,11 +358,11 @@ impl BuildSpecCommand {
362358
};
363359

364360
// Prompt user for build profile.
365-
let mut profile = match profile {
361+
let profile = match profile {
366362
Some(profile) => profile,
367363
None => {
368364
let default = Profile::Release;
369-
if prompt && !release {
365+
if prompt {
370366
guide_user_to_select_profile(cli)?
371367
} else {
372368
default
@@ -470,11 +466,6 @@ impl BuildSpecCommand {
470466
DEFAULT_PACKAGE.to_string()
471467
};
472468

473-
if release {
474-
cli.warning("NOTE: release flag is deprecated. Use `--profile` instead.")?;
475-
profile = Profile::Release;
476-
}
477-
478469
Ok(BuildSpec {
479470
output_file,
480471
profile,
@@ -774,7 +765,6 @@ mod tests {
774765
let para_id = 4242;
775766
let protocol_id = "pop";
776767
let relay = Polkadot;
777-
let release = false;
778768
let profile = Profile::Production;
779769
let deterministic = true;
780770
let package = "runtime-name";
@@ -787,7 +777,6 @@ mod tests {
787777
BuildSpecCommand {
788778
output_file: Some(PathBuf::from(output_file)),
789779
profile: Some(profile.clone()),
790-
release,
791780
id: Some(para_id),
792781
default_bootnode,
793782
chain_type: Some(chain_type.clone()),
@@ -870,7 +859,6 @@ mod tests {
870859
let para_id = 4242;
871860
let protocol_id = "pop";
872861
let relay = Polkadot;
873-
let release = false;
874862
let profile = Profile::Production;
875863
let deterministic = true;
876864
let package = "runtime-name";
@@ -893,7 +881,6 @@ mod tests {
893881
BuildSpecCommand {
894882
output_file: Some(PathBuf::from(output_file)),
895883
profile: Some(profile.clone()),
896-
release,
897884
id: Some(para_id),
898885
default_bootnode,
899886
chain_type: Some(chain_type.clone()),
@@ -1028,30 +1015,6 @@ mod tests {
10281015
Ok(())
10291016
}
10301017

1031-
#[tokio::test]
1032-
async fn configure_build_spec_release_deprecated_works() -> anyhow::Result<()> {
1033-
// Create a temporary file to act as the existing chain spec file.
1034-
let temp_dir = tempdir()?;
1035-
let chain_spec_path = temp_dir.path().join("existing-chain-spec.json");
1036-
std::fs::write(&chain_spec_path, "{}")?;
1037-
// Use the deprcrated release flag.
1038-
let release = true;
1039-
let build_spec_cmd = BuildSpecCommand {
1040-
release,
1041-
chain: Some(chain_spec_path.to_string_lossy().to_string()),
1042-
..Default::default()
1043-
};
1044-
let mut cli =
1045-
MockCli::new().expect_confirm(
1046-
"An existing chain spec file is provided. Do you want to make additional changes to it?",
1047-
false,
1048-
).expect_warning("NOTE: release flag is deprecated. Use `--profile` instead.");
1049-
let build_spec = build_spec_cmd.configure_build_spec(&mut cli).await?;
1050-
assert_eq!(build_spec.profile, release.into());
1051-
cli.verify()?;
1052-
Ok(())
1053-
}
1054-
10551018
#[test]
10561019
fn update_code_works() -> anyhow::Result<()> {
10571020
let temp_dir = tempdir()?;

crates/pop-contracts/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ contract-extrinsics.workspace = true
3434
contract-transcode.workspace = true
3535
scale-info.workspace = true
3636
# pop
37-
pop-common = { path = "../pop-common", version = "0.6.0" }
37+
pop-common = { path = "../pop-common", version = "0.7.0" }
3838

3939
[dev-dependencies]
4040
# Used in doc tests.

crates/pop-parachains/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ sc-cli.workspace = true
5050
sp-version.workspace = true
5151

5252
# Pop
53-
pop-common = { path = "../pop-common", version = "0.6.0" }
53+
pop-common = { path = "../pop-common", version = "0.7.0" }
5454

5555
[dev-dependencies]
5656
# Used in doc tests.

0 commit comments

Comments
 (0)