Skip to content

chore(deps): update detekt to v2.0.0-alpha.5#5792

Merged
jamesarich merged 1 commit into
mainfrom
renovate/detekt
Jun 18, 2026
Merged

chore(deps): update detekt to v2.0.0-alpha.5#5792
jamesarich merged 1 commit into
mainfrom
renovate/detekt

Conversation

@renovate

@renovate renovate Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dev.detekt 2.0.0-alpha.32.0.0-alpha.5 age adoption passing confidence
dev.detekt:detekt-gradle-plugin (source) 2.0.0-alpha.32.0.0-alpha.5 age adoption passing confidence
dev.detekt:detekt-rules-ktlint-wrapper (source) 2.0.0-alpha.32.0.0-alpha.5 age adoption passing confidence

Release Notes

detekt/detekt (dev.detekt:detekt-gradle-plugin)

v2.0.0-alpha.5

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
  • fix: exclude gradle-public-api from published POM - #​9408
  • Stop accepting unsupported API or language versions passed to CLI - #​9410

v2.0.0-alpha.4

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
  • Add new rule LeakingSessionBoundType - #​9242
  • Apply the indent_style configuration to all the ktlint wrapper rules (previsouly this was applied only to the Indentation rule) - #​9315
Breaking Changes
  • Expose Glob-to-Regex functions in psi-utils - #​9340
  • Make Detektion immutable - #​8583
Changelog
  • fix: prevent ArrayPrimitive crash on unresolved types - #​9364
  • Update ktlint documentation links - #​9354
  • Fix PrintStackTrace nested call detection - #​9352
  • Fix unused import false positive for companion object member extension properties - #​9349
  • Accept punctuation after a link - #​9341
  • Fixes UnnecessaryFullyQualifiedName false positive with explicit import shadowing - #​9329
  • docs: fix KMP type resolution task names - #​9316
  • Stop publishing ktlint-repackage - #​9314
  • Stop exposing ktlint's StandardRule to detekt-rules-ktlint-wrapper consumers - #​9313
  • Include ktlint-repackage in ktlint-wrapper JAR - #​9312
  • Declare DGP compatibility with Gradle's configuration cache - #​9311
  • Forward languageVersionSettings to KotlinAnalysisApiEngine.compile - #​9305
  • docs: add ForbiddenImport configuration example - #​9302
  • Fix UnnecessaryFullyQualifiedName clashes with kotlin package name - #​9289
  • Remove excludeImportStatements from Deprecation rule - #​9287
  • Improve repackaging of Analysis API dependencies - #​9285
  • MaxChainedCallsOnSameLine - Fix AA type leaks - #​9261
  • SuspendFunSwallowedCancellation - Fix AA type leaks - #​9256
  • feat: Add exhaustive option to OutdatedDocumentation rule, also improve error messages - #​9255
  • Excluding generated sources by default - #​9251
  • Move FileProcessListenerExtensions to :detekt-test - #​9212
  • Improve SuspendFunSwallowedCancellation - #​9208
  • Cli filters - #​9200
  • Allow single-argument Boolean generics in NonBooleanPropertyPrefixedWithIs - #​9173
  • Remove Config.parentPath - #​9036
Dependency Updates
Housekeeping & Refactorings
  • Update test to avoid typealias to compiler-required annotation - #​9361
  • Remove unnecessary compileOnly dependencies - #​9318
Contributors

We would like to thank the following contributors that made this release possible: @​3flex, @​BraisGabin, @​ChristophyBarth, @​FletchMcKee, @​Lucas-FManager, @​ShubhamWorks02, @​Will-thom, @​e5l, @​fru1tworld, @​jonapoul, @​luanpotter, @​matejdro, @​mirkoalicastro, @​nchen000, @​ninebolt6, @​paulkagiri, @​travisMiehm


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Dependency update label Jun 13, 2026
@github-actions github-actions Bot added the chore label Jun 13, 2026
@codecov

codecov Bot commented Jun 13, 2026

Copy link
Copy Markdown

⚠️ JUnit XML file not found

The CLI was unable to find any JUnit XML files to upload.
For more help, visit our troubleshooting guide.

@renovate renovate Bot force-pushed the renovate/detekt branch 24 times, most recently from c37110b to 672ca11 Compare June 17, 2026 21:39
@renovate renovate Bot changed the title chore(deps): update detekt to v2.0.0-alpha.4 chore(deps): update detekt Jun 17, 2026
@renovate renovate Bot force-pushed the renovate/detekt branch from 672ca11 to 520dddd Compare June 17, 2026 23:33
@renovate renovate Bot force-pushed the renovate/detekt branch from 520dddd to feb7c6a Compare June 18, 2026 01:56
@renovate renovate Bot changed the title chore(deps): update detekt chore(deps): update detekt to v2.0.0-alpha.5 Jun 18, 2026
@jamesarich jamesarich merged commit 0227421 into main Jun 18, 2026
19 checks passed
@jamesarich jamesarich deleted the renovate/detekt branch June 18, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant