diff --git a/.changelog/v0.37.4/bug-fixes/1654-semaphore-wait.md b/.changelog/v0.37.4/bug-fixes/1654-semaphore-wait.md new file mode 100644 index 00000000000..9d0fb80adcc --- /dev/null +++ b/.changelog/v0.37.4/bug-fixes/1654-semaphore-wait.md @@ -0,0 +1,3 @@ +- `[mempool]` Avoid infinite wait in transaction sending routine when + using experimental parameters to limiting transaction gossiping to peers + ([\#1654](https://github.com/cometbft/cometbft/pull/1654)) \ No newline at end of file diff --git a/.changelog/unreleased/features/1643-nop-mempool.md b/.changelog/v0.37.4/features/1643-nop-mempool.md similarity index 100% rename from .changelog/unreleased/features/1643-nop-mempool.md rename to .changelog/v0.37.4/features/1643-nop-mempool.md diff --git a/.changelog/v0.37.4/summary.md b/.changelog/v0.37.4/summary.md new file mode 100644 index 00000000000..a391feeea23 --- /dev/null +++ b/.changelog/v0.37.4/summary.md @@ -0,0 +1,9 @@ +*November 27, 2023* + +This release provides the **nop** mempool for applications that want to build +their own mempool. Using this mempool effectively disables all mempool +functionality in CometBFT, including transaction dissemination and the +`broadcast_tx_*` endpoints. + +Also fixes a small bug in the mempool for an experimental feature, and reverts +the change from v0.37.3 that bumped the minimum Go version to v1.21. diff --git a/CHANGELOG.md b/CHANGELOG.md index 2836c792f85..cc1eac434dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,43 @@ # CHANGELOG +## v0.37.4 + +*November 27, 2023* + +This release provides the **nop** mempool for applications that want to build +their own mempool. Using this mempool effectively disables all mempool +functionality in CometBFT, including transaction dissemination and the +`broadcast_tx_*` endpoints. + +Also fixes a small bug in the mempool for an experimental feature, and reverts +the change from v0.37.3 that bumped the minimum Go version to v1.21. + +### BUG FIXES + +- `[mempool]` Avoid infinite wait in transaction sending routine when + using experimental parameters to limiting transaction gossiping to peers + ([\#1654](https://github.com/cometbft/cometbft/pull/1654)) + +### FEATURES + +- `[mempool]` Add `nop` mempool ([\#1643](https://github.com/cometbft/cometbft/pull/1643)) + + If you want to use it, change mempool's `type` to `nop`: + + ```toml + [mempool] + + # The type of mempool for this node to use. + # + # Possible types: + # - "flood" : concurrent linked list mempool with flooding gossip protocol + # (default) + # - "nop" : nop-mempool (short for no operation; the ABCI app is responsible + # for storing, disseminating and proposing txs). "create_empty_blocks=false" + # is not supported. + type = "nop" + ``` + ## v0.37.3 *November 17, 2023* diff --git a/version/version.go b/version/version.go index 1df77825d47..9b2a4974dde 100644 --- a/version/version.go +++ b/version/version.go @@ -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.3" + TMCoreSemVer = "0.37.4" // ABCISemVer is the semantic version of the ABCI protocol ABCISemVer = "1.0.0" ABCIVersion = ABCISemVer