diff --git a/CHANGELOG.md b/CHANGELOG.md
index aee63717..25edaae4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,19 @@
### Added
+### Changed
+
+### Deprecated
+
+### Removed
+
+### Fixed
+
+
+## [2.8.0] - 2023-03-05
+
+### Added
+
- Uri.resolve / Uri.resolveTo
- Example
```kotlin
@@ -16,20 +29,15 @@
### Changed
- upgrade to
- - Kotlin 1.8.10
- - Ktor 2.2.3
- - Kotlinx.serialization to 1.5.0
+ - Kotlin 1.8.10
+ - Ktor 2.2.3
+ - Kotlinx.serialization to 1.5.0
- moved time-related feature to separate kommons-time module
-### Deprecated
-
-### Removed
-
### Fixed
- `toMomentString` for negative dates
-
## [2.7.0] - 2023-02-09
### Changed
@@ -183,7 +191,9 @@ logger.info("Successfully created {}", array(Bar(1), Bar(2)))
- migrated Kommons Test 0.x.x to this Gradle multi-project
- [Kommons Test 0.x.x Changelog](https://github.com/bkahlert/kommons-test/compare/v0.1.0...v0.4.4)
-[unreleased]: https://github.com/bkahlert/kommons-test/compare/v2.7.0...HEAD
+[unreleased]: https://github.com/bkahlert/kommons-test/compare/v2.8.0...HEAD
+
+[2.7.0]: https://github.com/bkahlert/kommons-test/compare/v2.7.0...v2.8.0
[2.7.0]: https://github.com/bkahlert/kommons-test/compare/v2.6.0...v2.7.0
diff --git a/CITATION.cff b/CITATION.cff
index 08ff8ffd..62c19b40 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -5,6 +5,6 @@ authors:
family-names: "Kahlert"
orcid: "https://orcid.org/0000-0003-1705-4067"
title: "Kommons — Features for Kotlin™ You Didn't Know You Were Missing"
-version: 2.7.0
-date-released: 2023-02-09
+version: 2.8.0
+date-released: 2023-03-05
url: "https://github.com/bkahlert/kommons"
diff --git a/README.md b/README.md
index a51e0352..983ba02d 100644
--- a/README.md
+++ b/README.md
@@ -29,14 +29,14 @@ To use a module individually, see the corresponding instructions linked in [Abou
The following dependency adds the `core`, `debug`, `exec`, `io`, `logging-core`, `text`, and `uri` module:
-* **Gradle** `implementation("com.bkahlert.kommons:kommons:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons
- 2.7.0
+ 2.8.0
```
diff --git a/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts b/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts
index 49dcc33b..a94e63a0 100644
--- a/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts
+++ b/buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts
@@ -47,6 +47,9 @@ tasks.withType(KotlinCompilationTask::class).configureEach {
tasks.withType().configureEach {
useJUnitPlatform()
+ if (System.getenv("CI") == "true") {
+ systemProperty("junit.jupiter.execution.timeout.testable.method.default", "30s")
+ }
filter {
isFailOnNoMatchingTests = false
diff --git a/kommons-bom/README.md b/kommons-bom/README.md
index e0949654..90f4c4ec 100644
--- a/kommons-bom/README.md
+++ b/kommons-bom/README.md
@@ -10,7 +10,7 @@ This library is hosted on GitHub with releases provided on Maven Central.
* **Gradle**
```kotlin
- implementation(platform("com.bkahlert.kommons:kommons-bom:2.7.0"))
+ implementation(platform("com.bkahlert.kommons:kommons-bom:2.8.0"))
// add the modules you like without having to specify their version
implementation("com.bkahlert.kommons:kommons-uri")
@@ -25,7 +25,7 @@ This library is hosted on GitHub with releases provided on Maven Central.
com.bkahlert.kommons
kommons-bom
- 2.7.0
+ 2.8.0
pom
import
@@ -37,7 +37,7 @@ This library is hosted on GitHub with releases provided on Maven Central.
com.bkahlert.kommons
kommons-uri
- 2.7.0
+ 2.8.0
diff --git a/kommons-core/README.md b/kommons-core/README.md
index 2c9d0b25..0b2ea9a2 100644
--- a/kommons-core/README.md
+++ b/kommons-core/README.md
@@ -15,14 +15,14 @@
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-core:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-core:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-core
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-debug/README.md b/kommons-debug/README.md
index ed1f9f01..2bd1930c 100644
--- a/kommons-debug/README.md
+++ b/kommons-debug/README.md
@@ -15,14 +15,14 @@
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-debug:2.7.0") { because("print debugging") }`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-debug:2.8.0") { because("print debugging") }`
* **Maven**
```xml
com.bkahlert.kommons
kommons-debug
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-exec/README.md b/kommons-exec/README.md
index 3af276dd..236dd707 100644
--- a/kommons-exec/README.md
+++ b/kommons-exec/README.md
@@ -8,14 +8,14 @@
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-exec:2.7.0") { because("print debugging") }`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-exec:2.8.0") { because("print debugging") }`
* **Maven**
```xml
com.bkahlert.kommons
kommons-exec
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-io/README.md b/kommons-io/README.md
index 2c97a798..d80d262c 100644
--- a/kommons-io/README.md
+++ b/kommons-io/README.md
@@ -8,14 +8,14 @@
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-io:2.7.0") { because("print debugging") }`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-io:2.8.0") { because("print debugging") }`
* **Maven**
```xml
com.bkahlert.kommons
kommons-io
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-kaomoji/README.md b/kommons-kaomoji/README.md
index 59ccda11..88940636 100644
--- a/kommons-kaomoji/README.md
+++ b/kommons-kaomoji/README.md
@@ -9,14 +9,14 @@
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-kaomoji:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-kaomoji:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-kaomoji
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-logging/kommons-logging-core/README.md b/kommons-logging/kommons-logging-core/README.md
index 57153a6c..6a1f6517 100644
--- a/kommons-logging/kommons-logging-core/README.md
+++ b/kommons-logging/kommons-logging-core/README.md
@@ -10,14 +10,14 @@ and [SLF4J](https://www.slf4j.org/).
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-logging-core:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-logging-core:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-logging-core
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-logging/kommons-logging-logback/README.md b/kommons-logging/kommons-logging-logback/README.md
index e2ec4c75..06ca5857 100644
--- a/kommons-logging/kommons-logging-logback/README.md
+++ b/kommons-logging/kommons-logging-logback/README.md
@@ -9,14 +9,14 @@ nothing but system properties, and provides support for JSON.
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-logging-logback:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-logging-logback:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-logging-logback
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-logging/kommons-logging-spring-boot-sample/build.gradle.kts b/kommons-logging/kommons-logging-spring-boot-sample/build.gradle.kts
index 0af9830e..5b8f973f 100644
--- a/kommons-logging/kommons-logging-spring-boot-sample/build.gradle.kts
+++ b/kommons-logging/kommons-logging-spring-boot-sample/build.gradle.kts
@@ -15,14 +15,14 @@ repositories {
}
dependencies {
- // implementation("com.bkahlert.kommons:kommons-logging-spring-boot-starter:2.7.0")
+ // implementation("com.bkahlert.kommons:kommons-logging-spring-boot-starter:2.8.0")
implementation(project(":kommons-logging:kommons-logging-spring-boot-starter"))
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-web")
// kapt("org.springframework.boot:spring-boot-configuration-processor")
- // testImplementation("com.bkahlert.kommons:kommons-test:2.7.0")
+ // testImplementation("com.bkahlert.kommons:kommons-test:2.8.0")
testImplementation(project(":kommons-test"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
}
diff --git a/kommons-logging/kommons-logging-spring-boot-starter/README.md b/kommons-logging/kommons-logging-spring-boot-starter/README.md
index e83b098d..69d761d3 100644
--- a/kommons-logging/kommons-logging-spring-boot-starter/README.md
+++ b/kommons-logging/kommons-logging-spring-boot-starter/README.md
@@ -9,14 +9,14 @@ and [Kommons Logging: Spring Boot](../kommons-logging-spring-boot) in your Sprin
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-logging-spring-boot-starter:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-logging-spring-boot-starter:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-logging-spring-boot-starter
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-logging/kommons-logging-spring-boot/README.md b/kommons-logging/kommons-logging-spring-boot/README.md
index 26a57eb1..dfa65305 100644
--- a/kommons-logging/kommons-logging-spring-boot/README.md
+++ b/kommons-logging/kommons-logging-spring-boot/README.md
@@ -8,14 +8,14 @@
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-logging-spring-boot:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-logging-spring-boot:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-logging-spring-boot
- 2.7.0
+ 2.8.0
```
@@ -37,9 +37,9 @@ logging.preset.file=json
```yaml
# application.yaml
logging:
- preset:
- console: spring
- file: json
+ preset:
+ console: spring
+ file: json
```
Spring Boot's logging configuration options like `file.path` and `logback.rollingpolicy.max-file-size` are still supported.
diff --git a/kommons-test/README.md b/kommons-test/README.md
index f23f2bb6..a5312d68 100644
--- a/kommons-test/README.md
+++ b/kommons-test/README.md
@@ -31,15 +31,15 @@ Furthermore, there are some more [advanced features for the JVM platform](#jvm-f
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `testImplementation("com.bkahlert.kommons:kommons-test:2.7.0") { because("JUnit defaults, testAll, ...") }`
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-test:2.7.0") { because("JUnit defaults, testAll, ...") }` *(for MPP projects)*
+* **Gradle** `testImplementation("com.bkahlert.kommons:kommons-test:2.8.0") { because("JUnit defaults, testAll, ...") }`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-test:2.8.0") { because("JUnit defaults, testAll, ...") }` *(for MPP projects)*
* **Maven**
```xml
com.bkahlert.kommons
kommons-test
- 2.7.0
+ 2.8.0
test
```
@@ -324,14 +324,17 @@ single tests or whole test containers.
Platform properties have the lowest precedence and can be overridden
with system properties.
-If, for example, you want to change the default timeout to 30 seconds for all tests,
+If, for example, you want to change the default timeout to 30 seconds for all tests
+during CI builds,
in Gradle you can configure:
```kotlin
tasks {
test {
useJUnitPlatform()
- systemProperty("junit.jupiter.execution.timeout.testable.method.default", "30s")
+ if (System.getenv("CI") == "true") {
+ systemProperty("junit.jupiter.execution.timeout.testable.method.default", "30s")
+ }
}
}
```
diff --git a/kommons-text/README.md b/kommons-text/README.md
index 0ceacb5e..03f71cd7 100644
--- a/kommons-text/README.md
+++ b/kommons-text/README.md
@@ -12,14 +12,14 @@
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-text:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-text:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-text
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-time/README.md b/kommons-time/README.md
index 7b529e0f..2df2fb26 100644
--- a/kommons-time/README.md
+++ b/kommons-time/README.md
@@ -9,14 +9,14 @@ the [KotlinX multiplatform date/time library](https://github.com/Kotlin/kotlinx-
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-time:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-time:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-time
- 2.7.0
+ 2.8.0
```
diff --git a/kommons-uri/README.md b/kommons-uri/README.md
index 366c465c..90402477 100644
--- a/kommons-uri/README.md
+++ b/kommons-uri/README.md
@@ -14,14 +14,14 @@
This library is hosted on GitHub with releases provided on Maven Central.
-* **Gradle** `implementation("com.bkahlert.kommons:kommons-uri:2.7.0")`
+* **Gradle** `implementation("com.bkahlert.kommons:kommons-uri:2.8.0")`
* **Maven**
```xml
com.bkahlert.kommons
kommons-uri
- 2.7.0
+ 2.8.0
```