saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
524 stars 39 forks source link

chore(deps): update all non-major dependencies (except core kotlin) #1912

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.slf4j:slf4j-api (source, changelog) 2.0.11 -> 2.0.12 age adoption passing confidence
io.github.cdsap.talaiot.plugin.base 2.0.3 -> 2.0.4 age adoption passing confidence
de.undercouch.download 5.5.0 -> 5.6.0 age adoption passing confidence
de.undercouch:gradle-download-task 5.5.0 -> 5.6.0 age adoption passing confidence
org.ajoberstar.reckon:reckon-gradle 0.18.2 -> 0.18.3 age adoption passing confidence
org.assertj:assertj-core (source) 3.25.2 -> 3.25.3 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.7.3 -> 1.8.0 age adoption passing confidence
de.benediktritter.maven-plugin-development 0.4.2 -> 0.4.3 age adoption passing confidence
org.apache.logging.log4j:log4j-slf4j2-impl (source) 2.22.1 -> 2.23.0 age adoption passing confidence
org.apache.logging.log4j:log4j-core (source) 2.22.1 -> 2.23.0 age adoption passing confidence
org.jetbrains.dokka:dokka-gradle-plugin 1.9.10 -> 1.9.20 age adoption passing confidence
org.junit.platform:junit-platform-suite-engine (source) 1.10.1 -> 1.10.2 age adoption passing confidence
org.junit.vintage:junit-vintage-engine (source) 5.10.1 -> 5.10.2 age adoption passing confidence
org.junit.jupiter:junit-jupiter-api (source) 5.10.1 -> 5.10.2 age adoption passing confidence
org.junit.jupiter:junit-jupiter-engine (source) 5.10.1 -> 5.10.2 age adoption passing confidence
org.junit.jupiter:junit-jupiter (source) 5.10.1 -> 5.10.2 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-json-jvm 1.6.2 -> 1.6.3 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-json 1.6.2 -> 1.6.3 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-core 1.6.2 -> 1.6.3 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

michel-kraemer/gradle-download-task (de.undercouch.download) ### [`v5.6.0`](https://togithub.com/michel-kraemer/gradle-download-task/releases/tag/5.6.0) [Compare Source](https://togithub.com/michel-kraemer/gradle-download-task/compare/5.5.0...5.6.0) New features: - Add possibility to configure HTTP status code validator (using the `validateStatus` property) - Add integration tests for Gradle versions up to 8.6 Bug fixes: - Do not unnecessarily enable preemptive auth for proxy (possible security issue) - Remove sensitive headers from request after redirect (possible security issue). Thanks to [@​diederikfaber](https://togithub.com/diederikfaber) for reporting this and to [@​dtretyakov](https://togithub.com/dtretyakov) and [@​eghobo](https://togithub.com/eghobo) for the pointers. - Really log all requests (including redirects) and all headers in debug mode. It seems something has changed in Apache HttpClient since we initially implemented this feature. Maintenance: - Update dependencies - Update to Gradle 8.6 - Fix some warnings in build script - Set dependabot interval to weekly - Split CI tests of Gradle 7.x versions
ajoberstar/reckon (org.ajoberstar.reckon:reckon-gradle) ### [`v0.18.3`](https://togithub.com/ajoberstar/reckon/releases/tag/0.18.3) [Compare Source](https://togithub.com/ajoberstar/reckon/compare/0.18.2...0.18.3) Dependency updates. The [zafarkhaja/semver](https://togithub.com/zafarkhaja/jsemver) library had a bunch of breaking changes, but it doesn't appear that any of those will affect the outward behavior. Please open an issue if you find otherwise. #### Breaking Changes *None* #### Enhancements *None* #### Fixes - Dependency updates #### Deprecations *None* #### Compatibility Tested against the following versions. | Java Version | Gradle Versions | |---------------|-------------------| | 11 | 7.0.2, 7.6.4, 8.0.2, 8.6 | | 17 | 7.3.3, 7.6.4, 8.0.2, 8.6 | | 21 | 8.4, 8.6 |
Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-core) ### [`v1.8.0`](https://togithub.com/Kotlin/kotlinx.coroutines/blob/HEAD/CHANGES.md#Version-180) [Compare Source](https://togithub.com/Kotlin/kotlinx.coroutines/compare/1.7.3...1.8.0) - Implement the library for the Web Assembly (Wasm) for JavaScript ([#​3713](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3713)). Thanks [@​igoriakovlev](https://togithub.com/igoriakovlev)! - Major Kotlin version update: was 1.8.20, became 1.9.21. - On Android, ensure that `Dispatchers.Main != Dispatchers.Main.immediate` ([#​3545](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3545), [#​3963](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3963)). - Fixed a bug that caused `Flow` operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream ([#​4035](https://togithub.com/Kotlin/kotlinx.coroutines/issues/4035), [#​4038](https://togithub.com/Kotlin/kotlinx.coroutines/issues/4038)) - `kotlinx-coroutines-debug` is published with the correct Java 9 module info ([#​3944](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3944)). - `kotlinx-coroutines-debug` no longer requires manually setting `DebugProbes.enableCoroutineCreationStackTraces` to `false`, it's the default ([#​3783](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3783)). - `kotlinx-coroutines-test`: set the default timeout of `runTest` to 60 seconds, added the ability to configure it on the JVM with the `kotlinx.coroutines.test.default_timeout=10s` ([#​3800](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3800)). - `kotlinx-coroutines-test`: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed ([#​3800](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3800)). - `delay(Duration)` rounds nanoseconds up to whole milliseconds and not down ([#​3920](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3920)). Thanks [@​kevincianfarini](https://togithub.com/kevincianfarini)! - `Dispatchers.Default` and the default thread for background work are guaranteed to use the same context classloader as the object containing it them ([#​3832](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3832)). - It is guaranteed that by the time `SharedFlow.collect` suspends for the first time, it's registered as a subscriber for that `SharedFlow` ([#​3885](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3885)). Before, it was also true, but not documented. - Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code ([#​3954](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3954)). - Added a workaround for miscompilation of `withLock` on JS ([#​3881](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3881)). Thanks [@​CLOVIS-AI](https://togithub.com/CLOVIS-AI)! - Small tweaks and documentation fixes. ##### Changelog relative to version 1.8.0-RC2 - `kotlinx-coroutines-debug` no longer requires manually setting `DebugProbes.enableCoroutineCreationStackTraces` to `false`, it's the default ([#​3783](https://togithub.com/Kotlin/kotlinx.coroutines/issues/3783)). - Fixed a bug that caused `Flow` operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream ([#​4035](https://togithub.com/Kotlin/kotlinx.coroutines/issues/4035), [#​4038](https://togithub.com/Kotlin/kotlinx.coroutines/issues/4038)) - Small documentation fixes.
Kotlin/dokka (org.jetbrains.dokka:dokka-gradle-plugin) ### [`v1.9.20`](https://togithub.com/Kotlin/dokka/releases/tag/v1.9.20): 1.9.20 #### General bugfixes - Fixed sealed interfaces not having the `sealed` keyword in signatures ([https://github.com/Kotlin/dokka/issues/2994](https://togithub.com/Kotlin/dokka/issues/2994)) - Fixed incorrect links in multi-module projects with non-unique package names ([https://github.com/Kotlin/dokka/issues/2272](https://togithub.com/Kotlin/dokka/issues/2272)). Huge thanks to [@​EddieRingle](https://togithub.com/EddieRingle)! - Fixed member extensions not being shown on index pages in certain scenarios ([https://github.com/Kotlin/dokka/issues/3187](https://togithub.com/Kotlin/dokka/issues/3187)) - Fixed Java's inner classes not having the `inner` keyword in Kotlin signatures ([https://github.com/Kotlin/dokka/issues/2793](https://togithub.com/Kotlin/dokka/issues/2793)) - Fixed Java's `@param` tag not working with type parameters ([https://github.com/Kotlin/dokka/issues/3199](https://togithub.com/Kotlin/dokka/issues/3199)) - Fixed Dokka failing in KMP projects when the JVM source set is suppressed ([https://github.com/Kotlin/dokka/issues/3209](https://togithub.com/Kotlin/dokka/issues/3209)) #### HTML format - Provide an ability to add a custom homepage link to the header, more details in [https://github.com/Kotlin/dokka/issues/2948#issuecomment-1976723089](https://togithub.com/Kotlin/dokka/issues/2948#issuecomment-1976723089) - Fixed tab selection resetting after navigating to a different page ([https://github.com/Kotlin/dokka/issues/2899](https://togithub.com/Kotlin/dokka/issues/2899)) - Fixed inline code not always being aligned with the surrounding text ([https://github.com/Kotlin/dokka/issues/3228](https://togithub.com/Kotlin/dokka/issues/3228)) - Fixed the "No options found" text in search being barely visible ([https://github.com/Kotlin/dokka/issues/3281](https://togithub.com/Kotlin/dokka/issues/3281)) - Fixed empty HTML tags being rendered for no reason ([https://github.com/Kotlin/dokka/pull/3343](https://togithub.com/Kotlin/dokka/pull/3343), [https://github.com/Kotlin/dokka/issues/3095](https://togithub.com/Kotlin/dokka/issues/3095)) #### Runners ##### Gradle Plugin - Mark tasks as not compatible with Gradle configuration cache, second try ([https://github.com/Kotlin/dokka/pull/3438](https://togithub.com/Kotlin/dokka/pull/3438)). Thanks to [@​3flex](https://togithub.com/3flex) for noticing and fixing the problem! ##### Maven Plugin - Fixed `dokka:help` being absent ([https://github.com/Kotlin/dokka/issues/3035](https://togithub.com/Kotlin/dokka/issues/3035)). Thanks to [@​aSemy](https://togithub.com/aSemy)! - Fixed the source links configuration not working ([https://github.com/Kotlin/dokka/pull/3046](https://togithub.com/Kotlin/dokka/pull/3046)). Thanks to [@​freya022](https://togithub.com/freya022) for fixing this one! ##### CLI runner - Allow using relative paths in the `sourceRoots` configuration option ([https://github.com/Kotlin/dokka/issues/2571](https://togithub.com/Kotlin/dokka/issues/2571)) #### Plugin API - Provide an extension point to customize the rendering of code blocks in HTML format ([https://github.com/Kotlin/dokka/issues/3244](https://togithub.com/Kotlin/dokka/issues/3244)) #### Other: - Make sure `wasm-js` and `wasm-wasi` targets introduced in Kotlin 1.9.20 are supported ([https://github.com/Kotlin/dokka/issues/3310](https://togithub.com/Kotlin/dokka/issues/3310)) - Avoid concurrent invocations of Kotlin compiler's API due to the compiler API itself not always being thread safe ([https://github.com/Kotlin/dokka/issues/3151](https://togithub.com/Kotlin/dokka/issues/3151)). No noticeable performance loss is expected. - Bump dependencies to the latest versions ([https://github.com/Kotlin/dokka/pull/3231](https://togithub.com/Kotlin/dokka/pull/3231), [https://github.com/Kotlin/dokka/pull/3206](https://togithub.com/Kotlin/dokka/pull/3206), [https://github.com/Kotlin/dokka/pull/3204](https://togithub.com/Kotlin/dokka/pull/3204)) - Fix a documentation link ([https://github.com/Kotlin/dokka/pull/3213](https://togithub.com/Kotlin/dokka/pull/3213)). Thanks to [@​SubhrajyotiSen](https://togithub.com/SubhrajyotiSen) for noticing and fixing it! - Various build and project structure improvements ([https://github.com/Kotlin/dokka/pull/3174](https://togithub.com/Kotlin/dokka/pull/3174), [https://github.com/Kotlin/dokka/issues/3132](https://togithub.com/Kotlin/dokka/issues/3132)). Enormous thanks to [@​aSemy](https://togithub.com/aSemy) for the help! See [Dokka 1.9.20](https://togithub.com/Kotlin/dokka/milestone/30?closed=1) milestone for the list of all changes.
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json-jvm) ### [`v1.6.3`](https://togithub.com/Kotlin/kotlinx.serialization/blob/HEAD/CHANGELOG.md#163--2024-02-16) \================== This release provides a couple of new features and uses Kotlin 1.9.22 as default. ##### Class discriminator output mode Class discriminator provides information for serializing and deserializing [polymorphic class hierarchies](docs/polymorphism.md#sealed-classes). In case you want to encode more or less information for various third party APIs about types in the output, it is possible to control addition of the class discriminator with the `JsonBuilder.classDiscriminatorMode` property. For example, `ClassDiscriminatorMode.NONE` does not add class discriminator at all, in case the receiving party is not interested in Kotlin types. You can learn more about this feature in the documentation and corresponding [PR](https://togithub.com/Kotlin/kotlinx.serialization/pull/2532). ##### Other features - Add kebab-case naming strategy ([#​2531](https://togithub.com/Kotlin/kotlinx.serialization/issues/2531)) (thanks to [Emil Kantis](https://togithub.com/Kantis)) - Add value class support to the ProtoBufSchemaGenerator ([#​2542](https://togithub.com/Kotlin/kotlinx.serialization/issues/2542)) (thanks to [Felipe Rotilho](https://togithub.com/rotilho)) ##### Bugfixes and improvements - Fix: Hocon polymorphic serialization in containers ([#​2151](https://togithub.com/Kotlin/kotlinx.serialization/issues/2151)) (thanks to [LichtHund](https://togithub.com/LichtHund)) - Actualize lenient mode documentation ([#​2568](https://togithub.com/Kotlin/kotlinx.serialization/issues/2568)) - Slightly improve error messages thrown from serializer() function ([#​2533](https://togithub.com/Kotlin/kotlinx.serialization/issues/2533)) - Do not try to coerce input values for properties ([#​2530](https://togithub.com/Kotlin/kotlinx.serialization/issues/2530)) - Make empty objects and arrays collapsed in pretty print mode ([#​2506](https://togithub.com/Kotlin/kotlinx.serialization/issues/2506)) - Update Gradle dokka configuration to make sure "source" button is visible in all API docs ([#​2518](https://togithub.com/Kotlin/kotlinx.serialization/issues/2518), [#​2524](https://togithub.com/Kotlin/kotlinx.serialization/issues/2524))

Configuration

πŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ‘» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.67%. Comparing base (16029f0) to head (aa6bd8d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1912 +/- ## ========================================= Coverage 76.67% 76.67% Complexity 2492 2492 ========================================= Files 134 134 Lines 7914 7914 Branches 2240 2240 ========================================= Hits 6068 6068 Misses 841 841 Partials 1005 1005 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 8 months ago

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

β€‡β€ˆ167 files  Β±0β€‚β€ƒβ€‡β€ˆ167 suites  Β±0   7m 8s :stopwatch: +6s 1β€ˆ446 tests Β±0  1β€ˆ429 :white_check_mark: Β±0  17 :zzz: Β±0  0 :x: Β±0  2β€ˆ826 runsβ€Š Β±0  2β€ˆ809 :white_check_mark: Β±0  17 :zzz: Β±0  0 :x: Β±0 

Results for commit aa6bd8d1. ± Comparison against base commit 16029f05.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 8 months ago

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)

β€‡β€ˆ167 files  Β±0β€‚β€ƒβ€‡β€ˆ167 suites  Β±0   4m 53s :stopwatch: +31s 1β€ˆ446 tests Β±0  1β€ˆ407 :white_check_mark: Β±0  39 :zzz: Β±0  0 :x: Β±0  2β€ˆ826 runsβ€Š Β±0  2β€ˆ787 :white_check_mark: Β±0  39 :zzz: Β±0  0 :x: Β±0 

Results for commit aa6bd8d1. ± Comparison against base commit 16029f05.

:recycle: This comment has been updated with latest results.