From 57a191cb1c8095088f99424e4adec341c481232d Mon Sep 17 00:00:00 2001 From: MrCroxx Date: Thu, 12 Sep 2024 07:13:06 +0000 Subject: [PATCH 1/3] chore: release foyer 0.11.2 Signed-off-by: MrCroxx --- CHANGELOG.md | 24 ++++++++++++++++++++++++ README.md | 17 ++++++++++++----- foyer-bench/Cargo.toml | 4 ++-- foyer-common/Cargo.toml | 2 +- foyer-intrusive/Cargo.toml | 4 ++-- foyer-memory/Cargo.toml | 6 +++--- foyer-storage/Cargo.toml | 6 +++--- foyer/Cargo.toml | 8 ++++---- 8 files changed, 51 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f217e5c1..2bb58c3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +## 2024-09-12 + +| crate | version | +| - | - | +| foyer | 0.11.2 | +| foyer-common | 0.9.2 | +| foyer-intrusive | 0.9.2 | +| foyer-memory | 0.7.2 | +| foyer-storage | 0.10.2 | +| foyer-bench | 0.3.2 | + +
+ +### Changes + +- Support windows (for `foyer` only). +- Bump rust toolchain to `1.18.0`. +- Expose in-memory cache builder and cache entry. +- Reduce page fault and vec growth overhead. +- Fix install deps script. +- Use bytes size for `foyer-bench`. + +
+ ## 2024-08-31 | crate | version | diff --git a/README.md b/README.md index 540169b9..f04e6c9f 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,17 @@ More examples and details can be found [here](https://github.com/foyer-rs/foyer/ *foyer* is built against the recent stable release. The minimum supported version is 1.81.0. The current *foyer* version is not guaranteed to build on Rust versions earlier than the minimum supported version. +## Supported Platforms + +*foyer* is designed to serve on Linux OS, but can still be built on other OS for development. + +However, other components may not support non-Linux OS. + +| Component | Linux | MacOS | Windows | +| - | - | - | - | +| foyer | ✓ | ✓ | ✓ | +| foyer-bench | ✓ | ✗ | ✗ | + ## Development State & Roadmap Currently, *foyer* is still under heavy development. @@ -210,11 +221,7 @@ Don't forget to pass `make fast` (which means fast check & test) locally before If you want to run a broader range of checks locally, run `make full`. 🙌 -Thank you for your contribution~ - -

- -

+Thank you for your contribution~ ## Star History diff --git a/foyer-bench/Cargo.toml b/foyer-bench/Cargo.toml index 148bc258..c6bd15bc 100644 --- a/foyer-bench/Cargo.toml +++ b/foyer-bench/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-bench" -version = "0.3.1" +version = "0.3.2" 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.1", path = "../foyer" } +foyer = { version = "0.11.2", path = "../foyer" } futures = "0.3" hdrhistogram = "7" itertools = { workspace = true } diff --git a/foyer-common/Cargo.toml b/foyer-common/Cargo.toml index 982448ed..bd9d5f37 100644 --- a/foyer-common/Cargo.toml +++ b/foyer-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-common" -version = "0.9.1" +version = "0.9.2" 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 d2a980ef..598e35c5 100644 --- a/foyer-intrusive/Cargo.toml +++ b/foyer-intrusive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-intrusive" -version = "0.9.1" +version = "0.9.2" 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.1", path = "../foyer-common" } +foyer-common = { version = "0.9.2", path = "../foyer-common" } itertools = { workspace = true } [features] diff --git a/foyer-memory/Cargo.toml b/foyer-memory/Cargo.toml index e2ea5a19..ba2ee1c0 100644 --- a/foyer-memory/Cargo.toml +++ b/foyer-memory/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-memory" -version = "0.7.1" +version = "0.7.2" 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.1", path = "../foyer-common" } -foyer-intrusive = { version = "0.9.1", path = "../foyer-intrusive" } +foyer-common = { version = "0.9.2", path = "../foyer-common" } +foyer-intrusive = { version = "0.9.2", 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 d181c4fe..1a2c365c 100644 --- a/foyer-storage/Cargo.toml +++ b/foyer-storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer-storage" -version = "0.10.1" +version = "0.10.2" edition = "2021" authors = ["MrCroxx "] description = "storage engine for foyer - the hybrid cache for Rust" @@ -24,8 +24,8 @@ bytes = "1" clap = { workspace = true } either = "1" fastrace = { workspace = true } -foyer-common = { version = "0.9.1", path = "../foyer-common" } -foyer-memory = { version = "0.7.1", path = "../foyer-memory" } +foyer-common = { version = "0.9.2", path = "../foyer-common" } +foyer-memory = { version = "0.7.2", path = "../foyer-memory" } fs4 = "0.9.1" futures = "0.3" itertools = { workspace = true } diff --git a/foyer/Cargo.toml b/foyer/Cargo.toml index fecd526a..6c925596 100644 --- a/foyer/Cargo.toml +++ b/foyer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "foyer" -version = "0.11.1" +version = "0.11.2" 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.1", path = "../foyer-common" } -foyer-memory = { version = "0.7.1", path = "../foyer-memory" } -foyer-storage = { version = "0.10.1", path = "../foyer-storage" } +foyer-common = { version = "0.9.2", path = "../foyer-common" } +foyer-memory = { version = "0.7.2", path = "../foyer-memory" } +foyer-storage = { version = "0.10.2", path = "../foyer-storage" } futures = "0.3" pin-project = "1" tokio = { workspace = true } From 992de1408e8388136a78288217872fcc7b72866c Mon Sep 17 00:00:00 2001 From: MrCroxx Date: Thu, 12 Sep 2024 07:14:10 +0000 Subject: [PATCH 2/3] chore: fix change log Signed-off-by: MrCroxx --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bb58c3d..87e1f1d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ ### Changes - Support windows (for `foyer` only). -- Bump rust toolchain to `1.18.0`. +- Bump rust toolchain to `1.81.0`. - Expose in-memory cache builder and cache entry. - Reduce page fault and vec growth overhead. - Fix install deps script. From 6552ee17dfcbc47cd1a1f153b6c88ae2d0253729 Mon Sep 17 00:00:00 2001 From: MrCroxx Date: Thu, 12 Sep 2024 07:15:37 +0000 Subject: [PATCH 3/3] chore: update readme Signed-off-by: MrCroxx --- CHANGELOG.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87e1f1d9..17b3fa6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,8 +17,8 @@ - Bump rust toolchain to `1.81.0`. - Expose in-memory cache builder and cache entry. - Reduce page fault and vec growth overhead. -- Fix install deps script. - Use bytes size for `foyer-bench`. +- Fix install deps script. diff --git a/README.md b/README.md index f04e6c9f..6ea75be1 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ Don't forget to pass `make fast` (which means fast check & test) locally before If you want to run a broader range of checks locally, run `make full`. 🙌 -Thank you for your contribution~ +Thank you for your contribution~ ## Star History