Skip to content

Commit

Permalink
chore: release v1.0.0-alpha.2 (#2621)
Browse files Browse the repository at this point in the history
Changes in preparation for our second alpha release of `v1.0.0`:

- [CHANGELOG
rendered](https://github.com/cometbft/cometbft/blob/release/v1.0.0-alpha.2/CHANGELOG.md)
- [Manual E2E
run](https://github.com/cometbft/cometbft/actions/runs/8283569894)

IMPORTANT:

The first commit of this PR is manually undoing the `unclog release`
that was performed for `v1.0.0-alpha.1` (#1710). In our release process,
pre-releases do not have their own section in the changelog, so we must
_not_ run `unclog release` when cutting pre-releases (see
`RELEASES.md`).

Therefore, it is advised to exclude the first commit from the diff view
when reviewing this PR.

---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [ ] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

---------

Co-authored-by: hvanz <hernan.vanzetto@gmail.com>
  • Loading branch information
sergio-mena and hvanz committed Mar 18, 2024
1 parent 63471c8 commit e42f62b
Show file tree
Hide file tree
Showing 99 changed files with 190 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[node]` Go-API breaking: Change the signature of `LoadStateFromDBOrGenesisDocProvider`
- `[node]` Go-API breaking: Change the signature of `LoadStateFromDBOrGenesisDocProvider`
to accept an optional operator provided hash of the genesis file
([\#1324](https://github.com/cometbft/cometbft/pull/1324)).
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[comet]` Version variables, in `version/version.go`, have been renamed to reflect the CometBFT rebranding.
- `[comet]` Version variables, in `version/version.go`, have been renamed to reflect the CometBFT rebranding.
([cometbft/cometbft\#1621](https://github.com/cometbft/cometbft/pull/1621))
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
released in 0.34.x, 0.37.x, 0.38.x, and 1.0.x versions.
Prior to the 1.0 release, the versioned packages are suffixed with
`.v1beta1`, `.v1beta2`, and so on; all definitions describing the protocols
as per the 1.0.0 release are in packages suffixed with `.v1`.
as per the 1.0.0 release are in packages suffixed with `.v1`.
Relocated generated Go code into a new `api` folder and changed the import
paths accordingly.
([\#495](https://github.com/cometbft/cometbft/pull/495)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- `[metrics]` Add metrics to monitor pruning and current available data in stores: `PruningServiceBlockRetainHeight`, `PruningServiceBlockResultsRetainHeight`, `ApplicationBlockRetainHeight`, `BlockStoreBaseHeight`, `ABCIResultsBaseHeight`.
- `[metrics]` Add metrics to monitor pruning and current available data in stores: `PruningServiceBlockRetainHeight`, `PruningServiceBlockResultsRetainHeight`, `ApplicationBlockRetainHeight`, `BlockStoreBaseHeight`, `ABCIResultsBaseHeight`.
([\#1234](https://github.com/cometbft/cometbft/pull/1234))
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- `[cli/node]` The genesis hash provided with the `--genesis-hash` is now
- `[cli/node]` The genesis hash provided with the `--genesis-hash` is now
forwarded to the node, instead of reading the file.
([\#1324](https://github.com/cometbft/cometbft/pull/1324)).
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
- `[config]` Add mempool parameters `experimental_max_gossip_connections_to_persistent_peers` and
`experimental_max_gossip_connections_to_non_persistent_peers` for limiting the number of peers to
which the node gossip transactions.
which the node gossip transactions.
([\#1558](https://github.com/cometbft/cometbft/pull/1558))
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,25 @@ team, including:
transaction dissemination mechanism, for example a standalone mempool-like
process that can be scaled independently of the consensus engine/application.
This requires application developers to implement their own gossip/networking
mechanisms. See [ADR 111](./docs/architecture/adr-111-nop-mempool.md) for
details.
mechanisms. See [ADR 111](./docs/references/architecture/adr-111-nop-mempool.md)
for details.
4. The first officially supported release of the [data companion
API](./docs/architecture/adr-101-data-companion-pull-api.md).
API](./docs/references/architecture/adr-101-data-companion-pull-api.md).
5. Versioning of both the Protobuf definitions _and_ RPC. By versioning our
APIs, we aim to provide a level of commitment to API stability while
simultaneously affording ourselves the ability to roll out substantial
changes in non-breaking releases of CometBFT. See [ADR
103](./docs/architecture/adr-103-proto-versioning.md) and [ADR
107](./docs/architecture/adr-107-betaize-proto-versions.md).
103](./docs/references/architecture/adr-103-proto-versioning.md) and [ADR
107](./docs/references/architecture/adr-107-betaize-proto-versions.md).
6. Moving many Go packages that are currently publicly accessible into the
`internal` directory such that the team can roll out substantial changes in
future without needing to worry about causing breakages in users' codebases.
The massive surface area of previous versions has in the past significantly
hampered the team's ability to roll out impactful new changes to users, as
previously such changes required a new breaking release (which currently
takes 6 to 12 months to reach production use for many users). See [ADR
109](./docs/architecture/adr-109-reduce-go-api-surface.md) for more details.
109](./docs/references/architecture/adr-109-reduce-go-api-surface.md) for
more details.

None of these changes are state machine-breaking for CometBFT-based networks,
but could be breaking for some users who depend on the Protobuf definitions type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
- `[config]` Add mempool parameters `experimental_max_gossip_connections_to_persistent_peers` and
`experimental_max_gossip_connections_to_non_persistent_peers` for limiting the number of peers to
which the node gossip transactions.
which the node gossip transactions.
([\#1558](https://github.com/cometbft/cometbft/pull/1558))
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
- `[config]` Add mempool parameters `experimental_max_gossip_connections_to_persistent_peers` and
`experimental_max_gossip_connections_to_non_persistent_peers` for limiting the number of peers to
which the node gossip transactions.
which the node gossip transactions.
([\#1558](https://github.com/cometbft/cometbft/pull/1558))
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
([\#1584](https://github.com/cometbft/cometbft/pull/1584))
- `[config]` Add mempool parameters `experimental_max_gossip_connections_to_persistent_peers` and
`experimental_max_gossip_connections_to_non_persistent_peers` for limiting the number of peers to
which the node gossip transactions.
which the node gossip transactions.
([\#1558](https://github.com/cometbft/cometbft/pull/1558))
([\#1584](https://github.com/cometbft/cometbft/pull/1584))

0 comments on commit e42f62b

Please sign in to comment.