Skip to content

Commit

Permalink
chore: Release v1.0.0 (#4658)
Browse files Browse the repository at this point in the history
Release v1.0.0
  • Loading branch information
andynog authored Dec 17, 2024
1 parent fef5452 commit ce344cc
Show file tree
Hide file tree
Showing 269 changed files with 27 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .changelog/v1.0.0/dependencies/4666-api-v1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Bump api to v1.0.0 for v1.0.0 Release
([\#4666](https://github.com/cometbft/cometbft/issues/4666))
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*November 20, 2024*
*December 17, 2024*

This is a major release of CometBFT that includes several substantial changes
that aim to reduce bandwidth consumption, enable modularity, improve
Expand Down
25 changes: 18 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# CHANGELOG

## Unreleased
## v1.0.0

*November 20, 2024*
*December 17, 2024*

This is a major release of CometBFT that includes several substantial changes
that aim to reduce bandwidth consumption, enable modularity, improve
Expand Down Expand Up @@ -165,16 +165,18 @@ method is removed ([\#4040](https://github.com/cometbft/cometbft/pull/4040)).
- `[mempool]` Change the signature of `CheckTx` in the `Mempool` interface to
`CheckTx(tx types.Tx, sender p2p.ID) (*abcicli.ReqRes, error)`.
([\#1010](https://github.com/cometbft/cometbft/issues/1010), [\#3084](https://github.com/cometbft/cometbft/issues/3084))
- `[mempool]` Extend `ErrInvalidTx` with new fields taken from `CheckTxResponse`
([\#4550](https://github.com/cometbft/cometbft/pull/4550)).
- `[mempool]` Remove `mempoolIDs` for internally storing peer ids as `p2p.ID`
instead of `uint16`.
([\#1146](https://github.com/cometbft/cometbft/pull/1146))
- `[node]` Change the signature of `GenesisDocProvider` to
return the checksum of JSON content alongside the parsed genesis data
([\#1287](https://github.com/cometbft/cometbft/issues/1287)).
- `[node]` Go API breaking change to `DefaultNewNode`. The function passes
- `[node]` Go API breaking change to `DefaultNewNode`. The function passes
`CliParams` to a node now.
([\#3595](https://github.com/cometbft/cometbft/pull/3595))
- `[node]` Go API breaking change to `Provider`. The function takes
- `[node]` Go API breaking change to `Provider`. The function takes
`CliParams` as a parameter now.
([\#3595](https://github.com/cometbft/cometbft/pull/3595))
- `[node]` Go-API breaking: Change the signature of `LoadStateFromDBOrGenesisDocProvider`
Expand Down Expand Up @@ -327,6 +329,9 @@ method is removed ([\#4040](https://github.com/cometbft/cometbft/pull/4040)).
([\#1687](https://github.com/cometbft/cometbft/pull/1687))
- `[metrics]` Call unused `rejected_txs` metric in mempool
([\#4019](https://github.com/cometbft/cometbft/pull/4019))
- `[mocks]` Mockery `v2.49.0` broke the mocks. We had to add a `.mockery.yaml` to
properly handle this change.
([\#4521](https://github.com/cometbft/cometbft/pull/4521))
- `[p2p/pex]` Gracefully shutdown Reactor ([\#2010](https://github.com/cometbft/cometbft/pull/2010))
- `[p2p]` Node respects configured `max_num_outbound_peers` limit when dialing
peers provided by a seed node
Expand Down Expand Up @@ -366,12 +371,17 @@ on the `/block_results` RPC endpoint.
`btcec/v2` latest release, while avoiding breaking changes to
local CometBFT functions
([\#3728](https://github.com/cometbft/cometbft/pull/3728))
- pinned mockery's version to v2.49.2 to prevent potential
changes in mocks after each new release of mockery
([\#4605](https://github.com/cometbft/cometbft/pull/4605))
- reinstate BoltDB and ClevelDB as backend DBs, bumped cometbft-db version to
v0.14.0 ([\#3661](https://github.com/cometbft/cometbft/pull/3661))
- updated Go version to 1.22.5
([\#3527](https://github.com/cometbft/cometbft/pull/3527))
- updated cometbft-db dependency to v0.13.0
([\#3596](https://github.com/cometbft/cometbft/pull/3596))
- Bump api to v1.0.0 for v1.0.0 Release
([\#4666](https://github.com/cometbft/cometbft/issues/4666))

### DEPRECATIONS

Expand Down Expand Up @@ -525,7 +535,7 @@ on the `/block_results` RPC endpoint.
- `[abci]` Increase ABCI socket message size limit to 2GB ([\#1730](https://github.com/cometbft/cometbft/pull/1730): @troykessler)
- `[blockstore]` Remove a redundant `Header.ValidateBasic` call in `LoadBlockMeta`, 75% reducing this time.
([\#2964](https://github.com/cometbft/cometbft/pull/2964))
- `[blockstore]` Use LRU caches for LoadBlockPart. Make the LoadBlockPart and LoadBlockCommit APIs
- `[blockstore]` Use LRU caches for LoadBlockPart. Make the LoadBlockPart and LoadBlockCommit APIs
return mutative copies, that the caller is expected to not modify. This saves on memory copying.
([\#3342](https://github.com/cometbft/cometbft/issues/3342))
- `[blockstore]` Use LRU caches in blockstore, significiantly improving consensus gossip routine performance
Expand Down Expand Up @@ -581,7 +591,7 @@ on the `/block_results` RPC endpoint.
redundancy, not critical, and may be dropped without risks for the protocol.
([\#3151](https://github.com/cometbft/cometbft/issues/3151))
- `[consensus]` Make the consensus reactor no longer have packets on receive take the consensus lock.
Consensus will now update the reactor's view after every relevant change through the existing
Consensus will now update the reactor's view after every relevant change through the existing
synchronous event bus subscription.
([\#3211](https://github.com/cometbft/cometbft/pull/3211))
- `[consensus]` New metrics (counters) to track duplicate votes and block parts.
Expand Down Expand Up @@ -759,6 +769,8 @@ synchronous event bus subscription.
- `[types]` Significantly speedup types.MakePartSet and types.AddPart, which are used in creating a block proposal
([\#3117](https://github.com/cometbft/cometbft/issues/3117))
- `[types]` Validate `Validator#Address` in `ValidateBasic` ([\#1715](https://github.com/cometbft/cometbft/pull/1715))
- `[grpc]` Set grpc.MaxConcurrentStreams to 100 to limit the maximum number of concurrent streams per connection.
([\#1546](https://github.com/cometbft/cometbft/issues/1546))

## v0.38.0

Expand Down Expand Up @@ -1166,4 +1178,3 @@ Friendly reminder, we have a [bug bounty program](https://hackerone.com/cosmos).
## Previous changes

For changes released before the creation of CometBFT, please refer to the Tendermint Core [CHANGELOG.md](https://github.com/tendermint/tendermint/blob/a9feb1c023e172b542c972605311af83b777855b/CHANGELOG.md).

2 changes: 1 addition & 1 deletion docs/tutorials/forum-application/9.run-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ checkout the latest `v1` release and install it

```bash
cd cometbft
git checkout v1.0.0-rc2
git checkout v1.0.0
make install
```

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/cometbft/cometbft-db v1.0.1
github.com/cometbft/cometbft-load-test v0.3.0
github.com/cometbft/cometbft/api v1.0.0-rc2
github.com/cometbft/cometbft/api v1.0.0
github.com/cosmos/gogoproto v1.7.0
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0
github.com/dgraph-io/badger/v4 v4.5.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ github.com/cometbft/cometbft-load-test v0.3.0 h1:z6iZZvFwhci29ca/EZQaWh/d92NLe8b
github.com/cometbft/cometbft-load-test v0.3.0/go.mod h1:zKrQpRm3Ay5+RfeRTNWoLniFJNIPnw9JPEM1wuWS3TA=
github.com/cometbft/cometbft/api v1.0.0-rc2 h1:ThzvNaJq37htjzfSsohhDoEebW94p0lEjA39CMDJ4xs=
github.com/cometbft/cometbft/api v1.0.0-rc2/go.mod h1:EkQiqVSu/p2ebrZEnB2z6Re7r8XNe//M7ylR0qEwWm0=
github.com/cometbft/cometbft/api v1.0.0 h1:gGBwvsJi/gnHJEtwYfjPIGs2AKg/Vfa1ZuKCPD1/Ko4=
github.com/cometbft/cometbft/api v1.0.0/go.mod h1:EkQiqVSu/p2ebrZEnB2z6Re7r8XNe//M7ylR0qEwWm0=
github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg=
github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM=
github.com/cosmos/gogoproto v1.7.0 h1:79USr0oyXAbxg3rspGh/m4SWNyoz/GLaAh0QlCe2fro=
Expand Down
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package version
const (
// CMTSemVer is the used as the fallback version of CometBFT
// when not using git describe. It is formatted with semantic versioning.
CMTSemVer = "1.0.0-rc2"
CMTSemVer = "1.0.0"
// ABCISemVer is the semantic version of the ABCI protocol.
ABCISemVer = "2.1.0"
ABCIVersion = ABCISemVer
// P2PProtocol versions all p2p behavior and msgs.
// P2PProtocol versions all p2p behavior and messages.
// This includes proposer selection.
P2PProtocol uint64 = 9

Expand Down

0 comments on commit ce344cc

Please sign in to comment.