All Versions
27
Latest Version
Avg Release Cycle
20 days
Latest Release
1048 days ago

Changelog History
Page 2

  • v1.5.0 Changes

    January 28, 2020
    Notable Changes
    • detekt is now silent by default. It only prints something if issues are found.
      โœ‚ Remove the following excludes if you want the old behavior back.

      console-reports: active: trueexclude: - 'ProjectStatisticsReport' - 'ComplexityReport' - 'NotificationReport'

    • ๐Ÿ— detekt now fails the build if any issue is found. Change the maxIssues property to 10 for the old threshold.

      build: maxIssues: 0

    • ๐Ÿ–จ The HTML report now prints the issue count per rule and rule set.

    • ๐Ÿ†• New rules: ExplicitCollectionElementAccessMethod and ForbiddenMethod

    ๐Ÿ”„ Changelog
    • โž• add new mention to README.md - #2293
    • Sort html report - #2290
    • Number format in some report - #2289
    • ๐Ÿ‘‰ Show the finding count in the html report - #2288
    • Keep the order of the issues in the html report - #2287
    • ๐Ÿ‘‰ Show issue count in the html report - #2286
    • ๐Ÿ›  Fixing the Documentation not properly calling the superclass - #2284
    • Do you have to call super in custom rules? - #2283
    • ๐ŸŽ Measure performance of various stages when using --debug - #2281
    • โœ‚ Remove printing the whole config for --debug - #2280
    • 0๏ธโƒฃ Introduce DefaultRuleSetProvider interface marking detekt-rules providers as default - #2279
    • ๐Ÿ— Simplify test dependency setup in build files - #2278
    • ๐Ÿ›  Fix class loader memory leaks when loading services - #2277
    • Always dispose Kotlin environment fixing memory leak in error cases - #2276
    • ๐Ÿ— Sanitize gradle build scripts and suppress unstable api usages - #2271
    • โšก๏ธ Update website ruby dependencies fixing potential security vulnerability - #2270
    • ๐Ÿ›  Fix regression not considering baseline file when calculating build failure threshold - #2269
    • 0๏ธโƒฃ Turn detekt silent by default - #2268
    • โœ‚ Remove redundant build failure message - #2264 - #2266
    • ๐Ÿ— Build failed with... is printed twice in the cli - #2264
    • โšก๏ธ Update config:maxIssues value to 0 - #2263
    • Don't flag inherited visibility in NestedClassesVisibility - #2261
    • ๐Ÿ— Simplify argument parsing logic, remove any exitProcess() calls from buildRunner - #2260
    • 0๏ธโƒฃ Modify default behavior to not output unless errors are found. Adding a verbose flag which will have legacy behavior - #2258
    • โœ… Test some edge cases in detekt-api - #2256
    • โž• Add a new line at the end of the txt report - #2255
    • Implement ExplicitCollectionElementAccessMethod rule - #2215
    • ForbiddenMethod Rule - #1954
    • NestedClassesVisibility(False negative): Nested class doesn't inherit visibility from parent - #1930

    ๐Ÿ‘€ See all issues at: 1.5.0

  • v1.4.0 Changes

    January 12, 2020
    Notable Changes

    ๐Ÿ†• New rule set coroutines with two specialized rules was added.
    As always new rules must be activated by the user until they get stable.

    coroutines: active: trueGlobalCoroutineUsage: active: falseRedundantSuspendModifier: active: false
    

    โšก๏ธ Wrapped KtLint was updated to 0.36.0 introducing two rules

    • EnumEntryNameCase
    • NoEmptyFirstLineInMethodBlock
    Migration

    ๐Ÿ—„ The properties ignoreOverriddenFunction and ignoreOverriddenFunctions of some rules got deprecated and unified to a new property ignoreOverridden.

    ๐Ÿ”„ Changelog
    • ๐Ÿ”จ Refactor BuildFailure code - #2250
    • ๐Ÿ›  Fix nested methods bug in MethodOverloading rule - #2249
    • ThrowingExceptionInMain rule should consider main() function with no parameters - #2248
    • MethodOverloading bug with nested overloaded methods - #2247
    • โฌ‡๏ธ Reduce complexity in FindingsReport - #2246
    • โž• Add RedundantSuspendModifier rule - #2244
    • ๐Ÿ†• New ktlint rules - #2243
    • Inline MethodOverloading case file - #2241
    • โœ… ThrowingExceptionInMain: fix #2248 and add tests - #2240
    • โž• Add disposing Kotlin environment. - #2238
    • OOM on multiple invocations - #2237
    • ๐Ÿ‘Œ Improve doc for UnusedPrivateMember - #2236
    • ๐Ÿ”ง Don't resolve dependencies during project configuration - #2235
    • โช Revert "Introduce Pull Request Labeler" - #2234
    • ๐Ÿ›  Fix #2230 equals() func detection - #2233
    • ๐Ÿ›  Fix git commit-hook label and code snippet doc - #2232
    • WrongEqualsTypeParameter does not ignore multi-parameter equals methods - #2230
    • Introduce Pull Request Labeler - #2228
    • ๐Ÿ— Gradle plugin: Build upon default detekt config - #2227
    • ๐Ÿ‘• Apply ktlint formatting plugin to Gradle plugin - #2226
    • โฌ†๏ธ Bump dependencies - #2225
    • โš™ Run shadowJar & installShadowDist task with everything else - #2220
    • Travis: Use consistent Java vendor - #2219
    • 0๏ธโƒฃ "Property is misspelled or does not exist" error for new rules in default rulesets - #2217
    • MethodOverloading false positive if every entry of an enum implement a method. - #2216
    • โž• Add Git detekt pre-commit hook doc - #2214
    • โœ‚ Remove exclude workaround for new build property - #2203
    • โž• Add GlobalCoroutineUsage rule + coroutines ruleset - #2174
    • โž• Add rule [RedundantSuspend] to detect redundant suspend modifiers - #2156
    • ๐Ÿ—„ Deprecate ignoreOverriddenFunction/s in favor of ignoreOverridden - #2132

    ๐Ÿ‘€ See all issues at: 1.4.0

  • v1.3.1 Changes

    December 29, 2019
    • โœ‚ Remove old unused documentation - #2210
    • ๐Ÿ‘‰ Show code snippet erros in html reports - #2209
    • ๐Ÿ‘• Use compileAndLint in UnusedPrivateClassSpec - #2208
    • ๐Ÿ›  Fix false positive in UnusedPrivateClass - #2207
    • โšก๏ธ Update readme promoting new properties of the gradle plugin - #2205
    • Rename default const containing ACCEPTED - #2204
    • Mistake From LongParameterList.kt - #2202
    • ๐Ÿ— Exclude yet unknown new build property - #2201
    • โž• Add comment regarding type resolution to README - #2199
    • Type resolution doc - #2198
    • Correct indentation for Groovy DSL doc - #2197
    • ๐Ÿ‘‰ Use shorthand syntax for assertThat() - #2196
    • ๐Ÿ”จ Refactor MagicNumber to use commaSeparatedPatterns - #2195
    • Attach FILE_PATH_USER_DATA_KEY user data on FormattingRules (#1907) - #2194
    • ๐Ÿ”Œ Handle invalid config exit code in gradle plugin - #2193
    • โž• Add tests showing how to exclude custom config properties in plugins - #2192
    • ๐Ÿ›  Fix suppression of KtLint rules on file level - #2179 - #2191
    • Mention needed kotlinx.html library from jcenter - #2146 - #2190
    • UnusedPrivateClass has false positive behavior for deserialized items - #2158
    • ๐Ÿ— Use JDK 11 (LTS) + 13 for AppVeyor builds - #2141
    • Document how to create a common baseline file for multi module gradle projects - #2140
    • DetektAll with baseline fails with error - #2100
    • ForbiddenMethod Rule - #1954
    • Do not report auto-corrected formatting issues - #1840

    ๐Ÿ‘€ See all issues at: 1.3.1

  • v1.3.0 Changes

    December 22, 2019
    Notable changes
    • Minimal Gradle version increased to 5.0
    • ๐Ÿ†• New rules:
      • UnnecessaryAnnotationUseSiteTargetRule
      • MapGetWithNotNullAssertionOperator
    ๐Ÿ”„ Changelog
    • โž• Add printers to the command line runner - #2188
    • ๐Ÿ›  Fix documentation of UseArrayLiteralsInAnnotations - #2186
    • Inline resolving severity label for XML reports - #2184
    • ๐Ÿ“š Extract common jvm target value, add jvmTarget into documentation. Clโ€ฆ - #2183
    • ๐Ÿ›  Fix Detekt gradle task cache restoration issue (#2180) - #2182
    • ๐Ÿ›  Fix exception when running ArrayPrimitive on star-projected arrays - #2181
    • Gradle cache restoration issue - #2180
    • โž• Add MacOS JDK13 build job to TravisCI - #2177
    • ๐Ÿ‘ป Running "ArrayPrimitive" rule on "Array<*>" causes detekt to throw exception - #2176
    • โšก๏ธ Update Spek to v2.0.9 - #2173
    • Create Rule: MapGetWithNotNullAssertionOperator - #2171
    • EqualsAlwaysReturnsTrueOrFalse fails hard on override fun equals(other:Any) = ... - #2167
    • ๐Ÿš€ Prepare 1.3.0 release - #2165
    • ๐Ÿ“š UnsafeCast: update documentation to match new behavior - #2164
    • โž• Add jvmTarget change into documentation - #2157
    • Create UnnecessaryAnnotationUseSiteTargetRule - #2099
    • Gradle 6 - #1902
    • Gradle 6 planning - #1820

    ๐Ÿ‘€ See all issues at: 1.3.0

  • v1.2.2 Changes

    December 05, 2019
    Notable Changes
    • โช 1.2.1 introduced breaking changes for users of Gradle < 5. This was reverted.
    • ๐Ÿ‘ 1.3.0 will drop support for Gradle < 5.
    • ๐Ÿ›  Fixed a regression in the html report.
    ๐Ÿ”„ Changelog
    • โšก๏ธ regression updating 1.2.0 to 1.2.1, unknown property 'filters' for object of type DetektExtension - #2163
    • StringIndexOutOfBoundsException when generating HTML report - #2160
    • โช Restore KotlinExtension - #2159
    • ๐Ÿ— 1.2.1 breaks the build with: unresolved reference: detekt - #2152
    • ๐Ÿ“š Updated to correct classpath documentation for Android projects. - #2149
    • โšก๏ธ Update to Kotlin v1.3.61 - #2147
    • Document how to exclude detekt from the check task - #1894 - #2144
    • ๐Ÿ— Use JDK 11 (LTS) + 13 for Travis builds - #2142
    • โœ… Don't compile test snippets (bindingContext) - #2137
    • โšก๏ธ StringIndexOutOfBoundsException: String index out of range: 8 when generating HTML report after update to 1.2.0 - #2134

    ๐Ÿ‘€ See all issues at: 1.2.2

  • v1.2.1

    November 30, 2019
  • v1.2.0

    November 23, 2019
  • v1.1.1

    October 12, 2019
  • v1.1.0

    October 06, 2019
  • v1.0.1

    August 24, 2019