arrow-kt / arrow-integrations

Λrrow Integrations is part of Λrrow, a functional companion to Kotlin's Standard Library
http://arrow-kt.io
Other
27 stars 6 forks source link

Update all dependencies #103

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
actions/checkout action minor v3.0.2 -> v3.1.0 age adoption passing confidence
actions/setup-java action minor v3.4.0 -> v3.6.0 age adoption passing confidence
actions/upload-artifact action patch v3.1.0 -> v3.1.1 age adoption passing confidence
gradle (source) minor 7.4.2 -> 7.6 age adoption passing confidence
gradle/gradle-build-action action minor v2.2.1 -> v2.3.3 age adoption passing confidence
stefanzweifel/git-auto-commit-action action minor v4.14.1 -> v4.15.4 age adoption passing confidence
io.kotest.extensions:kotest-assertions-arrow dependencies minor 1.2.5 -> 1.3.0 age adoption passing confidence
io.kotest.extensions:kotest-property-arrow dependencies minor 1.2.5 -> 1.3.0 age adoption passing confidence
org.codehaus.mojo:animal-sniffer-annotations (source) dependencies minor 1.21 -> 1.22 age adoption passing confidence
com.fasterxml.jackson.module:jackson-module-kotlin dependencies minor 2.13.4 -> 2.14.1 age adoption passing confidence
ru.vyarus.animalsniffer plugin minor 1.5.4 -> 1.6.0 age adoption passing confidence
io.gitlab.arturbosch.detekt (source) plugin minor 1.20.0 -> 1.22.0 age adoption passing confidence
org.jetbrains.kotlinx.binary-compatibility-validator plugin minor 0.10.1 -> 0.12.1 age adoption passing confidence
io.kotest:kotest-runner-junit5 dependencies minor 5.3.1 -> 5.5.4 age adoption passing confidence
io.kotest:kotest-property dependencies minor 5.3.1 -> 5.5.4 age adoption passing confidence
io.kotest:kotest-framework-engine dependencies minor 5.3.1 -> 5.5.4 age adoption passing confidence
io.kotest:kotest-assertions-core dependencies minor 5.3.1 -> 5.5.4 age adoption passing confidence
org.jetbrains.kotlin.multiplatform (source) plugin minor 1.6.21 -> 1.7.22 age adoption passing confidence
org.jetbrains.kotlin.jvm (source) plugin minor 1.6.21 -> 1.7.22 age adoption passing confidence
io.arrow-kt.arrow-gradle-config-versioning plugin patch 0.10.1 -> 0.10.2 age adoption passing confidence
io.arrow-kt.arrow-gradle-config-publish plugin patch 0.10.1 -> 0.10.2 age adoption passing confidence
io.arrow-kt.arrow-gradle-config-nexus plugin patch 0.10.1 -> 0.10.2 age adoption passing confidence
io.arrow-kt.arrow-gradle-config-kotlin plugin patch 0.10.1 -> 0.10.2 age adoption passing confidence
io.arrow-kt.arrow-gradle-config-formatter plugin patch 0.10.1 -> 0.10.2 age adoption passing confidence
org.jetbrains.dokka plugin patch 1.7.0 -> 1.7.20 age adoption passing confidence

Release Notes

actions/checkout ### [`v3.1.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v310) [Compare Source](https://togithub.com/actions/checkout/compare/v3.0.2...v3.1.0) - [Use @​actions/core `saveState` and `getState`](https://togithub.com/actions/checkout/pull/939) - [Add `github-server-url` input](https://togithub.com/actions/checkout/pull/922)
actions/setup-java ### [`v3.6.0`](https://togithub.com/actions/setup-java/releases/tag/v3.6.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.5.1...v3.6.0) In scope of this release we added [Maven Toolchains Support](https://togithub.com/actions/setup-java/issues/276) and [Maven Toolchains Declaration](https://togithub.com/actions/setup-java/pull/282). Moreover, from this release we use `os.arch` to determine default architecture for runners: [https://github.com/actions/setup-java/pull/376](https://togithub.com/actions/setup-java/pull/376). Besides, we made such changes as: - [Upgrade @​actions/cache from 3.0.0 to 3.0.4](https://togithub.com/actions/setup-java/pull/392) so it respects `SEGMENT_DOWNLOAD_TIMEOUT_MINS` - [Support Gradle version catalog](https://togithub.com/actions/setup-java/pull/394) - [Update @​actions/core to 1.10.0](https://togithub.com/actions/setup-java/pull/390) ### [`v3.5.1`](https://togithub.com/actions/setup-java/releases/tag/v3.5.1) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.5.0...v3.5.1) In scope of this release we change logic for Microsoft Build of OpenJDK. Previously it had hard coded versions. In this release versions were moved to the separate [json file](https://togithub.com/actions/setup-java/blob/main/src/distributions/microsoft/microsoft-openjdk-versions.json). When a new version of Java is released, it can be added to this file and be used without releasing new version of the action. - Related pull request: [https://github.com/actions/setup-java/pull/383](https://togithub.com/actions/setup-java/pull/383) ### [`v3.5.0`](https://togithub.com/actions/setup-java/releases/tag/v3.5.0) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.4.1...v3.5.0) ##### Add support for multiple jdks In scope of this release we add [support for multiple jdks](https://togithub.com/actions/setup-java/pull/368). Customers can specify multiple versions of java through `java-version` input. ```yaml steps: - uses: actions/setup-java@v3 with: distribution: '' java-version: | 8 11 15 ``` ##### Besides, we added such changes as: - Removed restore-keys because it leaded to an unexpected growth of the cache: [https://github.com/actions/setup-java/pull/285](https://togithub.com/actions/setup-java/pull/285) - Added new files pattern for gradle cache: [https://github.com/actions/setup-java/pull/274](https://togithub.com/actions/setup-java/pull/274) - Added cache-hit output to the action.yml: [https://github.com/actions/setup-java/pull/373](https://togithub.com/actions/setup-java/pull/373) ### [`v3.4.1`](https://togithub.com/actions/setup-java/releases/tag/v3.4.1) [Compare Source](https://togithub.com/actions/setup-java/compare/v3.4.0...v3.4.1) In scope of this release we updated `actions/cache` package as the new version contains fixes for [caching error handling](https://togithub.com/actions/setup-java/pull/350).
actions/upload-artifact ### [`v3.1.1`](https://togithub.com/actions/upload-artifact/releases/tag/v3.1.1) [Compare Source](https://togithub.com/actions/upload-artifact/compare/v3.1.0...v3.1.1) - Update actions/core package to latest version to remove `set-output` deprecation warning [#​351](https://togithub.com/actions/upload-artifact/issues/351)
gradle/gradle ### [`v7.5.1`](https://togithub.com/gradle/gradle/releases/tag/v7.5.1): 7.5.1 This is a patch release for 7.5. We recommend using 7.5.1 instead of 7.5 [Read the Release Notes](https://docs.gradle.org/7.5.1/release-notes.html) We would like to thank the following community members for their contributions to this release of Gradle: [Michael Bailey](https://togithub.com/yogurtearl), [Josh Kasten](https://togithub.com/jkasten2), [Marcono1234](https://togithub.com/Marcono1234), [mataha](https://togithub.com/mataha), [Lieven Vaneeckhaute](https://togithub.com/denshade), [kiwi-oss](https://togithub.com/kiwi-oss), [Stefan Neuhaus](https://togithub.com/stefanneuhaus), [George Thomas](https://togithub.com/smoothreggae), [Anja Papatola](https://togithub.com/apalopta), [Björn Kautler](https://togithub.com/Vampire), [David Burström](https://togithub.com/davidburstrom), [Vladimir Sitnikov](https://togithub.com/vlsi), [Roland Weisleder](https://togithub.com/rweisleder), [Konstantin Gribov](https://togithub.com/grossws), [David Op de Beeck](https://togithub.com/DavidOpDeBeeck), [aSemy](https://togithub.com/aSemy), [Rene Groeschke](https://togithub.com/breskeby), [Jonathan Leitschuh](https://togithub.com/JLLeitschuh), [Aurimas Liutikas](https://togithub.com/liutikas), [Jamie Tanna](https://togithub.com/jamietanna), [Xin Wang](https://togithub.com/scaventz), [Atsuto Yamashita](https://togithub.com/att55), [Taeik Lim](https://togithub.com/acktsap), [Peter Gafert](https://togithub.com/codecholeric), [Alex Landau](https://togithub.com/AlexLandau), [Jerry Wiltse](https://togithub.com/solvingj), [Tyler Burke](https://togithub.com/T-A-B), [Matthew Haughton](https://togithub.com/3flex), [Filip Daca](https://togithub.com/filip-daca), [Simão Gomes Viana](https://togithub.com/xdevs23), [Vaidotas Valuckas](https://togithub.com/rieske), [Edgars Jasmans](https://togithub.com/yasmans), [Tomasz Godzik](https://togithub.com/tgodzik), [Jeff](https://togithub.com/mathjeff), [Lajos Veres](https://togithub.com/vlajos) ##### Upgrade instructions Switch your build to use Gradle 7.5.1 by updating your wrapper: `./gradlew wrapper --gradle-version=7.5.1` See the [Gradle 7.x upgrade guide](https://docs.gradle.org/7.5.1/userguide/upgrading_version\_7.html#changes\_7.5) to learn about deprecations, breaking changes and other considerations when upgrading. ##### Reporting Problems If you find a problem with this release, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).
gradle/gradle-build-action ### [`v2.3.3`](https://togithub.com/gradle/gradle-build-action/releases/tag/v2.3.3) [Compare Source](https://togithub.com/gradle/gradle-build-action/compare/v2.3.2...v2.3.3) This patch release removes all uses of the deprecated `set-output` and `set-state` commands, and should remove deprecation warnings from build logs. See [#​461](https://togithub.com/gradle/gradle-build-action/issues/461) and [#​477](https://togithub.com/gradle/gradle-build-action/issues/477) for more details. **Full Changelog**: https://github.com/gradle/gradle-build-action/compare/v2.3.2...v2.3.3 ### [`v2.3.2`](https://togithub.com/gradle/gradle-build-action/releases/tag/v2.3.2) [Compare Source](https://togithub.com/gradle/gradle-build-action/compare/v2.3.1...v2.3.2) This patch release fixes an issue which could result in errors in the post-action step. See [#​441](https://togithub.com/gradle/gradle-build-action/issues/441) for details. **Full Changelog**: https://github.com/gradle/gradle-build-action/compare/v2.3.1...v2.3.2 ### [`v2.3.1`](https://togithub.com/gradle/gradle-build-action/releases/tag/v2.3.1) [Compare Source](https://togithub.com/gradle/gradle-build-action/compare/v2.3.0...v2.3.1) This patch release addresses some security vulnerabilities reported by the CodeQL check: - Removes `sourcemap-register.js`: this triggered [Incorrect suffix check](https://togithub.com/gradle/gradle-build-action/security/code-scanning/3) - Patches the `@azure/logger` library to avoid logging an environment variable value: this triggered [Clear-text logging of sensitive information](https://togithub.com/gradle/gradle-build-action/security/code-scanning/8) - Updates a bunch of development dependencies, which should not impact production code The release contains no functional changes. **Full Changelog**: https://github.com/gradle/gradle-build-action/compare/v2.3.0...v2.3.1 ### [`v2.3.0`](https://togithub.com/gradle/gradle-build-action/releases/tag/v2.3.0) [Compare Source](https://togithub.com/gradle/gradle-build-action/compare/v2.2.5...v2.3.0) #### What's new With `v2.3.0`, the `gradle-build-action` can now attempt to remove any unused files from the Gradle User Home directory before storing to the GitHub Actions cache. This can prevent cases where the size of cache entry grows over time. Gradle Home cache cleanup is disabled by default. You can enable this feature for the action as follows: ```yaml gradle-home-cache-cleanup: true ``` See [the README](https://togithub.com/gradle/gradle-build-action/blob/main/README.md#removing-unused-files-from-gradle-user-home-before-saving-to-cache) for more details. **Full Changelog**: https://github.com/gradle/gradle-build-action/compare/v2.2.5...v2.3.0 ### [`v2.2.5`](https://togithub.com/gradle/gradle-build-action/releases/tag/v2.2.5) [Compare Source](https://togithub.com/gradle/gradle-build-action/compare/v2.2.4...v2.2.5) ##### What's fixed Fixes a bug where a corrupted cache entry caused an error in `beforeSave` ([#​408](https://togithub.com/gradle/gradle-build-action/issues/408)). This meant that the entry was never purged. By allowing `@actions/globber` to follow symlinks and ignore broken symlinks, the bad files in the cache entry are ignored and the corrupted cache entry can be replaced by a good one. **Full Changelog**: https://github.com/gradle/gradle-build-action/compare/v2.2.4...v2.2.5 ### [`v2.2.4`](https://togithub.com/gradle/gradle-build-action/releases/tag/v2.2.4) [Compare Source](https://togithub.com/gradle/gradle-build-action/compare/v2.2.3...v2.2.4) ##### What's fixed The fix for [#​383](https://togithub.com/gradle/gradle-build-action/issues/383) introduced a bug that caused the post-action to fail when attempting to resolve cache-read-only for scheduled jobs. This has been fixed with an explicit (rather than implicit) check for 'event.repository != null'. ([#​409](https://togithub.com/gradle/gradle-build-action/issues/409)) **Full Changelog**: https://github.com/gradle/gradle-build-action/compare/v2.2.3...v2.2.4 ### [`v2.2.3`](https://togithub.com/gradle/gradle-build-action/releases/tag/v2.2.3) [Compare Source](https://togithub.com/gradle/gradle-build-action/compare/v2.2.2...v2.2.3) ##### What's fixed This release updates a number of key dependencies and fixes some cache-related issues: - Do not set `cache-read-only=true` for scheduled workflows on default branch ([#​383](https://togithub.com/gradle/gradle-build-action/issues/383)) - Fix reporting of caching errors that was broken in `v2.2.2` ([#​407](https://togithub.com/gradle/gradle-build-action/issues/407)) - Abort cache download operations after 10 minutes (configurable). Previously cache download operations could hang the build. ([#​369](https://togithub.com/gradle/gradle-build-action/issues/369)) **Full Changelog**: https://github.com/gradle/gradle-build-action/compare/v2.2.2...v2.2.3 ### [`v2.2.2`](https://togithub.com/gradle/gradle-build-action/releases/tag/v2.2.2) [Compare Source](https://togithub.com/gradle/gradle-build-action/compare/v2.2.1...v2.2.2) ##### What's fixed This release fixes some issues that were discovered in the `v2.2.1` release, and updates a number of dependencies. - Improved support for GitHub Enterprise - Do not attempt to use GitHub Actions cache when the feature is not available - Write Gradle Build summary to log files when Job Summary functionality not available - Only attempt to stop Gradle daemons when caching Gradle User Home ([#​341](https://togithub.com/gradle/gradle-build-action/issues/341)) - Only write build-results file when GitHub Actions env vars are available ([#​350](https://togithub.com/gradle/gradle-build-action/issues/350)) **Full Changelog**: https://github.com/gradle/gradle-build-action/compare/v2.2.1...v2.2.2
stefanzweifel/git-auto-commit-action ### [`v4.15.4`](https://togithub.com/stefanzweifel/git-auto-commit-action/blob/HEAD/CHANGELOG.md#v4154-httpsgithubcomstefanzweifelgit-auto-commit-actioncomparev4153v4154---2022-11-05) [Compare Source](https://togithub.com/stefanzweifel/git-auto-commit-action/compare/v4.15.3...v4.15.4) ##### Fixed - Let Action fail if git binary can't be located ([#​261](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/261)) [@​stefanzweifel](https://togithub.com/@​stefanzweifel) ##### Dependency Updates - Bump github/super-linter from 3 to 4 ([#​258](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/258)) [@​dependabot](https://togithub.com/@​dependabot) - Bump bats from 1.7.0 to 1.8.2 ([#​259](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/259)) [@​dependabot](https://togithub.com/@​dependabot) - Bump actions/checkout from 2 to 3 ([#​257](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/257)) [@​dependabot](https://togithub.com/@​dependabot) ### [`v4.15.3`](https://togithub.com/stefanzweifel/git-auto-commit-action/blob/HEAD/CHANGELOG.md#v4153-httpsgithubcomstefanzweifelgit-auto-commit-actioncomparev4152v4153---2022-10-26) [Compare Source](https://togithub.com/stefanzweifel/git-auto-commit-action/compare/v4.15.2...v4.15.3) ##### Changed - Use deprecated set-output syntax if GITHUB_OUTPUT environment is not available ([#​255](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/255)) [@​stefanzweifel](https://togithub.com/@​stefanzweifel) ### [`v4.15.2`](https://togithub.com/stefanzweifel/git-auto-commit-action/blob/HEAD/CHANGELOG.md#v4152-httpsgithubcomstefanzweifelgit-auto-commit-actioncomparev4151v4152---2022-10-22) [Compare Source](https://togithub.com/stefanzweifel/git-auto-commit-action/compare/v4.15.1...v4.15.2) ##### Changed - Replace set-output usage with GITHUB_OUTPUT ([#​252](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/252)) [@​amonshiz](https://togithub.com/amonshiz) ### [`v4.15.1`](https://togithub.com/stefanzweifel/git-auto-commit-action/blob/HEAD/CHANGELOG.md#v4151-httpsgithubcomstefanzweifelgit-auto-commit-actioncomparev4150v4151---2022-10-10) [Compare Source](https://togithub.com/stefanzweifel/git-auto-commit-action/compare/v4.15.0...v4.15.1) ##### Fixed - Run Action on Node16 ([#​247](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/247)) [@​stefanzweifel](https://togithub.com/@​stefanzweifel) ### [`v4.15.0`](https://togithub.com/stefanzweifel/git-auto-commit-action/blob/HEAD/CHANGELOG.md#v4150-httpsgithubcomstefanzweifelgit-auto-commit-actioncomparev4141v4150---2022-09-24) [Compare Source](https://togithub.com/stefanzweifel/git-auto-commit-action/compare/v4.14.1...v4.15.0) ##### Changed - Expand `file_pattern`-input to an array ([#​205](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/205)) [@​stefanzweifel](https://togithub.com/@​stefanzweifel) ##### Fixed - String values in README.md extended example are now correct ([#​196](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/196)) [@​karolswdev](https://togithub.com/@​karolswdev) - Fix Typos and grammer Errors in README ([#​235](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/235)) [@​derrickleemy](https://togithub.com/@​derrickleemy) - Fix Typo in README ([#​230](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/230)) [@​fty4](https://togithub.com/@​fty4) - Add missing links in the CHANGELOG ([#​223](https://togithub.com/stefanzweifel/git-auto-commit-action/pull/223)) [@​ericcornelissen](https://togithub.com/@​ericcornelissen)
detekt/detekt ### [`v1.22.0`](https://togithub.com/detekt/detekt/releases/tag/v1.22.0) We're extremely excited to announce the next upcoming stable release of Detekt: 1.22.0 🚀 This release is coming with 16 new rules, 2 new rulesets and several new functionalities & APIs. We've also introduced the [**Detekt Marketplace**](https://detekt.dev/marketplace), a place for users to share their 3rd party rules and extensions. We want to take the opportunity to thank [our Sponsors](https://togithub.com/sponsors/detekt) and our Contributors for testing, bug reporting and helping us release this new version of Detekt. You're more than welcome to join our community on the [#detekt](https://kotlinlang.slack.com/archives/C88E12QH4) channel on KotlinLang's Slack (you can [get an invite here](https://surveys.jetbrains.com/s3/kotlin-slack-sign-up)). ##### Notable Changes - We're introducing the [**Detekt Marketplace**](https://detekt.dev/marketplace), a place where you can add your own 3rd party extension such as rule, plugins, custom reporter, etc. - [#​5191](https://togithub.com/detekt/detekt/pull/5191) - Our website is now versioned. You can find the changes for each version using the dropdown menu on the top bar. Documentation for the upcoming version (next) [can be found here](https://detekt.dev/docs/next/intro). - We added **16** new Rules to Detekt - `AlsoCouldBeApply` - [#​5333](https://togithub.com/detekt/detekt/pull/5333) - `MultilineRawStringIndentation` - [#​5058](https://togithub.com/detekt/detekt/pull/5058) - `TrimMultilineRawString` - [#​5051](https://togithub.com/detekt/detekt/pull/5051) - `UnnecessaryNotNullCheck` - [#​5218](https://togithub.com/detekt/detekt/pull/5218) - `UnnecessaryPartOfBinaryExpression` - [#​5203](https://togithub.com/detekt/detekt/pull/5203) - `UseSumOfInsteadOfFlatMapSize` - [#​5405](https://togithub.com/detekt/detekt/pull/5405) - `FunctionReturnTypeSpacing` from KtLint - [#​5256](https://togithub.com/detekt/detekt/pull/5256) - `FunctionSignature` from KtLint - [#​5256](https://togithub.com/detekt/detekt/pull/5256) - `FunctionStartOfBodySpacing` from KtLint - [#​5256](https://togithub.com/detekt/detekt/pull/5256) - `NullableTypeSpacing` from KtLint - [#​5256](https://togithub.com/detekt/detekt/pull/5256) - `ParameterListSpacing` from KtLint - [#​5256](https://togithub.com/detekt/detekt/pull/5256) - `SpacingBetweenFunctionNameAndOpeningParenthesis` from KtLint - [#​5256](https://togithub.com/detekt/detekt/pull/5256) - `TrailingCommaOnCallSite` from KtLint - [#​5312](https://togithub.com/detekt/detekt/pull/5312) - `TrailingCommaOnDeclarationSite` from KtLint - [#​5312](https://togithub.com/detekt/detekt/pull/5312) - `TypeParameterListSpacing` from KtLint - [#​5256](https://togithub.com/detekt/detekt/pull/5256) - We added a new ruleset called `detekt-rules-ruleauthors` containing rules for Rule Authors to enforce best practices on Detekt rules such as the new `ViolatesTypeResolutionRequirements` - [#​5129](https://togithub.com/detekt/detekt/pull/5129) [#​5182](https://togithub.com/detekt/detekt/pull/5182) - We added a new ruleset called `detekt-rules-libraries` containing rules mostly useful for Library Authors - We moved the following rules inside `ForbiddenPublicDataClass`, `LibraryCodeMustSpecifyReturnType`, `LibraryEntitiesShouldNotBePublic` this new ruleset - See Migration below on how to migrate [#​5360](https://togithub.com/detekt/detekt/pull/5360) - We added support for JVM toolchain. This means that Detekt will now respect the JDK toolchain you specify on your Gradle configuration. You will also be able to specify a custom JDK home with the `--jdk-home` CLI parameter - [#​5269](https://togithub.com/detekt/detekt/pull/5269) - Improvement for Type Resolution - We will now skip rules annotated with `@RequiresTypeResolution` when without Type Resolution - [#​5176](https://togithub.com/detekt/detekt/pull/5176) - We will warn users if they run rules requiring Type Resolution when Type Resolution is disabled, so they're not silently skipped - [#​5226](https://togithub.com/detekt/detekt/pull/5226) - Improvement for Config Management - We added exhaustiveness check during config validation. You can enable it `checkExhaustiveness: true` in your config file. This is disabled by default. - [#​5089](https://togithub.com/detekt/detekt/pull/5089) - We added support for generating custom configuration for rule authors - [#​5080](https://togithub.com/detekt/detekt/pull/5080) - Deprecations & Removals - We deprecated the MultiRule class as it was overly complicated. The suggested approach is to just provide separated rules. - [#​5161](https://togithub.com/detekt/detekt/pull/5161) - The `--fail-fast` CLI flag (and `failFast` Gradle property) has been removed. It was deprecated since 1.16.x - [#​5290](https://togithub.com/detekt/detekt/pull/5290) - We **deprecated** the following rules `DuplicateCaseInWhenExpression`, `MissingWhenCase`, `RedundantElseInWhen` as the Kotlin Compiler is already reporting errors for those scenarios - [#​5309](https://togithub.com/detekt/detekt/pull/5309) - We removed the `--print-ast` CLI flag as [PsiViewer](https://www.jetbrains.com/help/idea/psi-viewer.html) provides the same features - [#​5418](https://togithub.com/detekt/detekt/pull/5418) - Notable changes to existing rules - `ArrayPrimitive` is now working only with Type Resolution - [#​5175](https://togithub.com/detekt/detekt/pull/5175) - `WildcardImport` is now running also on tests by default - [#​5121](https://togithub.com/detekt/detekt/pull/5121) - `ForbiddenImport` allows now to specify a reason for every forbidden import - [#​4909](https://togithub.com/detekt/detekt/pull/4909) - `IgnoredReturnValue`: option `restrictToAnnotatedMethods` is now deprecated in favor of `restrictToConfig` - [#​4922](https://togithub.com/detekt/detekt/pull/4922) - This version of Detekt is built with Gradle `v7.5.1`, AGP `7.3.1`, Kotlin `1.7.21` and KtLint `0.47.1` (see [#​5363](https://togithub.com/detekt/detekt/pull/5363) [#​5189](https://togithub.com/detekt/detekt/pull/5189) [#​5411](https://togithub.com/detekt/detekt/pull/5411) [#​5312](https://togithub.com/detekt/detekt/pull/5312) [#​5519](https://togithub.com/detekt/detekt/pull/5519)) - The minimum supported Gradle version is now `v6.7.1` - [#​4964](https://togithub.com/detekt/detekt/pull/4964) ##### Migration We deprecated a number of rules in this release. You should update your config file as follows: ```diff potential-bugs: active: true ... - DuplicateCaseInWhenExpression: - active: true ... - MissingWhenCase: - active: true - allowElseExpression: true ... - RedundantElseInWhen: - active: true style: active: true ... - ForbiddenPublicDataClass: - active: true - excludes: ['**'] - ignorePackages: - - '*.internal' - - '*.internal.*' ... - LibraryCodeMustSpecifyReturnType: - active: true - excludes: ['**'] ... - LibraryEntitiesShouldNotBePublic: - active: true - excludes: ['**'] ``` If you wish to use the `libraries` ruleset we introduced you should add the following to your config file: ```diff + libraries: + active: true + ForbiddenPublicDataClass: + active: false + LibraryEntitiesShouldNotBePublic: + active: false + LibraryCodeMustSpecifyReturnType: + active: true ``` and add the following to you `build.gradle` file: ```kotlin detektPlugins("io.gitlab.arturbosch.detekt:detekt-rules-libraries:$version") ``` If you're using our KtLint wrapper (i.e. `detekt-formatting`) you should also update your config file as follows: ```diff formatting: active: true ... - TrailingComma: - active: false - autoCorrect: true - allowTrailingComma: false - allowTrailingCommaOnCallSite: false ... + TrailingCommaOnCallSite: + active: false + autoCorrect: true + useTrailingCommaOnCallSite: false + TrailingCommaOnDeclarationSite: + active: false + autoCorrect: true + useTrailingCommaOnDeclarationSite: false ``` ##### Changelog - ReturnCount: correctly count assignment expressions with elvis return as guard clauses - [#​5539](https://togithub.com/detekt/detekt/pull/5539) - UnnecessaryPartOfBinaryExpression: fix false positive with pair creation - [#​5516](https://togithub.com/detekt/detekt/pull/5516) - False positive at `UnnecessaryPartOfBinaryExpression` - [#​5514](https://togithub.com/detekt/detekt/issues/5514) - Update documentation for TrailingComma rules - [#​5513](https://togithub.com/detekt/detekt/pull/5513) - `TrimMultilineRawString` false-positive on annotation parameters - [#​5476](https://togithub.com/detekt/detekt/issues/5476) - Detekt 1.22.0-RC1 -> 1.22.0-RC2 breaks UnreachableCode - [#​5435](https://togithub.com/detekt/detekt/issues/5435) - Detekt 1.22.0-RC1 -> 1.22.0-RC2 breaks ignoreAnnotated - [#​5427](https://togithub.com/detekt/detekt/issues/5427) - Fix issues introduced by [#​5152](https://togithub.com/detekt/detekt/issues/5152) - [#​5508](https://togithub.com/detekt/detekt/pull/5508) - MultilineLambdaItParameter: fix false positive for one-line statements with a lambda argument - [#​5505](https://togithub.com/detekt/detekt/pull/5505) - UseArrayLiteralsInAnnotations: fix false negative with primitive array factory calls - [#​5482](https://togithub.com/detekt/detekt/pull/5482) - TrimMultilineRawString: fix false positive when it's expected as constant - [#​5480](https://togithub.com/detekt/detekt/pull/5480) - Fix false negative `SafeCast` with no braces - [#​5479](https://togithub.com/detekt/detekt/pull/5479) - Update gradle/wrapper-validation-action digest to [`55e685c`](https://togithub.com/detekt/detekt/commit/55e685c) - [#​5472](https://togithub.com/detekt/detekt/pull/5472) - Grant permission for type resolution Gradle job - [#​5470](https://togithub.com/detekt/detekt/pull/5470) - Fix ObjectPropertyNaming Rule false positive - [#​5466](https://togithub.com/detekt/detekt/pull/5466) - Fix LambdaParameterNaming rule false positive - [#​5465](https://togithub.com/detekt/detekt/pull/5465) - Fix ReturnCount false positive when excludeReturnFromLambda is enabled - [#​5459](https://togithub.com/detekt/detekt/pull/5459) - CognitiveComplexity: count else/else-if as one complexity - [#​5458](https://togithub.com/detekt/detekt/pull/5458) - Fix false positive MultilineRawStringIndentation with tab indentation - [#​5453](https://togithub.com/detekt/detekt/pull/5453) - Don't show the number of issues generating the BindingContext - [#​5449](https://togithub.com/detekt/detekt/pull/5449) - Make detekt less noisy - [#​5448](https://togithub.com/detekt/detekt/pull/5448) - New ruleauthors rule for Entity.from(x.nameIdentifier ?: x) -> Entity.atName(x) - [#​5444](https://togithub.com/detekt/detekt/pull/5444) - Separating ComplexMethod rule into CyclomaticComplexMethod and CognitiveComplexMethod - [#​5442](https://togithub.com/detekt/detekt/pull/5442) - Improve error reporting for CascadingCallWrapping - [#​5439](https://togithub.com/detekt/detekt/pull/5439) - TrimMultilineRawString: fix false positive with not a raw string - [#​5438](https://togithub.com/detekt/detekt/pull/5438) - BooleanPropertyNaming highlight only the name of the variable - [#​5431](https://togithub.com/detekt/detekt/pull/5431) - Deprecate `TrailingComma` as it's now split in two rules - [#​5423](https://togithub.com/detekt/detekt/pull/5423) - Remove unused constant - [#​5421](https://togithub.com/detekt/detekt/pull/5421) - Report if/else as issue location instead of block - [#​5407](https://togithub.com/detekt/detekt/pull/5407) - Remove some unnecessary suppressions - [#​5400](https://togithub.com/detekt/detekt/pull/5400) - Check FormattingRule is auto-correctable by information provided by ktlint - [#​5398](https://togithub.com/detekt/detekt/pull/5398) - Fix false negative MultilineLambdaItParameter on complex multiline single statement - [#​5397](https://togithub.com/detekt/detekt/pull/5397) - ObjectPropertyNaming: fix false positive with top level properties - [#​5390](https://togithub.com/detekt/detekt/pull/5390) - Remove usage of MPP targets function for JVM-only projects - [#​5383](https://togithub.com/detekt/detekt/pull/5383) - UnnecessaryNotNullCheck: fix false negative with smart casted arguments - [#​5380](https://togithub.com/detekt/detekt/pull/5380) - Add missing overlapping info & fix rules URLs - [#​5378](https://togithub.com/detekt/detekt/pull/5378) - AlsoCouldBeApply: fix false positive when all statements are not `it`-started expressions - [#​5376](https://togithub.com/detekt/detekt/pull/5376) - UnusedPrivateMember: fix false negative with named arguments - [#​5374](https://togithub.com/detekt/detekt/pull/5374) - Change requires type resolution rule warning to debug level to not spam the user console - [#​5353](https://togithub.com/detekt/detekt/pull/5353) - Report UseDataClass findings on class name - [#​5352](https://togithub.com/detekt/detekt/pull/5352) - Report LabeledExpression as the label instead of the whole expression - [#​5351](https://togithub.com/detekt/detekt/pull/5351) - Report CastToNullableType at the cast operator instead of the whole expression - [#​5350](https://togithub.com/detekt/detekt/pull/5350) - Convert previously known string property to list based on default value - [#​5347](https://togithub.com/detekt/detekt/pull/5347) - CastToNullableType: highlights too much - [#​5346](https://togithub.com/detekt/detekt/issues/5346) - UseDataClass flags the whole class body, not just the name - [#​5338](https://togithub.com/detekt/detekt/issues/5338) - CanBeNonNullable: explain why the rule does what it does. - [#​5332](https://togithub.com/detekt/detekt/pull/5332) - Differentiate between correctable and non-correctable KtLint rules - [#​5324](https://togithub.com/detekt/detekt/pull/5324) - ReturnCount 1.22.0 crashes on valid 1.21.0 config property excludedFunctions when using --all-rules cli flag - [#​5323](https://togithub.com/detekt/detekt/issues/5323) - LabeledExpression to highlight only label - [#​5316](https://togithub.com/detekt/detekt/issues/5316) - Use the correct source directory set on JVM - [#​5163](https://togithub.com/detekt/detekt/pull/5163) - Get Android variant compile classpath from compileConfiguration - [#​5152](https://togithub.com/detekt/detekt/pull/5152) - Use list config for `FunctionOnlyReturningConstant>excludedFunctions` - [#​5120](https://togithub.com/detekt/detekt/pull/5120) - MaxLineLength: raw typo and test cleanup - [#​5315](https://togithub.com/detekt/detekt/pull/5315) - EndOfSentenceFormat: fix HTML tag heuristic - [#​5313](https://togithub.com/detekt/detekt/pull/5313) - Fix EndOfSentenceFormat highlight - [#​5311](https://togithub.com/detekt/detekt/pull/5311) - Introduce configFile property on DetektGenerateTask - [#​5308](https://togithub.com/detekt/detekt/pull/5308) - Improve debug suggestion message - [#​5300](https://togithub.com/detekt/detekt/pull/5300) - Fat-Jar version of detekt-generator module - [#​5297](https://togithub.com/detekt/detekt/pull/5297) - Toolchains docs - [#​5293](https://togithub.com/detekt/detekt/pull/5293) - Adopt new AGP dsl - [#​5288](https://togithub.com/detekt/detekt/pull/5288) - NonBooleanPropertyPrefixedWithIs: Allow boolean functions - [#​5285](https://togithub.com/detekt/detekt/pull/5285) - Provide the current classpath inside `KotlinEnvironmentResolver` - [#​5275](https://togithub.com/detekt/detekt/pull/5275) - Fix false-positive on `NestedScopeFunctions` - [#​5274](https://togithub.com/detekt/detekt/pull/5274) - Use convention method to set task property defaults - [#​5272](https://togithub.com/detekt/detekt/pull/5272) - Update docusaurus monorepo to v2.1.0 - [#​5270](https://togithub.com/detekt/detekt/pull/5270) - detektVersionReplace.js plugin is not replacing all \[detekt_version] tags on website - [#​5266](https://togithub.com/detekt/detekt/pull/5266) - Update ktlint rule doc links - [#​5258](https://togithub.com/detekt/detekt/pull/5258) - Remove redundant rule config for rules enabled by default - [#​5257](https://togithub.com/detekt/detekt/pull/5257) - UnusedPrivateMember: fix false positive with backtick parameters - [#​5252](https://togithub.com/detekt/detekt/pull/5252) - Improve MultilineRawStringIndentation - [#​5245](https://togithub.com/detekt/detekt/pull/5245) - UnnecessaryLet: fix false positive with with invoke operator calls - [#​5240](https://togithub.com/detekt/detekt/pull/5240) - Introduce baseline tooling api - [#​5239](https://togithub.com/detekt/detekt/pull/5239) - Allow secondary constructors to reference CoroutineDispatchers - [#​5227](https://togithub.com/detekt/detekt/pull/5227) - Update `UnnecessaryAbstractClass` issue description to be less verbose - [#​5224](https://togithub.com/detekt/detekt/pull/5224) - Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.8.0 - [#​5223](https://togithub.com/detekt/detekt/pull/5223) - Pin dependencies - [#​5222](https://togithub.com/detekt/detekt/pull/5222) - Remove rule from NamingRules multi rule - [#​5212](https://togithub.com/detekt/detekt/pull/5212) - Run all rules from EmptyBlocks multi rule individually - [#​5208](https://togithub.com/detekt/detekt/pull/5208) - Run all rules from KDocStyle multi rule individually - [#​5207](https://togithub.com/detekt/detekt/pull/5207) - Docs: GitHub - Add link to configure Sarif severity alert level - [#​5206](https://togithub.com/detekt/detekt/pull/5206) - Fix errors with `detektGenerateConfig` - [#​5199](https://togithub.com/detekt/detekt/pull/5199) - Forbid constructors with `ForbiddenMethodCall` - [#​5195](https://togithub.com/detekt/detekt/pull/5195) - Update github/codeql-action digest to [`2ca79b6`](https://togithub.com/detekt/detekt/commit/2ca79b6) - [#​5177](https://togithub.com/detekt/detekt/pull/5177) - Allow to ignore overloaded methods for the complex interface rule ([#​5165](https://togithub.com/detekt/detekt/issues/5165)) - [#​5173](https://togithub.com/detekt/detekt/pull/5173) - Add excludesRawStrings in MaxLineLength - [#​5171](https://togithub.com/detekt/detekt/pull/5171) - Enable Predictive Test Selection for local builds - [#​5170](https://togithub.com/detekt/detekt/pull/5170) - Update dependency org.kohsuke:github-api to v1.307 - [#​5168](https://togithub.com/detekt/detekt/pull/5168) - Update dependency com.github.ajalt:clikt to v2.8.0 - [#​5167](https://togithub.com/detekt/detekt/pull/5167) - Update docusaurus monorepo to v2.0.1 - [#​5166](https://togithub.com/detekt/detekt/pull/5166) - Run build-logic Kotlin compilation out of process on CI - [#​5162](https://togithub.com/detekt/detekt/pull/5162) - Add information about exhaustiveness check to documentation - [#​5160](https://togithub.com/detekt/detekt/pull/5160) - Use getter when determining whether custom config path is set in DetektGenerateConfigTask - [#​5157](https://togithub.com/detekt/detekt/pull/5157) - Limit Kotlin version warning suppression scope in build - [#​5156](https://togithub.com/detekt/detekt/pull/5156) - Re-enable warnings as errors for detekt-gradle-plugin - [#​5155](https://togithub.com/detekt/detekt/pull/5155) - Bundle slf4j-nop in detekt-formatting JAR - [#​5153](https://togithub.com/detekt/detekt/pull/5153) - Fix false negative for UseRequire when thrown in conditional block - [#​5147](https://togithub.com/detekt/detekt/pull/5147) - Allow parentheses for unclear precedence with range operator - [#​5143](https://togithub.com/detekt/detekt/pull/5143) - Mark apiDump task as incompatible with configuration cache - [#​5134](https://togithub.com/detekt/detekt/pull/5134) - Improve binding context management - [#​5130](https://togithub.com/detekt/detekt/pull/5130) - `RedundantExplicitType` add annotation `@RequiresTypeResolution` - [#​5128](https://togithub.com/detekt/detekt/pull/5128) - Disable `ExitOutsideMain` if `contextBinding` is empty - [#​5127](https://togithub.com/detekt/detekt/pull/5127) - Use list config for `DataClassContainsFunctions>conversionFunctionPrefix` - [#​5119](https://togithub.com/detekt/detekt/pull/5119) - Support proper globbing in `ReturnCount` - [#​5118](https://togithub.com/detekt/detekt/pull/5118) - Improve finding message of ExplicitItLambdaParameter - [#​5117](https://togithub.com/detekt/detekt/pull/5117) - Update JamesIves/github-pages-deploy-action digest to [`13046b6`](https://togithub.com/detekt/detekt/commit/13046b6) - [#​5110](https://togithub.com/detekt/detekt/pull/5110) - UnusedUnaryOperator: fix false positive with var assignment and if expression - [#​5106](https://togithub.com/detekt/detekt/pull/5106) - Tag publishPlugins task as incompatible with configuration cache - [#​5101](https://togithub.com/detekt/detekt/pull/5101) - Make verifyGeneratorOutput task configuration cache compatible - [#​5100](https://togithu

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

myuwono commented 1 year ago

@i-walker this is safe from my perspective. Would you be able to reconfirm the changes to arrow-gradle-config and whether that is safe?