HydraCache 0.30.0
HydraCache 0.30.0
Status: published.
0.30.0 focuses on production cluster readiness. The release keeps the local
cache and database result-cache APIs as the stable core while making the cluster
surface safer to evaluate in staging.
Highlights
- Added optional token/header authentication for HTTP peer-fetch and owner-load
routes. - Added HTTP wire-version headers and compatibility checks.
- Added a raft metadata storage trait with an in-memory implementation for tests
and demos. - Added post-publish consumer checks for public cluster crates.
- Added a production-readiness boundary document for stable, staging-ready, and
experimental surfaces. - Updated README and crate README examples for the new cluster hardening APIs.
Intended Shape
use hydracache_cluster_transport_axum::{
HttpTransportAuth, HttpWireCompatibility,
};
let auth = HttpTransportAuth::bearer("staging-token");
let wire = HttpWireCompatibility::strict_current();
assert_eq!(wire.wire_version(), 1);
assert!(wire.requires_header());
assert_eq!(auth.header_name(), "authorization");See
the 0.30.0 plan
for the implementation checklist.
Verification
Focused checks:
cargo test -p hydracache-cluster-transport-axum --locked auth
cargo test -p hydracache-cluster-transport-axum --locked wire
cargo test -p hydracache-cluster-raft --locked metadata_store
cargo test --doc -p hydracache-cluster-transport-axum --locked
cargo test --doc -p hydracache-cluster-raft --locked
.\scripts\verify-crates-io-consumer.ps1 -Version 0.30.0 -LocalPath . -WorkDir target\consumer-check-0.30.0-localFull release gate completed locally on 2026-06-12:
cargo fmt --all -- --check
cargo check --workspace --all-targets --locked
cargo test --workspace --locked
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --doc --workspace --locked
$env:RUSTDOCFLAGS='-D warnings'; cargo doc --workspace --no-deps --lockedAfter publication:
.\scripts\verify-crates-io-consumer.ps1 -Version 0.30.0Published packages:
hydracache-core 0.30.0hydracache-macros 0.30.0hydracache 0.30.0hydracache-cluster-chitchat 0.30.0hydracache-cluster-raft 0.30.0hydracache-cluster 0.30.0hydracache-cluster-transport-axum 0.30.0hydracache-observability 0.30.0hydracache-actuator-axum 0.30.0hydracache-db 0.30.0hydracache-sqlx 0.30.0
Post-publish external consumer verification passed against crates.io on
2026-06-12.