github.com/badrootd/celestia-core@v0.0.0-20240305091328-aa4207a4b25d/CHANGELOG.md (about) 1 # CHANGELOG 2 3 ## v0.34.28 4 5 *April 26, 2023* 6 7 This release fixes several bugs, and has had to introduce one small Go 8 API-breaking change in the `crypto/merkle` package in order to address what 9 could be a security issue for some users who directly and explicitly make use of 10 that code. 11 12 ### BREAKING CHANGES 13 14 - `[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 15 ([\#558](https://github.com/cometbft/cometbft/issues/558)) 16 17 ### BUG FIXES 18 19 - `[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`. 20 ([\#496](https://github.com/cometbft/cometbft/pull/496)) 21 - `[consensus]` Rename `(*PeerState).ToJSON` to `MarshalJSON` to fix a logging data race 22 ([\#524](https://github.com/cometbft/cometbft/pull/524)) 23 - `[light]` Fixed an edge case where a light client would panic when attempting 24 to query a node that (1) has started from a non-zero height and (2) does 25 not yet have any data. The light client will now, correctly, not panic 26 _and_ keep the node in its list of providers in the same way it would if 27 it queried a node starting from height zero that does not yet have data 28 ([\#575](https://github.com/cometbft/cometbft/issues/575)) 29 30 ### IMPROVEMENTS 31 32 - `[crypto/sr25519]` Upgrade to go-schnorrkel@v1.0.0 ([\#475](https://github.com/cometbft/cometbft/issues/475)) 33 - `[jsonrpc/client]` Improve the error message for client errors stemming from 34 bad HTTP responses. 35 ([cometbft/cometbft\#638](https://github.com/cometbft/cometbft/pull/638)) 36 37 ## v0.34.27 38 39 *Feb 27, 2023* 40 41 This is the first official release of CometBFT - a fork of [Tendermint 42 Core](https://github.com/tendermint/tendermint). This particular release is 43 intended to be compatible with the Tendermint Core v0.34 release series. 44 45 For details as to how to upgrade to CometBFT from Tendermint Core, please see 46 our [upgrading guidelines](./UPGRADING.md). 47 48 If you have any questions, comments, concerns or feedback on this release, we 49 would love to hear from you! Please contact us via [GitHub 50 Discussions](https://github.com/cometbft/cometbft/discussions), 51 [Discord](https://discord.gg/cosmosnetwork) (in the `#cometbft` channel) or 52 [Telegram](https://t.me/CometBFT). 53 54 Special thanks to @wcsiu, @ze97286, @faddat and @JayT106 for their contributions 55 to this release! 56 57 ### BREAKING CHANGES 58 59 - Rename binary to `cometbft` and Docker image to `cometbft/cometbft` 60 ([\#152](https://github.com/cometbft/cometbft/pull/152)) 61 - The `TMHOME` environment variable was renamed to `CMTHOME`, and all 62 environment variables starting with `TM_` are instead prefixed with `CMT_` 63 ([\#211](https://github.com/cometbft/cometbft/issues/211)) 64 - Use Go 1.19 to build CometBFT, since Go 1.18 has reached end-of-life. 65 ([\#360](https://github.com/cometbft/cometbft/issues/360)) 66 67 ### BUG FIXES 68 69 - `[consensus]` Fixed a busy loop that happened when sending of a block part 70 failed by sleeping in case of error. 71 ([\#4](https://github.com/informalsystems/tendermint/pull/4)) 72 - `[state/kvindexer]` Resolved crashes when event values contained slashes, 73 introduced after adding event sequences. 74 (\#[383](https://github.com/cometbft/cometbft/pull/383): @jmalicevic) 75 - `[consensus]` Short-term fix for the case when `needProofBlock` cannot find 76 previous block meta by defaulting to the creation of a new proof block. 77 ([\#386](https://github.com/cometbft/cometbft/pull/386): @adizere) 78 - Special thanks to the [Vega.xyz](https://vega.xyz/) team, and in particular 79 to Zohar (@ze97286), for reporting the problem and working with us to get to 80 a fix. 81 - `[p2p]` Correctly use non-blocking `TrySendEnvelope` method when attempting to 82 send messages, as opposed to the blocking `SendEnvelope` method. It is unclear 83 whether this has a meaningful impact on P2P performance, but this patch does 84 correct the underlying behaviour to what it should be 85 ([tendermint/tendermint\#9936](https://github.com/tendermint/tendermint/pull/9936)) 86 87 ### DEPENDENCIES 88 89 - Replace [tm-db](https://github.com/tendermint/tm-db) with 90 [cometbft-db](https://github.com/cometbft/cometbft-db) 91 ([\#160](https://github.com/cometbft/cometbft/pull/160)) 92 - Bump tm-load-test to v1.3.0 to remove implicit dependency on Tendermint Core 93 ([\#165](https://github.com/cometbft/cometbft/pull/165)) 94 - `[crypto]` Update to use btcec v2 and the latest btcutil 95 ([tendermint/tendermint\#9787](https://github.com/tendermint/tendermint/pull/9787): 96 @wcsiu) 97 98 ### FEATURES 99 100 - `[rpc]` Add `match_event` query parameter to indicate to the RPC that it 101 should match events _within_ attributes, not only within a height 102 ([tendermint/tendermint\#9759](https://github.com/tendermint/tendermint/pull/9759)) 103 104 ### IMPROVEMENTS 105 106 - `[e2e]` Add functionality for uncoordinated (minor) upgrades 107 ([\#56](https://github.com/tendermint/tendermint/pull/56)) 108 - `[tools/tm-signer-harness]` Remove the folder as it is unused 109 ([\#136](https://github.com/cometbft/cometbft/issues/136)) 110 - Append the commit hash to the version of CometBFT being built 111 ([\#204](https://github.com/cometbft/cometbft/pull/204)) 112 - `[mempool/v1]` Suppress "rejected bad transaction" in priority mempool logs by 113 reducing log level from info to debug 114 ([\#314](https://github.com/cometbft/cometbft/pull/314): @JayT106) 115 - `[consensus]` Add `consensus_block_gossip_parts_received` and 116 `consensus_step_duration_seconds` metrics in order to aid in investigating the 117 impact of database compaction on consensus performance 118 ([tendermint/tendermint\#9733](https://github.com/tendermint/tendermint/pull/9733)) 119 - `[state/kvindexer]` Add `match.event` keyword to support condition evaluation 120 based on the event the attributes belong to 121 ([tendermint/tendermint\#9759](https://github.com/tendermint/tendermint/pull/9759)) 122 - `[p2p]` Reduce log spam through reducing log level of "Dialing peer" and 123 "Added peer" messages from info to debug 124 ([tendermint/tendermint\#9764](https://github.com/tendermint/tendermint/pull/9764): 125 @faddat) 126 - `[consensus]` Reduce bandwidth consumption of consensus votes by roughly 50% 127 through fixing a small logic bug 128 ([tendermint/tendermint\#9776](https://github.com/tendermint/tendermint/pull/9776)) 129 130 --- 131 132 CometBFT is a fork of [Tendermint 133 Core](https://github.com/tendermint/tendermint) as of late December 2022. 134 135 ## Bug bounty 136 137 Friendly reminder, we have a [bug bounty program](https://hackerone.com/cosmos). 138 139 ## Previous changes 140 141 For changes released before the creation of CometBFT, please refer to the 142 Tendermint Core 143 [CHANGELOG.md](https://github.com/tendermint/tendermint/blob/a9feb1c023e172b542c972605311af83b777855b/CHANGELOG.md). 144