Skip to content

Commit d8c361e

Browse files
authored
Release v0.40.4 (#1503)
* Update changelog * Bump version to v0.40.4 * Fix changelog formatting
1 parent 6ed5c8d commit d8c361e

File tree

22 files changed

+75
-61
lines changed

22 files changed

+75
-61
lines changed
File renamed without changes.

.changelog/v0.40.4/summary.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*May 5th, 2025*

CHANGELOG.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# CHANGELOG
22

3+
## v0.40.4
4+
5+
*May 5th, 2025*
6+
7+
### BUG FIXES
8+
9+
- `[tendermint-proto]` Intoduce `CowStr` deserializer.
10+
([\#1474](https://github.com/informalsystems/tendermint-rs/issues/1474), [\#1475](https://github.com/informalsystems/tendermint-rs/pull/1475))
11+
- `[tendermint]` Fix deserialization from `serde_json::Value`.
12+
([\#1474](https://github.com/informalsystems/tendermint-rs/issues/1474), [\#1475](https://github.com/informalsystems/tendermint-rs/pull/1475))
13+
- `[tendermint-rpc]` Fix deserialization of `data` field in `ResultBroadcastTx`
14+
([\#1500](https://github.com/informalsystems/tendermint-rs/issues/1500))
15+
316
## v0.40.3
417

518
*April 8, 2025*
@@ -9,11 +22,11 @@ ASAP.
922

1023
### BUG FIXES
1124

12-
- [tendermint] export `abci::event::v0_37` to construct `EventAttribute::V037` variants.
25+
- `[tendermint]` Export `abci::event::v0_37` to construct `EventAttribute::V037` variants.
1326
([\#1479](https://github.com/informalsystems/tendermint-rs/pull/1479), ([\#1480](https://github.com/informalsystems/tendermint-rs/pull/1480))
14-
- [tendermint-light-client-js] bump `serde-wasm-bindgen` to `v0.6.5` and `js-sys` to `=v0.3.70` to
27+
- `[tendermint-light-client-js]` Bump `serde-wasm-bindgen` to `v0.6.5` and `js-sys` to `=v0.3.70` to
1528
fix compilation failure of `wasm-bindgen-test`. ([\#1481](https://github.com/informalsystems/tendermint-rs/pull/1481))
16-
- `[light-client-verifier]` check for duplicate votes
29+
- `[light-client-verifier]` Check for duplicate votes
1730
([ISA-2025-003](https://github.com/informalsystems/tendermint-rs/security/advisories/GHSA-6jrf-4jv4-r9mw))
1831

1932
## v0.40.2
@@ -233,7 +246,7 @@ This release also technically contains a breaking change in `tendermint-proto`,
233246

234247
This release brings breaking changes related to `flex-error`,
235248
`EventAttribute` fields and `/tx_broadcast` `Response` struct,
236-
as well as a critical bug fix for `tendermint-p2p`,
249+
as well as a critical bug fix for `tendermint-p2p`,
237250
multiple improvements to `tendermint-rpc` and
238251
a performance optimization for `tendermint-light-client-verifier`.
239252

@@ -270,7 +283,7 @@ a performance optimization for `tendermint-light-client-verifier`.
270283
`http::Builder` now provides a `.timeout(Duration)` method to specify the request timeout.
271284
If not specified, the default value is 30 seconds.
272285
([\#1379](https://github.com/informalsystems/tendermint-rs/issues/1379))
273-
- `[tendermint-light-client-verifer]` Optimizing voting power calculation by breaking the loop when we have enough voting power
286+
- `[tendermint-light-client-verifer]` Optimizing voting power calculation by breaking the loop when we have enough voting power
274287
([#1378](https://github.com/informalsystems/tendermint-rs/pull/1395)).
275288

276289
## v0.34.0
@@ -599,7 +612,7 @@ should be able to interoperate with CometBFT nodes based on 0.34.x and
599612
### IMPROVEMENTS
600613

601614
- [`tendermint-proto`] Generate prost bindings for Tendermint 0.34 and 0.37 side by side.
602-
The version-specific structs are placed under the `tendermint::v0_34` and
615+
The version-specific structs are placed under the `tendermint::v0_34` and
603616
`tendermint::v0_37` module namespaces, respectively. The names under
604617
`tendermint::v0_37` are also re-exported under `tendermint`.
605618
([#1193](https://github.com/informalsystems/tendermint-rs/pull/1193))
@@ -824,7 +837,7 @@ further breaking changes in subsequent breaking releases.
824837
endpoint has been changed to base64 (from hex) to accommodate discrepancies in
825838
how the Tendermint RPC encodes this field for different RPC interfaces
826839
([#942](https://github.com/informalsystems/tendermint-rs/issues/942))
827-
- Allow a `TrustThresholdFraction` of 1
840+
- Allow a `TrustThresholdFraction` of 1
828841
([#1208](https://github.com/informalsystems/tendermint-rs/issues/1208))
829842

830843
### ENHANCEMENTS
@@ -1659,8 +1672,8 @@ documentation, for further details.
16591672

16601673
*Aug 31, 2020*
16611674

1662-
This release is the first release of the [testgen][testgen-dir] utility,
1663-
a generator for Tendermint types for unit and integration tests and for model-based testing.
1675+
This release is the first release of the [testgen][testgen-dir] utility,
1676+
a generator for Tendermint types for unit and integration tests and for model-based testing.
16641677
It is a utility for producing tendermint datastructures from minimal input, targeted for testing.
16651678

16661679
The release also contains various Rust API-breaking changes. It remains compatible with v0.33 of Tendermint Core.
@@ -1718,7 +1731,7 @@ Together they provide a complete Tendermint light client implementation that per
17181731
and attempts to detect forks across its peers. Complete TLA+ specifications for light client verification are included,
17191732
along with work-in-progress specs for fork detection. The implementation is compatible with v0.33 of Tendermint Core.
17201733

1721-
Note that both the [light-client][light-client-dir] and [light-node][light-node-dir] crates are to be considered experimental software that will still undergo a
1734+
Note that both the [light-client][light-client-dir] and [light-node][light-node-dir] crates are to be considered experimental software that will still undergo a
17221735
lot of improvements and iterations. The goal of releasing an early version of our Light Client is to make it accessible, to get people use it, and to receive feedback.
17231736

17241737
An overview of the current design of the light client is provided in [ADR-006]
@@ -1734,9 +1747,9 @@ and [ADR-007].
17341747
### FEATURES:
17351748

17361749
- [light-client] Rewrite and expansion of `lite`, the prior light client
1737-
verification module, into a new fully-featured `light-client` crate. The crate provides a db,
1750+
verification module, into a new fully-featured `light-client` crate. The crate provides a db,
17381751
functions for complete light client verification, peer management, fork detection, and evidence reporting,
1739-
along with extensive testing. Components are composed via a `Supervisor`, which is run in its own thread,
1752+
along with extensive testing. Components are composed via a `Supervisor`, which is run in its own thread,
17401753
and exposes a Handle trait to broker access to underlying state and
17411754
functionality. See the [light-client][light-client-dir] crate for details.
17421755
- [light-node] New binary crate with CLI for running the light client as a daemon,

abci/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tendermint-abci"
3-
version = "0.40.3"
3+
version = "0.40.4"
44
authors = ["Informal Systems <[email protected]>"]
55
edition = "2021"
66
license = "Apache-2.0"
@@ -33,7 +33,7 @@ binary = [
3333
[dependencies]
3434
bytes = { version = "1.0", default-features = false }
3535
prost = { version = "0.13", default-features = false }
36-
tendermint-proto = { version = "0.40.3", default-features = false, path = "../proto" }
36+
tendermint-proto = { version = "0.40.4", default-features = false, path = "../proto" }
3737
tracing = { version = "0.1", default-features = false }
3838
flex-error = { version = "0.4.4", default-features = false }
3939
structopt = { version = "0.3", optional = true, default-features = false }

config/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tendermint-config"
3-
version = "0.40.3" # Also update depending crates (rpc, light-node, ..) when bumping this.
3+
version = "0.40.4" # Also update depending crates (rpc, light-node, ..) when bumping this.
44
license = "Apache-2.0"
55
homepage = "https://www.tendermint.com/"
66
repository = "https://github.com/informalsystems/tendermint-rs/tree/main/tendermint"
@@ -24,7 +24,7 @@ all-features = true
2424
rustdoc-args = ["--cfg", "docsrs"]
2525

2626
[dependencies]
27-
tendermint = { version = "0.40.3", default-features = false, features = ["rust-crypto"], path = "../tendermint" }
27+
tendermint = { version = "0.40.4", default-features = false, features = ["rust-crypto"], path = "../tendermint" }
2828
flex-error = { version = "0.4.4", default-features = false }
2929
serde = { version = "1", features = ["derive"] }
3030
serde_json = "1"

light-client-cli/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tendermint-light-client-cli"
3-
version = "0.40.3"
3+
version = "0.40.4"
44
edition = "2021"
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -23,10 +23,10 @@ all-features = true
2323
rustdoc-args = ["--cfg", "docsrs"]
2424

2525
[dependencies]
26-
tendermint = { version = "0.40.3", path = "../tendermint" }
27-
tendermint-rpc = { version = "0.40.3", path = "../rpc", features = ["http-client"] }
28-
tendermint-light-client = { version = "0.40.3", path = "../light-client" }
29-
tendermint-light-client-detector = { version = "0.40.3", path = "../light-client-detector" }
26+
tendermint = { version = "0.40.4", path = "../tendermint" }
27+
tendermint-rpc = { version = "0.40.4", path = "../rpc", features = ["http-client"] }
28+
tendermint-light-client = { version = "0.40.4", path = "../light-client" }
29+
tendermint-light-client-detector = { version = "0.40.4", path = "../light-client-detector" }
3030

3131
clap = { version = "4.1.8", features = ["derive"] }
3232
color-eyre = "0.6.2"

light-client-detector/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tendermint-light-client-detector"
3-
version = "0.40.3"
3+
version = "0.40.4"
44
edition = "2021"
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -23,10 +23,10 @@ all-features = true
2323
rustdoc-args = ["--cfg", "docsrs"]
2424

2525
[dependencies]
26-
tendermint = { version = "0.40.3", path = "../tendermint" }
27-
tendermint-rpc = { version = "0.40.3", path = "../rpc", features = ["http-client"] }
28-
tendermint-proto = { version = "0.40.3", path = "../proto" }
29-
tendermint-light-client = { version = "0.40.3", path = "../light-client" }
26+
tendermint = { version = "0.40.4", path = "../tendermint" }
27+
tendermint-rpc = { version = "0.40.4", path = "../rpc", features = ["http-client"] }
28+
tendermint-proto = { version = "0.40.4", path = "../proto" }
29+
tendermint-light-client = { version = "0.40.4", path = "../light-client" }
3030

3131
crossbeam-channel = { version = "0.5.11", default-features = false }
3232
derive_more = { version = "0.99.5", default-features = false, features = ["display"] }

light-client-js/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tendermint-light-client-js"
3-
version = "0.40.3"
3+
version = "0.40.4"
44
authors = ["Informal Systems <[email protected]>"]
55
edition = "2021"
66
license = "Apache-2.0"
@@ -22,8 +22,8 @@ default = ["console_error_panic_hook"]
2222
[dependencies]
2323
serde = { version = "1.0", default-features = false, features = [ "derive" ] }
2424
serde_json = { version = "1.0", default-features = false }
25-
tendermint = { version = "0.40.3", default-features = false, path = "../tendermint" }
26-
tendermint-light-client-verifier = { version = "0.40.3", features = ["rust-crypto"], default-features = false, path = "../light-client-verifier" }
25+
tendermint = { version = "0.40.4", default-features = false, path = "../tendermint" }
26+
tendermint-light-client-verifier = { version = "0.40.4", features = ["rust-crypto"], default-features = false, path = "../light-client-verifier" }
2727
wasm-bindgen = { version = "0.2.63", default-features = false, features = [ "serde-serialize" ] }
2828
serde-wasm-bindgen = { version = "0.6.5", default-features = false }
2929
js-sys = { version = "=0.3.70", default-features = false }

light-client-verifier/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tendermint-light-client-verifier"
3-
version = "0.40.3"
3+
version = "0.40.4"
44
edition = "2021"
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -27,7 +27,7 @@ default = ["rust-crypto", "flex-error/std"]
2727
rust-crypto = ["tendermint/rust-crypto"]
2828

2929
[dependencies]
30-
tendermint = { version = "0.40.3", path = "../tendermint", default-features = false }
30+
tendermint = { version = "0.40.4", path = "../tendermint", default-features = false }
3131

3232
derive_more = { version = "0.99.5", default-features = false, features = ["display"] }
3333
serde = { version = "1.0.106", default-features = false }

0 commit comments

Comments
 (0)