Skip to content

Releases: dgraph-io/badger

Badger v4.4.0

11 Nov 22:03
b239e99
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.3.1...v4.4.0

Badger v4.3.1

06 Oct 05:41
a9edda1
Compare
Choose a tag to compare

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

29 Aug 04:27
02d7531
Compare
Choose a tag to compare

What's Changed

Fixes:

CI:

Full Changelog: v4.2.0...v4.3.0

Badger v4.2.0

04 Aug 13:07
ad41bfd
Compare
Choose a tag to compare

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

  • chore(ci): split off coverage workflow (#1944)
  • chore(ci): adding trivy scanning workflow (#1925)

Badger v4.1.0

04 Apr 18:47
262a275
Compare
Choose a tag to compare

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

  • feat(stream): add support for incremental stream writer (#1722) (#1874)

Fixes

  • chore: upgrade xxhash from v1.1.0 to v2.1.2 (#1910) (fixes #1833)

Security

  • chore(deps): bump golang.org/x/net from 0.0.0-20201021035429-f5854403a974 to 0.7.0 (#1885)

CVE's

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

01 Mar 00:34
a89c52c
Compare
Choose a tag to compare

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

15 Dec 22:14
31e5a1b
Compare
Choose a tag to compare

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

04 Nov 04:53
11c81e3
Compare
Choose a tag to compare

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

14 Oct 23:36
Compare
Choose a tag to compare

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

07 Oct 07:56
Compare
Choose a tag to compare

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