v1.23.1
1.23.1 - 2023-07-30
This is a point release for Detekt 1.23.0
, where we added support for Kotlin 1.9.0
and fixed several bugs that
got reported by the community.
Notable Changes
- Bumped Kotlin to v1.9.0 - #6258
- Bumped KtLint to v0.50.0 - #6239
- Updated CLI to reflect Java 20 support - #6277
Changelog
- Add missing jdkHome and languageVersion properties to DetektCreateBaselineTask - #6284
- Make InvalidRange aware of rangeUntil operator - #6264
- MaxChainedCallsOnSameLine: don't count class references as chained calls - #6224
- CanBeNonNullable: Fix false positive when property is defined after assignment - #6210
- Add
..<
andrangeTo
in theForEachOnRange
rule - #6197 - Don't report
UseDataClass
if class contains non-property parameters - #6173 - Allow documenting public fun name when same private variable is present - #6165
- Find range call using recursion - #6164
- StringShouldBeRawString: Ignore
replaceIndent
andprependIndent
- #6154 - UnusedPrivateProperty: Fix false postive by ignoring data classes - #6151
- PropertyUsedBeforeDeclaration: fix false positive in nested/inner class - #6139
Dependency Updates
- Update dependency gradle to v8.2.1 - #6274
- Switch to SLF4J 2.x - #6266
- Update kotlin monorepo to v1.8.22 - #6192
Contributors
We would like to thank the following contributors that made this release possible: @3flex, @Goooler, @Hexcles, @PoisonedYouth, @TWiStErRob, @VirtualParticle, @atulgpt, @cortinico, @dzirbel, @eygraber, @marschwar, @rmarquis, @segunfamisa, @severn-everett, @t-kameyama