Skip to content

Releases: kumuluz/kumuluzee-jcache

v2.0.0

01 Dec 12:06
Compare
Choose a tag to compare

Note: This version of kumuluzee-jcache requires KumuluzEE version 4.0.0 or greater. Consequently, Java 11 or higher is also required.

We are excited to announce the next major version of KumuluzEE JCache - 2.0.0. This release adds support for the newest KumuluzEE version 4 and adds support for Java 17 LTS and Java 18.

This release also uses the new configuration prefix kumuluzee.jcache.caffeine.caches instead of kumuluzee.jcache.caffeine.caffeine.jcache and adds support for the entire configuration framework instead only yaml files, including overriding properties from ENV variables.

An example of migration to the new configuration prefix:

Old:

kumuluzee:
  jcache:
    caffeine:
      caffeine.jcache:
        default:
          policy:
            maximum:
              size: 10000
        exampleCache:
          policy:
            eager-expiration:
              after-write: "1s"

New:

kumuluzee:
  jcache:
    caffeine:
      caches:
        default:
          policy:
            maximum:
              size: 10000
        exampleCache:
          policy:
            eager-expiration:
              after-write: "1s"

Since the support for Java 1.8 is dropped by KumuluzEE 4.0.0, the KumuluzEE JCache 2.0.0 also drops support for Java 1.8.

Features

  • Added support for KumuluzEE 4.0.0 and above
  • Added support for Java 17 LTS and Java 18

Bugs

  • Fixed initialization from configuration - do not rely on a bug in core, instead use getMapKeys/getListSize
  • Fixed initialization from configuration - use the whole configuration framework instead of only yaml files

v1.0.0

29 Jan 13:24
Compare
Choose a tag to compare

We are releasing the first version of KumuluzEE JCache. It allows usage of JCache annotations and JCache programmatic API in your KumuluzEE applications. Currently used JCache implementation is Caffeine.

To start using the extension, simply add the following dependency to your application:

<dependency>
    <groupId>com.kumuluz.ee.jcache</groupId>
    <artifactId>kumuluzee-jcache-caffeine</artifactId>
    <version>1.0.0</version>
</dependency>

A sample showcasing the provided features is available on GitHub.

We are excited to bring this extension into your hands!