cache2k v1.9.3.Alpha Release Notes
Release Date: 2020-11-28 // almost 4 years ago-
๐ This is a preview release for evaluation purposes and should not be used in production.
The preview is in preparation for version 2 which will have some major breaking changes to the previous releases. The final release will be 2.0.0.Final - "North Atlantic".
๐ New and Noteworthy
- โก๏ธ Update to enhance compatibility of client code between version 1.6 with 2.0 of cache2k
API Changes / Possible Breakages
- ๐ Within alpha: Un deprecate
KeyValueSource
, that's simple and useful - โฌ๏ธ Drop
ExpiryTimeValues.NO_CACHE
.ExpiryTimeValues.NOW
which has a value of 0 means no caching, and does not start a refresh. IntroducedExpiryTimeValues.REFRESH
again, sinc logically everything between 0 (exclusive) and the current time, expires and starts a refresh, if refresh ahead is enabled. - Within alpha: Reverse hierarchy for new CacheLoaderException, which enhanced compatibility with code doing an instanceof
๐ Fixes and Improvements
- Cap suppression or caching of exceptions determined by
ResiliencePolicy
to theexpireAfterWrite
duration, if specified