Releases: devbijay/Fast-Cache
Releases · devbijay/Fast-Cache
v0.2.0
New Features
- Distributed cache stampede protection via Redis locking
- Python 3.14 support
Bug Fixes
- Fix infinite loop in
InMemoryBackendcleanup 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
Nonereturn values — uses sentinel value instead ofNonecheck - Fix
AttributeErrorafterInMemoryBackend.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
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
Release v0.1.3
Added v0.1.3
- Google FireStoreBackend:
- PostgreBackend Auto Cleanup Of TT Expired Items
- Other Minor Improvements
Fixed:
- Auto Cleanup Logic
🚀 Release v0.1.2
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
Full Changelog: 0.1.0...0.1.1
0.1.0
Full Changelog: https://github.com/devbijay/Fast-Cache/commits/0.1.0