From e6a31686300915175be2279a95636869eda31312 Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Wed, 10 Feb 2021 20:24:07 -0500 Subject: [PATCH] Release v0.18.1 (#808) * Bump version to v0.18.1 Signed-off-by: Thane Thomson * Update CHANGELOG for v0.18.1 release Signed-off-by: Thane Thomson * Always sleep before crate check during release Often, while doing a release, this check comes back saying that the crate's available, and then when we try to build the next package it fails because the crate isn't yet available on crates.io. Adding a 5-second sleep in here is a last-ditch attempt to give the CDN (if it's a CDN that backs crates.io) a little time to catch up with their API. Signed-off-by: Thane Thomson --- CHANGELOG.md | 10 ++++++++-- light-client/Cargo.toml | 6 +++--- light-client/src/lib.rs | 2 +- light-node/Cargo.toml | 8 ++++---- light-node/src/lib.rs | 2 +- p2p/Cargo.toml | 6 +++--- proto/Cargo.toml | 2 +- proto/src/lib.rs | 2 +- release.sh | 2 +- rpc/Cargo.toml | 6 +++--- tendermint/Cargo.toml | 4 ++-- tendermint/src/lib.rs | 2 +- testgen/Cargo.toml | 4 ++-- tools/kvstore-test/Cargo.toml | 6 +++--- tools/rpc-probe/Cargo.toml | 2 +- 15 files changed, 35 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3579f724f..adfe82ed2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ -## Unreleased +## v0.18.1 + +*Feb 10, 2021* + +The main focus for this minor release is fixing the rendering of our +[`tendermint-light-client` crate documentation][light-client-docs]. ### BUG FIXES @@ -6,11 +11,12 @@ receive an empty evidence Protobuf structure ([#782]) * `[tendermint-light-node]` Upgrade `jsonrpc` dependency to v17.0 to fix security vulnerability in `hyper` v0.12.35 ([#803]) -* `[tendermint-light-client]` Fix Fix rendering of documentation on docs.rs ([#806]) +* `[tendermint-light-client]` Fix rendering of documentation on docs.rs ([#806]) [#782]: https://github.com/informalsystems/tendermint-rs/issues/782 [#803]: https://github.com/informalsystems/tendermint-rs/issues/803 [#806]: https://github.com/informalsystems/tendermint-rs/issues/806 +[light-client-docs]: https://docs.rs/crate/tendermint-light-client/ ## v0.18.0 diff --git a/light-client/Cargo.toml b/light-client/Cargo.toml index 00e6b121d..406172653 100644 --- a/light-client/Cargo.toml +++ b/light-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-light-client" -version = "0.18.0" +version = "0.18.1" edition = "2018" license = "Apache-2.0" readme = "README.md" @@ -36,8 +36,8 @@ lightstore-sled = ["sled"] unstable = [] [dependencies] -tendermint = { version = "0.18.0", path = "../tendermint" } -tendermint-rpc = { version = "0.18.0", path = "../rpc", default-features = false } +tendermint = { version = "0.18.1", path = "../tendermint" } +tendermint-rpc = { version = "0.18.1", path = "../rpc", default-features = false } anomaly = { version = "0.2.0", features = ["serializer"] } contracts = "0.4.0" diff --git a/light-client/src/lib.rs b/light-client/src/lib.rs index 1b691130e..924d0d0ff 100644 --- a/light-client/src/lib.rs +++ b/light-client/src/lib.rs @@ -10,7 +10,7 @@ nonstandard_style )] #![doc( - html_root_url = "https://docs.rs/tendermint-light-client/0.18.0", + html_root_url = "https://docs.rs/tendermint-light-client/0.18.1", html_logo_url = "https://raw.githubusercontent.com/informalsystems/tendermint-rs/master/img/logo-tendermint-rs_3961x4001.png" )] #![cfg_attr(docsrs, feature(doc_cfg))] diff --git a/light-node/Cargo.toml b/light-node/Cargo.toml index 2fbff2663..18a1b8b3c 100644 --- a/light-node/Cargo.toml +++ b/light-node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-light-node" -version = "0.18.0" +version = "0.18.1" edition = "2018" license = "Apache-2.0" repository = "https://github.com/informalsystems/tendermint-rs" @@ -38,9 +38,9 @@ serde = { version = "1", features = ["serde_derive"] } serde_json = "1.0" thiserror = "1.0" -tendermint = { version = "0.18.0", path = "../tendermint" } -tendermint-light-client = { version = "0.18.0", path = "../light-client", features = ["lightstore-sled"] } -tendermint-rpc = { version = "0.18.0", path = "../rpc", features = ["http-client"] } +tendermint = { version = "0.18.1", path = "../tendermint" } +tendermint-light-client = { version = "0.18.1", path = "../light-client", features = ["lightstore-sled"] } +tendermint-rpc = { version = "0.18.1", path = "../rpc", features = ["http-client"] } [dependencies.abscissa_core] version = "0.5.0" diff --git a/light-node/src/lib.rs b/light-node/src/lib.rs index 7a869d93b..67dfeb6bc 100644 --- a/light-node/src/lib.rs +++ b/light-node/src/lib.rs @@ -15,7 +15,7 @@ unused_qualifications )] #![doc( - html_root_url = "https://docs.rs/tendermint-light-node/0.18.0", + html_root_url = "https://docs.rs/tendermint-light-node/0.18.1", html_logo_url = "https://raw.githubusercontent.com/informalsystems/tendermint-rs/master/img/logo-tendermint-rs_3961x4001.png" )] diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml index 948989d61..868a2926a 100644 --- a/p2p/Cargo.toml +++ b/p2p/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-p2p" -version = "0.18.0" +version = "0.18.1" edition = "2018" license = "Apache-2.0" repository = "https://github.com/informalsystems/tendermint-rs" @@ -31,8 +31,8 @@ x25519-dalek = "1.1" zeroize = "1" # path dependencies -tendermint = { path = "../tendermint", version = "0.18.0" } -tendermint-proto = { path = "../proto", version = "0.18.0" } +tendermint = { path = "../tendermint", version = "0.18.1" } +tendermint-proto = { path = "../proto", version = "0.18.1" } # optional dependencies prost-amino = { version = "0.6", optional = true } diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 0bf0cbf1a..2c65fd68c 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-proto" -version = "0.18.0" +version = "0.18.1" authors = ["Greg Szabo "] edition = "2018" license = "Apache-2.0" diff --git a/proto/src/lib.rs b/proto/src/lib.rs index 5f6b11074..4fec5983d 100644 --- a/proto/src/lib.rs +++ b/proto/src/lib.rs @@ -3,7 +3,7 @@ #![deny(warnings, trivial_casts, trivial_numeric_casts, unused_import_braces)] #![allow(clippy::large_enum_variant)] #![forbid(unsafe_code)] -#![doc(html_root_url = "https://docs.rs/tendermint-proto/0.18.0")] +#![doc(html_root_url = "https://docs.rs/tendermint-proto/0.18.1")] /// Built-in prost_types with slight customization to enable JSON-encoding #[allow(warnings)] diff --git a/release.sh b/release.sh index 78fff05ad..629207888 100755 --- a/release.sh +++ b/release.sh @@ -71,6 +71,7 @@ list_package_files() { wait_until_available() { echo "Waiting for crate ${1} to become available via crates.io..." for retry in {1..5}; do + sleep 5 ONLINE_DATE="$(check_version_online "${1}" "${2}")" if [ -n "${ONLINE_DATE}" ]; then echo "Crate ${crate} is now available online" @@ -81,7 +82,6 @@ wait_until_available() { exit 1 else echo "Not available just yet. Waiting a few seconds..." - sleep 5 fi fi done diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 3a606eec8..4cfa8d4d5 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-rpc" -version = "0.18.0" +version = "0.18.1" edition = "2018" license = "Apache-2.0" homepage = "https://www.tendermint.com/" @@ -54,8 +54,8 @@ getrandom = "0.1" serde = { version = "1", features = [ "derive" ] } serde_bytes = "0.11" serde_json = "1" -tendermint = { version = "0.18.0", path = "../tendermint" } -tendermint-proto = { version = "0.18.0", path = "../proto" } +tendermint = { version = "0.18.1", path = "../tendermint" } +tendermint-proto = { version = "0.18.1", path = "../proto" } thiserror = "1" uuid = { version = "0.8", default-features = false } subtle-encoding = { version = "0.5", features = ["bech32-preview"] } diff --git a/tendermint/Cargo.toml b/tendermint/Cargo.toml index fc379e7fe..55b376224 100644 --- a/tendermint/Cargo.toml +++ b/tendermint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint" -version = "0.18.0" # Also update `html_root_url` in lib.rs and +version = "0.18.1" # Also update `html_root_url` in lib.rs and # depending crates (rpc, light-node, ..) when bumping this license = "Apache-2.0" homepage = "https://www.tendermint.com/" @@ -53,7 +53,7 @@ signature = "1.2" subtle = "2" subtle-encoding = { version = "0.5", features = ["bech32-preview"] } thiserror = "1" -tendermint-proto = { version = "0.18.0", path = "../proto" } +tendermint-proto = { version = "0.18.1", path = "../proto" } toml = { version = "0.5" } zeroize = { version = "1.1", features = ["zeroize_derive"] } diff --git a/tendermint/src/lib.rs b/tendermint/src/lib.rs index 8b836dd06..4e455e272 100644 --- a/tendermint/src/lib.rs +++ b/tendermint/src/lib.rs @@ -15,7 +15,7 @@ )] #![forbid(unsafe_code)] #![doc( - html_root_url = "https://docs.rs/tendermint/0.18.0", + html_root_url = "https://docs.rs/tendermint/0.18.1", html_logo_url = "https://raw.githubusercontent.com/informalsystems/tendermint-rs/master/img/logo-tendermint-rs_3961x4001.png" )] diff --git a/testgen/Cargo.toml b/testgen/Cargo.toml index d29d29e7e..c49df1dd1 100644 --- a/testgen/Cargo.toml +++ b/testgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-testgen" -version = "0.18.0" +version = "0.18.1" authors = ["Andrey Kuprianov ", "Shivani Joshi "] edition = "2018" readme = "README.md" @@ -14,7 +14,7 @@ description = """ """ [dependencies] -tendermint = { version = "0.18.0", path = "../tendermint" } +tendermint = { version = "0.18.1", path = "../tendermint" } serde = { version = "1", features = ["derive"] } serde_json = "1" ed25519-dalek = "1" diff --git a/tools/kvstore-test/Cargo.toml b/tools/kvstore-test/Cargo.toml index d7f930d13..40760bc2f 100644 --- a/tools/kvstore-test/Cargo.toml +++ b/tools/kvstore-test/Cargo.toml @@ -10,9 +10,9 @@ edition = "2018" [dev-dependencies] futures = "0.3" -tendermint = { version = "0.18.0", path = "../../tendermint" } -tendermint-light-client = { version = "0.18.0", path = "../../light-client", features = ["unstable"] } -tendermint-rpc = { version = "0.18.0", path = "../../rpc", features = [ "http-client", "websocket-client" ] } +tendermint = { version = "0.18.1", path = "../../tendermint" } +tendermint-light-client = { version = "0.18.1", path = "../../light-client", features = ["unstable"] } +tendermint-rpc = { version = "0.18.1", path = "../../rpc", features = [ "http-client", "websocket-client" ] } tokio = { version = "1.0", features = [ "rt-multi-thread", "macros" ] } tracing = "0.1" tracing-subscriber = "0.2" diff --git a/tools/rpc-probe/Cargo.toml b/tools/rpc-probe/Cargo.toml index cf0b69251..fdbd44776 100644 --- a/tools/rpc-probe/Cargo.toml +++ b/tools/rpc-probe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-rpc-probe" -version = "0.18.0" +version = "0.18.1" authors = ["Thane Thomson "] edition = "2018" license = "Apache-2.0"