• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Changelog
2
3All notable changes to the ktfmt project (starting on v0.51) should be documented in this file.
4
5The format is based on [Keep a Changelog](http://keepachangelog.com/).
6
7## [1.0.0 Unreleased]
8
9### Changed
10- All styles managing trailing commas now (https://github.com/facebook/ktfmt/issues/216, https://github.com/facebook/ktfmt/issues/442)
11
12
13## [Unreleased]
14
15
16## [0.53]
17
18### Fixed
19- Comments respecting max line width (https://github.com/facebook/ktfmt/pull/511)
20- Exception while parsing property accessor on Kotlin 2.0.20-Beta2+ (https://github.com/facebook/ktfmt/pull/513)
21
22## Changed
23- Updated Google Java Format to 1.23.0 (https://github.com/facebook/ktfmt/commit/ed949e89eea22843ac10d4fb91685453754abd25)
24
25
26## [0.52]
27
28### Fixed
29- IntelliJ plugin crash (https://github.com/facebook/ktfmt/pull/501)
30- Ordering of `@property` and `@param` in KDoc (https://github.com/facebook/ktfmt/pull/498)
31- Annotation in return expressions (https://github.com/facebook/ktfmt/issues/497)
32
33### Changed
34- KotlinLang style also managing trailing commas (https://github.com/facebook/ktfmt/issues/216, https://github.com/facebook/ktfmt/issues/442)
35- Converted IntelliJ plugin to Kotlin (https://github.com/facebook/ktfmt/pull/502)
36
37### Added
38- More stability tests (https://github.com/facebook/ktfmt/pull/488)
39- Custom profile in plugin settings, mirroring Gradle/Maven plugins (https://github.com/facebook/ktfmt/pull/503)
40
41
42## [0.51]
43
44### Added
45- Created CHANGELOG.md
46- Added --help option to CLI (https://github.com/facebook/ktfmt/pull/477)
47
48### Changed
49- Preserves blank spaces between when clauses (https://github.com/facebook/ktfmt/issues/342)
50- Named the default style as `Formatter.META_FORMAT` / `--meta-style` (https://github.com/facebook/ktfmt/commit/96a7b1e2539eef43044f676f60400d22265fd115)
51- `FormattingOptions` constructor parameters order was changed (https://github.com/facebook/ktfmt/commit/520706e6d010d48619781d7113e5b1522f07a2ba)
52
53### Fixed
54- Compilation issues with online formatter (https://github.com/facebook/ktfmt/commit/8605080cb0aadb7eaba20f3b469d6ddafe32c941)
55- Removing valid semicolons (https://github.com/facebook/ktfmt/issues/459)
56- Incorrect detection of unused `assign` import (https://github.com/facebook/ktfmt/issues/411)
57
58### Removed
59- **Deleted `Formatter.DROPBOX_FORMAT` / `--dropbox-style` (BREAKING CHANGE)** (https://github.com/facebook/ktfmt/commit/4a393bb8c1156a4a0fd1ab736c02ca8dbd39a969)
60- Deleted `FormattingOptions.Style` enum (https://github.com/facebook/ktfmt/commit/7edeff14c3738427e53427eb6e39675dc30d1d05)
61