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. Introduced ExpiryTimeValues.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 the expireAfterWrite duration, if specified