Skip to content

Releases: mgnsk/evcache

v4.0.5

06 Jun 09:44
925fb2f

Choose a tag to compare

v4.0.4

02 Apr 07:39
df5761e

Choose a tag to compare

Full Changelog: v4.0.3...v4.0.4

  • Moves the list into this repository
  • Fixes bug with LFU eviction policy. When loading the most frequently used record, the list turned over and the element was moved to the beginning. This happened due to the naive ringlist semantics. The list has been refactored to behave like a standard container/list would, meaning that the ringlist semantics are not exposed to users.
  • Improved test for Go GC.
  • Added test for map shrink.

v4.0.3

17 Jan 14:49
d5be616

Choose a tag to compare

What's Changed

  • fix: Typo in FIFO comment by @sinukaarel in #38
  • Improve documentation.
  • Add new benchmarks.
  • Upgrade the ringlist package.

New Contributors

Full Changelog: v4.0.2...v4.0.3

v4.0.2

22 Dec 21:54
fa02789

Choose a tag to compare

Full Changelog: v4.0.1...v4.0.2

  • Internals cleanup and testing improvements.

v4.0.1

17 Sep 19:28
cdc21b8

Choose a tag to compare

Full Changelog: v4.0.0...v4.0.1

  • Removes the Keys() method. Only indeterministic Range() method is available.

v4.0.0

09 Aug 07:50
8d856f7

Choose a tag to compare

What's Changed

  • Implement LFU and LRU eviction policies by @mgnsk in #36
  • Implement evcache v4 by @mgnsk in #37

Full Changelog: v3.1.14...v4.0.0

v3.1.14

06 Nov 14:48
e279075

Choose a tag to compare

Full Changelog: v3.1.13...v3.1.14

  • Internal cleanup of record initialization logic.

v3.1.13

29 Oct 14:18
b25883b

Choose a tag to compare

Full Changelog: v3.1.12...v3.1.13

  • backend: Use non-atomic bool for record initialized state since this is always accessed while holding a lock anyway.
  • Drop ginkgo dependency. The cache now has no external dependencies, except for github.com/mgnsk/ringlist which itself has no dependencies.

v3.1.12

16 Oct 18:05
b8db083

Choose a tag to compare

Full Changelog: v3.1.11...v3.1.12

v3.1.11

09 Oct 12:25
763d3d3

Choose a tag to compare

Full Changelog: v3.1.10...v3.1.11

  • Functionally same as previous release; implements proper test for infinite capacity cache shrink realloc.