PackageTrack
Sign in Get early access

github.com/dgraph-io/badger

v1.6.2 #232 most downloaded on Go modules dgraph-io/badger

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Ships unpredictably

gaps range from 8 days to 5 months

Most releases are documented

notes for 14 of 18 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

338 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

338 releases · Jan 2017 to Sep 2020
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 338
  1. v2.0.0-rc2.0.20190627214236-a05b111723ed+incompatible 27 Jun 2019 pre-release

    Nothing published for this version

  2. v2.0.0-rc2+incompatible 25 Jun 2019 pre-release

    Nothing published for this version

  3. v2.0.0-rc.2.0.20190627203428-2d605c467c10+incompatible 27 Jun 2019 pre-release

    Nothing published for this version

  4. v2.0.0-rc.2.0.20190626232749-b116882676f2+incompatible 26 Jun 2019 pre-release

    Nothing published for this version

  5. v2.0.0-rc.2.0.20190625224416-e0016993b790+incompatible 25 Jun 2019 pre-release

    Nothing published for this version

  6. v2.0.0-rc.2+incompatible 08 Mar 2019 pre-release

    Nothing published for this version

  7. v1.6.2 10 Sep 2020
    Release notes

    Fixed

    • Fix Sequence generates duplicate values (#1281)
    • Ensure bitValuePointer flag is cleared for LSM entry values written to LSM (#1313)
    • Confirm badgerMove entry required before rewrite (#1302)
    • Drop move keys when its key prefix is dropped (#1331)
    • Compaction: Expired keys and delete markers are never purged (#1354)
    • Restore: Account for value size as well (#1358)
    • GC: Consider size of value while rewriting (#1357)
    • Rework DB.DropPrefix (#1381)
    • Update head while replaying value log (#1372)
    • Remove vlog file if bootstrap, syncDir or mmap fails (#1434)
    • Levels: Compaction incorrectly drops some delete markers (#1422)
    • Fix(replay) - Update head for LSM entries also (#1456)
    • Fix(Backup/Restore): Keep all versions (#1462)
    • Fix build on Plan 9 (#1451)
    Open source →
  8. v1.6.2-0.20200422054842-f76b64d447fc 22 Apr 2020 pre-release

    Nothing published for this version

  9. v1.6.1 26 Mar 2020
    Release notes

    New APIs

    • Badger.DB
      • NewWriteBatchAt (#948)
    • Badger.Options
      • WithEventLogging (#1035)
      • WithVerifyValueChecksum (#1052)
      • WithBypassLockGuard (#1243)

    Features

    • Support checksum verification for values read from vlog (#1052)
    • Add EventLogging option (#1035)
    • Support WriteBatch API in managed mode (#948)
    • Add support for watching nil prefix in Subscribe API (#1246)

    Fixed

    • Initialize vlog before starting compactions in db.Open (#1226)
    • Fix int overflow for 32bit (#1216)
    • Remove the 'this entry should've caught' log from value.go (#1170)
    • Fix merge iterator duplicates issue (#1157)
    • Fix segmentation fault in vlog.Read (header.Decode) (#1150)
    • Fix VerifyValueChecksum checks (#1138)
    • Fix windows dataloss issue (#1134)
    • Fix request increment ref bug (#1121)
    • Limit manifest's change set size (#1119)
    • Fix deadlock in discard stats (#1070)
    • Acquire lock before unmapping vlog files (#1050)
    • Set move key's expiresAt for keys with TTL (#1006)
    • Fix deadlock when flushing discard stats. (#976)
    • Fix table.Smallest/Biggest and iterator Prefix bug (#997)
    • Fix boundaries on GC batch size (#987)
    • Lock log file before munmap (#949)
    • VlogSize to store correct directory name to expvar.Map (#956)
    • Fix transaction too big issue in restore (#957)
    • Fix race condition in updateDiscardStats (#973)
    • Cast results of len to uint32 to fix compilation in i386 arch. (#961)
    • Drop discard stats if we can't unmarshal it (#936)
    • Open all vlog files in RDWR mode (#923)
    • Fix race condition in flushDiscardStats function (#921)
    • Ensure rewrite in vlog is within transactional limits (#911)
    • Fix prefix bug in key iterator and allow all versions (#950)
    • Fix discard stats moved by GC bug (#929)

    Performance

    • Use fastRand instead of locked-rand in skiplist (#1173)
    • Fix checkOverlap in compaction (#1166)
    • Optimize createTable in stream_writer.go (#1132)
    • Add capacity to slice creation when capacity is known (#1103)
    • Introduce fast merge iterator (#1080)
    • Introduce StreamDone in Stream Writer (#1061)
    • Flush vlog buffer if it grows beyond threshold (#1067)
    • Binary search based table picker (#983)
    • Making the stream writer APIs goroutine-safe (#959)
    • Replace FarmHash with AESHash for Oracle conflicts (#952)
    • Change file picking strategy in compaction (#894)
    • Use trie for prefix matching (#851)
    • Fix busy-wait loop in Watermark (#920)
    Open source →
  10. v1.6.1-rc1 24 Mar 2020 pre-release

    Nothing published for this version

  11. v1.6.1-0.20191025180844-32a2548a9d85 25 Oct 2019 pre-release

    Nothing published for this version

  12. v1.6.1-0.20191025070301-48934e9df8b0 25 Oct 2019 pre-release

    Nothing published for this version

  13. v1.6.1-0.20191023172418-597a58b00611 23 Oct 2019 pre-release

    Nothing published for this version

  14. v1.6.1-0.20191021140416-be6402f83d31 21 Oct 2019 pre-release

    Nothing published for this version

  15. v1.6.1-0.20191021104909-b9056f135481 21 Oct 2019 pre-release

    Nothing published for this version

  16. v1.6.1-0.20191021103321-73ea6e6e7c33 21 Oct 2019 pre-release

    Nothing published for this version

  17. v1.6.1-0.20191018133508-385da9100e35 18 Oct 2019 pre-release

    Nothing published for this version

  18. v1.6.1-0.20191017141903-1298df3fab11 17 Oct 2019 pre-release

    Nothing published for this version

  19. v1.6.1-0.20191017125638-8352c20bf048 17 Oct 2019 pre-release

    Nothing published for this version

  20. v1.6.1-0.20191012010444-dbe1cb90c815 12 Oct 2019 pre-release

    Nothing published for this version

  21. v1.6.1-0.20191010101102-bcf8b972e5a2 10 Oct 2019 pre-release

    Nothing published for this version

  22. v1.6.1-0.20191004104532-f50343ff404d 04 Oct 2019 pre-release

    Nothing published for this version

  23. v1.6.1-0.20191001173710-b20e8b6e8b74 01 Oct 2019 pre-release

    Nothing published for this version

  24. v1.6.1-0.20190930171022-50ddf21298ea 30 Sep 2019 pre-release

    Nothing published for this version

  25. v1.6.1-0.20190924140636-a425b0eafac0 24 Sep 2019 pre-release

    Nothing published for this version

  26. v1.6.1-0.20190919092235-ef1e8e4b88e2 19 Sep 2019 pre-release

    Nothing published for this version

  27. v1.6.1-0.20190918110150-db73862da500 18 Sep 2019 pre-release

    Nothing published for this version

  28. v1.6.1-0.20190917133922-cbdef65095c7 17 Sep 2019 pre-release

    Nothing published for this version

  29. v1.6.1-0.20190916141631-ee70ff261691 16 Sep 2019 pre-release

    Nothing published for this version

  30. v1.6.1-0.20190911112450-86a77bb28c44 11 Sep 2019 pre-release

    Nothing published for this version

  31. v1.6.1-0.20190906051254-a1ff34882564 06 Sep 2019 pre-release

    Nothing published for this version

  32. v1.6.1-0.20190906050951-7e99a81e1fee 06 Sep 2019 pre-release

    Nothing published for this version

  33. v1.6.1-0.20190903194648-fbcd60898198 03 Sep 2019 pre-release

    Nothing published for this version

  34. v1.6.1-0.20190903091435-491671d3c143 03 Sep 2019 pre-release

    Nothing published for this version

  35. v1.6.1-0.20190828094503-4e087dd7532e 28 Aug 2019 pre-release

    Nothing published for this version

  36. v1.6.1-0.20190827230100-398445a29fa7 27 Aug 2019 pre-release

    Nothing published for this version

  37. v1.6.1-0.20190823111240-2090032400cf 23 Aug 2019 pre-release

    Nothing published for this version

  38. v1.6.1-0.20190822074718-bd6cd5914d45 22 Aug 2019 pre-release

    Nothing published for this version

  39. v1.6.1-0.20190810110519-74ed6da2c776 10 Aug 2019 pre-release

    Nothing published for this version

  40. v1.6.1-0.20190809121831-9d7b751e85c9 09 Aug 2019 pre-release

    Nothing published for this version

  41. v1.6.1-0.20190808091825-3d5fe0b718ff 08 Aug 2019 pre-release

    Nothing published for this version

  42. v1.6.1-0.20190807134436-e843141e70ca 07 Aug 2019 pre-release

    Nothing published for this version

  43. v1.6.1-0.20190803064941-e627d49fa7e9 03 Aug 2019 pre-release

    Nothing published for this version

  44. v1.6.1-0.20190802174307-f59246cb119d 02 Aug 2019 pre-release

    Nothing published for this version

  45. v1.6.1-0.20190801231143-143946382653 01 Aug 2019 pre-release

    Nothing published for this version

  46. v1.6.1-0.20190719050703-d8e1fcf01522 19 Jul 2019 pre-release

    Nothing published for this version

  47. v1.6.1-0.20190718182113-50c90edf28f2 18 Jul 2019 pre-release

    Nothing published for this version

  48. v1.6.0 02 Jul 2019
    Release notes

    This is a release including almost 200 commits, so expect many changes - some of them not backward compatible.

    Regarding backward compatibility in Badger versions, you might be interested on reading VERSIONING.md.

    Note: The hashes in parentheses correspond to the commits that impacted the given feature.

    New APIs

    • badger.DB

      • DropPrefix (291295e)
      • Flatten (7e41bba)
      • KeySplits (4751ef1)
      • MaxBatchCount (b65e2a3)
      • MaxBatchSize (b65e2a3)
      • PrintKeyValueHistogram (fd59907)
      • Subscribe (26128a7)
      • Sync (851e462)
    • badger.DefaultOptions() and badger.LSMOnlyOptions() (91ce687)

      • badger.Options.WithX methods
    • badger.Entry (e9447c9)

      • NewEntry
      • WithMeta
      • WithDiscard
      • WithTTL
    • badger.Item

      • KeySize (fd59907)
      • ValueSize (5242a99)
    • badger.IteratorOptions

      • PickTable (7d46029, 49a49e3)
      • Prefix (7d46029)
    • badger.Logger (fbb2778)

    • badger.Options

      • CompactL0OnClose (7e41bba)
      • Logger (3f66663)
      • LogRotatesToFlush (2237832)
    • badger.Stream (14cbd89, 3258067)

    • badger.StreamWriter (7116e16)

    • badger.TableInfo.KeyCount (fd59907)

    • badger.TableManifest (2017987)

    • badger.Tx.NewKeyIterator (49a49e3)

    • badger.WriteBatch (6daccf9, 7e78e80)

    Modified APIs

    Breaking

    • badger.DefaultOptions and badger.LSMOnlyOptions are now functions rather than variables (91ce687)
    • badger.Item.Value now receives a function that returns an error (439fd46)
    • badger.Txn.Commit doesn't receive any params now (6daccf9)
    • badger.DB.Tables now receives a boolean (76b5341)

    Features

    • badger.LSMOptions changed values (799c33f)
    • badger.DB.NewIterator now allows multiple iterators per RO txn (41d9656)
    • badger.Options.TableLoadingMode's new default is options.MemoryMap (6b97bac)

    Removed APIs

    • badger.ManagedDB (d22c0e8)
    • badger.Options.DoNotCompact (7e41bba)
    • badger.Txn.SetWithX (e9447c9)

    Tools

    • badger bank disect (13db058)
    • badger bank test (13db058) --mmap (03870e3)
    • badger fill (7e41bba)
    • badger flatten (7e41bba)
    • badger info --histogram (fd59907) --history --lookup --show-keys --show-meta --with-prefix (09e9b63) --show-internal (fb2eed9)
    • badger benchmark read (239041e)
    • badger benchmark write (6d3b67d)
    Open source →
    Release notes

    This is a release including almost 200 commits, so expect many changes - some of them not backward compatible.

    Regarding backward compatibility in Badger versions, you might be interested on reading VERSIONING.md.

    Note: The hashes in parentheses correspond to the commits that impacted the given feature.

    New APIs

    • badger.DB

      • DropPrefix (291295e)
      • Flatten (7e41bba)
      • KeySplits (4751ef1)
      • MaxBatchCount (b65e2a3)
      • MaxBatchSize (b65e2a3)
      • PrintKeyValueHistogram (fd59907)
      • Subscribe (26128a7)
      • Sync (851e462)
    • badger.DefaultOptions() and badger.LSMOnlyOptions() (91ce687)

      • badger.Options.WithX methods
    • badger.Entry (e9447c9)

      • NewEntry
      • WithMeta
      • WithDiscard
      • WithTTL
    • badger.Item

      • KeySize (fd59907)
      • ValueSize (5242a99)
    • badger.IteratorOptions

      • PickTable (7d46029, 49a49e3)
      • Prefix (7d46029)
    • badger.Logger (fbb2778)

    • badger.Options

      • CompactL0OnClose (7e41bba)
      • Logger (3f66663)
      • LogRotatesToFlush (2237832)
    • badger.Stream (14cbd89, 3258067)

    • badger.StreamWriter (7116e16)

    • badger.TableInfo.KeyCount (fd59907)

    • badger.TableManifest (2017987)

    • badger.Tx.NewKeyIterator (49a49e3)

    • badger.WriteBatch (6daccf9, 7e78e80)

    Modified APIs

    Breaking changes:

    • badger.DefaultOptions and badger.LSMOnlyOptions are now functions rather than variables (91ce687)
    • badger.Item.Value now receives a function that returns an error (439fd46)
    • badger.Txn.Commit doesn't receive any params now (6daccf9)
    • badger.DB.Tables now receives a boolean (76b5341)

    Not breaking changes:

    • badger.LSMOptions changed values (799c33f)
    • badger.DB.NewIterator now allows multiple iterators per RO txn (41d9656)
    • badger.Options.TableLoadingMode's new default is options.MemoryMap (6b97bac)

    Removed APIs

    • badger.ManagedDB (d22c0e8)
    • badger.Options.DoNotCompact (7e41bba)
    • badger.Txn.SetWithX (e9447c9)

    Tools:

    • badger bank disect (13db058)
    • badger bank test (13db058) --mmap (03870e3)
    • badger fill (7e41bba)
    • badger flatten (7e41bba)
    • badger info --histogram (fd59907) --history --lookup --show-keys --show-meta --with-prefix (09e9b63) --show-internal (fb2eed9)
    • badger benchmark read (239041e)
    • badger benchmark write (6d3b67d)
    Open source →
  49. v1.6.0-rc1.0.20200324113115-9e0cfdeefb3c 24 Mar 2020 pre-release

    Nothing published for this version

  50. v1.6.0-rc1.0.20200312142944-dca9c5308ace 12 Mar 2020 pre-release

    Nothing published for this version

  51. v1.6.0-rc1.0.20200207192647-587c8113304d 07 Feb 2020 pre-release

    Nothing published for this version

  52. v1.6.0-rc1.0.20191024172150-efb9d9d15d7f 24 Oct 2019 pre-release

    Nothing published for this version

  53. v1.6.0-rc1 27 Jun 2019 pre-release

    Nothing published for this version

  54. v1.5.5 14 Jun 2019
    Release notes
    • Introduce support for Go Modules
    Open source →
    Release notes
    • Introduce support for Go Modules
    Open source →
  55. v1.5.5-0.20191024172150-efb9d9d15d7f 24 Oct 2019 pre-release

    Nothing published for this version

  56. v1.5.5-0.20190903194648-fbcd60898198 03 Sep 2019 pre-release

    Nothing published for this version

  57. v1.5.5-0.20190701234546-50ccc861a93d 01 Jul 2019 pre-release

    Nothing published for this version

  58. v1.5.5-0.20190627205826-64eb1dfea763 27 Jun 2019 pre-release

    Nothing published for this version

  59. v1.5.5-0.20190626232749-b116882676f2 26 Jun 2019 pre-release

    Nothing published for this version

  60. v1.5.5-0.20190625224440-8454221386ae 25 Jun 2019 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive