Skip to content

HydraCache 0.30.0

Choose a tag to compare

@github-actions github-actions released this 13 Jul 16:04
· 1424 commits to main since this release

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-local

Full 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 --locked

After publication:

.\scripts\verify-crates-io-consumer.ps1 -Version 0.30.0

Published packages:

  • hydracache-core 0.30.0
  • hydracache-macros 0.30.0
  • hydracache 0.30.0
  • hydracache-cluster-chitchat 0.30.0
  • hydracache-cluster-raft 0.30.0
  • hydracache-cluster 0.30.0
  • hydracache-cluster-transport-axum 0.30.0
  • hydracache-observability 0.30.0
  • hydracache-actuator-axum 0.30.0
  • hydracache-db 0.30.0
  • hydracache-sqlx 0.30.0

Post-publish external consumer verification passed against crates.io on
2026-06-12.