September 23, 2024
This release reverts the addition of the goleveldb
flag, which was deemed as
too disruptive to users.
September 20, 2024
This release swaps the "default" DB from goleveldb to pebbledb. There's now a
goleveldb
build flag that must be used when using goleveldb. If you're using
pebbledb
, you don't need a build flag anymore.
- Add
goleveldb
build flag. (#202)
September 9, 2024
This release bumps the Go version to 1.23.
[go/runtime]
Bump minimum Go version to v1.23 (#4039)
Aug 9, 2024
This release reinstates boltdb and cleveldb as deprecated backend types. Please note that we discourage the use of them, as we plan to discontinue support in a future release.
- reinstate BoltDB and ClevelDB as backend DBs (#177)
Aug 2, 2024
This release:
- changes the contract of the Iterator Key() and Value() APIs. Namely, the caller is now responsible for creating a copy of their returned value if they want to modify it.
- removes support for boltDB and clevelDB, which were marked as deprecated in release v0.12.0.
- removed deprecated boltdb and cleveldb (#155)
- Iterator Key and Value APIs now return an object that must be copied before use (#168)
Apr 10, 2024
This release deprecates boltdb and cleveldb. Also, Go MSRV is bumped to 1.22.
- Deprecate boltdb and cleveldb. If you're using either of those, please reach out (#153)
Feb 7, 2024
This release adds support for explicit compaction. Please note that badger and bolt do not support this.
- Expanded db interface to support compaction (#111)
- Add compaction support to the databases (#111)
Jan 26, 2024
This release adds experimental support for
pebble and drops remotedb
. If you
experience any issues with pebble, please open an issue on Github.
Special thanks to @faddat and @baabeetaa for their contributions to this release!
- Remove remotedb (#121)
December 4, 2023
This release is precisely the same code-wise as v0.9.0, except that it builds
the cometbft/cometbft-db-testing
Docker image for both linux/amd64
and
linux/arm64
platforms.
December 1, 2023
This release primarily updates some key dependencies, including adding support for RocksDB v8. It also bumps the minimum Go version to v1.21 in order for CometBFT to be able to use it in the E2E testing framework for the latest major releases.
- Use RocksDB v8, testing with v8.8.1 (#97)
- Bump minimum Go version to v1.21 (#98)
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.
- Bump minimum Go version to 1.19 (#40)
- Switch rocksdb binding from gorocksdb to grocksdb, bump librocksdb dependency
to
v7.10.2
(#42) - Update to the latest version of golang.org/x/net (#40)
Jan 17, 2023
This is the first official release of CometBFT DB, which is a fork of tm-db.
This fork is intended to be used by CometBFT until such time that cometbft/cometbft#48 is resolved, after which time this fork will be retired and archived. Do not use this as a dependency in any new projects.
- Fork tm-db and rename fork to cometbft-db (#7)
CometBFT DB is a fork of tm-db effectively as of v0.6.6.
For changes prior to the creation of this fork, please refer to the upstream CHANGELOG.md for v0.6.6 and earlier.