From eef7c122607e5c2cc60e14eb20c883efa3e6855b Mon Sep 17 00:00:00 2001 From: Leyla Galatin <56415703+lgalatin@users.noreply.github.com> Date: Tue, 12 Nov 2019 16:46:13 -0800 Subject: [PATCH] Update changelog for v2.0.0. (#1117) --- CHANGELOG.md | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e381a4b7c..95c55d8e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,76 @@ and this project adheres to [Serialization Versioning](VERSIONING.md). ## [Unreleased] +## [2.0.0] - 2019-11-12 + +### New APIs + +- badger.DB + - NewWriteBatchAt (7f43769) + - CacheMetrics (b9056f1) + +- badger.Options + - WithMaxCacheSize (b9056f1) + - WithEventLogging (75c6a44) + - WithBlockSize (1439463) + - WithBloomFalsePositive (1439463) + - WithKeepL0InMemory (ee70ff2) + - WithVerifyValueChecksum (ee70ff2) + - WithCompression (5f3b061) + - WithEncryptionKey (a425b0e) + - WithEncryptionKeyRotationDuration (a425b0e) + - WithChecksumVerificationMode (7b4083d) + +### Features + +- Data cache to speed up lookups and iterations. (#1066) +- Data compression. (#1013) +- Data encryption-at-rest. (#1042) + +### Fixed + +- Fix deadlock when flushing discard stats. (#976) +- Set move key's expiresAt for keys with TTL. (#1006) +- Fix unsafe usage in Decode. (#1097) +- Fix race condition on db.orc.nextTxnTs. (#1101) +- Fix level 0 GC dataloss bug. (#1090) +- Fix deadlock in discard stats. (#1070) +- Support checksum verification for values read from vlog. (#1052) +- Store entire L0 in memory. (#963) +- Fix table.Smallest/Biggest and iterator Prefix bug. (#997) +- Use standard proto functions for Marshal/Unmarshal and Size. (#994) +- Fix boundaries on GC batch size. (#987) +- 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) +- Making the stream writer APIs goroutine-safe. (#959) +- Fix prefix bug in key iterator and allow all versions. (#950) +- Drop discard stats if we can't unmarshal it. (#936) +- Fix race condition in flushDiscardStats function. (#921) +- Ensure rewrite in vlog is within transactional limits. (#911) +- Fix discard stats moved by GC bug. (#929) +- Fix busy-wait loop in Watermark. (#920) + +### Performance + +- Introduce fast merge iterator. (#1080) +- Binary search based table picker. (#983) +- Flush vlog buffer if it grows beyond threshold. (#1067) +- Introduce StreamDone in Stream Writer. (#1061) +- Performance Improvements to block iterator. (#977) +- Prevent unnecessary safecopy in iterator parseKV. (#971) +- Use pointers instead of binary encoding. (#965) +- Reuse block iterator inside table iterator. (#972) +- [breaking/format] Remove vlen from entry header. (#945) +- Replace FarmHash with AESHash for Oracle conflicts. (#952) +- [breaking/format] Optimize Bloom filters. (#940) +- [breaking/format] Use varint for header encoding (without header length). (#935) +- Change file picking strategy in compaction. (#894) +- [breaking/format] Block level changes. (#880) +- [breaking/format] Add key-offset index to the end of SST table. (#881) + + ## [1.6.0] - 2019-07-01 This is a release including almost 200 commits, so expect many changes - some of them @@ -175,7 +245,8 @@ Bug fix: ## [1.0.1] - 2017-11-06 * Fix an uint16 overflow when resizing key slice -[Unreleased]: https://github.com/dgraph-io/badger/compare/v1.6.0...HEAD +[Unreleased]: https://github.com/dgraph-io/badger/compare/v2.0.0...HEAD +[2.0.0]: https://github.com/dgraph-io/badger/compare/v1.6.0...v2.0.0 [1.6.0]: https://github.com/dgraph-io/badger/compare/v1.5.5...v1.6.0 [1.5.5]: https://github.com/dgraph-io/badger/compare/v1.5.3...v1.5.5 [1.5.3]: https://github.com/dgraph-io/badger/compare/v1.5.2...v1.5.3