ktlint v0.39.0 Release Notes

Release Date: 2020-09-14 // about 1 month ago
  • โž• Added

    • โž• Add new applyToIDEA location for IDEA 2020.1.x and above on MacOs
    • ๐Ÿ–จ Debug output: print loaded .editorconfig content
    • Extract argument-list-wrapping rule into experimental ruleset
    • Split annotation-spacing into separate experimental rule

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Do not enforce raw strings opening quote to be on a separate line (#711)
    • ๐Ÿ‘• False negative with multiline type parameter list in function signature for parameter-list-wrapping(#680)
    • ๐Ÿ‘• Alternative .editorconfig path is ignored on stdin input (#869)
    • ๐Ÿ‘• False positive with semicolons before annotations/comments/kdoc (#825)
    • ๐Ÿ‘• Do not report when string-template expression is a keyword (#883)
    • ๐Ÿ‘• False positive for subclass imports in no-unused-imports (#845)
    • ๐Ÿ‘• False positive for static java function imports in no-unused-imports (#872)
    • ๐Ÿš€ Missing signature for KtLint CLI artifact published to Github release (#895)
    • ๐Ÿ‘• Crash in annotation rule (#868)
    • ๐Ÿ‘• False-positive unused import violation (#902)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• Ktlint object internal code cleanup
    • ๐Ÿ‘• Deprecate some of public methods in Ktlint object that should not be exposed as public api
    • โšก๏ธ Update Kotlin to 1.4.10 version
    • ๐Ÿ‘‰ Make RuleSet class open so it can be inherited

Previous changes from v0.38.1

  • ๐Ÿš€ Minor release to support projects using mixed 1.3/1.4 Kotlin versions (e.g. Gradle plugins)

    ๐Ÿ”„ Changed

    • Compile with apiLevel = 1.3