Skip to content

Latest commit

 

History

History
216 lines (138 loc) · 4.87 KB

CHANGELOG.md

File metadata and controls

216 lines (138 loc) · 4.87 KB

Changelog

Added

Changed

Deprecated

Removed

Fixed

[2.8.0] - 2023-03-05

Added

  • Uri.resolve / Uri.resolveTo
    • Example
      Uri("http://a/b/c/d;p?q").resolve("../g")
      // returns
      Uri("http://a/b/g")
  • DataUri factory for textual data

Changed

  • upgrade to
    • Kotlin 1.8.10
    • Ktor 2.2.3
    • Kotlinx.serialization to 1.5.0
  • moved time-related feature to separate kommons-time module

Fixed

  • toMomentString for negative dates

2.7.0 - 2023-02-09

Changed

Fixed

  • logger name computation in Firefox

2.6.0 - 2023-01-14

Added

  • Kommons Bill of Materials
  • Clock builder
  • Clock.fixed

Changed

  • Upgrade to Kotlin 1.8.0

  • Kommons Test's dynamic test builders testing/testingAll now lazily build tests as they're consumed by JUnit

Fixed

  • Add ValueRange.toString

2.5.0 - 2022-12-14

Added

Kotlin-specific structured logging

data class Bar(val bar: Int) {
    override fun toString(): String = "bar-$bar"
}

logger.info("Successfully created {}", array(Bar(1), Bar(2)))
{
    "@timestamp": "2022-12-14T14:51:57.583+01:00",
    "level": "INFO",
    "message": "Successfully created bars=[bar-1, bar-2]",
    "bars": [
        {
            "bar": 1
        },
        {
            "bar": 2
        }
    ]
}

Changed

  • chore: upgrade to Kotlin 1.7.21

2.4.1 - 2022-12-11

Changed

  • chore: upgrade to Gradle 7.6

Fixed

  • fix: add back js.Date extension functions

2.4.0 - 2022-12-09

Added

  • Native for ...
    • Linux x64
    • MinGW x64
    • macOS x64
    • macOS ARM 64
  • and the following modules ...
    • Kommons Core
    • Kommons Kaomoji
    • Kommons Test
    • Kommons Text

2.3.1 - 2022-10-26

Fixed

  • catch InaccessibleObjectException when attempting to compute PID

2.3.0 - 2022-10-22

Added

  • Kotest JSON assertions API dependency
  • CommandLine constructor to invoke the main method of class using Java

Fixed

  • Fix SyncExecutor to always empty and close the output and error stream

2.2.0 - 2022-10-11

Added

Removed

  • removed kommons-exec-deprecated

2.1.0 - 2022-09-08

Added

  • simple pluralize() extension function
  • Kommons Logging: Core: get Logback or Kotlin Logger logger easily
  • Kommons Logging: Logback: configure logging using system properties CONSOLE_LOG_PRESET and FILE_LOG_PRESET
  • Kommons Logging: Spring Boot: configure logging using application properties logging.preset.console and logging.preset.file

Changed

  • Set junit.jupiter.execution.parallel.config.dynamic.factor to 2.
  • Display "PascalCaseNestedTests" as "pascal case nested tests".

Fixed

  • Set JS test timeout to same as JUnit tests.

2.0.0 - 2022-08-15

Changed