Skip to content

Releases: devbijay/Fast-Cache

v0.2.0

22 Mar 19:22
79de64c

Choose a tag to compare

New Features

  • Distributed cache stampede protection via Redis locking
  • Python 3.14 support

Bug Fixes

  • Fix infinite loop in InMemoryBackend cleanup scheduler thread (#3)
  • Fix Firestore cleanup using wrong client type when batch exceeds 500 docs
  • Fix DynamoDB async resource leak in _get_async_table() — properly handles __aenter__/__aexit__
  • Fix cache decorator not caching None return values — uses sentinel value instead of None check
  • Fix AttributeError after InMemoryBackend.close() — cache is now cleared instead of destroyed
  • Fix async pool/table race condition in Postgres and DynamoDB backends using double-checked locking
  • Add warning logs to silent exception handlers in Redis, Memcached, and DynamoDB backends

Testing

  • Add concurrency tests for async initialization in Postgres and DynamoDB backends
  • Add Redis lock unit tests (acquire, release, exclusivity, auto-expiry)
  • Add Python 3.14 to tox test matrix

V0.1.5

01 Jul 16:58

Choose a tag to compare

Background Cache Cleanup with APScheduler

- The cache backends now use [APScheduler](https://apscheduler.readthedocs.io/) to manage background cleanup of expired cache entries for cache backends that does not support ttl level clearing.
- This ensures expired items are removed automatically at regular intervals, improving cache efficiency and memory usage.

Updated Tests

- Improved test coverage and stability for all supported cache backends.

V0.1.4

23 Jun 19:42

Choose a tag to compare

Added v0.1.4

  • AWS DynamoDb Backend
  • Updated tests

Release v0.1.3

20 Jun 20:42

Choose a tag to compare

Added v0.1.3

  • Google FireStoreBackend:
  • PostgreBackend Auto Cleanup Of TT Expired Items
  • Other Minor Improvements

Fixed:

  • Auto Cleanup Logic

🚀 Release v0.1.2

15 Jun 08:49
add1060

Choose a tag to compare

Added
MongoDB Backend:
Added support for MongoDB as a cache backend, including both synchronous and asynchronous operations, with automatic cache expiration using MongoDB TTL indexes.

Tests for MongoDB Backend:
Comprehensive tests have been added to ensure reliability and correctness of the new MongoDB backend.

0.1.1

13 Jun 16:54

Choose a tag to compare

Full Changelog: 0.1.0...0.1.1

0.1.0

13 Jun 16:43

Choose a tag to compare