- Added `.delete_oldest_item()` (LRU) - Deletion now raises `KeyError` if key not known - Deleting the oldest item now first acquires the lock - Doc string improvements and minor refactor
0.4.0
- Change `is_expired()` logic to return `None` if the object simply isn't known. This may mean it was previously expired but has since been internally cleaned up.
0.3.1
- Addresses severe bug when using new deletion hook functionality and improves the performance of the LRU logic
0.3.0
- Adds a lifecycle hook `on_delete_callable` which allows objects being dropped from the faas cache dict to have user actions performed on them.
⚠️ This version was yanked due to a severe bug, please use 0.3.1
0.2.8
- Bumps all project dependencies - Runs PSF black against code
NOTE: All missing interim releases contain non-documented **ALPHA** code for a `FileBackedFaaSCache` system. This is seperate to `FaasCacheDict` and is certainly not production ready. There should be no breaking changes to the main functionality as described in the docs at this time.
0.2.3
Included - Fix min version installable on Py 3.8 + (due to pickle protocol versioning)
Todo: - Discover better documents solution
This has not yet been tested in a prod environment, and as such should be considered beta software for now.