What’s New

ktlint 1.3.0

1.3.0
🆕 Features
🔧 Fixes
  • Do not wrap operation reference after multiline string template - #2591, by @paul-dingemans

  • Ignore max line length in case the line contains only a string template followed by a comma - #2598, by @paul-dingemans

  • Ignore nested reference expressions in chain-method-continuation - #2606, by @paul-dingemans

  • Prevent exception in binary-expression-wrapping rule - #2607, by @paul-dingemans

  • Do not merge opening quotes of multiline string template with (single line) function signature - #2609, by @paul-dingemans

  • Fix replacement of redundant curly braces - #2617, by @paul-dingemans

  • Set and reset Locale to pass test for non-english contributor. - #2622, by @Jaehwa-Noh

  • Fix unwanted whitespace between super class constructor and its argument list - #2630, by @tKe

  • Fix typo's - #2641, by @paul-dingemans

  • Handle trailing space on preceding line in call to lineLengthWithoutNewlinePrefix - #2644, by @paul-dingemans

  • Fix KDoc for RuleSetProviderV3 - #2645, by @gumimin

  • Fix not checking for spacing around binary operators inside unary expression - #2653, by @cflee

  • Fix blank line before declarations rule code example - #2657, by @k-taro56

  • Fixed [{ }] notation for issue #2675 - #2677, by @Jolanrensen

  • Simplify default properties loading - #2679, by @Goooler

📦 Dependencies
  • Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.9.20 - #2590, by @renovate[bot]

  • Update softprops/action-gh-release action to v2 - #2600, by @renovate[bot]

  • Update dependency io.github.detekt.sarif4k:sarif4k to v0.6.0 - #2605, by @renovate[bot]

  • Update dependency gradle to v8.7 - #2616, by @renovate[bot]

  • Migrate to develocity plugin - #2625, by @Goooler

  • Update dependency org.slf4j:slf4j-simple to v2.0.13 - #2632, by @renovate[bot]

  • Update gradle/wrapper-validation-action action to v3 - #2633, by @renovate[bot]

  • Update dependency io.github.oshai:kotlin-logging-jvm to v6.0.9 - #2634, by @renovate[bot]

  • Update dependency com.github.ajalt.clikt:clikt to v4.4.0 - #2647, by @renovate[bot]

  • Update kotlin monorepo to v1.9.24 - #2649, by @renovate[bot]

  • Update plugin com.gradle.develocity to v3.17.4 - #2660, by @renovate[bot]

  • Update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.15.3 - #2662, by @renovate[bot]

  • Update actions/checkout digest to a5ac7e5 - #2664, by @renovate[bot]

  • Update dependency org.assertj:assertj-core to v3.26.0 - #2669, by @renovate[bot]

View original

Discussion