ktlint v0.42.1 Release Notes

Release Date: 2021-08-06 // 2 months ago
  • ๐Ÿš€ Dot release to fix regressions in indent rule introduced in 0.42.0 release. Thanks to t-kameyama for the fixes!

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix false positive with delegated properties (indent) (#1189)
    • ๐Ÿ›  Fix false positive with lambda argument in super type entry (indent) (#1188)

Previous changes from v0.42.0

  • ๐Ÿš€ Thank you to the following contributors for this release:

    โž• Added

    • ๐Ÿ‘• SARIF output support (#1102)

    ๐Ÿ›  Fixed

    • โœ‚ Remove needless blank lines in dot qualified expression (#1077)
    • ๐Ÿ›  Fix false positives for SpacingBetweenDeclarationsWithAnnotationsRule (#1125)
    • ๐Ÿ›  Fix false positive with eol comment (annotation-spacing) (#1124)
    • ๐Ÿ›  Fix KtLint dependency variant selection (#1114)
    • ๐Ÿ›  Fix false positive with 'by lazy {}' (indent) (#1162)
    • ๐Ÿ›  Fix false positive with value argument list has lambda (indent) (#764)
    • ๐Ÿ›  Fix false positive in lambda in dot qualified expression (argument-list-wrapping) (#1112)
    • ๐Ÿ›  Fix false positive with multiline expression with elvis operator in assignment (indent) (#1165)
    • ๐Ÿ‘• Ignore backticks in imports for ordering purposes (import-ordering) (#1106)
    • ๐Ÿ›  Fix false positive with elvis operator and comment (chain-wrapping) (#1055)
    • ๐Ÿ›  Fix false negative in when conditions (chain-wrapping) (#1130)
    • ๐Ÿ›  Fix the Html reporter Chinese garbled (#1140)
    • ๐ŸŽ Performance regression introduced in 0.41.0 (#1135)

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated to dokka 1.4.32 (#1148)
    • โšก๏ธ Updated Kotlin to 1.5.20 version