Repository navigation
v0.41.0
Pre-release
Pre-release
Warning
This is a breaking release.
- It changes a public trait in
tendermint, the voting-power API intendermint-light-client-verifier, and upgrades several major dependencies (prost/tonic 0.14, MSRV 1.82). - All
tendermint-*crates move from0.40.xto0.41.0together. - Downstream crates must update their requirements to pick up this release, including its TLS security fix.
⚠️ Breaking changes
Verifier::verify now takes &self (#1512, closes #1511)
tendermint::crypto::signature::Verifier::verify is now an instance method rather than a static one, so signature verifiers can carry state.
- Custom
Verifierimplementations must add&selftoverify. validator::Info::verify_signaturenow takes averifier: &Vargument.ProvidedVotingPowerCalculator<V>(light-client-verifier) now owns averifier: V. Construct it withProvidedVotingPowerCalculator::new(verifier);Defaultis only available whenV: Default. ItsSend/Syncbounds now followV, and the trait impl requiresV: Send + Sync.
Migration:
// Before
impl Verifier for MyVerifier {
fn verify(pubkey: PublicKey, msg: &[u8], signature: &Signature) -> Result<(), Error> { /* ... */ }
}
MyVerifier::verify(pubkey, msg, &sig)?;
// After
impl Verifier for MyVerifier {
fn verify(&self, pubkey: PublicKey, msg: &[u8], signature: &Signature) -> Result<(), Error> { /* ... */ }
}
my_verifier.verify(pubkey, msg, &sig)?;Dependency upgrades (#1522)
prost0.14 (0.14.3) andtonic0.14. Generated protobuf types intendermint-protonow target prost 0.14; mixing them with prost 0.13 types will not compile.reqwest0.12,async-tungstenite0.28,k2560.14,rustls0.23.- Minimum supported Rust version is now 1.82.
🔒 Security
Reject certificate chains through distrusted eMudhra intermediates (#1521)
tendermint-rpc'shttp-clientandwebsocket-clientfeatures now requirerustls-webpki >= 0.103.16, which rejects chains through the distrusted eMudhra intermediate CA keys.http-clientnow also requiresrustls >= 0.23.46(ring provider, the same onereqwest'srustls-tls-native-rootsalready uses, so no new crypto backend).- Minimum
reqwestraised to 0.12.5, the first release on rustls 0.23. tools/rpc-probemoves to a rustls 0.23-basedasync-tungstenitewith the same verifier floor.
No code or API changes come from this fix. Existing lockfiles with an older rustls-webpki will be bumped when you upgrade tendermint-rpc.
New contributors
- @vaporif made their first contribution in #1513
- @dianab-cl made their first contribution in #1522
Full Changelog: v0.40.4...v0.41.0