From 4428be59f1867c712d7f4042f89a4514d3bf6735 Mon Sep 17 00:00:00 2001 From: leiysky Date: Mon, 21 Sep 2026 14:56:23 +0800 Subject: [PATCH] chore: release cache2 0.6.0 Cut 0.6.0 for the stats rename, fill control, I/O recovery, and io_uring unavailable-source changes since 0.5.0. --- CHANGELOG.md | 2 ++ Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- cache2/Cargo.toml | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bf1cd8..ec75180 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.6.0 (2026-09-21) + ### Breaking Changes - All optional statistics now use `RuntimeOptions::stats`: replace `runtime.statistics` with `runtime.stats.activity_counters` and `CacheSnapshot::statistics_enabled` with `activity_counters_enabled`. Activity counters, terminal request counters, and latency collection remain independent and disabled by default; counter semantics and the on-disk format are unchanged. See [the configuration migration guide](CONFIGURATION.md#migrating-from-05). diff --git a/Cargo.lock b/Cargo.lock index e3534d2..08fcf50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -90,7 +90,7 @@ checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" [[package]] name = "cache2" -version = "0.5.0" +version = "0.6.0" dependencies = [ "asyncband", "crc-fast", diff --git a/Cargo.toml b/Cargo.toml index 644b5ae..f783d74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ rust-version = "1.98" [workspace.dependencies] # Workspace crates -cache2 = { path = "cache2", version = "0.5.0" } +cache2 = { path = "cache2", version = "0.6.0" } # Crates.io dependencies asyncband = { version = "0.7.1", features = ["barrier", "semaphore", "watch"] } diff --git a/README.md b/README.md index 6d95455..8ae2ec9 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ The default `ReadAdmission::Immediate` returns a miss under read-engine or buffe Buffered POSIX I/O is the production path. Direct I/O is an explicit Linux mode. io_uring requires the `io-uring` crate feature on a supported Linux target and remains experimental. Keep one ring per pool; set `read.max_in_flight` to concurrent L2 gets, and leave write and reclaim at their defaults. Extra rings split the same depth across driver threads and do not add slots. ```toml -cache2 = { version = "0.5", features = ["io-uring"] } +cache2 = { version = "0.6", features = ["io-uring"] } ``` ```rust diff --git a/cache2/Cargo.toml b/cache2/Cargo.toml index bcbbbad..33e3977 100644 --- a/cache2/Cargo.toml +++ b/cache2/Cargo.toml @@ -18,7 +18,7 @@ description = "Performance-first bounded RAM and NVMe hybrid cache" documentation = "https://docs.rs/cache2" keywords = ["cache", "nvme", "storage"] name = "cache2" -version = "0.5.0" +version = "0.6.0" edition.workspace = true license.workspace = true