Skip to content

Releases: facebook/ktfmt

0.59

14 Oct 20:27

Choose a tag to compare

Fixed

  • Special format handling of multiline strings handling of first line and do not format string template expressions (#560) – @hick209
  • Do not remove semicolon after an unnamed empty companion object, if it isn't the last element (#557) – @cgrushko

Full Changelog: v0.58...v0.59

0.58

28 Aug 16:27

Choose a tag to compare

Changed

Fixed

  • Do not apply special format handling of multiline strings with template expressions in them (#556) – @hick209
  • Make sure that we handle nested expressions for special format handling of multiline strings (4b4c96c) – @hick209

Huge thanks to all the contributors! 🎉

Full Changelog: v0.57...v0.58

0.57

20 Aug 17:01

Choose a tag to compare

Added

  • TrailingCommaManagementStrategy.ONLY_ADD strategy that does not remove existing trailing commas (#461, #512, #514) – @hick209
  • Formatting of where clauses (#541) – @hick209
  • Special format handling of multiline strings with trimMargin() and trimIndent() (#389) – @hick209

Changed

  • FormattingOptions.manageTrailingCommas was replaced with FormattingOptions.trailingCommaManagementStrategy, which also added new TrailingCommaManagementStrategy.ONLY_ADD strategy (#461, #512, #514) – @hick209
  • All styles managing trailing commas by default now (#216, #442) – @hick209

Removed

Fixed

Huge thanks to all the contributors! 🎉

Full Changelog: v0.56...v0.57

0.56

25 Jun 20:33

Choose a tag to compare

Changed

Huge thanks to all the contributors! 🎉

Full Changelog: v0.55...v0.56

0.55

21 May 18:46

Choose a tag to compare

Added

Changed

  • Update kotlin-compiler-embeddable to 2.2.0-Beta2 for forward compatibility with context parameters. (#538) – @ZacSweers
  • Moved ktfmt project to Gradle (away from Maven) (d03a29e) – @hick209

Fixed

Full Changelog: v0.54...v0.55

Huge thanks to all the contributors! 🎉

0.54

15 Jan 17:28

Choose a tag to compare

Changed

Full Changelog: v0.53...v0.54

Huge thanks to all the contributors! 🎉

0.53

30 Oct 18:48

Choose a tag to compare

Fixed

  • Comments respecting max line width (#511) – @rileymichael
  • Exception while parsing property accessor on Kotlin 2.0.20-Beta2+ (#513) – @jsjeon

Changed

Full Changelog: v0.52...v0.53

Huge thanks to all the contributors! 🎉

0.52

20 Aug 13:42

Choose a tag to compare

Changelog

Fixed

Changed

Added

  • More stability tests (#488) – @snowe2010
  • Custom profile in plugin settings, mirroring Gradle/Maven plugins (#503) – @rock3r

Full Changelog: v0.51...v0.52

Huge thanks to all the contributors! 🎉

0.51

14 Jun 14:35

Choose a tag to compare

Changelog

Added

Changed

  • Preserves blank spaces between when clauses (#342) – @hick209
  • Named the default style as Formatter.META_FORMAT / --meta-style (520706e) – @hick209
  • FormattingOptions constructor parameters order was changed (96a7b1e) – @hick209

Fixed

Removed

  • Deleted Formatter.DROPBOX_FORMAT / --dropbox-style (BREAKING CHANGE) (4a393bb) – @hick209
  • Deleted FormattingOptions.Style enum (7edeff1) – @hick209

Full Changelog: v0.50...v0.51

Huge thanks to all the contributors! 🎉

0.50

07 Jun 02:03

Choose a tag to compare

Changelog

Full Changelog: v0.49...v0.50