All Versions
27
Latest Version
Avg Release Cycle
24 days
Latest Release
1319 days ago

Changelog History
Page 2

  • v1.3.8.Beta Changes

    September 10, 2020

    ๐Ÿš€ This is a preview release for evaluation purposes and should not be used in production.

    ๐Ÿ†• New and Noteworthy

    • Stabilizing new features

    Possible Breakages

    • 0๏ธโƒฃ A created SpringCache2kCacheManager binds to the cache2k cache manager springDefault
      0๏ธโƒฃ instead to default.

    API Changes

    • N/A

    ๐Ÿ›  Fixes and Improvements

    • 0๏ธโƒฃ Micrometer support: don't register to any registry by default
    • Clarify semantics of current entry for AdvancedCacheLoader and AsyncCacheLoader
  • v1.3.7.Beta Changes

    August 30, 2020

    ๐Ÿš€ This is a preview release for evaluation purposes and should not be used in production.

    ๐Ÿ†• New and Noteworthy

    • Stabilizing new features

    Possible Breakages

    • N/A

    API Changes

    • N/A

    ๐Ÿ›  Fixes and Improvements

    • ๐Ÿ›  Fix corrupted JSON file for GraalVM native image build in last release
  • v1.3.6.Beta Changes

    August 30, 2020

    ๐Ÿš€ This is a preview release for evaluation purposes and should not be used in production.

    ๐Ÿ†• New and Noteworthy

    • Stabilizing new features

    Possible Breakages

    • N/A

    API Changes

    • N/A

    ๐Ÿ›  Fixes and Improvements

    • ๐Ÿ‘Œ Improved GraalVM native image support, no extra configuration needed, #152
    • Correct wrong EntryProcessor behavior introduced during version 1.3.x
  • v1.3.5.Beta Changes

    August 29, 2020

    ๐Ÿš€ This is a preview release for evaluation purposes and should not be used in production.

    ๐Ÿ†• New and Noteworthy

    • Stabilizing new features

    Possible Breakages

    • N/A

    API Changes

    • N/A

    ๐Ÿ›  Fixes and Improvements

    • โšก๏ธ Update Clock-Pro hot and ghost area sizes correctly when capacity is changed
    • ๐Ÿ”ง Experimental support for GraalVM: Add switches to disable XML configuration and JMX support, with:
      ๐Ÿ‘€ -Dorg.cache2k.impl.serverSide.JmxSupport.Tunable.enable=off -Dorg.cache2k.core.Cache2kCoreProviderImpl.Tunable.enableExternalConfiguration=off, see #152
  • v1.3.4.Beta Changes

    August 25, 2020

    ๐Ÿš€ This is a preview release for evaluation purposes and should not be used in production.

    ๐Ÿ†• New and Noteworthy

    • Stabilizing new features

    Possible Breakages

    • ๐Ÿ”„ changed Weigher return type, see below
    API Changes
    • ๐Ÿ—„ deprecated AbstractCacheEntry
    • Weigher result type is int not long, the weigher is new in 1.3/1.4, so this is not breaking
      code running on cache2k 1.2.x

    ๐Ÿ›  Fixes and Improvements

    • โœ… More tests and fixes with Weigher
    • ๐Ÿ–จ CacheEntry.toString output does not call toString on the value and print hashCode instead
    • doc clarifications
    • ๐Ÿ’… Code style improvements
  • v1.3.3.Alpha Changes

    August 17, 2020

    ๐Ÿš€ This is a preview release for evaluation purposes and should not be used in production.

    ๐Ÿ†• New and Noteworthy

    • ๐Ÿ‘ micrometer support

    Possible Breakages

    API Changes

    • ๐Ÿ— deprecated builder methods: buildIntCache and buildLongCache

    ๐Ÿ›  Fixes and Improvements

    • ๐Ÿ‘Œ Support for new cache methods from Spring Framework 5.2
    • doc clarifications and improvements
    • 0๏ธโƒฃ SpringCache2kCacheManager.setAllowUnknownCache is true by default, to minimize initial setup
    • Online resize of caches
  • v1.3.2.Alpha Changes

    August 07, 2020

    ๐Ÿš€ This is a preview release for evaluation purposes and should not be used in production.

    ๐Ÿ†• New and Noteworthy

    • ๐Ÿ”€ Synchronous execution of expiry listener

    Possible Breakages

    ๐Ÿ”€ Cache2kBuilder.addListener will execute an EntryExpiredLister synchronously. In version
    1.2 an expiry listener was always executed asynchronously. This is an potentially incompatible
    ๐Ÿ”„ change, in case expiry listeners are used. Review the existing client code and
    ๐Ÿ‘‰ make sure that addAsyncListeners is used for an EntryExpiredLister if that is wanted.

    API Changes

    • ๐Ÿ—„ Deprecated IntCache and LongCache

    ๐Ÿ›  Fixes and Improvements

    • โช Revert deprecation of ExceptionPropagator introduced in version 1.3.1
    • Internal: Improvement and simplification of ExceptionPropagator handling
    • ๐Ÿ›  fix missing expiry listener call after a created listener call, in case expiry during the insert
    • expiry, expireAfterWrite, refresAhead: Fix race condition of a Cache.put and the
      termination of the probation period after a refresh.
    • Cache.invoke / EntryProcessor: Internal improvements when using listeners: avoid unnecessary entry reads
    • ๐Ÿšš race of refresh and delete: if an entry is deleted via Cache.remove it was not
      reappearing when refreshed concurrently
    • internal cleanup: use common code for refresh in different cache variants
    • eviction efficiency fix for a few special short traces
  • v1.3.1.Alpha Changes

    August 26, 2019

    ๐Ÿ†• New and Noteworthy

    • AsyncCacheLoader, eviction listener and eviction improvements

    API Changes

    ๐Ÿ†• New methods:

    • 0๏ธโƒฃ CacheManager.STANDARD_DEFAULT_MANAGER_NAME
    • CacheInfoMXBean.isWeigherPresent()
    • CacheInfoMXBean.isLoaderPresent()
    • CacheInfoMXBean.getCurrentWeight()
    • CacheInfoMXBean.getMaximumWeight()
    • Cache.getStatistics()

    ๐Ÿ†• New interface:

    • AsyncCacheLoader

    ๐Ÿ›  Fixes and Improvements

    • โœ‚ Remove randomized hash seed and simplify the "rehashing" of hash codes identical to Java
      HashMap and ConcurrentHashMap
    • ๐Ÿ›  Fix CacheManager.setDefaultName, see GH#108
    • Async Cacheloader GH#93
    • CacheEntryEvictionListener added, GH#59
    • ๐Ÿ”ฆ Expose cache statistics via Cache.getStatistics()
    • ๐Ÿ‘€ Eviction: Efficiency improvements, see comment: #101 (comment)
    • ๐Ÿ”€ Expiry listener supports synchronous operation
  • v1.2.4.Final Changes

    September 04, 2019

    ๐Ÿ›  This is a bugfix / service release.

    ๐Ÿ”„ Changes

    • 0๏ธโƒฃ Silently ignore when no default manager name is set via JNDI, GH#130

    Using this cache2k version

    The binaries are available on maven central.

    For Java SE/EE and Android environments

    For Maven users:

        <dependency>
          <groupId>org.cache2k</groupId>
          <artifactId>cache2k-base-pom</artifactId>
          <version>1.2.4.Final</version>
          <type>pom</type>
        </dependency>
    

    Recommended for Gradle users:

    def cache2kVersion = '1.2.4.Final'
    
    dependencies {
        implementation "org.cache2k:cache2k-api:${cache2kVersion}"
        runtimeOnly "org.cache2k:cache2k-core:${cache2kVersion}"
    }
    

    Note to Android users: The included jar files contain code that might only be needed in server environments (e.g. JMX support).
    โœ… It is possible to strip unnecessary code. Example ProGuard rules can be found at Andriod - cache2k User Guide

    Using the JCache / JSR107 provider

    Maven users include the cache2k JCache provider this way:

        <dependency>
          <groupId>org.cache2k</groupId>
          <artifactId>cache2k-jcache</artifactId>
          <version>1.2.4.Final</version>
          <scope>runtime</scope>
        </dependency>
    

    For Gradle users:

    dependencies {
        runtimeOnly "org.cache2k:cache2k-jcache:1.2.4.Final"
    }
    

    ๐Ÿ”ง Implementation details, tuning tips and hints on configuration can be found at: JCache - cache2k User Guide

  • v1.2.3.Final Changes

    August 08, 2019

    ๐ŸŽ cache2k is a high performance and light weight in-process caching library. Compared to other libraries
    (EHCache, Guava and Caffeine) it achieves the highest throughput for cache hits while still providing
    one of the best eviction efficiency. Advanced features of cache2k, like refresh ahead and resilience
    can solve typical application problems with ease.

    ๐Ÿ›  This is a bugfix / service release.

    ๐ŸŒฒ This change log lists changes since the last version 1.2.2.Final.

    ๐Ÿ”„ Changes

    • ๐Ÿ›  Fix startup problem on Android when ProGuard is not used, [GH#102](mvn -Psonatype-oss-release -DskipTests -DgitSha1=$sha1 -DgitBranch=$branch nexus-staging:release
      #102)

    Using this cache2k version

    The binaries are available on maven central.

    For Java SE/EE and Android environments

    For Maven users:

        <dependency>
          <groupId>org.cache2k</groupId>
          <artifactId>cache2k-base-pom</artifactId>
          <version>1.2.3.Final</version>
          <type>pom</type>
        </dependency>
    

    Recommended for Gradle users:

    def cache2kVersion = '1.2.3.Final'
    
    dependencies {
        implementation "org.cache2k:cache2k-api:${cache2kVersion}"
        runtimeOnly "org.cache2k:cache2k-core:${cache2kVersion}"
    }
    

    Note to Android users: The included jar files contain code that might only be needed in server environments (e.g. JMX support).
    โœ… It is possible to strip unnecessary code. Example ProGuard rules can be found at Andriod - cache2k User Guide

    Using the JCache / JSR107 provider

    Maven users include the cache2k JCache provider this way:

        <dependency>
          <groupId>org.cache2k</groupId>
          <artifactId>cache2k-jcache</artifactId>
          <version>1.2.3.Final</version>
          <scope>runtime</scope>
        </dependency>
    

    For Gradle users:

    dependencies {
        runtimeOnly "org.cache2k:cache2k-jcache:1.2.3.Final"
    }
    

    ๐Ÿ”ง Implementation details, tuning tips and hints on configuration can be found at: JCache - cache2k User Guide