Releases: juanjsebgarcia/faas-cache-dict
v0.5.0
v0.4.0
- Change
is_expired()
logic to returnNone
if the object simply isn't known. This may mean it was previously expired but has since been internally cleaned up.
v0.3.1
- Addresses severe bug when using new deletion hook functionality and improves the performance of the LRU logic
v0.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.
v0.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.
v0.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.
v0.2.2
Included
- Add
purge()
to empty all contents of cache dict
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.
v0.2.1
Included
- Fix
set_ttl()
should be able to make a value immortal by passingNone
- Fix
is_expired()
no longer errors if the key has been purged, now returns True if missing - Add ability to change the max (LRU) length of the cache once created, purging the LRU as required.
- Add extensive new documentation
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.
v0.2.0
Included
- Add FileBackedFaaSCache
- Add support for pickling faas cache objects
- Bump minimum supported version to Python 3.8
- Fix minor docs
Todo:
- Add full documentation
This has not yet been tested in a prod environment, and as such should be considered beta software for now.
v0.1.3
Included
- Cleanup deprecated leftovers from objsize migration
Todo:
- Add full documentation
This has not yet been tested in a prod environment, and as such should be considered beta software for now.