Skip to content

1.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Feb 17:58
· 181 commits to master since this release
ab287d9

🆕 Features

WARNING: The new rules have accidentally not been marked as experimental. This will be fixed in a bugfix!

  • Break dependency between string-template-indent and multiline-expression-wrapping - #2505, by @paul-dingemans

  • Allow string template to exceed max line length when it is the only element on a line - #2480, by @paul-dingemans

  • Add configuration setting for ignoring argument-list-wrapping above treshold of argument - #2481, by @paul-dingemans
    NOTE: In code style ktlint_official this threshold is unset so that arguments are always wrapped. If this impacts your code too much, you can make it backward compatible by setting .editorconfig property ktlint_argument_list_wrapping_ignore_when_parameter_count_greater_or_equal_than to value 8. For other code styles this property is initialized with value 8 and as of that backward compatible by default.

  • Ignore EOL comment that causes max_line_length to be exceeded, except in max-line-length rule - #2516, by @paul-dingemans

  • Add new rule for disallowing KDoc at non-whitelisted locations - #2548, by @paul-dingemans

  • Improve insert of suppression - #2546, by @paul-dingemans

  • Ignore modifier of backing property in android_studio code style - #2552, by @paul-dingemans

  • Add rule to check spacing around square brackets 'square-brackets-spacing' - #2555, by @paul-dingemans

  • Add rule blank-line-between-when-conditions - #2564, by @paul-dingemans

🔧 Fixes

📦 Dependencies

  • chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v0.8.0 - #2503, by @renovate[bot]

  • fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v6 - #2440, by @renovate[bot]

  • Replace gradle/gradle-build-action@v3 with gradle/actions/setup-gradle@v3 - #2518, by @paul-dingemans

  • chore(deps): update plugin kotlinx-binary-compatibiltiy-validator to v0.14.0 - #2522, by @renovate[bot]

  • chore(deps): update gradle/wrapper-validation-action action to v2 - #2523, by @renovate[bot]

  • chore(deps): update ffurrer2/extract-release-notes action to v2 - #2515, by @renovate[bot]

  • chore(deps): update dependency gradle to v8.6 - #2531, by @renovate[bot]

  • fix(deps): update dependency org.assertj:assertj-core to v3.25.3 - #2536, by @renovate[bot]

  • fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.10.2 - #2534, by @renovate[bot]

  • fix(deps): update dependency org.slf4j:slf4j-simple to v2.0.12 - #2538, by @renovate[bot]

  • fix(deps): update dependency org.codehaus.janino:janino to v3.1.12 - #2559, by @renovate[bot]

💬 Other