Skip to content

Releases: ben-manes/caffeine

2.6.2

22 Feb 03:18
Compare
Choose a tag to compare

Cache

  • Changed the default initialCapacity to match ConcurrentHashMap's from 0 to 16 (#218)
  • Fixed variable expiration's duration calculation overflowing due to timestamp race (#217)
  • Avoiding method handles due to memory leak caused by JDK-8174749 (#222)
  • Promote using java.time.Duration instead of long, TimeUnit pair (#221)
  • Improved Guava compatibility for bulk get iteration order (#220)

2.6.1

28 Dec 02:27
Compare
Choose a tag to compare

Cache

  • Fixed null value being propagated to callbacks on null result of a CompletableFuture (#206)
  • Improved emulation of synchronous computations in AsyncLoadingCache asMap() view
  • Added Automatic-Module-Name manifest entry for Java 9 modularity (#211)
  • Significantly reduced the jar size due to code generation bloat (#110)
  • Fixed futures not expiring due to stale read of the time (#212)

JCache

  • Fixed Cache invoke() not notifying the writer when the entry was loaded and modified (#210)
  • Upgraded to specification version 1.1.0

ACM's Transaction on Storage has published our paper on TinyLFU! To download the paper legally without the paywall, please use the authorizer link in the project's readme.

2.6.0

01 Nov 08:37
Compare
Choose a tag to compare

Cache

  • Added put methods to Policy.VarExpiration that specify the entry's expiration time (#163)
  • Fixed early expiration due to long computations and a stale read of the time (#191)

JCache

  • Fixed cache not being created from the external configuration properly (#194)
  • Passes 1.1 preview TCK except for backwards incompatible 1.0 TCK tests

2.5.6

23 Sep 00:08
Compare
Choose a tag to compare

JCache

  • Fixed invoke on an expired entry when a CacheLoader is used (#187)

2.5.5

16 Aug 21:16
Compare
Choose a tag to compare

2.5.4

04 Aug 22:22
Compare
Choose a tag to compare
  • Disallow subsequent refreshing of an entry when waiting for a slow reload (#175)

2.5.3

09 Jul 04:29
Compare
Choose a tag to compare

Cache

  • Fixed weak key held strongly by weak/soft value reference (#167)

JCache

  • Improved configuration layering rules (#171)

2.5.2

29 May 04:25
Compare
Choose a tag to compare
  • Fixed variable expiration with async cache (#159)

2.5.1

22 May 06:28
Compare
Choose a tag to compare

JCache

  • Fixed access expiration calculated with the wrong time unit (#158)

2.5.0

08 May 05:40
Compare
Choose a tag to compare