Skip to content

Commit

Permalink
Release v0.23.5 (#1079)
Browse files Browse the repository at this point in the history
* Release changelog

Signed-off-by: Thane Thomson <[email protected]>

* Build changelog

Signed-off-by: Thane Thomson <[email protected]>

* Bump crate versions to v0.23.5

Signed-off-by: Thane Thomson <[email protected]>

* Add tendermint-light-client-verifier crate to release script

Signed-off-by: Thane Thomson <[email protected]>

* Update date in changelog and rebuild

Signed-off-by: Thane Thomson <[email protected]>

* Add readme for tendermint-light-client-verifier

Signed-off-by: Thane Thomson <[email protected]>
  • Loading branch information
thanethomson authored Jan 14, 2022
1 parent d560681 commit cad594d
Show file tree
Hide file tree
Showing 25 changed files with 90 additions and 43 deletions.
4 changes: 4 additions & 0 deletions .changelog/v0.23.5/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*Jan 13, 2022*

A single breaking change is provided by this release in order to move us closer
toward `no_std` support in both tendermint-rs and ibc-rs.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# CHANGELOG

## v0.23.5

*Jan 13, 2022*

A single breaking change is provided by this release in order to move us closer
toward `no_std` support in both tendermint-rs and ibc-rs.

### BREAKING CHANGES

- `[tendermint-light-client]` Split out the verification functionality from the
`tendermint-light-client` crate into its own `no_std`-compatible crate:
`tendermint-light-client-verifier`. This helps move us closer to `no_std`
compliance in both tendermint-rs and ibc-rs
([#1027](https://github.com/informalsystems/tendermint-rs/issues/1027))

## v0.23.4

*Jan 11, 2022*
Expand Down
4 changes: 2 additions & 2 deletions abci/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-abci"
version = "0.23.4"
version = "0.23.5"
authors = ["Informal Systems <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand Down Expand Up @@ -33,7 +33,7 @@ binary = [
[dependencies]
bytes = { version = "1.0", default-features = false }
prost = { version = "0.9", default-features = false }
tendermint-proto = { version = "0.23.4", default-features = false, path = "../proto" }
tendermint-proto = { version = "0.23.5", default-features = false, path = "../proto" }
tracing = { version = "0.1", default-features = false }
flex-error = { version = "0.4.4", default-features = false }
structopt = { version = "0.3", optional = true, default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-config"
version = "0.23.4" # Also update `html_root_url` in lib.rs and
version = "0.23.5" # 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 All @@ -25,7 +25,7 @@ all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
tendermint = { version = "0.23.4", default-features = false, path = "../tendermint" }
tendermint = { version = "0.23.5", default-features = false, path = "../tendermint" }
flex-error = { version = "0.4.4", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down
6 changes: 3 additions & 3 deletions light-client-js/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-light-client-js"
version = "0.23.4"
version = "0.23.5"
authors = ["Informal Systems <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand All @@ -24,8 +24,8 @@ serde = { version = "1.0", default-features = false, features = [ "derive" ] }
serde_json = { version = "1.0", default-features = false }
# TODO(thane): Remove once https://github.com/rustwasm/wasm-bindgen/issues/2508 is resolved
syn = { version = "=1.0.65", default-features = false }
tendermint = { version = "0.23.4", default-features = false, path = "../tendermint" }
tendermint-light-client-verifier = { version = "0.23.4", default-features = false, path = "../light-client-verifier" }
tendermint = { version = "0.23.5", default-features = false, path = "../tendermint" }
tendermint-light-client-verifier = { version = "0.23.5", default-features = false, path = "../light-client-verifier" }
wasm-bindgen = { version = "0.2.63", default-features = false, features = [ "serde-serialize" ] }

# The `console_error_panic_hook` crate provides better debugging of panics by
Expand Down
6 changes: 3 additions & 3 deletions light-client-verifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-light-client-verifier"
version = "0.23.4"
version = "0.23.5"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand All @@ -26,8 +26,8 @@ rustdoc-args = ["--cfg", "docsrs"]
default = ["flex-error/std", "flex-error/eyre_tracer"]

[dependencies]
tendermint = { version = "0.23.4", path = "../tendermint", default-features = false }
tendermint-rpc = { version = "0.23.4", path = "../rpc", default-features = false }
tendermint = { version = "0.23.5", path = "../tendermint", default-features = false }
tendermint-rpc = { version = "0.23.5", path = "../rpc", default-features = false }

derive_more = { version = "0.99.5", default-features = false, features = ["display"] }
serde = { version = "1.0.106", default-features = false }
Expand Down
28 changes: 28 additions & 0 deletions light-client-verifier/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[![Crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]

See the [repo root] for build status, license, rust version, etc.

# Light Client Verifier

The verification component of the [Light Client]. This is extracted in order to
be able to make use of verification predicates without any of the I/O and
dependencies on the Rust standard library (i.e. to facilitate `no_std` support).

## Documentation

See documentation on [crates.io][docs-link].

[//]: # (badges)

[crate-image]: https://img.shields.io/crates/v/tendermint-light-client-verifier.svg
[crate-link]: https://crates.io/crates/tendermint-light-client-verifier
[docs-image]: https://docs.rs/tendermint-light-client-verifier/badge.svg
[docs-link]: https://docs.rs/tendermint-light-client-verifier/

[//]: # (general links)

[repo root]: https://github.com/informalsystems/tendermint-rs
[quick start]: https://github.com/tendermint/tendermint/blob/master/docs/introduction/quick-start.md
[Tendermint]: https://github.com/tendermint/tendermint
[Light Client]: https://github.com/informalsystems/tendermint-rs/tree/master/light-client
8 changes: 4 additions & 4 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.23.4"
version = "0.23.5"
edition = "2018"
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -34,9 +34,9 @@ unstable = []
mbt = []

[dependencies]
tendermint = { version = "0.23.4", path = "../tendermint", default-features = false }
tendermint-rpc = { version = "0.23.4", path = "../rpc", default-features = false }
tendermint-light-client-verifier = { version = "0.23.4", path = "../light-client-verifier", default-features = false }
tendermint = { version = "0.23.5", path = "../tendermint", default-features = false }
tendermint-rpc = { version = "0.23.5", path = "../rpc", default-features = false }
tendermint-light-client-verifier = { version = "0.23.5", path = "../light-client-verifier", default-features = false }

contracts = { version = "0.4.0", default-features = false }
crossbeam-channel = { version = "0.4.2", default-features = false }
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 @@ -9,7 +9,7 @@
nonstandard_style
)]
#![doc(
html_root_url = "https://docs.rs/tendermint-light-client/0.23.4",
html_root_url = "https://docs.rs/tendermint-light-client/0.23.5",
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 p2p/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-p2p"
version = "0.23.4"
version = "0.23.5"
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/informalsystems/tendermint-rs"
Expand Down Expand Up @@ -44,9 +44,9 @@ aead = { version = "0.4.1", default-features = false }
flex-error = { version = "0.4.4", default-features = false }

# path dependencies
tendermint = { path = "../tendermint", version = "0.23.4", default-features = false }
tendermint-proto = { path = "../proto", version = "0.23.4", default-features = false }
tendermint-std-ext = { path = "../std-ext", version = "0.23.4", default-features = false }
tendermint = { path = "../tendermint", version = "0.23.5", default-features = false }
tendermint-proto = { path = "../proto", version = "0.23.5", default-features = false }
tendermint-std-ext = { path = "../std-ext", version = "0.23.5", default-features = false }

# optional dependencies
prost-derive = { version = "0.9", optional = true }
2 changes: 1 addition & 1 deletion p2p/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
unused_qualifications
)]
#![doc(
html_root_url = "https://docs.rs/tendermint-p2p/0.23.4",
html_root_url = "https://docs.rs/tendermint-p2p/0.23.5",
html_logo_url = "https://raw.githubusercontent.com/informalsystems/tendermint-rs/master/img/logo-tendermint-rs_3961x4001.png"
)]

Expand Down
2 changes: 1 addition & 1 deletion pbt-gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-pbt-gen"
version = "0.23.4"
version = "0.23.5"
authors = ["Informal Systems <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
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.23.4"
version = "0.23.5"
authors = ["Informal Systems <[email protected]>"]
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 @@ -4,7 +4,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.23.4")]
#![doc(html_root_url = "https://docs.rs/tendermint-proto/0.23.5")]

extern crate alloc;

Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -e
# A space-separated list of all the crates we want to publish, in the order in
# which they must be published. It's important to respect this order, since
# each subsequent crate depends on one or more of the preceding ones.
DEFAULT_CRATES="tendermint-proto tendermint-std-ext tendermint tendermint-config tendermint-abci tendermint-rpc tendermint-p2p tendermint-light-client tendermint-light-client-js tendermint-testgen"
DEFAULT_CRATES="tendermint-proto tendermint-std-ext tendermint tendermint-config tendermint-abci tendermint-rpc tendermint-p2p tendermint-light-client-verifier tendermint-light-client tendermint-light-client-js tendermint-testgen"

# Allows us to override the crates we want to publish.
CRATES=${*:-${DEFAULT_CRATES}}
Expand Down
8 changes: 4 additions & 4 deletions rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-rpc"
version = "0.23.4"
version = "0.23.5"
edition = "2018"
license = "Apache-2.0"
homepage = "https://www.tendermint.com/"
Expand Down Expand Up @@ -68,9 +68,9 @@ pin-project = { version = "1.0.1", default-features = false }
serde = { version = "1", default-features = false, features = [ "derive" ] }
serde_bytes = { version = "0.11", default-features = false }
serde_json = { version = "1", default-features = false, features = ["std"] }
tendermint-config = { version = "0.23.4", path = "../config", default-features = false }
tendermint = { version = "0.23.4", default-features = false, path = "../tendermint" }
tendermint-proto = { version = "0.23.4", default-features = false, path = "../proto" }
tendermint-config = { version = "0.23.5", path = "../config", default-features = false }
tendermint = { version = "0.23.5", default-features = false, path = "../tendermint" }
tendermint-proto = { version = "0.23.5", default-features = false, path = "../proto" }
thiserror = { version = "1", default-features = false }
time = { version = "0.3", default-features = false, features = ["macros", "parsing"] }
uuid = { version = "0.8", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion std-ext/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-std-ext"
version = "0.23.4"
version = "0.23.5"
edition = "2018"
license = "Apache-2.0"
homepage = "https://www.tendermint.com/"
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.23.4" # Also update `html_root_url` in lib.rs and
version = "0.23.5" # 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 @@ -47,7 +47,7 @@ sha2 = { version = "0.9", default-features = false }
signature = { version = "1.2", default-features = false }
subtle = { version = "2", default-features = false }
subtle-encoding = { version = "0.5", default-features = false, features = ["bech32-preview"] }
tendermint-proto = { version = "0.23.4", default-features = false, path = "../proto" }
tendermint-proto = { version = "0.23.5", default-features = false, path = "../proto" }
time = { version = "0.3", default-features = false, features = ["macros", "parsing"] }
zeroize = { version = "1.1", default-features = false, features = ["zeroize_derive", "alloc"] }
flex-error = { version = "0.4.4", default-features = false }
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.23.4",
html_root_url = "https://docs.rs/tendermint/0.23.5",
html_logo_url = "https://raw.githubusercontent.com/informalsystems/tendermint-rs/master/img/logo-tendermint-rs_3961x4001.png"
)]

Expand Down
2 changes: 1 addition & 1 deletion test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tendermint-test"
description = "Tendermint workspace tests and common utilities for testing."
version = "0.23.4"
version = "0.23.5"
edition = "2018"
license = "Apache-2.0"
categories = ["development", "test", "tools"]
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.23.4"
version = "0.23.5"
authors = ["Informal Systems <[email protected]>"]
edition = "2018"
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ description = """
"""

[dependencies]
tendermint = { version = "0.23.4", path = "../tendermint", features = ["clock"] }
tendermint = { version = "0.23.5", path = "../tendermint", features = ["clock"] }
serde = { version = "1", default-features = false, features = ["derive"] }
serde_json = { version = "1", default-features = false, features = ["std"] }
ed25519-dalek = { version = "1", default-features = false }
Expand Down
8 changes: 4 additions & 4 deletions tools/abci-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "abci-test"
version = "0.23.4"
version = "0.23.5"
authors = ["Informal Systems <[email protected]>"]
edition = "2018"
description = """
Expand All @@ -14,9 +14,9 @@ description = """
flex-error = { version = "0.4.4", default-features = false, features = ["std", "eyre_tracer"] }
futures = "0.3"
structopt = "0.3"
tendermint = { version = "0.23.4", path = "../../tendermint" }
tendermint-config = { version = "0.23.4", path = "../../config" }
tendermint-rpc = { version = "0.23.4", path = "../../rpc", features = [ "websocket-client" ] }
tendermint = { version = "0.23.5", path = "../../tendermint" }
tendermint-config = { version = "0.23.5", path = "../../config" }
tendermint-rpc = { version = "0.23.5", path = "../../rpc", features = [ "websocket-client" ] }
tracing = "0.1"
tracing-subscriber = "0.2"
tokio = { version = "1", features = ["full"] }
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.23.4", path = "../../tendermint" }
tendermint-light-client = { version = "0.23.4", path = "../../light-client", features = ["unstable"] }
tendermint-rpc = { version = "0.23.4", path = "../../rpc", features = [ "http-client", "websocket-client" ] }
tendermint = { version = "0.23.5", path = "../../tendermint" }
tendermint-light-client = { version = "0.23.5", path = "../../light-client", features = ["unstable"] }
tendermint-rpc = { version = "0.23.5", 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.23.4"
version = "0.23.5"
authors = ["Informal Systems <[email protected]>"]
edition = "2018"
license = "Apache-2.0"
Expand Down

0 comments on commit cad594d

Please sign in to comment.