badger v3.2103.0 Release Notes

Release Date: 2021-06-02 // almost 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