December 3, 2022 Product Announcement Developers Urban Malc
KumuluzEE Java EE Microservices

KumuluzEE JCache 2.0.0 released

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

Note: This release of KumuluzEE Config MP requires the KumuluzEE 4.0 or higher in order to work correctly. Consequently, Java 11 or higher is also required.

Check out the release on GitHub: KumuluzEE JCache v2.0.0

Subscribe to our mailing list

Subscribe to our mailing list to get the latest news and updates.