Skip to content

v2.5.0

Compare
Choose a tag to compare
@bitfaster bitfaster released this 09 May 02:02
· 69 commits to main since this release
1621b21

What's changed

  • Provide time-based expiry for ConcurrentLfu, matching ConcurrentLru. This closely follows the implementation in Java's Caffeine, using a port of Caffeine's hierarchical timer wheel to perform all operations in O(1) time. Expire after write, expire after access and expire after using IExpiryCalculator can be configured via ConcurrentLfuBuilder extension methods.
  • Provide ICacheExt and IAsyncCacheExt to enable client code compiled against .NET Standard to use the builder APIs and cache methods added since v2.0. These new methods are excluded in the base interfaces for .NET Standard, since adding them would be a breaking change.
  • Provide the Duration convenience methods FromHours and FromDays.

Full changelog: v2.4.1...v2.5.0