Skip to content

Releases: hit-box/hitbox

hitbox v0.2.4

17 Feb 15:37
hitbox-v0.2.4
e4f9860

Choose a tag to compare

Added

  • Re-export DisabledOffload, Offload, and serde from hitbox-core — derive macros now resolve all types through hitbox:: (#252)

hitbox-fn v0.2.1

17 Feb 15:39
hitbox-fn-v0.2.1
4b929d8

Choose a tag to compare

Added

  • #[cached] functions can now be called with .await directly without cache configuration — acts as a transparent passthrough to the underlying function (#252)

hitbox-derive v0.2.1

17 Feb 15:37
hitbox-derive-v0.2.1
e5e9c75

Choose a tag to compare

Fixed

  • Derive macros now emit hitbox:: paths instead of hitbox_core:: — users no longer need hitbox-core as a direct dependency (#252)

Added

  • IntoFuture passthrough for unconfigured #[cached] functions — cached_fn(args).await works without cache configuration, calling the underlying function directly (#252)

hitbox v0.2.3

10 Feb 10:12
hitbox-v0.2.3
d9aedda

Choose a tag to compare

Fixed

  • Correct stale field documentation — it is time from cache write until entry becomes stale, not a window after TTL
  • Remove arbitrary 5s default TTL from EnabledCacheConfig — default is now None (cache indefinitely), consistent with PolicyConfigBuilder and EntityPolicyConfig

hitbox v0.2.2

09 Feb 10:56
hitbox-v0.2.2
b7b73bf

Choose a tag to compare

Fixed

  • Replace wait_all() busy-wait loop with Notify-based wakeup to avoid burning CPU (#210)
  • Use DashMap::entry() to prevent TOCTOU race in offload deduplication check (#214)
  • OffloadManager::register now enforces the max_concurrent_tasks limit (#209)

Full Changelog: hitbox-v0.2.1...hitbox-v0.2.2

hitbox-redis v0.2.1

09 Feb 11:03
hitbox-redis-v0.2.1
7448d16

Choose a tag to compare

Fixed

  • Use PEXPIRE (milliseconds) for writes to match PTTL read precision, preventing TTL truncation (#212)

Full Changelog: hitbox-redis-v0.2.0...hitbox-redis-v0.2.1

hitbox-http v0.2.1

09 Feb 11:02
hitbox-http-v0.2.1
9b76c89

Choose a tag to compare

Fixed

  • Fall back to body hash on JSON parse failure in jq extractor to avoid cache key collisions (#211)
  • Return errors instead of silent defaults in rkyv deserialization for HTTP version, status code, and headers (#213)

Full Changelog: hitbox-http-v0.2.0...hitbox-http-v0.2.1

hitbox-fn v0.2.0

09 Feb 11:01
hitbox-fn-v0.2.0
308ec03

Choose a tag to compare

Added

  • Initial release

Function memoization for the Hitbox caching framework. Provides #[cached] macro, Cache builder, Arg/Skipped/Args wrappers, KeyExtract trait, and FnExtractor/FnUpstream adapters.

Full Changelog: https://github.com/hit-box/hitbox/commits/hitbox-fn-v0.2.0

hitbox-feoxdb v0.2.1

09 Feb 11:05
hitbox-feoxdb-v0.2.1
2619c1d

Choose a tag to compare

Fixed

  • Eliminate TOCTOU race in remove by using a single atomic delete call (#216)

Full Changelog: hitbox-feoxdb-v0.2.0...hitbox-feoxdb-v0.2.1

hitbox-derive v0.2.0

09 Feb 10:55
hitbox-derive-v0.2.0
7447130

Choose a tag to compare

Added

  • #[cached] proc macro for transparent async function memoization (#203)
  • #[derive(KeyExtract)] derive macro for automatic cache key extraction from structs (#203)
  • #[derive(CacheableResponse)] derive macro for cache-aware response types with skippable fields (#203)

Full Changelog: hitbox-derive-0.1.1...hitbox-derive-v0.2.0