Release notes

1.5.0

Release date

2024-08-03

This release contains improvements to Kotlin coroutine integration.

Added

  • Add convenience functions for managing logging context in coroutines (65)

Changed

Updated

  • Update org.apache.logging.log4j:log4j-bom to version 2.23.1 (70)

1.4.0

Release date

2023-12-18

This minor release fixes incorrect coroutine context map and stack.

Added

  • Started generating CycloneDX SBOM with the recent update of logging-parent to version 10.2.0

Changed

  • Coroutine context is not cleared properly, only appended to (54)

  • Update org.apache.logging:logging-parent to version 10.2.0

  • Update org.apache.logging.log4j:log4j-bom to version 2.22.0 (52)

  • Update org.codehaus.mojo:build-helper-maven-plugin to version 3.5.0 (51)

  • Update org.codehaus.mojo:exec-maven-plugin to version 3.1.1 (50)

  • Update org.junit:junit-bom to version 5.10.1 (49)

Updated

  • Update org.apache.logging:logging-parent to version 10.5.0 (58)

1.3.0

Release date

2023-10-03

This minor release bumps the Kotlin baseline to 1.6.21 and contains various small improvements.

Added

  • Added an extension property for storing a cached logger (29)

  • Added facade APIs for manipulating the context map and stack (30)

  • Added missing catching and throwing API methods in KotlinLogger (32)

  • Added JPMS support and used org.apache.logging.log4j.api.kotlin for the module name (identical to OSGi Bundle-SymbolicName) of the log4j-api-kotlin artifact

Changed

  • Updated Log4j dependency to 2.20.0

  • Bumped logging-parent version to 10.1.1 and overhauled the entire project infrastructure to take advantage of its goodies (37)

  • Renamed OSGi Bundle-SymbolicName from org.apache.logging.log4j.kotlin to org.apache.logging.log4j.api.kotlin

  • Migrated tests to JUnit 5

  • Bumped Kotlin and Kotlin Extensions baseline to 1.6.21 and 1.6.4 respectively

  • Skipped deploying log4j-api-kotlin-benchmark and log4j-api-kotlin-sample modules

Removed

  • Stopped exporting KDoc to HTML

1.2.0

Release date

2021-12-20

This is the 3rd minor release of the project.

Changed

  • Update Kotlin baseline version to 1.3.72 (LOG4J2-3218)

1.1.0

Release date

2021-08-28

This is the 2nd minor release of the project.

Added

  • Support MDCs with Kotlin coroutines (LOG4J2-2433)

  • Support suspend functions in supplier lambdas (LOG4J2-2518)

Changed

  • Update Kotlin baseline version to 1.3.72 (LOG4J2-2843)

1.0.0

Release date

2018-11-03

This is the first major release of the project.

Added

Changed