diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..acdad364 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,24 @@ +# Raft Engine Change Log + +## [Unreleased] + +## [0.2.0] - 2022-05-25 + +### Bug Fixes + +* Fix a false negative case of `LogBatch::is_empty()` #212 +* Fix fsync ordering when rotating log file #219 + +### New Features + +* Support limiting the memory usage of Raft Engine under new feature `swap` #211 +* Add a new Prometheus counter `raft_engine_memory_usage` to track memory usage #207 + +### Improvements + +* Reduce memory usage by 25% #206 + +### Public API Changes + +* Introduce a new error type `Full` #206 +* `LogBatch::merge` returns a `Result<()>` instead of `()` #206 diff --git a/Cargo.toml b/Cargo.toml index b135070d..d2b8e28b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "raft-engine" -version = "0.1.0" +version = "0.2.0" authors = ["The TiKV Project Developers"] edition = "2018" rust-version = "1.57" diff --git a/README.md b/README.md index 662725c1..16834f79 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Put this in your Cargo.toml: ```rust [dependencies] -raft-engine = "0.1.0" +raft-engine = "0.2.0" ``` Available Cargo features: diff --git a/ctl/Cargo.toml b/ctl/Cargo.toml index b9179e78..bebae42b 100644 --- a/ctl/Cargo.toml +++ b/ctl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "raft-engine-ctl" -version = "0.1.0" +version = "0.2.0" authors = ["The TiKV Project Developers"] edition = "2018" rust-version = "1.57" @@ -11,4 +11,4 @@ license = "Apache-2.0" [dependencies] clap = { version = "3.0.0-rc.0", features = ["derive", "cargo"] } env_logger = "0.9" -raft-engine = { path = "..", version = "0.1.0", features = ["scripting", "internals"] } +raft-engine = { path = "..", version = "0.2.0", features = ["scripting", "internals"] } diff --git a/stress/Cargo.toml b/stress/Cargo.toml index 55d36ddb..c3efb561 100644 --- a/stress/Cargo.toml +++ b/stress/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stress" -version = "0.1.0" +version = "0.2.0" authors = ["The TiKV Authors"] edition = "2018"