ktlint v0.38.0 Release Notes
Release Date: 2020-08-21 // over 3 years ago-
๐ New release with Kotlin 1.4.0 support and several enhancements and bugfixes.
โ Added
- ๐ Experimental SpacingAroundAngleBracketsRule (#769)
- ๐ Checksum generation for executable Jar (#695)
- Enable Gradle dependency verification
- ๐
parameter-list-wrapping
rule now also considers function arguments while wrapping (#620) - Publish snapshots built against kotlin development versions
- ๐ Initial support for tab-based indentation (#128)
๐ Fixed
- ๐ Safe-called wrapped trailing lambdas indented correctly (#776)
- ๐
provideDelegate
imports are not marked as unused anymore (#669) - ๐ Set continuation indent to 4 in IDE integration codestyle (#775)
- ๐ No empty lines between annotation and annotated target (#688)
- ๐ Unused imports reported correctly (#526) (#405)
- ๐ No false empty lines inserted in multiline if-else block (#793)
- ๐ No-wildcard-imports properly handles custom infix function with asterisk (#799)
- ๐ Do not require else to be in the same line of a right brace if the right brace is not part of the if statement (#756)
- ๐ Brace-less if-else bodies starting with parens indented correctly (#829)
- ๐ If-condition with multiline call expression inside indented correctly (#796)
๐ Changed
- โก๏ธ Update Gradle to 6.6 version
- โก๏ธ Update ec4j to 0.2.2 version. Now it should report path to
.editorconfig
file on failed parsing
and allow empty.editorconfig
files. - โก๏ธ Update Kotlin to 1.4.0 version (#830)