Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@urbim urbim released this 01 Dec 12:06
· 1 commit to master since this release

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