From 54893fe6d45232f671a51a24d6f746521c3f0af8 Mon Sep 17 00:00:00 2001 From: Croxx Date: Mon, 2 Dec 2024 18:27:10 +0800 Subject: [PATCH] chore: release foyer v0.13.0 (#811) * chore: release foyer v0.13.0 Signed-off-by: MrCroxx * chore: upgrade intrusive-collections dep Signed-off-by: MrCroxx --------- Signed-off-by: MrCroxx --- CHANGELOG.md | 17 +++++++++++++++-- Cargo.toml | 10 +++++----- README.md | 4 ++-- foyer-memory/Cargo.toml | 2 +- 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 448e5470..2da35b5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,17 @@ date: 2023-05-12T11:02:09+08:00 -## Unreleased +## 2024-12-02 + +### Releases + +| crate | version | +| - | - | +| foyer | 0.13.0 | +| foyer-common | 0.13.0 | +| foyer-memory | 0.13.0 | +| foyer-storage | 0.13.0 | +| foyer-bench | 0.13.0 | ### Changes @@ -18,6 +28,9 @@ date: 2023-05-12T11:02:09+08:00 - Make most `Eviction` APIs safe, only acquire unsafe Rust while accessing algorithm managed per-entry state with `UnsafeCell`. - Replace the "reinsertion" design with `release` with real "release last ref" design. - Rename some APIs. +- Refine metrics framework: + - Replace `metrics` with customized metrics framework to support various metrics backend. + - Implement built-in metrics exporter that adapts to crate `prometheus`/`prometheus-client`/`opentelemetry`. ## 2024-10-11 @@ -25,7 +38,7 @@ date: 2023-05-12T11:02:09+08:00 | crate | version | | - | - | -| foyer | 0.12.2| +| foyer | 0.12.2 | | foyer-common | 0.12.2 | | foyer-intrusive | 0.12.2 | | foyer-memory | 0.12.2 | diff --git a/Cargo.toml b/Cargo.toml index f7f2bb30..409bf5e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ ] [workspace.package] -version = "0.13.0-dev" +version = "0.13.0" edition = "2021" rust-version = "1.81.0" repository = "https://github.com/foyer-rs/foyer" @@ -53,10 +53,10 @@ opentelemetry_0_26 = { package = "opentelemetry", version = "0.26" } prometheus-client_0_22 = { package = "prometheus-client", version = "0.22" } # foyer components -foyer-common = { version = "0.13.0-dev", path = "foyer-common" } -foyer-memory = { version = "0.13.0-dev", path = "foyer-memory" } -foyer-storage = { version = "0.13.0-dev", path = "foyer-storage" } -foyer = { version = "0.13.0-dev", path = "foyer" } +foyer-common = { version = "0.13.0", path = "foyer-common" } +foyer-memory = { version = "0.13.0", path = "foyer-memory" } +foyer-storage = { version = "0.13.0", path = "foyer-storage" } +foyer = { version = "0.13.0", path = "foyer" } [workspace.lints.rust] missing_docs = "warn" diff --git a/README.md b/README.md index 5d9cbabd..5d8e596e 100644 --- a/README.md +++ b/README.md @@ -64,13 +64,13 @@ Feel free to open a PR and add your projects here: To use *foyer* in your project, add this line to the `dependencies` section of `Cargo.toml`. ```toml -foyer = "0.12" +foyer = "0.13" ``` If your project is using the nightly rust toolchain, the `nightly` feature needs to be enabled. ```toml -foyer = { version = "0.12", features = ["nightly"] } +foyer = { version = "0.13", features = ["nightly"] } ``` ### Out-of-the-box In-memory Cache diff --git a/foyer-memory/Cargo.toml b/foyer-memory/Cargo.toml index 9991508d..35d3e6ff 100644 --- a/foyer-memory/Cargo.toml +++ b/foyer-memory/Cargo.toml @@ -21,7 +21,7 @@ fastrace = { workspace = true } foyer-common = { workspace = true } futures = "0.3" hashbrown = { workspace = true } -intrusive-collections = { git = "https://github.com/foyer-rs/intrusive-rs", rev = "94cfac4701dbc0033b7bc27e31c46bf3a12d96d7" } +intrusive-collections = { package = "foyer-intrusive-collections", version = "0.10.0-dev" } itertools = { workspace = true } parking_lot = { workspace = true } paste = "1"