Releases: Turall/cache-house
Releases · Turall/cache-house
v1.0.1
v1.0.0
- Auto cluster detection: RedisFactory.init now auto-detects Redis Cluster (via CLUSTER INFO) and chooses RedisClusterCache or RedisCache automatically, with options to force either mode.
- Graceful Redis failures: All Redis operations catch connection errors and, when fallback_to_memory=True, use an in-memory cache instead of crashing or failing.
- Better key builder: Default key_builder now normalizes self, so caching class methods works correctly and reuses the same key.
- Specific exceptions: Introduced CacheHouseError and RedisNotInitialized; RedisCache.get_instance() now raises RedisNotInitialized instead of a generic Exception (with a backward-compatible alias).
- Logging & docs: Added configurable log level (CACHE_HOUSE_LOG_LEVEL), improved FastAPI and web API examples, and expanded README with namespaces, key builder, and error-handling best practices.