Releases: dgraph-io/badger
Badger v4.3.1
What's Changed
- chore: update docs links by @ryanfoxtyler in #2097
- chore(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0 in the minor group by @dependabot in #2100
- chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 in the minor group by @dependabot in #2106
- fix: fix reverse iterator broken by seek by @harshil-goel in #2109
- chore(deps): bump github.com/klauspost/compress from 1.17.9 to 1.17.10 in the patch group by @dependabot in #2114
- chore(deps): bump github.com/dgraph-io/ristretto from 0.1.2-0.20240116140435-c67e07994f91 to 1.0.0 by @dependabot in #2112
Full Changelog: v4.3.0...v4.3.1
Badger v4.3.0
What's Changed
Fixes:
- chore(changelog): add a missed entry in CHANGELOG for v4.2.0 by @mangalaman93 in #1988
- update README with project KVS using badger by @tauraamui in #1989
- fix edge case for watermark when index is zero by @mangalaman93 in #1999
- upgrade spf13/cobra to version v1.7.0 by @mangalaman93 in #2001
- chore: update readme by @joshua-goldstein in #2011
- perf: upgrade compress package test and benchmark. by @siddhant2001 in #2009
- fix(Transactions): Fix resource consumption on empty write transaction by @Zach-Johnson in #2018
- chore(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 by @dependabot in #2017
- perf(compactor): optimize allocations: use buffer for priorities by @deff7 in #2006
- fix(Transaction): discard empty transactions on CommitWith by @Wondertan in #2031
- fix(levelHandler): use lock for levelHandler sort tables instead of rlock by @xgzlucario in #2034
- Docs: update README with project LLS using badger by @Boc-chi-no in #2032
- chore: MaxTableSize has been renamed to BaseTableSize by @mitar in #2038
- Update CODEOWNERS by @ryanfoxtyler in #2043
- Chore(): add Stale Action by @ryanfoxtyler in #2070
- Update ristretto and refactor for use of generics by @paralin in #2047
- chore: Remove obsolete comment by @mitar in #2039
- chore(Docs): Update jQuery 3.2.1 to 3.7.1 by @kokizzu in #2023
- chore(deps): bump the go_modules group with 3 updates by @dependabot in #2074
- docs(): update docs path by @ryanfoxtyler in #2076
- perf: fix operation in seek by @harshil-goel in #2077
- Add lakeFS to README.md by @N-o-Z in #2078
- chore(): add Dependabot by @ryanfoxtyler in #2080
- chore(deps): bump golangci/golangci-lint-action from 4 to 6 by @dependabot in #2083
- chore(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in #2081
- chore(deps): bump github/codeql-action from 2 to 3 by @dependabot in #2082
- chore(deps): bump the minor group with 7 updates by @dependabot in #2089
- Action Manager by @madhu72 in #2050
- chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 in the minor group by @dependabot in #2091
- chore(deps): bump github.com/golang/protobuf from 1.5.3 to 1.5.4 in the patch group by @dependabot in #2090
- chore: fix some comments by @dufucun in #2092
- chore(deps): bump github.com/google/flatbuffers from 1.12.1 to 24.3.25+incompatible by @dependabot in #2084
CI:
- ci: change cron frequency to fix ghost jobs by @joshua-goldstein in #2010
- fix(CI): Update to pull_request trigger by @ryanfoxtyler in #2056
- ci/cd optimization by @ryanfoxtyler in #2051
- fix(cd): fixed cd pipeline by @harshil-goel in #2093
- fix(cd): change name by @harshil-goel in #2094
- fix(cd): added more debug things to cd by @harshil-goel in #2095
- fix(cd): removing some debug items by @harshil-goel in #2096
Full Changelog: v4.2.0...v4.3.0
Badger v4.2.0
This release contains new and updated metrics for Badger, as well as several bug fixes.
Breaking
- feat(metrics): fix and update metrics in badger (#1948)
- fix(metrics): remove badger version in the metrics name (#1982)
Fixed
- fix(db): avoid panic in parallel reads after closing DB (#1987)
- fix(logging): fix direct access to logger (#1980)
- fix(sec): bump google.golang.org/grpc from 1.20.1 to 1.53.0 (#1977)
- fix(sec): update gopkg.in/yaml.v2 package (#1969)
- fix(test): fix flakiness of TestPersistLFDiscardStats (#1963)
- fix(stream): setup oracle correctly in stream writer (#1968) (#1904)
- fix(stream): improve incremental stream writer (#1901)
- fix(test): improve the params in BenchmarkDbGrowth (#1967)
- fix(sync): sync active memtable and value log on Db.Sync (#1847) (#1953)
- fix(test): handle draining of closed channel, speed up test. (#1957)
- fix(test): fix table checksum test. Test on uncompressed. (#1952)
- fix(level): change split key range right key to use ts=0 (#1932)
- fix(test): the new test case PagebufferReader5 introduced an error. (#1936)
- fix(test): add missing unlock in TestPersistLFDiscardStats (#1924)
- fix(PageBufferReader): should conform to io.Reader interface (#1935)
- fix(publisher): publish updates after persistence in WAL (#1917)
CI
Badger v4.1.0
This release adds support for incremental stream writer. We also do some cleanup in the docs and resolve some CI issues for community PR's. We resolve high and medium CVE's and fix #1833.
Features
Fixes
Security
- chore(deps): bump golang.org/x/net from 0.0.0-20201021035429-f5854403a974 to 0.7.0 (#1885)
CVE's
- CVE-2021-31525
- CVE-2022-41723
- CVE-2022-27664
- CVE-2021-33194
- CVE-2022-41723
- CVE-2021-33194
- CVE-2021-38561
Chores
- fix(docs): update README (#1915)
- cleanup sstable file after tests (#1912)
- chore(ci): add dgraph regression tests (#1908)
- docs: fix the default value in docs (#1909)
- chore: update URL for unsupported manifest version error (#1905)
- docs(README): add raft-badger to projects using badger (#1902)
- sync the docs with README with projects using badger (#1903)
- fix: update code comments for WithNumCompactors (#1900)
- docs: add loggie to projects using badger (#1882)
- chore(memtable): refactor code for memtable flush (#1866)
- resolve coveralls issue for community PR's (#1892, #1894, #1896)
Full Changelog: v4.0.1...v4.1.0
Badger DB v4.0.1
This release fixes a bug in the maxHeaderSize parameter that could lead to panics. We introduce an external magic number to keep track of external dependencies. We bump up the minimum required Go version to 1.19. No changes were made to the format of data on disk. This is a major release because we are making a switch to SemVer in order to make it easier for the community to understand when breaking API and data format changes are made.
Warning
The tag v4.0.0 has been retracted due to a bug in publisher.
Use v4.0.1 (see #1889)
Fixed
- fix(pb): fix generated protos #1888
- fix(publisher): initialize the atomic variable #1889
- fix: update maxHeaderSize #1877
- feat(externalMagic): Introduce external magic number (#1745) #1852
- fix(bench): bring in benchmark fixes from main #1863
Chores
- upgrade go to 1.19 #1868
- moving from CalVer to SemVer
- chore(cd): tag based deployments #1887
- chore(ci): fail fast when testing #1890
- enable linters (gosimple, govet, lll, unused, staticcheck, errcheck, ineffassign, gofmt) #1871 #1870 #1876
- remove dependency on io/ioutil #1879
- various doc and comment fixes #1857
Full Changelog: v3.2103.5...v4.0.1
Badger DB v3.2103.5
We release Badger CLI tool binaries for amd64 and now arm64. This release does not involve any core code changes to Badger. We added a CD job for building Badger for arm64.
Badger DB v3.2103.4
This patches an issue that could lead to manifest corruption. Fix was merged in #1756. Addresses this issue on Discuss and this issue on Badger. We also bring the release branch to parity with main by updating the CI/CD jobs, Readme, Codeowners, PR and issue templates, etc.
Fixed
- fix(manifest): fix manifest corruption due to race condition in concurrent compactions (#1756)
Chores
- Add CI/CD jobs to release branch
- Add PR and Issue templates to release branch
- Update Codeowners in release branch
- Update Readme in release branch
Full Changelog: v3.2103.3...v3.2103.4
BadgerDB v3.2103.3
This is a minor patch release that fixes arm64 related issues. The issues in the z
package in Ristretto were resolved in Ristretto v0.1.1.
Fixed
- fix(arm64): bump ristretto v0.1.0 --> v0.1.1 (#1806)
Full Changelog: v3.2103.2...v3.2103.3
BadgerDB v3.2103.2
This patch release contains:
Fixed
- fix(compact): close vlog after the compaction at L0 has been completed (#1752)
- fix(builder): put the upper limit on reallocation (#1748)
- deps: Bump github.com/google/flatbuffers to v1.12.1 (#1746)
- fix(levels): Avoid a deadlock when acquiring read locks in levels (#1744)
- fix(pubsub): avoid deadlock in publisher and subscriber (#1749) (#1751)
Full Changelog: v3.2103.1...v3.2103.2