From 4aa00ad21650d0b600da91a5330eeb1957dce481 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Fri, 24 Jul 2020 11:12:23 -0700 Subject: [PATCH] Align crate versions and user-agent with NU numbers. We had a brief discussion on discord and it seemed like we had consensus on the following versioning policy: * zebrad: match major version to NU version, so we will start by releasing zebrad 3.0.0; * zebra-* libraries: start by matching zebrad's version, then increment major versions of each library as we need to make breaking changes (potentially faster than the zebrad version, always respecting semver but making no guarantees about the longevity of major releases). This commit sets all of the crate versions to 3.0.0-alpha.0 -- the -alpha.0 marks it as a prerelease not subject to perfect adherence to compatibility guarantees. --- zebra-chain/Cargo.toml | 2 +- zebra-client/Cargo.toml | 2 +- zebra-consensus/Cargo.toml | 2 +- zebra-network/Cargo.toml | 2 +- zebra-network/src/constants.rs | 2 +- zebra-rpc/Cargo.toml | 2 +- zebra-script/Cargo.toml | 2 +- zebra-state/Cargo.toml | 2 +- zebra-test/Cargo.toml | 2 +- zebra-utils/Cargo.toml | 2 +- zebrad/Cargo.toml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/zebra-chain/Cargo.toml b/zebra-chain/Cargo.toml index 202102f2..70d97c46 100644 --- a/zebra-chain/Cargo.toml +++ b/zebra-chain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-chain" -version = "0.1.0" +version = "3.0.0-alpha.0" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-client/Cargo.toml b/zebra-client/Cargo.toml index 4a639471..2aac1c30 100644 --- a/zebra-client/Cargo.toml +++ b/zebra-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-client" -version = "0.1.0" +version = "3.0.0-alpha.0" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-consensus/Cargo.toml b/zebra-consensus/Cargo.toml index 341478b9..d83f09fb 100644 --- a/zebra-consensus/Cargo.toml +++ b/zebra-consensus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-consensus" -version = "0.1.0" +version = "3.0.0-alpha.0" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-network/Cargo.toml b/zebra-network/Cargo.toml index 91531291..5dfa380f 100644 --- a/zebra-network/Cargo.toml +++ b/zebra-network/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-network" -version = "0.1.0" +version = "3.0.0-alpha.0" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-network/src/constants.rs b/zebra-network/src/constants.rs index 5a805aed..86bd5a2b 100644 --- a/zebra-network/src/constants.rs +++ b/zebra-network/src/constants.rs @@ -34,7 +34,7 @@ pub const HEARTBEAT_INTERVAL: Duration = Duration::from_secs(60); pub const TIMESTAMP_TRUNCATION_SECONDS: i64 = 30 * 60; /// The User-Agent string provided by the node. -pub const USER_AGENT: &str = "🦓Zebra v2.0.0-alpha.0🦓"; +pub const USER_AGENT: &str = "🦓 Zebra 3.0.0-alpha.0 🦓"; /// The Zcash network protocol version implemented by this crate. /// diff --git a/zebra-rpc/Cargo.toml b/zebra-rpc/Cargo.toml index e4de36ce..07ae17ae 100644 --- a/zebra-rpc/Cargo.toml +++ b/zebra-rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-rpc" -version = "0.1.0" +version = "3.0.0-alpha.0" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-script/Cargo.toml b/zebra-script/Cargo.toml index cff9b6f4..d2fccf07 100644 --- a/zebra-script/Cargo.toml +++ b/zebra-script/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-script" -version = "0.1.0" +version = "3.0.0-alpha.0" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-state/Cargo.toml b/zebra-state/Cargo.toml index 2f036d2e..e6a724f8 100644 --- a/zebra-state/Cargo.toml +++ b/zebra-state/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-state" -version = "0.1.0" +version = "3.0.0-alpha.0" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-test/Cargo.toml b/zebra-test/Cargo.toml index f5c1aa88..916741b6 100644 --- a/zebra-test/Cargo.toml +++ b/zebra-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zebra-test" -version = "0.1.0" +version = "3.0.0-alpha.0" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" edition = "2018" diff --git a/zebra-utils/Cargo.toml b/zebra-utils/Cargo.toml index 044ef8df..f5b60b0c 100644 --- a/zebra-utils/Cargo.toml +++ b/zebra-utils/Cargo.toml @@ -2,7 +2,7 @@ name = "zebra-utils" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" -version = "0.1.0" +version = "3.0.0-alpha.0" edition = "2018" [dependencies] diff --git a/zebrad/Cargo.toml b/zebrad/Cargo.toml index bf3b9a40..77ab308f 100644 --- a/zebrad/Cargo.toml +++ b/zebrad/Cargo.toml @@ -2,7 +2,7 @@ name = "zebrad" authors = ["Zcash Foundation "] license = "MIT OR Apache-2.0" -version = "0.1.0" +version = "3.0.0-alpha.0" edition = "2018" [dependencies]