Download Latest Version 1.8.0 source code.zip (2.4 MB)
Email in envelope

Get an email when there's a new version of ktlint

Home / 1.5.0
Name Modified Size InfoDownloads / Week
Parent folder
ktlint 2024-12-04 73.2 MB
ktlint-1.5.0.zip 2024-12-04 67.4 MB
ktlint.asc 2024-12-04 831 Bytes
ktlint.bat 2024-12-04 528 Bytes
1.5.0 source code.tar.gz 2024-12-04 1.9 MB
1.5.0 source code.zip 2024-12-04 2.4 MB
README.md 2024-12-04 3.0 kB
Totals: 7 Items   145.0 MB 1

The release of Kotlin 2.1 is the primary reason for publishing this release earlier than planned. Because of the removal of some language elements in Kotlin 2.1, the embedded Kotlin compiler in KtLint blocked Kotlinter users from upgrading to Kotlin 2.1.

🆕 Features

  • Add missing space between fun keyword and identifier when latter is wrapped between backticks - #2890, by @paul-dingemans

  • Add configuration setting for constant names in property-naming rule - #2893, by @paul-dingemans

  • Allow backing property to be defined in the companion object (backing-property-naming) - #2895, by @paul-dingemans

🔧 Fixes

  • Ignore multi dollar string interpolation prefix in string-template-indent rule - #2888, by @paul-dingemans

  • Wrap the expression body in case .editorconfig property ktlint_function_signature_body_expression_wrapping is set to always - #2873, by @paul-dingemans

  • Fix false positive when empty parameter list is in between trailing lambda's of a nested call expression - #2891, by @paul-dingemans

  • Do not wrap a context receiver in a function parameter type reference - #2892, by @paul-dingemans

  • Allow comment before parameter list in function literal (function-literal) - #2894, by @paul-dingemans

📦 Dependencies

  • chore(deps): update plugin com.gradle.develocity to v3.18.2 - #2865, by @renovate[bot]

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

  • fix(deps): update dependency io.github.hakky54:logcaptor to v2.10.0 - #2874, by @renovate[bot]

  • fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-rc2 - #2871, by @renovate[bot]

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

  • fix(deps): update kotlin monorepo to v2.1.0 - #2880, by @renovate[bot]

  • fix(deps): update dependency com.github.ajalt.clikt:clikt to v5.0.2 - #2886, by @renovate[bot]

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

  • fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.0 - #2889, by @renovate[bot]

Source: README.md, updated 2024-12-04