Skip to content

cachekit-rs: v0.7.0

Choose a tag to compare

@cachekit-release-bot cachekit-release-bot released this 07 Aug 01:39
Immutable release. Only release title and notes can be modified.
bde5097

0.7.0 (2026-08-07)

⚠ BREAKING CHANGES

  • the public module cachekit::key (and cachekit::key::generate_cache_key) is removed. It was never protocol-conformant and had no supported use. For cross-SDK, spec-conformant keys use the interop/v1 keygen (interop_key(), arriving with cachekit-rs#33 / LAB-246). The #[cachekit] macro's derived keys are unchanged.

Features

  • #[cachekit] mints interop/v1 keys — retire legacy non-conformant keygen (LAB-424) (#35) (ff1d490)
  • backend: add Memcached and File backends (LAB-429) (#44) (3afe8e7)
  • backend: Redis lock + Workers lock/TTL capability parity (LAB-426) (#37) (f6cf7b7)
  • CachekitIO backend full parity — session, metrics, SSRF, errors, locking, TTL (88f1344)
  • CachekitIO backend full parity (session, metrics, SSRF, locking, TTL) (b8bc4bb)
  • implement #[cachekit] proc-macro and Workers backend (7ae2f05)
  • implement Backend and TtlInspectable traits with wasm32 support (fa8e612)
  • implement Blake2b-256 cache key generation (0bb1df0)
  • implement CacheKit client with L1 cache and builder pattern (5fb63e7)
  • implement CachekitConfig with builder and env parsing (8caad1d)
  • implement CachekitIO HTTP backend for native targets (556d935)
  • implement error types with HTTP status mapping (219e737)
  • implement L1 in-memory cache with per-entry TTL via moka Expiry (c458f6c)
  • implement MessagePack serializer (e97cd82)
  • implement Redis backend with TtlInspectable support (4777e3a)
  • implement zero-knowledge encryption layer with AAD v0x03 (3ced335)
  • intent-based cache API (#19) (e86172b)
  • interop mode (interop/v1) — first in-SDK keygen + Rust vector verification [LAB-246] (#33) (188c170)
  • l1: LAB-728 stale-while-revalidate — serve stale + single-flight background refresh (#47) (068b84a)
  • reliability: retry, circuit breaker, graceful degradation, single-flight (LAB-518) (#43) (e9b9a1e)
  • unsync feature flag for ?Send contexts (#16) (c52c3f2)

Bug Fixes

  • l1: guard LAB-728 SWR refresh commits (#48) (e31109b)
  • reliability: clamp max_concurrent to Semaphore::MAX_PERMITS; add ReliabilityConfig::disabled() (LAB-729) (#50) (d851797)
  • resolve critical issues from expert panel review (41d2189)
  • serialize config env var tests to prevent race condition (79a1359)
  • use snake_case wire names for lock acquire request/response (#34) (40b7277)
  • wasm32-safe session clock + wasm32 runtime CI tests (LAB-1079) (#60) (1394a37)

Security

  • send lock_id via X-CacheKit-Lock-Id header, not query string (#24) (#29) (f381e41)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • cachekit-macros bumped from 0.6.1 to 0.7.0