github.com/coocood/badger@v1.5.1-0.20200528065104-c02ac3616d04/CHANGELOG.md (about)

     1  # Changelog
     2  All notable changes to this project will be documented in this file.
     3  
     4  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
     5  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
     6  
     7  ## [Unreleased]
     8  Remove SetWithDiscard and NextSequence related implementations. 
     9  These features are not used any more.
    10  
    11  
    12  ## [1.5.0] - 2018-05-08
    13  * Introduce `NumVersionsToKeep` option. This option is used to discard many
    14    versions of the same key, which saves space.
    15  * Add a new `SetWithDiscard` method, which would indicate that all the older
    16    versions of the key are now invalid. Those versions would be discarded during
    17    compactions.
    18  * Value log GC moves are now bound to another keyspace to ensure latest versions
    19    of data are always at the top in LSM tree.
    20  * Introduce `ValueLogMaxEntries` to restrict the number of key-value pairs per
    21    value log file. This helps bound the time it takes to garbage collect one
    22    file.
    23  
    24  ## [1.4.0] - 2018-05-04
    25  * Make mmap-ing of value log optional.
    26  * Run GC multiple times, based on recorded discard statistics.
    27  * Add MergeOperator.
    28  * Force compact L0 on clsoe (#439).
    29  * Add truncate option to warn about data loss (#452).
    30  * Discard key versions during compaction (#464).
    31  * Introduce new `LSMOnlyOptions`, to make Badger act like a typical LSM based DB.
    32  
    33  Bug fix:
    34  * [Temporary] Check max version across all tables in Get (removed in next
    35    release).
    36  * Update commit and read ts while loading from backup.
    37  * Ensure all transaction entries are part of the same value log file.
    38  * On commit, run unlock callbacks before doing writes (#413).
    39  * Wait for goroutines to finish before closing iterators (#421).
    40  
    41  ## [1.3.0] - 2017-12-12
    42  * Add `DB.NextSequence()` method to generate monotonically increasing integer
    43    sequences.
    44  * Add `DB.Size()` method to return the size of LSM and value log files.
    45  * Tweaked mmap code to make Windows 32-bit builds work.
    46  * Tweaked build tags on some files to make iOS builds work.
    47  * Fix `DB.PurgeOlderVersions()` to not violate some constraints.
    48  
    49  ## [1.2.0] - 2017-11-30
    50  * Expose a `Txn.SetEntry()` method to allow setting the key-value pair
    51    and all the metadata at the same time.
    52  
    53  ## [1.1.1] - 2017-11-28
    54  * Fix bug where txn.Get was returing key deleted in same transaction.
    55  * Fix race condition while decrementing reference in oracle.
    56  * Update doneCommit in the callback for CommitAsync.
    57  * Iterator see writes of current txn.
    58  
    59  ## [1.1.0] - 2017-11-13
    60  * Create Badger directory if it does not exist when `badger.Open` is called.
    61  * Added `Item.ValueCopy()` to avoid deadlocks in long-running iterations
    62  * Fixed 64-bit alignment issues to make Badger run on Arm v7
    63  
    64  ## [1.0.1] - 2017-11-06
    65  * Fix an uint16 overflow when resizing key slice
    66  
    67  [Unreleased]: https://github.com/coocood/badger/compare/v1.3.0...HEAD
    68  [1.3.0]: https://github.com/coocood/badger/compare/v1.2.0...v1.3.0
    69  [1.2.0]: https://github.com/coocood/badger/compare/v1.1.1...v1.2.0
    70  [1.1.1]: https://github.com/coocood/badger/compare/v1.1.0...v1.1.1
    71  [1.1.0]: https://github.com/coocood/badger/compare/v1.0.1...v1.1.0
    72  [1.0.1]: https://github.com/coocood/badger/compare/v1.0.0...v1.0.1