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 2020Releases
latest 60 of 338-
v2.0.0-rc2.0.20190627214236-a05b111723ed+incompatible27 Jun 2019 pre-releaseNothing published for this version
-
v2.0.0-rc2+incompatible25 Jun 2019 pre-releaseNothing published for this version
-
v2.0.0-rc.2.0.20190627203428-2d605c467c10+incompatible27 Jun 2019 pre-releaseNothing published for this version
-
v2.0.0-rc.2.0.20190626232749-b116882676f2+incompatible26 Jun 2019 pre-releaseNothing published for this version
-
v2.0.0-rc.2.0.20190625224416-e0016993b790+incompatible25 Jun 2019 pre-releaseNothing published for this version
-
v2.0.0-rc.2+incompatible08 Mar 2019 pre-releaseNothing published for this version
-
v1.6.210 Sep 2020Release notes
Open source →Fixed
- Fix Sequence generates duplicate values (#1281)
- Ensure
bitValuePointerflag is cleared for LSM entry values written to LSM (#1313) - Confirm
badgerMoveentry 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)
-
v1.6.2-0.20200422054842-f76b64d447fc22 Apr 2020 pre-releaseNothing published for this version
-
v1.6.126 Mar 2020Release notes
Open source →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)
- Badger.DB
-
v1.6.1-rc124 Mar 2020 pre-releaseNothing published for this version
-
v1.6.1-0.20191025180844-32a2548a9d8525 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191025070301-48934e9df8b025 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191023172418-597a58b0061123 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191021140416-be6402f83d3121 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191021104909-b9056f13548121 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191021103321-73ea6e6e7c3321 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191018133508-385da9100e3518 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191017141903-1298df3fab1117 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191017125638-8352c20bf04817 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191012010444-dbe1cb90c81512 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191010101102-bcf8b972e5a210 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191004104532-f50343ff404d04 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20191001173710-b20e8b6e8b7401 Oct 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190930171022-50ddf21298ea30 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190924140636-a425b0eafac024 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190919092235-ef1e8e4b88e219 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190918110150-db73862da50018 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190917133922-cbdef65095c717 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190916141631-ee70ff26169116 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190911112450-86a77bb28c4411 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190906051254-a1ff3488256406 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190906050951-7e99a81e1fee06 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190903194648-fbcd6089819803 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190903091435-491671d3c14303 Sep 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190828094503-4e087dd7532e28 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190827230100-398445a29fa727 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190823111240-2090032400cf23 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190822074718-bd6cd5914d4522 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190810110519-74ed6da2c77610 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190809121831-9d7b751e85c909 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190808091825-3d5fe0b718ff08 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190807134436-e843141e70ca07 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190803064941-e627d49fa7e903 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190802174307-f59246cb119d02 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190801231143-14394638265301 Aug 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190719050703-d8e1fcf0152219 Jul 2019 pre-releaseNothing published for this version
-
v1.6.1-0.20190718182113-50c90edf28f218 Jul 2019 pre-releaseNothing published for this version
-
v1.6.002 Jul 2019Release notes
Open source →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)
Release notes
Open source →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)
-
-
v1.6.0-rc1.0.20200324113115-9e0cfdeefb3c24 Mar 2020 pre-releaseNothing published for this version
-
v1.6.0-rc1.0.20200312142944-dca9c5308ace12 Mar 2020 pre-releaseNothing published for this version
-
v1.6.0-rc1.0.20200207192647-587c8113304d07 Feb 2020 pre-releaseNothing published for this version
-
v1.6.0-rc1.0.20191024172150-efb9d9d15d7f24 Oct 2019 pre-releaseNothing published for this version
-
v1.6.0-rc127 Jun 2019 pre-releaseNothing published for this version
-
v1.5.514 Jun 2019 -
v1.5.5-0.20191024172150-efb9d9d15d7f24 Oct 2019 pre-releaseNothing published for this version
-
v1.5.5-0.20190903194648-fbcd6089819803 Sep 2019 pre-releaseNothing published for this version
-
v1.5.5-0.20190701234546-50ccc861a93d01 Jul 2019 pre-releaseNothing published for this version
-
v1.5.5-0.20190627205826-64eb1dfea76327 Jun 2019 pre-releaseNothing published for this version
-
v1.5.5-0.20190626232749-b116882676f226 Jun 2019 pre-releaseNothing published for this version
-
v1.5.5-0.20190625224440-8454221386ae25 Jun 2019 pre-releaseNothing published for this version