From 192d5b802b27c127cc8d1b83a18eaf76c5624614 Mon Sep 17 00:00:00 2001 From: Croxx Date: Thu, 10 Oct 2024 17:10:59 +0800 Subject: [PATCH] chore: release 0.12.1 (#766) Signed-off-by: MrCroxx --- CHANGELOG.md | 20 ++++++++++++++++++++ Cargo.toml | 12 ++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51c3d447..5f8bdceb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,26 @@ date: 2023-05-12T11:02:09+08:00 +## 2024-10-10 + +### Releases + +| crate | version | +| - | - | +| foyer | 0.12.1 | +| foyer-common | 0.12.1 | +| foyer-intrusive | 0.12.1 | +| foyer-memory | 0.12.1 | +| foyer-storage | 0.12.1 | +| foyer-bench | 0.12.1 | + +### Changes + +- Downgrade hashbrown to 0.14 to fix build on nightly for projects using hashbrown < 0.15. +- Fix build with madsim. +- Refine small object disk cache. +- Scale shards to 1 when there is not enough capacity. + ## 2024-10-09 ### Releases diff --git a/Cargo.toml b/Cargo.toml index 64ae2d8b..b345e9fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ members = [ ] [workspace.package] -version = "0.12.0" +version = "0.12.1" edition = "2021" rust-version = "1.81.0" repository = "https://github.com/foyer-rs/foyer" @@ -47,11 +47,11 @@ clap = { version = "4", features = ["derive"] } bytesize = { package = "foyer-bytesize", version = "2" } hashbrown = "0.14" # foyer components -foyer-common = { version = "0.12.0", path = "foyer-common" } -foyer-intrusive = { version = "0.12.0", path = "foyer-intrusive" } -foyer-memory = { version = "0.12.0", path = "foyer-memory" } -foyer-storage = { version = "0.12.0", path = "foyer-storage" } -foyer = { version = "0.12.0", path = "foyer" } +foyer-common = { version = "0.12.1", path = "foyer-common" } +foyer-intrusive = { version = "0.12.1", path = "foyer-intrusive" } +foyer-memory = { version = "0.12.1", path = "foyer-memory" } +foyer-storage = { version = "0.12.1", path = "foyer-storage" } +foyer = { version = "0.12.1", path = "foyer" } [workspace.lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(madsim)'] }