From 4883c519f82b2330006f939727fa5b1fe0972d1f Mon Sep 17 00:00:00 2001 From: MrCroxx Date: Mon, 2 Dec 2024 17:11:55 +0800 Subject: [PATCH] chore: release foyer v0.13.0 Signed-off-by: MrCroxx --- CHANGELOG.md | 17 +++++++++++++++-- Cargo.toml | 10 +++++----- README.md | 4 ++-- 3 files changed, 22 insertions(+), 9 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