Releases: facebook/ktfmt
Releases · facebook/ktfmt
0.15
This version contains tags 0.14 and 0.15; there's no separate v0.14 release.
Release Notes:
- Handle annotations with type arguments (fixes #48)
- Fit annotations in one line when possible
- Handle multi-annotations with use-site targets (fixes #51)
- Handle the 'dynamic' keyword (#50)
- Avoid closing block in qualified expression for non-lambdas
- Fix breaking after = for a property with no type and many annotations
- Preserve existing line breaks in output (\n, \r or \r\n)
- Don't add a newline between
package
and the next element when there are no imports - Correctly indent blocky expressions in if-else
- Fix bug in all-under import deduplication
- Fix super statements without labels
- Support super expressions with type qualifier
- Fix space after return with no value
- ktfmt now drops redundant semicolons
- Better formatting for qualified expressions
- Support suspended types (#33)
Get it on Maven Central: https://search.maven.org/artifact/com.facebook/ktfmt/0.15/jar
0.13
New:
- The minimum supported runtime version is JDK 11, released September 2018.
ktfmt
is now usable directly from Maven central, using the coordinatescom.facebook:ktfmt:0.13
.
Get it on Maven Central: https://search.maven.org/artifact/com.facebook/ktfmt/0.13/jar
0.12
Delta vs v0.11:
- All tests now pass.
- ktfmt no longer modifies multiline strings.
Get it on Maven Central: https://search.maven.org/artifact/com.facebook/ktfmt/0.12/jar
0.11
Just trying the UI :)
Known issue:
- One test is failing ("handle comments in the middle of calling chain").
ktfmt
may change multiline strings.
Get it from Maven Central: https://search.maven.org/artifact/com.facebook/ktfmt/0.11/jar