Releases: bkahlert/kommons
Releases · bkahlert/kommons
v2.8.0
[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")
- Example
- 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
v2.7.0
Changed
- cleanup dependencies
- change implementation dependency of SLF4J to api dependency
- kommons-uri:
- parse and serialize Uniform Resource Identifiers (RFC3986)
- support for kotlinx.serialization
- support for data URIs (RFC2397) with an
appropriate URL stream handler provider
registered on the JVM
Fixed
- logger name computation in Firefox
v2.6.0
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
v2.5.0
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
v2.4.1
Changed
- chore: upgrade to Gradle 7.6
Fixed
- fix: add back
js.Date
extension functions
v2.4.0
Added
- Native for ...
- Linux x64
- MinGW x64
- macOS x64
- macOS ARM 64
- and the following modules ...
- Kommons Core
- Kommons Kaomoji
- Kommons Test
- Kommons Text
v2.3.1
Fixed
- catch InaccessibleObjectException when attempting to compute PID
v2.3.0
Added
- Kotest JSON assertions API dependency
- CommandLine constructor to invoke the main method of class using Java
- Fix SyncExecutor to always empty and close the output and error stream
v2.2.0
Added
- add Japanese style emoticon constants such as
(つ◕౪◕)つ━☆゚.*・。゚
- add kommons-exec
Removed
- removed
kommons-exec-deprecated
v2.1.0
Added
- simple
pluralize()
extension function Kommons Logging: Core
: get Logback or Kotlin Logger logger easilyKommons Logging: Logback
: configure logging using system propertiesCONSOLE_LOG_PRESET
andFILE_LOG_PRESET
Kommons Logging: Spring Boot
: configure logging using application propertieslogging.preset.console
andlogging.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.