ktlint v0.42.0 Release Notes

Release Date: 2021-07-29 // over 2 years ago
  • 🚀 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