github dgraph-io/badger v3.2103.0
BadgerDB v3.2103.0

latest releases: v4.4.0, v4.3.1, v4.3.0...
3 years ago

Breaking

  • Subscribe: Add option to subscribe with holes in prefixes. (#1658)

Fixed

  • fix(compaction): Remove compaction backoff mechanism (#1686)
  • Add a name to mutexes to make them unexported (#1678)
  • fix(merge-operator): don't read the deleted keys (#1675)
  • fix(discard): close the discard stats file on db close (#1672)
  • fix(iterator): fix iterator when data does not exist in read only mode (#1670)
  • fix(badger): Do not reuse variable across badger commands (#1624)
  • fix(dropPrefix): check properly if the key is present in a table (#1623)

Performance

  • Opt(Stream): Optimize how we deduce key ranges for iteration (#1687)
  • Increase value threshold from 1 KB to 1 MB (#1664)
  • opt(DropPrefix): check if there exist some data to drop before dropping prefixes (#1621)

Features

  • feat(options): allow special handling and checking when creating options from superflag (#1688)
  • overwrite default Options from SuperFlag string (#1663)
  • Support SinceTs in iterators (#1653)
  • feat(info): Add a flag to parse and print DISCARD file (#1662)
  • feat(vlog): making vlog threshold dynamic 6ce3b7c (#1635)
  • feat(options): add NumGoroutines option for default Stream.numGo (#1656)
  • feat(Trie): Working prefix match with holes (#1654)
  • feat: add functionality to ban a prefix (#1638)
  • feat(compaction): Support Lmax to Lmax compaction (#1615)

New APIs

  • Badger.DB
    • BanNamespace
    • BannedNamespaces
    • Ranges
  • Badger.Options
    • FromSuperFlag
    • WithNumGoRoutines
    • WithNamespaceOffset
    • WithVLogPercentile
  • Badger.Trie
    • AddMatch
    • DeleteMatch
  • Badger.Table
    • StaleDataSize
  • Badger.Table.Builder
    • AddStaleKey
  • Badger.InitDiscardStats

Removed APIs

  • Badger.DB
    • KeySplits
  • Badger.Options
    • SkipVlog

Changed APIs

  • Badger.DB
    • Subscribe
  • Badger.Options
    • WithValueThreshold

Don't miss a new badger release

NewReleases is sending notifications on new releases.