From cce2e5da5b7f54aed1fe6dd36c14404ad941d714 Mon Sep 17 00:00:00 2001 From: lasaro Date: Mon, 27 Nov 2023 15:05:29 -0300 Subject: [PATCH] Release v0.37.4 (#1699) * version: Bump version to v0.37.4 * Add changelog entry * unclog release * unclog build * Format changelog summary (line wrap) Signed-off-by: Thane Thomson * Add note about reverting minimum Go version change Signed-off-by: Thane Thomson * Build changelog Signed-off-by: Thane Thomson --------- Signed-off-by: Thane Thomson Co-authored-by: Thane Thomson --- .../v0.37.4/bug-fixes/1654-semaphore-wait.md | 3 ++ .../features/1643-nop-mempool.md | 0 .changelog/v0.37.4/summary.md | 9 +++++ CHANGELOG.md | 38 +++++++++++++++++++ version/version.go | 2 +- 5 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 .changelog/v0.37.4/bug-fixes/1654-semaphore-wait.md rename .changelog/{unreleased => v0.37.4}/features/1643-nop-mempool.md (100%) create mode 100644 .changelog/v0.37.4/summary.md 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