Skip to content

Commit

Permalink
Release v0.18.1 (#808)
Browse files Browse the repository at this point in the history
* Bump version to v0.18.1

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Update CHANGELOG for v0.18.1 release

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* 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 <connect@thanethomson.com>
  • Loading branch information
thanethomson committed Feb 11, 2021
1 parent e964b1a commit e6a3168
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 29 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
## 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

* `[tendermint-proto]` Fix panic in evidence serialization in the case where we
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

Expand Down
6 changes: 3 additions & 3 deletions light-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion light-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand Down
8 changes: 4 additions & 4 deletions light-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion light-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)]

Expand Down
6 changes: 3 additions & 3 deletions p2p/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-proto"
version = "0.18.0"
version = "0.18.1"
authors = ["Greg Szabo <greg@informal.systems>"]
edition = "2018"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -81,7 +82,6 @@ wait_until_available() {
exit 1
else
echo "Not available just yet. Waiting a few seconds..."
sleep 5
fi
fi
done
Expand Down
6 changes: 3 additions & 3 deletions rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down Expand Up @@ -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"] }
Expand Down
4 changes: 2 additions & 2 deletions tendermint/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down Expand Up @@ -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"] }

Expand Down
2 changes: 1 addition & 1 deletion tendermint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)]

Expand Down
4 changes: 2 additions & 2 deletions testgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-testgen"
version = "0.18.0"
version = "0.18.1"
authors = ["Andrey Kuprianov <andrey@informal.systems>", "Shivani Joshi <shivani@informal.systems>"]
edition = "2018"
readme = "README.md"
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions tools/kvstore-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tools/rpc-probe/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-rpc-probe"
version = "0.18.0"
version = "0.18.1"
authors = ["Thane Thomson <thane@informal.systems>"]
edition = "2018"
license = "Apache-2.0"
Expand Down

0 comments on commit e6a3168

Please sign in to comment.