ktlint v0.38.0 Release Notes

Release Date: 2020-08-21 // over 3 years ago
  • ๐Ÿ†• New release with Kotlin 1.4.0 support and several enhancements and bugfixes.

    โž• Added

    • ๐Ÿ‘• Experimental SpacingAroundAngleBracketsRule (#769)
    • ๐Ÿ‘• Checksum generation for executable Jar (#695)
    • Enable Gradle dependency verification
    • ๐Ÿ‘• parameter-list-wrapping rule now also considers function arguments while wrapping (#620)
    • Publish snapshots built against kotlin development versions
    • ๐ŸŽ‰ Initial support for tab-based indentation (#128)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Safe-called wrapped trailing lambdas indented correctly (#776)
    • ๐Ÿ‘• provideDelegate imports are not marked as unused anymore (#669)
    • ๐Ÿ’… Set continuation indent to 4 in IDE integration codestyle (#775)
    • ๐Ÿ‘• No empty lines between annotation and annotated target (#688)
    • ๐Ÿ‘• Unused imports reported correctly (#526) (#405)
    • ๐Ÿ‘• No false empty lines inserted in multiline if-else block (#793)
    • ๐Ÿ‘• No-wildcard-imports properly handles custom infix function with asterisk (#799)
    • ๐Ÿ‘• Do not require else to be in the same line of a right brace if the right brace is not part of the if statement (#756)
    • ๐Ÿ‘• Brace-less if-else bodies starting with parens indented correctly (#829)
    • ๐Ÿ‘• If-condition with multiline call expression inside indented correctly (#796)

    ๐Ÿ”„ Changed

    • โšก๏ธ Update Gradle to 6.6 version
    • โšก๏ธ Update ec4j to 0.2.2 version. Now it should report path to .editorconfig file on failed parsing
      and allow empty .editorconfig files.
    • โšก๏ธ Update Kotlin to 1.4.0 version (#830)