Skip to content

Commit

Permalink
Release v0.20.0 (#912)
Browse files Browse the repository at this point in the history
* Fix changelog entry formatting

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

* Add link to changelog entry

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

* Prepare v0.20.0 changelog

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

* Expand crate name for clarity

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

* Fix summary wording

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

* Fix missing closing brace

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

* Build changelog

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

* Remove tendermint-light-node from release script

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

* Bump versions to v0.20.0

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

* Update .changelog to reflect incoming changes from #910

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

* Remove superfluous breaking changes references

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

* Rebuild changelog

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

* Add dates to releases

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

* Rebuild changelog

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

* Update .changelog/v0.20.0/summary.md

Co-authored-by: Alexander Simmerl <a.simmerl@gmail.com>

* Update .changelog/v0.20.0/summary.md

Co-authored-by: Alexander Simmerl <a.simmerl@gmail.com>

* Rebuild changelog

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

* Update .changelog/v0.20.0/summary.md

* Rebuild changelog

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

Co-authored-by: Alexander Simmerl <a.simmerl@gmail.com>
  • Loading branch information
thanethomson and xla authored Jun 22, 2021
1 parent c305efd commit 21ef18f
Show file tree
Hide file tree
Showing 32 changed files with 113 additions and 47 deletions.
2 changes: 2 additions & 0 deletions .changelog/epilogue.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## v0.19.0

*Apr 7, 2021*

This release primarily aims to enhance RPC and Light Client functionality,
thereby improving [`ibc-rs`] and fixing an important bug affecting the Light
Client ([#831]).
Expand Down
Empty file added .changelog/unreleased/.gitkeep
Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* `[tendermint-p2p]` Remove superfluous module name suffixes in `p2p::error` ([#898](https://github.com/informalsystems/tendermint-rs/pull/898))
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[tendermint-abci,tendermint-rpc]` Fix DeliverTx response deserialization
* `[tendermint-abci,tendermint-rpc]` Fix DeliverTx response deserialization
issues with `gas_wanted` and `gas_used` fields
([#876](https://github.com/informalsystems/tendermint-rs/issues/876))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- `[tendermint]` Update TendermintConfig for Tendermint v.0.34.x ([#897](https://github.com/informalsystems/tendermint-rs/issues/897))
* `[tendermint]` Update TendermintConfig for Tendermint v.0.34.x ([#897](https://github.com/informalsystems/tendermint-rs/issues/897))
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- `[tendermint]` Better handling of optional values in TendermintConfig ([#908](https://github.com/informalsystems/tendermint-rs/issues/908))
* `[tendermint]` Better handling of optional values in TendermintConfig ([#908](https://github.com/informalsystems/tendermint-rs/issues/908))
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
we'll restore it. It will, of course, remain accessible in the
[repo history](https://github.com/informalsystems/tendermint-rs/tree/f207ecc0a7c071a54d63f159794b16a216741b38)
for now.
([#879](https://github.com/informalsystems/tendermint-rs/issues/879)
([#879](https://github.com/informalsystems/tendermint-rs/issues/879))
19 changes: 19 additions & 0 deletions .changelog/v0.20.0/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
*Jun 22, 2021*

This release's number is bumped up to v0.20.0 due to two minor breaking changes
in our public APIs (see the breaking changes section below for details).

Also, since nobody was really making use of the Light Node, we decided to remove
its crate from the repo for now. If anyone needs it back, please contact us and
we'll restore it (although, we are considering migrating any and all binaries to
their own repositories in the future to separate library-level concerns from
operational ones).

The `tendermint-p2p` crate is still undergoing significant expansion (thanks to
@xla and @melekes). A lot's been done and we're in the process of finalizing
this new architecture, which will form the basis for future work towards
building more Tendermint nodes in Rust. More on this in future
releases.

Other than that, this release mainly contains various small bug fixes,
improvements and dependency updates.
63 changes: 54 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,69 @@
## Unreleased
# CHANGELOG

## v0.20.0

*Jun 22, 2021*

This release's number is bumped up to v0.20.0 due to two minor breaking changes
in our public APIs (see the breaking changes section below for details).

Also, since nobody was really making use of the Light Node, we decided to remove
its crate from the repo for now. If anyone needs it back, please contact us and
we'll restore it (although, we are considering migrating any and all binaries to
their own repositories in the future to separate library-level concerns from
operational ones).

The `tendermint-p2p` crate is still undergoing significant expansion (thanks to
@xla and @melekes). A lot's been done and we're in the process of finalizing
this new architecture, which will form the basis for future work towards
building more Tendermint nodes in Rust. More on this in future
releases.

Other than that, this release mainly contains various small bug fixes,
improvements and dependency updates.

### BREAKING CHANGES

* `[tendermint-p2p]` Remove superfluous module name suffixes in `p2p::error` ([#898](https://github.com/informalsystems/tendermint-rs/pull/898))
* `[tendermint]` Rename `time::Time::to_rfc3339` to `as_rfc3339` to be
consistent with Rust's [self reference
conventions](https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention)
([#910](https://github.com/informalsystems/tendermint-rs/pull/910))

### BUG FIXES

- `[tendermint-abci,tendermint-rpc]` Fix DeliverTx response deserialization
issues with `gas_wanted` and `gas_used` fields ([#876])
* `[tendermint-abci,tendermint-rpc]` Fix DeliverTx response deserialization
issues with `gas_wanted` and `gas_used` fields
([#876](https://github.com/informalsystems/tendermint-rs/issues/876))
* `[tendermint]` Update TendermintConfig for Tendermint v.0.34.x ([#897](https://github.com/informalsystems/tendermint-rs/issues/897))
* `[tendermint]` Better handling of optional values in TendermintConfig ([#908](https://github.com/informalsystems/tendermint-rs/issues/908))

### IMPROVEMENTS

* `[tendermint-light-client]` Replaced `tempdir` dev dependency (deprecated)
with `tempfile`
([#851](https://github.com/informalsystems/tendermint-rs/issues/851))
* Updated the changelog process to use
[unclog](https://github.com/informalsystems/unclog) format and unblock the PR
merge process
([#891](https://github.com/informalsystems/tendermint-rs/pull/891)).
* `[tendermint]` Changed `tendermint::public_key::Secp256k1` to be an alias
of `k256::ecdsa::VerifyingKey`
([#900](https://github.com/informalsystems/tendermint-rs/pull/900))

### REMOVED

* `[tendermint-light-node]` We removed the `light-node` crate from the repo since
nobody's currently really using it. If anyone needs please log an issue and
we'll restore it. It will, of course, remain accessible in the
[repo history](last-light-node) for now.
([#879])

[#876]: https://github.com/informalsystems/tendermint-rs/issues/876
[#879]: https://github.com/informalsystems/tendermint-rs/issues/879
[last-light-node]: https://github.com/informalsystems/tendermint-rs/tree/f207ecc0a7c071a54d63f159794b16a216741b38
[repo history](https://github.com/informalsystems/tendermint-rs/tree/f207ecc0a7c071a54d63f159794b16a216741b38)
for now.
([#879](https://github.com/informalsystems/tendermint-rs/issues/879))

## v0.19.0

*Apr 7, 2021*

This release primarily aims to enhance RPC and Light Client functionality,
thereby improving [`ibc-rs`] and fixing an important bug affecting the Light
Client ([#831]).
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.19.0"
version = "0.20.0"
authors = ["Thane Thomson <thane@informal.systems>"]
edition = "2018"
license = "Apache-2.0"
Expand Down Expand Up @@ -30,7 +30,7 @@ binary = [ "structopt", "tracing-subscriber" ]
bytes = "1.0"
eyre = "0.6"
prost = "0.7"
tendermint-proto = { version = "0.19.0", path = "../proto" }
tendermint-proto = { version = "0.20.0", path = "../proto" }
thiserror = "1.0"
tracing = "0.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.19.0"
version = "0.20.0"
authors = [
"Romain Ruetschi <romain@informal.systems>",
"Thane Thomson <thane@informal.systems>"
Expand All @@ -27,8 +27,8 @@ serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
# TODO(thane): Remove once https://github.com/rustwasm/wasm-bindgen/issues/2508 is resolved
syn = "=1.0.65"
tendermint = { version = "0.19.0", path = "../tendermint" }
tendermint-light-client = { version = "0.19.0", path = "../light-client", default-features = false }
tendermint = { version = "0.20.0", path = "../tendermint" }
tendermint-light-client = { version = "0.20.0", path = "../light-client", default-features = false }
wasm-bindgen = { version = "0.2.63", 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/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tendermint-light-client"
version = "0.19.0"
version = "0.20.0"
edition = "2018"
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -37,8 +37,8 @@ lightstore-sled = ["sled"]
unstable = []

[dependencies]
tendermint = { version = "0.19.0", path = "../tendermint" }
tendermint-rpc = { version = "0.19.0", path = "../rpc", default-features = false }
tendermint = { version = "0.20.0", path = "../tendermint" }
tendermint-rpc = { version = "0.20.0", 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.19.0",
html_root_url = "https://docs.rs/tendermint-light-client/0.20.0",
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
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.19.0"
version = "0.20.0"
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/informalsystems/tendermint-rs"
Expand Down Expand Up @@ -39,8 +39,8 @@ x25519-dalek = "1.1"
zeroize = "1"

# path dependencies
tendermint = { path = "../tendermint", version = "0.19.0" }
tendermint-proto = { path = "../proto", version = "0.19.0" }
tendermint = { path = "../tendermint", version = "0.20.0" }
tendermint-proto = { path = "../proto", version = "0.20.0" }

# optional dependencies
prost-amino = { version = "0.6", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion p2p/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
unused_qualifications
)]
#![doc(
html_root_url = "https://docs.rs/tendermint-p2p/0.19.0",
html_root_url = "https://docs.rs/tendermint-p2p/0.20.0",
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.19.0"
version = "0.20.0"
authors = ["Shon Feder <shon@informal.systems>"]
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.19.0"
version = "0.20.0"
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.19.0")]
#![doc(html_root_url = "https://docs.rs/tendermint-proto/0.20.0")]

/// 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 @@ -36,7 +36,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 tendermint-abci tendermint-rpc tendermint-p2p tendermint-light-client tendermint-light-client-js tendermint-light-node tendermint-testgen"
DEFAULT_CRATES="tendermint-proto tendermint tendermint-abci tendermint-rpc tendermint-p2p tendermint-light-client tendermint-light-client-js tendermint-testgen"

# Allows us to override the crates we want to publish.
CRATES=${*:-${DEFAULT_CRATES}}
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.19.0"
version = "0.20.0"
edition = "2018"
license = "Apache-2.0"
homepage = "https://www.tendermint.com/"
Expand Down Expand Up @@ -70,8 +70,8 @@ pin-project = "1.0.1"
serde = { version = "1", features = [ "derive" ] }
serde_bytes = "0.11"
serde_json = "1"
tendermint = { version = "0.19.0", path = "../tendermint" }
tendermint-proto = { version = "0.19.0", path = "../proto" }
tendermint = { version = "0.20.0", path = "../tendermint" }
tendermint-proto = { version = "0.20.0", 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.19.0" # Also update `html_root_url` in lib.rs and
version = "0.20.0" # 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.19.0", path = "../proto" }
tendermint-proto = { version = "0.20.0", path = "../proto" }
toml = { version = "0.5" }
url = { version = "2.2" }
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.19.0",
html_root_url = "https://docs.rs/tendermint/0.20.0",
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.19.0"
version = "0.20.0"
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.19.0"
version = "0.20.0"
authors = ["Andrey Kuprianov <andrey@informal.systems>", "Shivani Joshi <shivani@informal.systems>"]
edition = "2018"
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ description = """
"""

[dependencies]
tendermint = { version = "0.19.0", path = "../tendermint" }
tendermint = { version = "0.20.0", path = "../tendermint" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
ed25519-dalek = "1"
Expand Down
6 changes: 3 additions & 3 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.19.0"
version = "0.20.0"
authors = ["Thane Thomson <thane@informal.systems>"]
edition = "2018"
description = """
Expand All @@ -13,8 +13,8 @@ description = """
[dependencies]
futures = "0.3"
structopt = "0.3"
tendermint = { version = "0.19.0", path = "../../tendermint" }
tendermint-rpc = { version = "0.19.0", path = "../../rpc", features = [ "websocket-client" ] }
tendermint = { version = "0.20.0", path = "../../tendermint" }
tendermint-rpc = { version = "0.20.0", 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.19.0", path = "../../tendermint" }
tendermint-light-client = { version = "0.19.0", path = "../../light-client", features = ["unstable"] }
tendermint-rpc = { version = "0.19.0", path = "../../rpc", features = [ "http-client", "websocket-client" ] }
tendermint = { version = "0.20.0", path = "../../tendermint" }
tendermint-light-client = { version = "0.20.0", path = "../../light-client", features = ["unstable"] }
tendermint-rpc = { version = "0.20.0", 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.19.0"
version = "0.20.0"
authors = ["Thane Thomson <thane@informal.systems>"]
edition = "2018"
license = "Apache-2.0"
Expand Down

0 comments on commit 21ef18f

Please sign in to comment.