From 1b1d8edc9111b39125021acee45688a6e73baa0f Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Wed, 26 Apr 2023 07:03:23 -0400 Subject: [PATCH] Release v0.8.0 (#55) * Rename section for Go compiler update changelog entry Signed-off-by: Thane Thomson * Add link to PR for grocksdb dependency update Signed-off-by: Thane Thomson * Prepare v0.8.0 release in changelog Signed-off-by: Thane Thomson * Build changelog Signed-off-by: Thane Thomson * go.mod: Remove unused replace directive Signed-off-by: Thane Thomson * Remove unnecessary coverage file Signed-off-by: Thane Thomson * .gitignore: Ignore code coverage artifacts Signed-off-by: Thane Thomson * Update release date Signed-off-by: Thane Thomson --------- Signed-off-by: Thane Thomson --- .../dependencies/42-use-grocksdb.md | 1 - .../compiler}/40-update-to-go1.19.md | 0 .../dependencies/40-bump-golang-x-net.md | 0 .../v0.8.0/dependencies/42-use-grocksdb.md | 2 ++ .changelog/v0.8.0/summary.md | 11 ++++++++ .gitignore | 3 +++ CHANGELOG.md | 26 +++++++++++++++++++ go.mod | 4 --- 8 files changed, 42 insertions(+), 5 deletions(-) delete mode 100644 .changelog/unreleased/dependencies/42-use-grocksdb.md rename .changelog/{unreleased/breaking-changes => v0.8.0/compiler}/40-update-to-go1.19.md (100%) rename .changelog/{unreleased => v0.8.0}/dependencies/40-bump-golang-x-net.md (100%) create mode 100644 .changelog/v0.8.0/dependencies/42-use-grocksdb.md create mode 100644 .changelog/v0.8.0/summary.md diff --git a/.changelog/unreleased/dependencies/42-use-grocksdb.md b/.changelog/unreleased/dependencies/42-use-grocksdb.md deleted file mode 100644 index 3af697b..0000000 --- a/.changelog/unreleased/dependencies/42-use-grocksdb.md +++ /dev/null @@ -1 +0,0 @@ -- Switch rocksdb binding from gorocksdb to grocksdb, bump librocksdb dependency to `v7.10.2`. diff --git a/.changelog/unreleased/breaking-changes/40-update-to-go1.19.md b/.changelog/v0.8.0/compiler/40-update-to-go1.19.md similarity index 100% rename from .changelog/unreleased/breaking-changes/40-update-to-go1.19.md rename to .changelog/v0.8.0/compiler/40-update-to-go1.19.md diff --git a/.changelog/unreleased/dependencies/40-bump-golang-x-net.md b/.changelog/v0.8.0/dependencies/40-bump-golang-x-net.md similarity index 100% rename from .changelog/unreleased/dependencies/40-bump-golang-x-net.md rename to .changelog/v0.8.0/dependencies/40-bump-golang-x-net.md diff --git a/.changelog/v0.8.0/dependencies/42-use-grocksdb.md b/.changelog/v0.8.0/dependencies/42-use-grocksdb.md new file mode 100644 index 0000000..bd81cad --- /dev/null +++ b/.changelog/v0.8.0/dependencies/42-use-grocksdb.md @@ -0,0 +1,2 @@ +- Switch rocksdb binding from gorocksdb to grocksdb, bump librocksdb dependency + to `v7.10.2` ([\#42](https://github.com/cometbft/cometbft-db/pull/42)) diff --git a/.changelog/v0.8.0/summary.md b/.changelog/v0.8.0/summary.md new file mode 100644 index 0000000..bd147ff --- /dev/null +++ b/.changelog/v0.8.0/summary.md @@ -0,0 +1,11 @@ +*Apr 26, 2023* + +This release bumps the supported version of RocksDB, which requires cometbft-db +RocksDB users to update their builds (and hence requires a "major" release, but +does not introduce any other breaking changes). Special thanks to @yihuang for +this update! + +While the minimum supported version of the Go compiler was bumped to 1.19, no +1.19-specific code changes were introduced and this should, therefore, still be +able to be compiled with earlier versions of Go. It is, however, recommended to +upgrade to the latest version(s) of Go ASAP. diff --git a/.gitignore b/.gitignore index ce205f6..28f21fc 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,6 @@ .idea vendor/* + +# Code coverage +coverage.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 576ca2f..7929074 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # CHANGELOG +## v0.8.0 + +*Apr 26, 2023* + +This release bumps the supported version of RocksDB, which requires cometbft-db +RocksDB users to update their builds (and hence requires a "major" release, but +does not introduce any other breaking changes). Special thanks to @yihuang for +this update! + +While the minimum supported version of the Go compiler was bumped to 1.19, no +1.19-specific code changes were introduced and this should, therefore, still be +able to be compiled with earlier versions of Go. It is, however, recommended to +upgrade to the latest version(s) of Go ASAP. + +### COMPILER + +- Bump minimum Go version to 1.19 + ([\#40](https://github.com/cometbft/cometbft-db/pull/40)) + +### DEPENDENCIES + +- Update to the latest version of golang.org/x/net + ([\#40](https://github.com/cometbft/cometbft-db/pull/40)) +- Switch rocksdb binding from gorocksdb to grocksdb, bump librocksdb dependency + to `v7.10.2` ([\#42](https://github.com/cometbft/cometbft-db/pull/42)) + ## v0.7.0 *Jan 17, 2023* diff --git a/go.mod b/go.mod index fd0016a..fee3ba8 100644 --- a/go.mod +++ b/go.mod @@ -35,7 +35,3 @@ require ( // Breaking changes were released with the wrong tag (use v0.6.6 or later). retract v0.6.5 - -// Note: gorocksdb bindings for OptimisticTransactionDB are not merged upstream, so we use a fork -// See https://github.com/tecbot/gorocksdb/pull/216 -replace github.com/tecbot/gorocksdb => github.com/cosmos/gorocksdb v1.1.1