Skip to content

0.15

Compare
Choose a tag to compare
@cgrushko cgrushko released this 07 Jul 17:00

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