Skip to content

Hermes 2.3.0 - Java 17 and Spring Boot 2.7.7

Compare
Choose a tag to compare
@moscicky moscicky released this 26 Jun 12:19
· 208 commits to master since this release
8bbd3f4

From this version Hermes now runs on Java 17, using Spring Boot 2.7.7. Also gradle was bumpped to version 7.6.

Changes

Transitive dependencies

Many dependencies are now hidden by default (implementation instead of compile), this can cause missing dependencies issues if you are using one of hermes libraries in your project. If you thinks some dependency should be transitive, please submit an issue.

New parameters required when running frontend with persistent buffers

If you are using frontend with persistent buffers, you need to include the following parameters when running the frontend application:

        --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
        --add-exports=java.base/sun.nio.ch=ALL-UNNAMED
        --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
        --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
        --add-opens=jdk.compiler/com.sun.tools.javac=ALL-UNNAMED
        --add-opens=java.base/java.lang=ALL-UNNAMED
        --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
        --add-opens=java.base/java.io=ALL-UNNAMED
        --add-opens=java.base/java.util=ALL-UNNAMED

These parameters are required for ChronicleMap which hermes uses as persistent buffer, see: https://chronicle.software/chronicle-support-java-17/

What's Changed

Enhancements

Bugfixes

  • Fix java 17 and spring-boot 2.7.7 migration bugs by @moscicky in #1685

Full Changelog: hermes-2.2.13...hermes-2.3.0