Skip to content

Commit

Permalink
release 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bkahlert committed Mar 5, 2023
1 parent 0120697 commit cff1778
Show file tree
Hide file tree
Showing 19 changed files with 66 additions and 50 deletions.
28 changes: 19 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@

### Added

### Changed

### Deprecated

### Removed

### Fixed


## [2.8.0] - 2023-03-05

### Added

- Uri.resolve / Uri.resolveTo
- Example
```kotlin
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
3 changes: 3 additions & 0 deletions buildSrc/src/main/kotlin/kotlin-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ tasks.withType(KotlinCompilationTask::class).configureEach {

tasks.withType<Test>().configureEach {
useJUnitPlatform()
if (System.getenv("CI") == "true") {
systemProperty("junit.jupiter.execution.timeout.testable.method.default", "30s")
}

filter {
isFailOnNoMatchingTests = false
Expand Down
6 changes: 3 additions & 3 deletions kommons-bom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -25,7 +25,7 @@ This library is hosted on GitHub with releases provided on Maven Central.
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-bom</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -37,7 +37,7 @@ This library is hosted on GitHub with releases provided on Maven Central.
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-uri</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions kommons-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-core</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions kommons-debug/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-debug</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions kommons-exec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-exec</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions kommons-io/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-io</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions kommons-kaomoji/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-kaomoji</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions kommons-logging/kommons-logging-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-logging-core</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions kommons-logging/kommons-logging-logback/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-logging-logback</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down
4 changes: 2 additions & 2 deletions kommons-logging/kommons-logging-spring-boot-starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-logging-spring-boot-starter</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
10 changes: 5 additions & 5 deletions kommons-logging/kommons-logging-spring-boot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-logging-spring-boot</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand All @@ -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.
Expand Down
13 changes: 8 additions & 5 deletions kommons-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-test</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
<scope>test</scope>
</dependency>
```
Expand Down Expand Up @@ -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")
}
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions kommons-text/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-text</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions kommons-time/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-time</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions kommons-uri/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<dependency>
<groupId>com.bkahlert.kommons</groupId>
<artifactId>kommons-uri</artifactId>
<version>2.7.0</version>
<version>2.8.0</version>
</dependency>
```

Expand Down

0 comments on commit cff1778

Please sign in to comment.