Skip to content

Latest commit

 

History

History
136 lines (77 loc) · 4.01 KB

CHANGELOG.md

File metadata and controls

136 lines (77 loc) · 4.01 KB

Changelog

Unreleased

0.6.1

2020-08-12

Improvements

  • #115 Add a BadgerDB backend with build tag badgerdb (@mvdan)

0.6.0

2020-06-24

Breaking Changes

  • #99 Keys can no longer be nil or empty, and values can no longer be nil (@erikgrinaker)

  • #98 NewDB now returns an error instead of panicing (@erikgrinaker)

  • #96 Batch.Set(), Delete(), and Close() may now error (@erikgrinaker)

  • #97 Iterator.Close() may now error (@erikgrinaker)

  • #97 Many iterator panics are now exposed via Error() instead (@erikgrinaker)

  • #96 The SetDeleter interface has been removed (@erikgrinaker)

Bug Fixes

  • #97 RemoteDB iterators are now correctly primed with the first item when created, without calling Next() (@erikgrinaker)

0.5.1

2020-03-30

Bug Fixes

  • [boltdb] #81 Use correct import path go.etcd.io/bbolt

0.5.0

2020-03-11

Breaking Changes

  • #71 Closed or written batches can no longer be reused, all non-Close() calls will panic

  • [memdb] #74 Iterator() and ReverseIterator() now take out database read locks for the duration of the iteration

  • [memdb] #56 Removed some exported methods that were mainly meant for internal use: Mutex(), SetNoLock(), SetNoLockSync(), DeleteNoLock(), and DeleteNoLockSync()

Improvements

  • [memdb] #53 Use a B-tree for storage, which significantly improves range scan performance

  • [memdb] #56 Use an RWMutex for improved performance with highly concurrent read-heavy workloads

Bug Fixes

  • [boltdb] #69 Properly handle blank keys in iterators

  • [cleveldb] #65 Fix handling of empty keys as iterator endpoints

0.4.1

2020-2-26

Breaking Changes

  • [fsdb] #43 Remove FSDB

Bug Fixes

  • [boltdb] #45 Bring BoltDB to adhere to the db interfaces

0.4

2020-1-7

BREAKING CHANGES

  • #30 Interface Breaking, Interfaces return errors instead of panic:
    • Changes to function signatures:
      • DB interface:
        • Get([]byte) ([]byte, error)
        • Has(key []byte) (bool, error)
        • Set([]byte, []byte) error
        • SetSync([]byte, []byte) error
        • Delete([]byte) error
        • DeleteSync([]byte) error
        • Iterator(start, end []byte) (Iterator, error)
        • ReverseIterator(start, end []byte) (Iterator, error)
        • Close() error
        • Print() error
      • Batch interface:
        • Write() error
        • WriteSync() error
      • Iterator interface:
        • Error() error

IMPROVEMENTS

  • [remotedb] #34 Add proto file tests and regenerate remotedb.pb.go

0.3

2019-11-18

Special thanks to external contributors on this release:

BREAKING CHANGES

  • #26 Rename DBBackendtype to BackendType

0.2

2019-09-19

Special thanks to external contributors on this release: @stumble

Features

  • #12 Add RocksDB (@stumble)

0.1

2019-07-16

Special thanks to external contributors on this release:

Initial Release

  • db, random.go, bytes.go and os.go from the tendermint repo.