# detekt changelog > Static analysis for Kotlin. - Vendor: detekt - Category: Developer Tools - Official site: https://detekt.dev - Tracked by: What's New (https://whatsnew.fyi/product/detekt) - Harvested from: GitHub (detekt/detekt) - Entries below: 10 (newest first) What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. ## Releases ### v2.0.0-alpha.5 - Date: 2026-06-17 - Version: v2.0.0-alpha.5 - Original notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.5 - Permalink: https://whatsnew.fyi/product/detekt/releases/v2.0.0-alpha.5 - Labels: Pre-release - **fixed** — Stop leaking ktlint-repackage as a transitive dependency - **fixed** — Exclude gradle-public-api from published POM - **changed** — Stop accepting unsupported API or language versions passed to CLI ##### 2.0.0-alpha.5 - 2026-06-17 This is a hotfix release for `2.0.0-alpha.4` where we fixed 2 bugs that were preventing detekt from running correctly. ###### Changelog - fix: stop leaking ktlint-repackage as a transitive dependency - [#9391](https://github.com/detekt/detekt/pull/9391) - fix: exclude gradle-public-api from published POM - [#9408](https://github.com/detekt/detekt/pull/9408) - Stop accepting unsupported API or language versions passed to CLI - [#9410](https://github.com/detekt/detekt/pull/9410) ### v2.0.0-alpha.4 - Date: 2026-06-13 - Version: v2.0.0-alpha.4 - Original notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.4 - Permalink: https://whatsnew.fyi/product/detekt/releases/v2.0.0-alpha.4 - Labels: Pre-release - **added** — Support Kotlin 2.4.0 - **added** — Add new rule LeakingSessionBoundType - **changed** — Apply the indent_style configuration to all the ktlint wrapper rules - **changed** — Expose Glob-to-Regex functions in psi-utils - **changed** — Make Detektion immutable - **fixed** — Prevent ArrayPrimitive crash on unresolved types - **fixed** — Fix PrintStackTrace nested call detection - **fixed** — Fix unused import false positive for companion object member extension properties - **fixed** — Accept punctuation after a link - **fixed** — Fix UnnecessaryFullyQualifiedName false positive with explicit import shadowing - **removed** — Stop publishing ktlint-repackage - **removed** — Stop exposing ktlint's StandardRule to detekt-rules-ktlint-wrapper consumers - **changed** — Include ktlint-repackage in ktlint-wrapper JAR - **changed** — Declare DGP compatibility with Gradle's configuration cache - **changed** — Forward languageVersionSettings to KotlinAnalysisApiEngine.compile - **fixed** — Fix UnnecessaryFullyQualifiedName clashes with kotlin package name - **removed** — Remove excludeImportStatements from Deprecation rule - **changed** — Add exhaustive option to OutdatedDocumentation rule and improve error messages - **changed** — Exclude generated sources by default - **changed** — Allow single-argument Boolean generics in NonBooleanPropertyPrefixedWithIs ##### 2.0.0-alpha.4 - 2026-06-13 This is an alpha release of Detekt 2.0.0. Is built against Kotlin 2.4.0, Gradle 9.5.1, AGP 9.2.1 and is tested against JDK 25. ###### Notable Changes - Support Kotlin 2.4.0 - [#9218](https://github.com/detekt/detekt/pull/9218) - Add new rule `LeakingSessionBoundType` - [#9242](https://github.com/detekt/detekt/pull/9242) - Apply the `indent_style` configuration to all the ktlint wrapper rules (previsouly this was applied only to the `Indentation` rule) - [#9315](https://github.com/detekt/detekt/pull/9315) ###### Breaking Changes - Expose Glob-to-Regex functions in `psi-utils` - [#9340](https://github.com/detekt/detekt/pull/9340) - Make `Detektion` immutable - [#8583](https://github.com/detekt/detekt/pull/8583) ###### Changelog - fix: prevent ArrayPrimitive crash on unresolved types - [#9364](https://github.com/detekt/detekt/pull/9364) - Update ktlint documentation links - [#9354](https://github.com/detekt/detekt/pull/9354) - Fix PrintStackTrace nested call detection - [#9352](https://github.com/detekt/detekt/pull/9352) - Fix unused import false positive for companion object member extension properties - [#9349](https://github.com/detekt/detekt/pull/9349) - Accept punctuation after a link - [#9341](https://github.com/detekt/detekt/pull/9341) - Fixes UnnecessaryFullyQualifiedName false positive with explicit import shadowing - [#9329](https://github.com/detekt/detekt/pull/9329) - docs: fix KMP type resolution task names - [#9316](https://github.com/detekt/detekt/pull/9316) - Stop publishing ktlint-repackage - [#9314](https://github.com/detekt/detekt/pull/9314) - Stop exposing ktlint's StandardRule to detekt-rules-ktlint-wrapper consumers - [#9313](https://github.com/detekt/detekt/pull/9313) - Include ktlint-repackage in ktlint-wrapper JAR - [#9312](https://github.com/detekt/detekt/pull/9312) - Declare DGP compatibility with Gradle's configuration cache - [#9311](https://github.com/detekt/detekt/pull/9311) - Forward languageVersionSettings to KotlinAnalysisApiEngine.compile - [#9305](https://github.com/detekt/detekt/pull/9305) - docs: add ForbiddenImport configuration example - [#9302](https://github.com/detekt/detekt/pull/9302) - Fix `UnnecessaryFullyQualifiedName` clashes with kotlin package name - [#9289](https://github.com/detekt/detekt/pull/9289) - Remove excludeImportStatements from Deprecation rule - [#9287](https://github.com/detekt/detekt/pull/9287) - Improve repackaging of Analysis API dependencies - [#9285](https://github.com/detekt/detekt/pull/9285) - MaxChainedCallsOnSameLine - Fix AA type leaks - [#9261](https://github.com/detekt/detekt/pull/9261) - SuspendFunSwallowedCancellation - Fix AA type leaks - [#9256](https://github.com/detekt/detekt/pull/9256) - feat: Add exhaustive option to OutdatedDocumentation rule, also improve error messages - [#9255](https://github.com/detekt/detekt/pull/9255) - Excluding generated sources by default - [#9251](https://github.com/detekt/detekt/pull/9251) - Move `FileProcessListenerExtensions` to `:detekt-test` - [#9212](https://github.com/detekt/detekt/pull/9212) - Improve SuspendFunSwallowedCancellation - [#9208](https://github.com/detekt/detekt/pull/9208) - Cli filters - [#9200](https://github.com/detekt/detekt/pull/9200) - Allow single-argument Boolean generics in `NonBooleanPropertyPrefixedWithIs` - [#9173](https://github.com/detekt/detekt/pull/9173) - Remove `Config.parentPath` - [#9036](https://github.com/detekt/detekt/pull/9036) ###### Dependency Updates - Update Poko to v0.23.1 - [#9371](https://github.com/detekt/detekt/pull/9371) - Update slf4j monorepo to v2.0.18 - [#9324](https://github.com/detekt/detekt/pull/9324) - Update agp to v9.2.1 - [#9268](https://github.com/detekt/detekt/pull/9268) ###### Housekeeping & Refactorings - Update test to avoid typealias to compiler-required annotation - [#9361](https://github.com/detekt/detekt/pull/9361) - Remove unnecessary compileOnly depen _[Truncated at 4000 characters — full notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.4]_ ### v2.0.0-alpha.3 - Date: 2026-04-24 - Version: v2.0.0-alpha.3 - Original notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.3 - Permalink: https://whatsnew.fyi/product/detekt/releases/v2.0.0-alpha.3 - Labels: Pre-release - **changed** — Bump Kotlin to v2.3.21 - **changed** — Bump AGP to v9.1.1 - **added** — Add support for AGP 9 built-in Kotlin - **added** — Add new rule: UnnecessaryRun - **changed** — Rule UnnecessaryFullyQualifiedName now requires full mode to run - **removed** — Remove DetektProgressListener from public API - **removed** — Remove InvalidConfigurationError from public API - **fixed** — Fix AA type leaks in UseOrEmpty - **fixed** — Fix AA type leaks in ForbiddenNamedParam - **fixed** — Fix AA type leaks in UnusedVariable - **fixed** — Fix AA type leaks in UnnecessaryNotNullOperator - **fixed** — Fix AA type leaks in Deprecation - **fixed** — Fix AA type leaks in NestedScopeFunctions - **added** — Suggest similar property names for misspelled config properties - **changed** — Do not forbid use of java.lang.annotation.Inherited annotation by default - **fixed** — Fix false positive with name collisions - **added** — Add ignoreClass config to MissingUseCall - **changed** — Support indent_style in ktlint Indention rule - **added** — Add severity to different md, html reports - **fixed** — Fix false positive for ExplicitCollectionElementAccessMethod with lambdas ##### 2.0.0-alpha.3 - 2026-04-24 This is an alpha release of Detekt 2.0.0. Is built against Kotlin 2.3.21, Gradle 9.3.1, AGP 9.1.1 and is tested against JDK 25. As of this release, the workaround of disabling the new DSL and built-in Kotlin via `gradle.properties` for AGP 9.x projects is **no longer required**. ###### Notable Changes - Bump Kotlin to v2.3.21 - [#9272](https://github.com/detekt/detekt/pull/9272) - Bump AGP to v9.1.1 - [#9244](https://github.com/detekt/detekt/pull/9244) - Add support for AGP 9 built-in Kotlin - [#9100](https://github.com/detekt/detekt/pull/9100) - Rule `UnnecessaryFullyQualifiedName` now requires full mode to run - [#9061](https://github.com/detekt/detekt/pull/9061) - Add new rule: `UnnecessaryRun` - [#7428](https://github.com/detekt/detekt/pull/7428) ###### Breaking Changes - Remove `DetektProgressListener` from our public API - [#9221](https://github.com/detekt/detekt/pull/9221) - Remove `InvalidConfigurationError` from our public API - [#8994](https://github.com/detekt/detekt/pull/8994) ###### Changelog - UseOrEmpty - Fix AA type leaks - [#9263](https://github.com/detekt/detekt/pull/9263) - ForbiddenNamedParam - Fix AA type leaks - [#9262](https://github.com/detekt/detekt/pull/9262) - UnusedVariable - Fix AA type leaks - [#9260](https://github.com/detekt/detekt/pull/9260) - UnnecessaryNotNullOperator - Fix AA type leaks - [#9259](https://github.com/detekt/detekt/pull/9259) - Deprecation - Fix AA type leaks - [#9258](https://github.com/detekt/detekt/pull/9258) - NestedScopeFunctions - Fix AA type leaks - [#9257](https://github.com/detekt/detekt/pull/9257) - Suggest similar property names for misspelled config properties - [#9250](https://github.com/detekt/detekt/pull/9250) - MagicNumber DslGradleRunner test fix - [#9245](https://github.com/detekt/detekt/pull/9245) - Don't forbid use of `java.lang.annotation.Inherited` annotation by default - [#9224](https://github.com/detekt/detekt/pull/9224) - Fixes #9017 - false positive with name collisions - [#9223](https://github.com/detekt/detekt/pull/9223) - Optimize how we get project statistics - [#9217](https://github.com/detekt/detekt/pull/9217) - Rename `ProjectComplexityProcessor` to `ProjectCyclomaticComplexityProcessor` - [#9213](https://github.com/detekt/detekt/pull/9213) - Add ignoreClass config to MissingUseCall - [#9205](https://github.com/detekt/detekt/pull/9205) - Remove `LicenseHeaderLoaderExtension` from the list of processors - [#9204](https://github.com/detekt/detekt/pull/9204) - cli: Improve messages and exception types of `--report` - [#9203](https://github.com/detekt/detekt/pull/9203) - Validate `--classpath` with JCommander - [#9202](https://github.com/detekt/detekt/pull/9202) - System-dependent path separators - [#9199](https://github.com/detekt/detekt/pull/9199) - Do not report IgnoredReturnValue on lambda invocation that returns Unit - [#9192](https://github.com/detekt/detekt/pull/9192) - Point to `valOrVarKeyword` for reporting the issue - [#9191](https://github.com/detekt/detekt/pull/9191) - Check `Throwable` class - [#9190](https://github.com/detekt/detekt/pull/9190) - Do no report when parent has class - [#9189](https://github.com/detekt/detekt/pull/9189) - Add support of `indent_style` in ktlint `Indention` rule - [#9180](https://github.com/detekt/detekt/pull/9180) - Add severity to different md, html reports - [#9167](https://github.com/detekt/detekt/pull/9167) - Check local class which can't be converted to interface - [#9166](https://github.com/detekt/detekt/pull/9166) - Inline yaml config in the test - [#9154](https://github.com/detekt/detekt/pull/9154) - Tests: Don't check compilation errors with `compile-test-snippets=false` - [#9153](https://github.com/detekt/detekt/pull/9153) - `YamlConfig.load` returns `YamlConfig` instead of `Config` - [#9151](https://github.com/detekt/detekt/pull/9151) - Generator: The --config flag value should be a directory or it shouldn' _[Truncated at 4000 characters — full notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.3]_ ### v2.0.0-alpha.2 - Date: 2026-01-27 - Version: v2.0.0-alpha.2 - Original notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.2 - Permalink: https://whatsnew.fyi/product/detekt/releases/v2.0.0-alpha.2 - Labels: Pre-release ##### 2.0.0-alpha.2 - 2026-01-27 This is an alpha release of Detekt 2.0.0. It's built against Kotlin 2.3.0, Gradle 9.3.0, AGP 9.0.0 and is tested against JDK 25. Please note that in order for this alpha of Detekt to run in an AGP 9.0.0 project, you will need to disable the new DSL and built-in Kotlin by adding these properties to `gradle.properties`: ``` android.newDsl=false android.builtInKotlin=false ``` Further updates on `builtInKotlin` support in Detekt Gradle Plugin [will be available here](https://github.com/detekt/detekt/issues/8981). ###### Notable Changes - Bump Kotlin to 2.3.0 - [#8743](https://github.com/detekt/detekt/pull/8743) - Bump Gradle to 9.3.0 - [#8982](https://github.com/detekt/detekt/pull/8982) - Bump AGP to 9 - [#8553](https://github.com/detekt/detekt/pull/8553) - Bump minimum AGP to 8.2.2 - [#8931](https://github.com/detekt/detekt/pull/8931) - Enable rules by default that are now standard in ktlint 1.8.0 - [#8849](https://github.com/detekt/detekt/pull/8849) - Bump KtLint to v1.8.0 - [#8843](https://github.com/detekt/detekt/pull/8843) - New ktlint Rule: `ThenSpacingRule` - [#8850](https://github.com/detekt/detekt/pull/8850) - New Rule: `UnnecessaryInitOnArray` - [#8784](https://github.com/detekt/detekt/pull/8784) - New Rule: `UnnecessaryFullyQualifiedName` - [#8917](https://github.com/detekt/detekt/pull/8917) ###### Breaking Changes - Rename `documentation` to `comments` - [#8889](https://github.com/detekt/detekt/pull/8889) - Rename `empty` to `emptyblocks` - [#8888](https://github.com/detekt/detekt/pull/8888) - Rename `bugs` rules to `potentialbugs` - [#8887](https://github.com/detekt/detekt/pull/8887) - Remove `UnnecessaryAnnotationUseSiteTarget` rule - [#8861](https://github.com/detekt/detekt/pull/8861) - Rename RuleSet.Id to RuleSetId - [#8810](https://github.com/detekt/detekt/pull/8810) - Rename rule `CommentOverPrivateMethod` to `DocumentationOverPrivateMethod` - [#8778](https://github.com/detekt/detekt/pull/8778) - Refactor `AbsentOrWrongFileLicense` - [#8969](https://github.com/detekt/detekt/pull/8969) - Compile DGP against kotlin-plugin-api only not KGP itself - [#8756](https://github.com/detekt/detekt/pull/8756) - Change configuration options for ForbiddenImport rule - [#8747](https://github.com/detekt/detekt/pull/8747) ###### Changelog - fix(UnusedImport): detect named companion objects correctly - [#9005](https://github.com/detekt/detekt/pull/9005) - Remove unnecessary tests - [#8985](https://github.com/detekt/detekt/pull/8985) - Pass the correct type to `TestConfig` - [#8984](https://github.com/detekt/detekt/pull/8984) - Remove special case for active at `TestConfig` - [#8983](https://github.com/detekt/detekt/pull/8983) - `TestConfig` over `yamlConfigFromContent` - [#8974](https://github.com/detekt/detekt/pull/8974) - Skip underscore placeholders for unused variables on NonNameShadowing rule (#8962) - [#8965](https://github.com/detekt/detekt/pull/8965) - docs: clarify function type handling in ForbiddenMethodCall - [#8964](https://github.com/detekt/detekt/pull/8964) - Check if there suspend function in try block before reporting - [#8950](https://github.com/detekt/detekt/pull/8950) - Fix SubpluginArtifact coordinates for dev.detekt:detekt-compiler-plugin - [#8938](https://github.com/detekt/detekt/pull/8938) - Handle case when inner is required as parent is inner - [#8927](https://github.com/detekt/detekt/pull/8927) - Add paragraph on AI contributed PR - [#8922](https://github.com/detekt/detekt/pull/8922) - Handle case when reference is provided - [#8895](https://github.com/detekt/detekt/pull/8895) - Don't enable rules by default that are only enabled when using ktlint_official code style - [#8845](https://github.com/detekt/detekt/pull/8845) - Filter operations which are terminal as they don't continue sequence - [#8804](https://github.com/detekt/detekt/pull/8804) - Add modality check from analysis api - [#8803](https://github.com _[Truncated at 4000 characters — full notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.2]_ ### v2.0.0-alpha.1 - Date: 2025-10-21 - Version: v2.0.0-alpha.1 - Original notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.1 - Permalink: https://whatsnew.fyi/product/detekt/releases/v2.0.0-alpha.1 - Labels: Pre-release ##### 2.0.0-alpha.1 - 2025-10-21 This is an alpha release of Detekt 2.0.0. Is built against Kotlin 2.2.20, Gradle 9.1.0 and is tested against JDK 25. Full changelog is available here: https://detekt.dev/changelog-2.0.0 ###### Requirements | Detekt Version | Gradle | Kotlin | AGP | Java Target Level | JDK Max Version | |-----------------|----------|----------|----------|-------------------|-----------------| | `2.0.0-alpha.1` | `9.1.0` | `2.2.20` | `8.13.0` | `1.8` | `25` | ###### Contributors We would like to thank the following contributors that made this release possible: @3flex @BraisGabin @Copilot @CziSKY @atulgpt @jonapoul @marschwar @mikaelreiersolmoen See all issues at: [2.0.0](https://github.com/detekt/detekt/milestone/42) ### v2.0.0-alpha.0 - Date: 2025-09-04 - Version: v2.0.0-alpha.0 - Original notes: https://github.com/detekt/detekt/releases/tag/v2.0.0-alpha.0 - Permalink: https://whatsnew.fyi/product/detekt/releases/v2.0.0-alpha.0 - Labels: Pre-release ##### 2.0.0-alpha.0 - 2025-09-04 This is an initial alpha release of Detekt 2.0.0. Full changelog is available here: https://detekt.dev/changelog-2.0.0 ###### Requirements | Detekt Version | Gradle | Kotlin | AGP | Java Target Level | JDK Max Version | |-----------------|----------|----------|----------|-------------------|-----------------| | `2.0.0-alpha.0` | `8.13.0` | `2.2.10` | `8.13.0` | `1.8` | `21` | ###### Contributors We would like to thank the following contributors that made this release possible: @3flex, @BraisGabin, @ErdoganSeref, @GeorgCantor, @Goooler, @Gosunet, @Hexcles, @JordanLongstaff, @LeoColman, @MaximSysoev, @Nava2, @PStrelchenko, @PhilippNowak96, @PoisonedYouth, @TWiStErRob, @VirtualParticle, @VovaStelmashchuk, @arturbosch, @atulgpt, @baseballyama, @bmuschko, @bomiyr, @bric3, @brunoescalona, @chao2zhang, @cortinico, @dzirbel, @eygraber, @hirokinoue, @hudson155, @ilim-ablyaev, @inorichi, @kkocel, @lexa-diky, @marschwar, @matejdro, @mdemianova, @mgroth0, @neugartf, @noar-t, @pablobaxter, @paolorotolo, @psuzn, @rhazarian, @rmarquis, @robholmes, @schalkms, @segunfamisa, @severn-everett, @stellingsimon, @t-kameyama, @tfcporciuncula, @xouabita. See all issues at: [2.0.0](https://github.com/detekt/detekt/milestone/42) ### v1.23.8 - Date: 2025-02-21 - Version: v1.23.8 - Original notes: https://github.com/detekt/detekt/releases/tag/v1.23.8 - Permalink: https://whatsnew.fyi/product/detekt/releases/v1.23.8 ###### 1.23.8 - 2025-02-20 This is a point release for Detekt `1.23.0`, built against Kotlin `2.0.21`, with fixes for several bugs that got reported by the community. ###### Notable Changes - fix(deps): Update kotlin to 2.0.21 - [#7580](https://github.com/detekt/detekt/pull/7580) - fix(deps): Update AGP to v8.8.1 - [#7879](https://github.com/detekt/detekt/pull/7936) - fix(deps): update Gradle to v8.12.1 - [#7780](https://github.com/detekt/detekt/pull/7780) ###### Changelog - UseDataClass: do not report on `expect` classes - [#7857](https://github.com/detekt/detekt/pull/7857) - Fix InjectDispatcher false positives - [#7797](https://github.com/detekt/detekt/pull/7797) - [UnnecessaryParentheses] Allow float/double without integer part - [#7751](https://github.com/detekt/detekt/pull/7751) - Fix `ThrowingExceptionsWithoutMessageOrCause` false positive - [#7715](https://github.com/detekt/detekt/pull/7715) - Issue #7634: Make `UndocumentedPublicClass` configurable to flag `com… - [#7635](https://github.com/detekt/detekt/pull/7635) - Fix redundant empty tags in baseline XML - [#7625](https://github.com/detekt/detekt/pull/7625) - MatchingDeclarationName now supports platofrm suffixes - [#6426](https://github.com/detekt/detekt/pull/6426) ###### Contributors We would like to thank the following contributors that made this release possible: @BraisGabin, @JordanLongstaff, @Nava2, @atulgpt, @eygraber, @lexa-diky, @t-kameyama ### v1.23.7 - Date: 2024-09-08 - Version: v1.23.7 - Original notes: https://github.com/detekt/detekt/releases/tag/v1.23.7 - Permalink: https://whatsnew.fyi/product/detekt/releases/v1.23.7 ###### 1.23.7 - 2024-09-08 This is a point release for Detekt `1.23.0`, built against Kotlin `2.0.10`, with fixes for several bugs that got reported by the community. ###### Notable Changes - fix(deps): update kotlin monorepo to v2.0.10 - [#7517](https://github.com/detekt/detekt/pull/7517) - Update to Kotlin 2.0.0 [#6640](https://github.com/detekt/detekt/pull/6640) - fix(deps): update kotlin monorepo to v1.9.24 - [#7264](https://github.com/detekt/detekt/pull/7264) - fix(deps): update dependency com.android.tools.build:gradle to v8.5.2 - [#7525](https://github.com/detekt/detekt/pull/7525) - chore(deps): update dependency gradle to v8.10 - [#7546](https://github.com/detekt/detekt/pull/7546) ###### Changelog - Add basic support for isolated projects to 1.x - [#7526](https://github.com/detekt/detekt/pull/7526) - ExplicitCollectionElementAccessMethod: fix false positive when Map put has 3 arguments - [#7563](https://github.com/detekt/detekt/pull/7563) - BracesOnIfStatements: fix false-positive when chained - [#7444](https://github.com/detekt/detekt/pull/7444) - Add enum entry check in `UndocumentedPublicProperty` - [#7426](https://github.com/detekt/detekt/pull/7426) - Use the anchor which is already present before - [#7423](https://github.com/detekt/detekt/pull/7423) - Fix small corner-case in "SerialVersionUIDInSerializableClass" rule, … - [#7346](https://github.com/detekt/detekt/pull/7346) - SwallowedException: fix false positive when exception is used as a receiver - [#7288](https://github.com/detekt/detekt/pull/7288) - NamedArguments: fix false positive on spread varargs - [#7283](https://github.com/detekt/detekt/pull/7283) - MultilineLambdaItParameter: fix false negative with single statement on multiple lines - [#7221](https://github.com/detekt/detekt/pull/7221) - Check for root of receiver in selector expression - [#7220](https://github.com/detekt/detekt/pull/7220) - Check for `public companion` object for `UndocumentedPublicClass` - [#7219](https://github.com/detekt/detekt/pull/7219) - fix: TopLevelPropertyNaming also detecting extension property name - [#7212](https://github.com/detekt/detekt/pull/7212) - Publish detekt-compiler-plugin-all to Maven and GH Releases - [#7179](https://github.com/detekt/detekt/pull/7179) - versioned default detekt config file link - [#7161](https://github.com/detekt/detekt/pull/7161) - Support rangeUntil operator for UnusedImport rule - [#7104](https://github.com/detekt/detekt/pull/7104) - Fix false positive on it usages when type parameter is specified - [#6850](https://github.com/detekt/detekt/pull/6850) ###### Housekeeping/Docs - [bugfix] AnnotationOnSeparateLine in snippets - [#6526](https://github.com/detekt/detekt/pull/6526) - Add docs about using the Compiler Plugin with the Kotlin CLI compiler - [#7184](https://github.com/detekt/detekt/pull/7184) ### v1.23.6 - Date: 2024-03-25 - Version: v1.23.6 - Original notes: https://github.com/detekt/detekt/releases/tag/v1.23.6 - Permalink: https://whatsnew.fyi/product/detekt/releases/v1.23.6 ###### 1.23.6 - 2024-03-23 This is a point release for Detekt `1.23.0`, where we added support for Kotlin `1.9.23` and fixed several bugs that got reported by the community. ###### Changelog - UselessPostfixExpression - Fix #7037 false positive postfix - [#7084](https://github.com/detekt/detekt/pull/7084) - Don't allow invalid Source Locations - [#7030](https://github.com/detekt/detekt/pull/7030) - UnusedPrivateClass: don't report if private classes are used for type conversion - [#6995](https://github.com/detekt/detekt/pull/6995) - RedundantSuspendModifier: do not report when the function has 'actual' modifier - [#6951](https://github.com/detekt/detekt/pull/6951) - Update dependency gradle to v8.7 - [#7080](https://github.com/detekt/detekt/pull/7080) - Update kotlin monorepo to v1.9.23 - [#7027](https://github.com/detekt/detekt/pull/7027) - Update dependency gradle to v8.6 - [#6939](https://github.com/detekt/detekt/pull/6939) - Update dependency com.android.tools.build:gradle to v8.3.1 - [#7070](https://github.com/detekt/detekt/pull/7070) ###### Contributors We would like to thank the following contributors that made this release possible: @BraisGabin, @psuzn, @t-kameyama. ### v1.23.5 - Date: 2024-01-31 - Version: v1.23.5 - Original notes: https://github.com/detekt/detekt/releases/tag/v1.23.5 - Permalink: https://whatsnew.fyi/product/detekt/releases/v1.23.5 This is a point release for Detekt `1.23.0`, where we added support for Kotlin `1.9.22` and fixed several bugs that got reported by the community. ###### Notable Changes - Test Gradle plugin with AGP 8.2.0 - [#6672](https://github.com/detekt/detekt/pull/6672) - chore(deps): update dependency gradle to v8.5 - [#6663](https://github.com/detekt/detekt/pull/6663) - fix(deps): update kotlin monorepo to v1.9.22 - [#6746](https://github.com/detekt/detekt/pull/6746) ###### Changelog - Report rule's default severity in sarif backport - [#6916](https://github.com/detekt/detekt/pull/6916) - Add ignoreAnnotatedFunctions to TooManyFunctions - [#6875](https://github.com/detekt/detekt/pull/6875) - Fix by checking the existence of label in previous statements - [#6671](https://github.com/detekt/detekt/pull/6671) - Also check `USELESS_ELVIS` in `UnreachableCode` - [#6624](https://github.com/detekt/detekt/pull/6624) - Fix by adding last method call to the set - [#6567](https://github.com/detekt/detekt/pull/6567) ###### Housekeeping & Refactorings - Opt in to ExperimentalCompilerApi in all compilations in compiler-plugin - [#6534](https://github.com/detekt/detekt/pull/6534) ###### Contributors We would like to thank the following contributors that made this release possible: @3flex, @TWiStErRob, @atulgpt, @matejdro