Skip to content

Commit

Permalink
bump 0.2.0 (#216)
Browse files Browse the repository at this point in the history
* bump 0.2.0

Signed-off-by: tabokie <[email protected]>

* update rustc

Signed-off-by: tabokie <[email protected]>

* add changelog

Signed-off-by: tabokie <[email protected]>
  • Loading branch information
tabokie authored Jun 1, 2022
1 parent 0e066f8 commit e15b9ec
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions ctl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"] }
2 changes: 1 addition & 1 deletion stress/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stress"
version = "0.1.0"
version = "0.2.0"
authors = ["The TiKV Authors"]
edition = "2018"

Expand Down

0 comments on commit e15b9ec

Please sign in to comment.