Skip to content

Releases: Turall/cache-house

v1.0.1

26 Dec 06:22

Choose a tag to compare

Handle Redis Connection Error, Timeout Error more accurately

v1.0.0

27 Nov 12:10

Choose a tag to compare

  • 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.

RELEASE

05 Feb 17:25

Choose a tag to compare

v0.2.2

fix scan iter for clear_keys method

RELEASE

06 Jan 10:38

Choose a tag to compare

v0.1.8

add FastAPI example to README file

RELEASE

06 Jan 08:35

Choose a tag to compare

update README and add custom encoders to cache decorator

fix crashing when can not connect Redis server