detekt v1.6.0 Release Notes

Release Date: 2020-02-26 // about 4 years ago
  • Migration

    Rule set authors do not need to exclude their rule set from config validation anymore.
    0๏ธโƒฃ This will be done by default now.

    If you need to include further config property checks, give the new ConfigValidator api a try.

    ๐Ÿ”„ Changelog
    • ๐Ÿ“š Check-in ConfigValidator documentation - #2368
    • โœ‚ Remove obsolete PathFilter class - #2367
    • Reference coroutines doc for homepage - #2363
    • ๐Ÿ“š [Documentation Request] Coroutine Ruleset - #2362
    • Extend AnnotationExcluder to catch fully qualified annotations - #2361
    • UnnecessaryAbstractClass excludeAnnotatedClasses not working - #2360
    • Replace LinkedList with ArrayDeque - #2358
    • ๐Ÿ›  Fix detection of CRLF line endings - #2357
    • Introduce new ConfigValidator extensions - #2285 - #2356
    • ๐Ÿ‘ Include options to better meet requirements for utility files - #2355
    • Don't normalize file content twice - #2354
    • โœ‚ Remove unused code in rules/Case.kt - #2351
    • โž• Add blog post about speeding up a detekt task - #2349
    • โž• Add tests for setting KtLint's config - #2348
    • โž• add details into internal validation - #2347
    • ๐Ÿšš Minor change in the HTML report: Remove extra space when you copy the file path - #2344
    • detekt does not always inject the required EDITOR_CONFIG_USER_DATA_KEY for ktlint - #2339
    • โœ‚ Remove duplicate tests for TooManyFunctions rule - #2338
    • โž• Add EmptyTryBlock rule - #2337
    • ๐Ÿ‘‰ Use requireNotNull for arguments checking - #2336
    • ๐Ÿ”จ Refactor and add tests to Ast- and ElementPrinter - #2335
    • โž• Add test case for disabled reports - #2334
    • ๐Ÿ”จ Refactor ReportPath:load() - #2333
    • โž• Add test case for FileProcessorLocator - #2332
    • โž• Add test cases for Kt(Tree)Compiler - #2331
    • โž• Add equality test cases for PathFiler - #2330
    • โž• Add local function test case for MethodOverloading rule - #2328
    • โž• Add anonymous object expression test case for MethodOverloading rule - #2327
    • Validate Gradle Wrapper - #2326
    • ๐Ÿ‘‰ Use more consistent metrics in HtmlReport - #2325
    • ๐Ÿ›  Fix ClassCastException in ExplicitCollectionElementAccessMethod - #2323
    • ExplicitCollectionElementAccessMethod crashes - #2322
    • 0๏ธโƒฃ use same behaviour for valueOrNull as for valueOrDefault - #2319
    • FailFastConfig.valueOrNull should return specified value for active and maxIssues - #2316
    • ๐Ÿ›  Bugfix: MagicNumber with ignoreNamedArgument and a negative value - #2315
    • More consistent reports - #2291
    • ๐Ÿ”„ Change MatchingDeclarationName to handle utility files - #1500
    • False-positive MagicNumber issue reported when using negative numbers - #530

    ๐Ÿ‘€ See all issues at: 1.6.0