Skip to content

Commit

Permalink
Release v0.37.1 (cometbft#757)
Browse files Browse the repository at this point in the history
* Prepare v0.37.1 release changelog

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

* Build changelog

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

* Add upgrading guidelines entry

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

* Bump version to 0.37.1

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

* Rename Tendermint Core to CometBFT on v0.37.x branch

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

* Update release date

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

---------

Signed-off-by: Thane Thomson <[email protected]>
  • Loading branch information
thanethomson authored Apr 26, 2023
1 parent 43c5ad8 commit 2af25ae
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changelog/v0.37.1/summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*April 26, 2023*

This release fixes several bugs, and has had to introduce one small Go
API-breaking change in the `crypto/merkle` package in order to address what
could be a security issue for some users who directly and explicitly make use of
that code.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# CHANGELOG

## v0.37.1

*April 26, 2023*

This release fixes several bugs, and has had to introduce one small Go
API-breaking change in the `crypto/merkle` package in order to address what
could be a security issue for some users who directly and explicitly make use of
that code.

### BREAKING CHANGES

- `[crypto/merkle]` Do not allow verification of Merkle Proofs against empty trees (`nil` root). `Proof.ComputeRootHash` now panics when it encounters an error, but `Proof.Verify` does not panic
([\#558](https://github.com/cometbft/cometbft/issues/558))

### BUG FIXES

- `[consensus]` Unexpected error conditions in `ApplyBlock` are non-recoverable, so ignoring the error and carrying on is a bug. We replaced a `return` that disregarded the error by a `panic`.
([\#496](https://github.com/cometbft/cometbft/pull/496))
- `[consensus]` Rename `(*PeerState).ToJSON` to `MarshalJSON` to fix a logging data race
([\#524](https://github.com/cometbft/cometbft/pull/524))
- `[light]` Fixed an edge case where a light client would panic when attempting
to query a node that (1) has started from a non-zero height and (2) does
not yet have any data. The light client will now, correctly, not panic
_and_ keep the node in its list of providers in the same way it would if
it queried a node starting from height zero that does not yet have data
([\#575](https://github.com/cometbft/cometbft/issues/575))

### IMPROVEMENTS

- `[jsonrpc/client]` Improve the error message for client errors stemming from
bad HTTP responses.
([cometbft/cometbft\#638](https://github.com/cometbft/cometbft/pull/638))

## v0.37.0

*March 6, 2023*
Expand Down
13 changes: 10 additions & 3 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Upgrading Tendermint Core
# Upgrading CometBFT

This guide provides instructions for upgrading to specific versions of
Tendermint Core.
This guide provides instructions for upgrading to specific versions of CometBFT.

## v0.37.1

For users explicitly making use of the Go APIs provided in the `crypto/merkle`
package, please note that, in order to fix a potential security issue, we had to
make a breaking change here. This change should only affect a small minority of
users. For more details, please see
[\#557](https://github.com/cometbft/cometbft/issues/557).

## v0.37.0

Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const (
// The default version of TMCoreSemVer is the value used as the
// fallback version of CometBFT when not using git describe.
// It is formatted with semantic versioning.
TMCoreSemVer = "0.37.0"
TMCoreSemVer = "0.37.1"
// ABCISemVer is the semantic version of the ABCI protocol
ABCISemVer = "1.0.0"
ABCIVersion = ABCISemVer
Expand Down

0 comments on commit 2af25ae

Please sign in to comment.