CHANGELOG.md raw

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[Unreleased]

[4.5.1] - 2025-01-21

Full Changelog: https://github.com/hypermodeinc/badger/compare/v4.5.0...v4.5.1

[4.5.0] - 2024-11-29

https://github.com/hypermodeinc/badger/pull/2128

@dependabot in https://github.com/hypermodeinc/badger/pull/2130

Full Changelog: https://github.com/hypermodeinc/badger/compare/v4.4.0...v4.5.0

[4.4.0] - 2024-10-26

https://github.com/hypermodeinc/badger/pull/2122

https://github.com/hypermodeinc/badger/pull/2120

https://github.com/hypermodeinc/badger/pull/2042

https://github.com/hypermodeinc/badger/pull/2119

Full Changelog: https://github.com/hypermodeinc/badger/compare/v4.3.1...v4.4.0

[4.3.1] - 2024-10-06

https://github.com/hypermodeinc/badger/pull/2100

https://github.com/hypermodeinc/badger/pull/2106

https://github.com/hypermodeinc/badger/pull/2109

@dependabot in https://github.com/hypermodeinc/badger/pull/2114

1.0.0 by @dependabot in https://github.com/hypermodeinc/badger/pull/2112

Full Changelog: https://github.com/hypermodeinc/badger/compare/v4.3.0...v4.3.1

[4.3.0] - 2024-08-29

Warning The tag v4.3.0 has been retracted due to an issue go.sum. Use v4.3.1 (see #2121 and #2113)

Fixes

https://github.com/hypermodeinc/badger/pull/1988

https://github.com/hypermodeinc/badger/pull/1989

https://github.com/hypermodeinc/badger/pull/1999

https://github.com/hypermodeinc/badger/pull/2001

https://github.com/hypermodeinc/badger/pull/2009

https://github.com/hypermodeinc/badger/pull/2018

https://github.com/hypermodeinc/badger/pull/2017

https://github.com/hypermodeinc/badger/pull/2006

https://github.com/hypermodeinc/badger/pull/2031

https://github.com/hypermodeinc/badger/pull/2034

https://github.com/hypermodeinc/badger/pull/2032

https://github.com/hypermodeinc/badger/pull/2038

https://github.com/hypermodeinc/badger/pull/2047

https://github.com/hypermodeinc/badger/pull/2023

https://github.com/hypermodeinc/badger/pull/2074

https://github.com/hypermodeinc/badger/pull/2083

https://github.com/hypermodeinc/badger/pull/2081

https://github.com/hypermodeinc/badger/pull/2082

https://github.com/hypermodeinc/badger/pull/2089

https://github.com/hypermodeinc/badger/pull/2091

in https://github.com/hypermodeinc/badger/pull/2090

in https://github.com/hypermodeinc/badger/pull/2084

CI

https://github.com/hypermodeinc/badger/pull/2010

https://github.com/hypermodeinc/badger/pull/2056

https://github.com/hypermodeinc/badger/pull/2095

https://github.com/hypermodeinc/badger/pull/2096

Full Changelog: https://github.com/hypermodeinc/badger/compare/v4.2.0...v4.3.0

[4.2.0] - 2023-08-03

Breaking

Fixed

CI

[4.1.0] - 2023-03-30

This release adds support for incremental stream writer. We also do some cleanup in the docs and resolve some CI issues for community PR's. We resolve high and medium CVE's and fix #1833.

Features

Fixes

#1833)

Security

CVEs

Chores

[4.0.1] - 2023-02-28

We issue a follow up release in order to resolve a bug in subscriber. We also generate updated protobufs for Badger v4.

Fixed

Chores

[4.0.0] - 2023-02-27

Warning The tag v4.0.0 has been retracted due to a bug in publisher. Use v4.0.1 (see #1889)

This release fixes a bug in the maxHeaderSize parameter that could lead to panics. We introduce an external magic number to keep track of external dependencies. We bump up the minimum required Go version to 1.19. No changes were made to the format of data on disk. This is a major release because we are making a switch to SemVer in order to make it easier for the community to understand when breaking API and data format changes are made.

Fixed

Chores

#1870 #1876

[3.2103.5] - 2022-12-15

We release Badger CLI tool binaries for amd64 and now arm64. This release does not involve any core code changes to Badger. We add a CD job for building Badger for arm64.

[3.2103.4] - 2022-11-04

Fixed

Chores

and issue templates, etc.

[3.2103.3] - 2022-10-14

Remarks

Ristretto were resolved in Ristretto v0.1.1.

Fixed

[3.2103.2] - 2021-10-07

Fixed

[3.2103.1] - 2021-07-08

Fixed

Features

[3.2103.0] - 2021-06-02

Breaking

Fixed

Performance

Features

New APIs

- BanNamespace - BannedNamespaces - Ranges

- FromSuperFlag - WithNumGoRoutines - WithNamespaceOffset - WithVLogPercentile

- AddMatch - DeleteMatch

- StaleDataSize

- AddStaleKey

Removed APIs

- KeySplits

- SkipVlog

Changed APIs

- Subscribe

- WithValueThreshold

[3.2011.1] - 2021-01-22

Fixed

[3.2011.0] - 2021-01-15

This release is not backward compatible with Badger v2.x.x

Breaking:

Fixed:

Performance

Features:

New APIs

- CacheMaxCost (#1551) - Levels (#1574) - LevelsToString (#1574) - Opts (#1521)

- WithBaseLevelSize (#1574) - WithBaseTableSize (#1574) - WithMemTableSize (#1574)

- DataKey (#1561) - LatestDataKey (#1561)

Removed APIs

- WithKeepL0InMemory (#1555) - WithLevelOneSize (#1574) - WithLoadBloomsOnOpen (#1555) - WithLogRotatesToFlush (#1574) - WithMaxTableSize (#1574) - WithTableLoadingMode (#1555) - WithTruncate (#1555) - WithValueLogLoadingMode (#1555)

[2.2007.4] - 2021-08-25

Fixed

Features

[2.2007.3] - 2021-07-21

Fixed

Features

New APIs

[2.2007.2] - 2020-08-31

Fixed

New APIs

- BlockCacheMetrics (#1473) - IndexCacheMetrics (#1473)

- WithBlockCacheSize (#1473) - WithIndexCacheSize (#1473)

Removed APIs [Breaking Changes]

- DataCacheMetrics (#1473) - BfCacheMetrics (#1473)

- WithMaxCacheSize (#1473) - WithMaxBfCacheSize (#1473) - WithKeepBlockIndicesInCache (#1473) - WithKeepBlocksInCache (#1473)

[2.2007.1] - 2020-08-19

Fixed

[2.2007.0] - 2020-08-10

Fixed

Performance

Features

New APIs

- NewManagedWriteBatch (#1310) - DropPrefix (#1381)

- WithDetectConflicts (#1344) - WithKeepBlockIndicesInCache (#1336) - WithKeepBlocksInCache (#1336)

- DeleteAt (#1310) - SetEntryAt (#1310) - Write (#1321)

Changes to Default Options

Deprecated

- WithEventLogging (#1203)

Reverts

This sections lists the changes which were reverted because of non-reproducible crashes.

[2.0.3] - 2020-03-24

Fixed

Performance

Features

New APIs

- BfCacheMetrics (#1260) - DataCacheMetrics (#1260)

- WithBypassLockGuard (#1243) - WithLoadBloomsOnOpen (#1260) - WithMaxBfCacheSize (#1260)

[2.0.2] - 2020-03-02

Fixed

Performance

[2.0.1] - 2020-01-02

New APIs

- WithInMemory (f5b6321) - WithZSTDCompressionLevel (3eb4e72)

- EstimatedSz (f46f8ea)

Features

Fixed

Performance

[2.0.0] - 2019-11-12

New APIs

- NewWriteBatchAt (7f43769) - CacheMetrics (b9056f1)

- WithMaxCacheSize (b9056f1) - WithEventLogging (75c6a44) - WithBlockSize (1439463) - WithBloomFalsePositive (1439463) - WithKeepL0InMemory (ee70ff2) - WithVerifyValueChecksum (ee70ff2) - WithCompression (5f3b061) - WithEncryptionKey (a425b0e) - WithEncryptionKeyRotationDuration (a425b0e) - WithChecksumVerificationMode (7b4083d)

Features

Fixed

Performance

[1.6.0] - 2019-07-01

This is a release including almost 200 commits, so expect many changes - some of them not backward compatible.

Regarding backward compatibility in Badger versions, you might be interested on reading VERSIONING.md.

Note: The hashes in parentheses correspond to the commits that impacted the given feature.

New APIs

- DropPrefix (291295e) - Flatten (7e41bba) - KeySplits (4751ef1) - MaxBatchCount (b65e2a3) - MaxBatchSize (b65e2a3) - PrintKeyValueHistogram (fd59907) - Subscribe (26128a7) - Sync (851e462)

- badger.Options.WithX methods

- NewEntry - WithMeta - WithDiscard - WithTTL

- KeySize (fd59907) - ValueSize (5242a99)

- PickTable (7d46029, 49a49e3) - Prefix (7d46029)

- CompactL0OnClose (7e41bba) - Logger (3f66663) - LogRotatesToFlush (2237832)

Modified APIs

Breaking

Features

Removed APIs

Tools

(09e9b63) --show-internal (fb2eed9)

[1.5.5] - 2019-06-20

[1.5.3] - 2018-07-11

Bug Fixes:

[1.5.2] - 2018-06-19

Bug Fixes:

iterator must be properly closed. At any point in time, only one iterator per transaction can be running. This is to avoid bugs in a transaction data structure which is thread unsafe.

and only have one running at a time per transaction._

[1.5.1] - 2018-06-04

Bug Fixes:

https://github.com/hypermodeinc/badger/commit/2e3a32f0ccac3066fb4206b28deb39c210c5266f

Cleanup:

[1.5.0] - 2018-05-08

key, which saves space.

now invalid. Those versions would be discarded during compactions.

at the top in LSM tree.

helps bound the time it takes to garbage collect one file.

[1.4.0] - 2018-05-04

Bug fix:

[1.3.0] - 2017-12-12

[1.2.0] - 2017-11-30

same time.

[1.1.1] - 2017-11-28

[1.1.0] - 2017-11-13

[1.0.1] - 2017-11-06

[Unreleased]: https://github.com/hypermodeinc/badger/compare/v2.2007.2...HEAD [2.2007.2]: https://github.com/hypermodeinc/badger/compare/v2.2007.1...v2.2007.2 [2.2007.1]: https://github.com/hypermodeinc/badger/compare/v2.2007.0...v2.2007.1 [2.2007.0]: https://github.com/hypermodeinc/badger/compare/v2.0.3...v2.2007.0 [2.0.3]: https://github.com/hypermodeinc/badger/compare/v2.0.2...v2.0.3 [2.0.2]: https://github.com/hypermodeinc/badger/compare/v2.0.1...v2.0.2 [2.0.1]: https://github.com/hypermodeinc/badger/compare/v2.0.0...v2.0.1 [2.0.0]: https://github.com/hypermodeinc/badger/compare/v1.6.0...v2.0.0 [1.6.0]: https://github.com/hypermodeinc/badger/compare/v1.5.5...v1.6.0 [1.5.5]: https://github.com/hypermodeinc/badger/compare/v1.5.3...v1.5.5 [1.5.3]: https://github.com/hypermodeinc/badger/compare/v1.5.2...v1.5.3 [1.5.2]: https://github.com/hypermodeinc/badger/compare/v1.5.1...v1.5.2 [1.5.1]: https://github.com/hypermodeinc/badger/compare/v1.5.0...v1.5.1 [1.5.0]: https://github.com/hypermodeinc/badger/compare/v1.4.0...v1.5.0 [1.4.0]: https://github.com/hypermodeinc/badger/compare/v1.3.0...v1.4.0 [1.3.0]: https://github.com/hypermodeinc/badger/compare/v1.2.0...v1.3.0 [1.2.0]: https://github.com/hypermodeinc/badger/compare/v1.1.1...v1.2.0 [1.1.1]: https://github.com/hypermodeinc/badger/compare/v1.1.0...v1.1.1 [1.1.0]: https://github.com/hypermodeinc/badger/compare/v1.0.1...v1.1.0 [1.0.1]: https://github.com/hypermodeinc/badger/compare/v1.0.0...v1.0.1