Skip to content

Releases: dgraph-io/badger

Badger v1.5.0 Release

09 May 02:02
Compare
Choose a tag to compare
  • Introduce NumVersionsToKeep option. This option is used to discard many
    versions of the same key, which saves space.
  • Add a new SetWithDiscard method, which would indicate that all the older
    versions of the key are now invalid. Those versions would be discarded during
    compactions.
  • Value log GC moves are now bound to another keyspace to ensure latest versions
    of data are always at the top in LSM tree.
  • Introduce ValueLogMaxEntries to restrict the number of key-value pairs per
    value log file. This helps bound the time it takes to garbage collect one
    file.

BadgerDB v1.4.0

05 May 00:02
Compare
Choose a tag to compare
  • Make mmap-ing of value log optional.
  • Run GC multiple times, based on recorded discard statistics.
  • Add MergeOperator.
  • Force compact L0 on close (#439).
  • Add truncate option to warn about data loss (#452).
  • Discard key versions during compaction (#464).
  • Introduce new LSMOnlyOptions, to make Badger act like a typical LSM based DB.

Bug fix:

  • [Temporary] Check max version across all tables in Get (would be removed in v2.0).
  • Update commit and read ts while loading from backup.
  • Ensure all transaction entries are part of the same value log file.
  • On commit, run unlock callbacks before doing writes (#413).
  • Wait for goroutines to finish before closing iterators (#421).

BadgerDB v1.3.0

12 Dec 05:24
6961121
Compare
Choose a tag to compare
  • Add DB.GetSequence() method to generate monotonically increasing integer
    sequences.
  • Add DB.Size() method to return the size of LSM and value log files.
  • Tweaked mmap code to make Windows 32-bit builds work.
  • Tweaked build tags on some files to make iOS builds work.
  • Fix DB.PurgeOlderVersions() to not violate some constraints.

BadgerDB v1.2.0

30 Nov 04:21
aa6f000
Compare
Choose a tag to compare
Version bump to v1.2.0

Badger v1.1.1

28 Nov 04:25
Compare
Choose a tag to compare
  • Fix bug where txn.Get was returing key deleted in same transaction.
  • Fix race condition while decrementing reference in oracle.
  • Update doneCommit in the callback for CommitAsync.
  • Iterator sees writes of current transaction.

Badger v1.1.0

13 Nov 11:03
Compare
Choose a tag to compare
  • Create Badger directory if it does not exist when badger.Open is called.
  • Added Item.ValueCopy() to avoid deadlocks in long-running iterations
  • Fixed 64-bit alignment issues to make Badger run on Arm v7

Badger v1.0.1

06 Nov 05:25
Compare
Choose a tag to compare

This release contains fix for #308 .

Badger v1.0.0

02 Nov 03:47
df7b92c
Compare
Choose a tag to compare
Update README with v1.0.0 announcement