diff --git a/CHANGELOG.md b/CHANGELOG.md index a989f5f9..9ffc44c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,25 @@ date: 2023-05-12T11:02:09+08:00 +## 2024-09-24 + +### Releases + +| crate | version | +| - | - | +| foyer | 0.11.4 | +| foyer-common | 0.9.4 | +| foyer-intrusive | 0.9.4 | +| foyer-memory | 0.7.4 | +| foyer-storage | 0.10.4 | +| foyer-bench | 0.3.4 | + +### Changes + +- Revert pre-serialization design. The insert latency and memory usage would be better for most cases. +- Rename `with_buffer_threshold` to `with_buffer_pool_size`. The old method is kept but marked as deprecated. +- Raise a warn when using `DirectFileDevice` on within a file system. + ## 2024-09-20 ### Releases diff --git a/foyer-bench/Cargo.toml b/foyer-bench/Cargo.toml index 8afb448f..d34cfcf6 100644 --- a/foyer-bench/Cargo.toml +++ b/foyer-bench/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-bench" -version = "0.3.3" +version = "0.3.4" edition = "2021" authors = ["MrCroxx "] description = "bench tool for foyer - the hybrid cache for Rust" @@ -17,7 +17,7 @@ clap = { workspace = true } console-subscriber = { version = "0.4", optional = true } fastrace = { workspace = true, optional = true } fastrace-jaeger = { workspace = true, optional = true } -foyer = { version = "0.11.3", path = "../foyer" } +foyer = { version = "0.11.4", path = "../foyer" } futures = "0.3" hdrhistogram = "7" itertools = { workspace = true } diff --git a/foyer-common/Cargo.toml b/foyer-common/Cargo.toml index 16ef110d..b8da41c3 100644 --- a/foyer-common/Cargo.toml +++ b/foyer-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-common" -version = "0.9.3" +version = "0.9.4" edition = "2021" authors = ["MrCroxx "] description = "common components for foyer - the hybrid cache for Rust" diff --git a/foyer-intrusive/Cargo.toml b/foyer-intrusive/Cargo.toml index abdf950d..7963f58e 100644 --- a/foyer-intrusive/Cargo.toml +++ b/foyer-intrusive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-intrusive" -version = "0.9.3" +version = "0.9.4" edition = "2021" authors = ["MrCroxx "] description = "intrusive data structures for foyer - the hybrid cache for Rust" @@ -11,7 +11,7 @@ readme = "../README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -foyer-common = { version = "0.9.3", path = "../foyer-common" } +foyer-common = { version = "0.9.4", path = "../foyer-common" } itertools = { workspace = true } [features] diff --git a/foyer-memory/Cargo.toml b/foyer-memory/Cargo.toml index f971ad0e..2aad532c 100644 --- a/foyer-memory/Cargo.toml +++ b/foyer-memory/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-memory" -version = "0.7.3" +version = "0.7.4" edition = "2021" authors = ["MrCroxx "] description = "memory cache for foyer - the hybrid cache for Rust" @@ -15,8 +15,8 @@ ahash = "0.8" bitflags = "2" cmsketch = "0.2.1" fastrace = { workspace = true } -foyer-common = { version = "0.9.3", path = "../foyer-common" } -foyer-intrusive = { version = "0.9.3", path = "../foyer-intrusive" } +foyer-common = { version = "0.9.4", path = "../foyer-common" } +foyer-intrusive = { version = "0.9.4", path = "../foyer-intrusive" } futures = "0.3" hashbrown = "0.14" itertools = { workspace = true } diff --git a/foyer-storage/Cargo.toml b/foyer-storage/Cargo.toml index dcb1b2ca..7c910ebb 100644 --- a/foyer-storage/Cargo.toml +++ b/foyer-storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-storage" -version = "0.10.3" +version = "0.10.4" edition = "2021" authors = ["MrCroxx "] description = "storage engine for foyer - the hybrid cache for Rust" @@ -26,8 +26,8 @@ clap = { workspace = true } either = "1" fastrace = { workspace = true } flume = "0.11" -foyer-common = { version = "0.9.3", path = "../foyer-common" } -foyer-memory = { version = "0.7.3", path = "../foyer-memory" } +foyer-common = { version = "0.9.4", path = "../foyer-common" } +foyer-memory = { version = "0.7.4", path = "../foyer-memory" } fs4 = "0.9.1" futures = "0.3" itertools = { workspace = true } diff --git a/foyer/Cargo.toml b/foyer/Cargo.toml index 25a4e837..e4f4904f 100644 --- a/foyer/Cargo.toml +++ b/foyer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer" -version = "0.11.3" +version = "0.11.4" edition = "2021" authors = ["MrCroxx "] description = "Hybrid cache for Rust" @@ -15,9 +15,9 @@ rust-version = "1.81.0" ahash = "0.8" anyhow = "1" fastrace = { workspace = true } -foyer-common = { version = "0.9.3", path = "../foyer-common" } -foyer-memory = { version = "0.7.3", path = "../foyer-memory" } -foyer-storage = { version = "0.10.3", path = "../foyer-storage" } +foyer-common = { version = "0.9.4", path = "../foyer-common" } +foyer-memory = { version = "0.7.4", path = "../foyer-memory" } +foyer-storage = { version = "0.10.4", path = "../foyer-storage" } futures = "0.3" pin-project = "1" tokio = { workspace = true }