Skip to content

Releases: juanjsebgarcia/faas-cache-dict

v0.5.0

12 Jan 14:16
0ab24d6
Compare
Choose a tag to compare
  • 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

v0.4.0

12 Jan 13:16
d2cc62f
Compare
Choose a tag to compare
  • 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.

v0.3.1

12 Jan 12:43
709a473
Compare
Choose a tag to compare
  • Addresses severe bug when using new deletion hook functionality and improves the performance of the LRU logic

v0.3.0

12 Jan 11:02
fc2ea22
Compare
Choose a tag to compare
  • 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

v0.2.8

12 Jan 09:52
2d11e21
Compare
Choose a tag to compare
  • 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

27 Apr 10:20
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release

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

25 Apr 12:42
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release

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

22 Apr 17:11
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Included

  • Fix set_ttl() should be able to make a value immortal by passing None
  • 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

22 Apr 17:08
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

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

15 Feb 14:05
Compare
Choose a tag to compare
v0.1.3 Pre-release
Pre-release

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.