badger v20.07.0 Release Notes
Release Date: 2020-08-10 // over 2 years ago-
🛠 Fixed
- ➕ Add a limit to the size of the batches sent over a stream. (#1412)
- 🛠 Fix Sequence generates duplicate values (#1281)
- 🛠 Fix race condition in DoesNotHave (#1287)
- Fail fast if cgo is disabled and compression is ZSTD (#1284)
- Proto: make badger/v2 compatible with v1 (#1293)
- Proto: Rename dgraph.badger.v2.pb to badgerpb2 (#1314)
- 🖐 Handle duplicates in ManagedWriteBatch (#1315)
- Ensure
bitValuePointer
flag is cleared for LSM entry values written to LSM (#1313) - ⬇️ DropPrefix: Return error on blocked writes (#1329)
- 🚚 Confirm
badgerMove
entry required before rewrite (#1302) - ⬇️ Drop move keys when its key prefix is dropped (#1331)
- Iterator: Always add key to txn.reads (#1328)
- ⏪ Restore: Account for value size as well (#1358)
- Compaction: Expired keys and delete markers are never purged (#1354)
- GC: Consider size of value while rewriting (#1357)
- 👮 Force KeepL0InMemory to be true when InMemory is true (#1375)
- Rework DB.DropPrefix (#1381)
- ⚡️ Update head while replaying value log (#1372)
- 🚦 Avoid panic on multiple closer.Signal calls (#1401)
- Return error if the vlog writes exceeds more than 4GB (#1400)
🐎 Performance
🔋 Features
- 👌 Support disabling conflict detection (#1344)
- ➕ Add leveled logging (#1249)
- 👌 Support entry version in Write batch (#1310)
- ➕ Add Write method to batch write (#1321)
- 👌 Support multiple iterators in read-write transactions (#1286)
🆕 New APIs
- Badger.DB
- Badger.Option
- Badger.WriteBatch
🔄 Changes to Default Options
- 0️⃣ DefaultOptions: Set KeepL0InMemory to false (#1345)
- 0️⃣ Increase default valueThreshold from 32B to 1KB (#1346)
🗄 Deprecated
- Badger.Option
- WithEventLogging (#1203)
⏪ Reverts
⏪ This section lists the changes which were reverted because of non-reproducible crashes.
- Compress/Encrypt Blocks in the background (#1227)