Skip to content

v21-rc

Pre-release
Pre-release

Choose a tag to compare

@xzel23 xzel23 released this 23 Jan 05:43
b327642

Breaking Changes

  • All classes and methods that have previously been marked as deprecated for removal have been removed.
  • The I18NProvider interface has been removed; use I18N.init(basename, locale) instead, it is recommended to
    do this in a static initializer block.
  • The utility-logging, utility-logging-slf4j, and logging-utility-log4j modules have been removed. A new independent
    project, SLB4J, was started to provide an easy to use logging backend compatible with the four
    major logging facades/frameworks (JUL, JCL, SLF4J, and Log4J). SLB4J has zero runtime dependencies,
    does not introduce any runtime dependencies and works without any bridge handlers for the different
    frontends. The logging performance is comparable to and in many cases superior to Log4J and Logback.
  • The UI logging components SwingLogPane/FxLogPane and SwingLogWindow/FxLogWindow have also been moved
    to the SLB4J project (artifact slb4j-ext-swing/slb4j-ext-fx).

I18N

All JavaFX components support I18N for use in localized applications. Make sure to initialize the global
I18N instance at application start with a locale supported by your application.

Translations have been added for the following languages:

  • The official EU languages: Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French,
    German, Greek, Hungarian, Irish (Gaelic), Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian,
    Slovak, Slovenian, Spanish, Swedish.
  • The CJK languages: Chinese (simplified and traditional), Japanese, Korean
  • Arabic, Hindi, Indonesian, Russian, Thai, Turkish

Changes to the Build Process

  • It is now possible to build the library directly on Windows ARM.
  • Instead of Gradle Toolchains, the Jdkprovider Gradle plugin is used to manage JDK versions. This was necessary to
    support building on Windows ARM.
  • The versions catalogue previously defined in settings.gradle.kts has been moved to gradle/libs.versions.toml.

Other Changes

  • fix: remove --enable-native-access=javafx.graphics from native-image configuration for base project that does not use
    JavaFX
  • fix: required field message should only be shown when a required field marker is set and should contain the configured symbol
  • support changing the locale at runtime
  • add LangUtil.asUnmodifiableMap(Properties)
  • declare AbstractOptionBuilder.handler() public