Releases: facebook/ktfmt
Releases · facebook/ktfmt
0.59
0.58
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
Added
TrailingCommaManagementStrategy.ONLY_ADDstrategy 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()andtrimIndent()(#389) – @hick209
Changed
FormattingOptions.manageTrailingCommaswas replaced withFormattingOptions.trailingCommaManagementStrategy, which also added newTrailingCommaManagementStrategy.ONLY_ADDstrategy (#461, #512, #514) – @hick209- All styles managing trailing commas by default now (#216, #442) – @hick209
Removed
Fixed
- Corrected reference to jar in formatter website's command line instructions https://facebook.github.io/ktfmt/ (cedc196) – @hick209
- Trailing comma on when cases (#376) – @hick209
- Update idea plugin name to avoid collision with google-java-format (#553) – @mchristiansen
Huge thanks to all the contributors! 🎉
Full Changelog: v0.56...v0.57
0.56
Changed
- Update to Kotlin 2.2.0 (451be91) – @rybalkinsd
Huge thanks to all the contributors! 🎉
Full Changelog: v0.55...v0.56
0.55
Added
- Support guard conditions (#530, #537) – @ZacSweers
--versionoption in CLI (#534) – @hick209
Changed
- Update
kotlin-compiler-embeddableto2.2.0-Beta2for forward compatibility with context parameters. (#538) – @ZacSweers - Moved ktfmt project to Gradle (away from Maven) (d03a29e) – @hick209
Fixed
- Support context parameters (#518, #536) – @ZacSweers
- Indentation options in
.editorconfig-default(#543) – @patricklucas
Full Changelog: v0.54...v0.55
Huge thanks to all the contributors! 🎉
0.54
Changed
- Updated Kotlin to 2.0.0 (#523) – @c1rcle, @olivierbeltrandocintoo
Full Changelog: v0.53...v0.54
Huge thanks to all the contributors! 🎉
0.53
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
Changelog
Fixed
- IntelliJ plugin crash (#501) – @rock3r
- Ordering of
@propertyand@paramin KDoc (#498) – @no-preserve-root - Annotation in return expressions (#497) – @hick209
Changed
- KotlinLang style also managing trailing commas (#216, #442) – @hick209
- Converted IntelliJ plugin to Kotlin (#502) – @rock3r
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
Changelog
Added
- Added
--helpoption to CLI (#477) – @grodin - Created
CHANGELOG.md– @hick209
Changed
- Preserves blank spaces between when clauses (#342) – @hick209
- Named the default style as
Formatter.META_FORMAT/--meta-style(520706e) – @hick209 FormattingOptionsconstructor parameters order was changed (96a7b1e) – @hick209
Fixed
- Compilation issues with online formatter (8605080) – @hick209
- Removing valid semicolons (#459) – @hick209
- Incorrect detection of unused
assignimport (#411) – @cloudshiftchris
Removed
- Deleted
Formatter.DROPBOX_FORMAT/--dropbox-style(BREAKING CHANGE) (4a393bb) – @hick209 - Deleted
FormattingOptions.Styleenum (7edeff1) – @hick209
Full Changelog: v0.50...v0.51
Huge thanks to all the contributors! 🎉
0.50
Changelog
- Add pre commit hooks to readme (#462) – @0x26res
- Add homebrew installation note to readme (#468) – @chenrui333
- Refactor CLI argument parsing (#467) – @grodin
- Fix issue with context receive in lambdas (#471) – @hick209
- Don't reorder @sample tag (#406) – @davidtorosyan
Full Changelog: v0.49...v0.50