All Versions
71
Latest Version
Avg Release Cycle
35 days
Latest Release
38 days ago

Changelog History
Page 1

  • v0.39.0

    September 14, 2020

    โž• Added

    • โž• Add new applyToIDEA location for IDEA 2020.1.x and above on MacOs
    • ๐Ÿ–จ Debug output: print loaded .editorconfig content
    • Extract argument-list-wrapping rule into experimental ruleset
    • Split annotation-spacing into separate experimental rule

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Do not enforce raw strings opening quote to be on a separate line (#711)
    • ๐Ÿ‘• False negative with multiline type parameter list in function signature for parameter-list-wrapping(#680)
    • ๐Ÿ‘• Alternative .editorconfig path is ignored on stdin input (#869)
    • ๐Ÿ‘• False positive with semicolons before annotations/comments/kdoc (#825)
    • ๐Ÿ‘• Do not report when string-template expression is a keyword (#883)
    • ๐Ÿ‘• False positive for subclass imports in no-unused-imports (#845)
    • ๐Ÿ‘• False positive for static java function imports in no-unused-imports (#872)
    • ๐Ÿš€ Missing signature for KtLint CLI artifact published to Github release (#895)
    • ๐Ÿ‘• Crash in annotation rule (#868)
    • ๐Ÿ‘• False-positive unused import violation (#902)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• Ktlint object internal code cleanup
    • ๐Ÿ‘• Deprecate some of public methods in Ktlint object that should not be exposed as public api
    • โšก๏ธ Update Kotlin to 1.4.10 version
    • ๐Ÿ‘‰ Make RuleSet class open so it can be inherited
  • v0.38.1

    August 24, 2020

    ๐Ÿš€ Minor release to support projects using mixed 1.3/1.4 Kotlin versions (e.g. Gradle plugins)

    ๐Ÿ”„ Changed

    • Compile with apiLevel = 1.3
  • v0.38.0

    August 21, 2020

    ๐Ÿ†• New release with Kotlin 1.4.0 support and several enhancements and bugfixes.

    โž• Added

    • ๐Ÿ‘• Experimental SpacingAroundAngleBracketsRule (#769)
    • ๐Ÿ‘• Checksum generation for executable Jar (#695)
    • Enable Gradle dependency verification
    • ๐Ÿ‘• parameter-list-wrapping rule now also considers function arguments while wrapping (#620)
    • Publish snapshots built against kotlin development versions
    • ๐ŸŽ‰ Initial support for tab-based indentation (#128)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Safe-called wrapped trailing lambdas indented correctly (#776)
    • ๐Ÿ‘• provideDelegate imports are not marked as unused anymore (#669)
    • ๐Ÿ’… Set continuation indent to 4 in IDE integration codestyle (#775)
    • ๐Ÿ‘• No empty lines between annotation and annotated target (#688)
    • ๐Ÿ‘• Unused imports reported correctly (#526) (#405)
    • ๐Ÿ‘• No false empty lines inserted in multiline if-else block (#793)
    • ๐Ÿ‘• No-wildcard-imports properly handles custom infix function with asterisk (#799)
    • ๐Ÿ‘• Do not require else to be in the same line of a right brace if the right brace is not part of the if statement (#756)
    • ๐Ÿ‘• Brace-less if-else bodies starting with parens indented correctly (#829)
    • ๐Ÿ‘• If-condition with multiline call expression inside indented correctly (#796)

    ๐Ÿ”„ Changed

    • โšก๏ธ Update Gradle to 6.6 version
    • โšก๏ธ Update ec4j to 0.2.2 version. Now it should report path to .editorconfig file on failed parsing
      and allow empty .editorconfig files.
    • โšก๏ธ Update Kotlin to 1.4.0 version (#830)
  • v0.38.0-alpha01

    August 18, 2020

    ๐Ÿš€ Alpha release built against Kotlin 1.4.

  • v0.37.2

    June 16, 2020

    ๐Ÿš€ Minor release to fix further bugs in ImportOrderingRule.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Imports with aliases no longer removed (#766)
  • v0.37.1

    June 08, 2020

    ๐Ÿš€ Minor release to fix some bugs in the 0.37.0 release.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Invalid path exception error on Windows machines when loading properties from .editorconfig (#761)
    • ๐Ÿ‘• Imports with as no longer removed (#761)
    • ๐Ÿ‘• The contents of raw strings are no longer modified by the indent rule (#682)
  • v0.37.0

    June 02, 2020

    ๐Ÿš€ Thank you to Tapchicoma and romtsn for all their hard work on this release!

    โž• Added

    • ๐Ÿ‘• Gradle wrapper validation (#684)
    • ๐Ÿ‘• Experimental SpacingAroundDoubleColon rule (#722)
    • ๐Ÿ‘• Experimental SpacingBetweenDeclarationsWithCommentsRule and SpacingBetweenDeclarationsWithAnnotationsRule. Fixes (#721)
    • kotlin_imports_layout config for .editorconfig file so that import ordering is configurable. Fixes (#527)

    ๐Ÿ”„ Changed

    • โšก๏ธ Kotlin was updated to 1.3.70 version
    • ๐Ÿ›  Loading properties from .editorconfig was fully delegated to ec4j library. This fixes ability to override
      ๐Ÿ‘• properties for specific files/directories (#742)
    • ๐Ÿšš Promote experimental "indent" rule to standard one, old standard "indent" rule is removed
    • ๐Ÿ‘• Functions to calculate line/column are now public so they can be used by 3rd party tools (#725)
    • ๐Ÿ‘• AnnotationRule now handles file annotations as well (#714)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Ignore keywords in KDoc comments (#671)
    • ๐Ÿ‘ Allow multiple spaces in KDoc comments (#706)
    • ๐Ÿ‘• Trailing comment no longer reported as incorrect indentation (#710)
    • ๐Ÿ‘• Annotated function types no longer reported as an error (#737)
    • ๐Ÿ‘• FinalNewlineRule no longer reports error for empty files (#723)
    • ๐Ÿ‘• EOL comments will no longer cause AnnotationRule to report an error (#736)
    • ๐Ÿ‘• Formatter will no longer break class declaration with trailing comment (#728)
    • ๐Ÿ‘• Formatting for single line if/else statements (#174)
    • ๐Ÿ‘• Exception in NoLineBreakBeforeAssignmentRule (#693)

    โœ‚ Removed

    • โœ‚ Removed Maven; builds all run under Gradle (#445)
    • Old standard IndentRule
  • v0.36.0

    December 03, 2019

    โž• Added

    • ๐Ÿ‘• HTML reporter (#641)
    • ๐Ÿ‘• Experimental rule to lint enum entry names (#638)
    • ๐Ÿ‘• @Suppress("RemoveCurlyBracesFromTemplate") now respected (#263)

    โฌ†๏ธ Upgraded

    • ๐Ÿ‘• Gradle version to 5.6.2 (#616)
    • ๐Ÿ‘• Kotlin to 1.3.60 (#658)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• .git directory now discovered instead of hardcoded (#623)
    • ๐Ÿ‘• Several bugs with the experimental annotation rule (#628) (#642) (#654) (#624)
    • ๐Ÿ‘ Allow newline after lambda return type (#643)
    • ๐Ÿ‘ Allow empty first line in a function that returns an anonymous object (#655)
    • ๐Ÿ‘• Indentation with lambda argument (#627)
    • ๐Ÿ‘• ktlint can now lint UTF-8 files with BOM (#630
    • ๐Ÿ‘• Indentation with newline before return type (#663)
    • ๐Ÿ‘• Build/tests on Windows (#640)
    • ๐Ÿ‘ Allow whitespace after ( followed by a comment (#664)
  • v0.35.0

    October 12, 2019

    โž• Added

    • ๐Ÿ‘Œ Support for specifying color for output via --color-name command line flag. (#585)
    • ๐Ÿ‘Œ Support for custom rulesets and providers on Java 9+ (#573)

    ๐Ÿ—„ Deprecated

    • ๐Ÿ‘• --apply-to-idea flag; use applyToIDEA subcommand instead (#554)
    • ๐Ÿ‘• --apply-to-idea-project flag; use applyToIDEAProject subcommand instead (#593)
    • ๐Ÿ‘• 0.0.0-SNAPSHOT builds; snapshot builds are now versioned, e.g. 0.35.0-SNAPSHOT (#588)
      • Note: When using the new snapshot builds, you may need to add an explicit dependency on kotlin-compiler-embeddable to your ruleset project.

    โœ‚ Removed

    • ๐Ÿ‘Œ Support for loading 3rd party rulesets via Maven (#566)

    โฌ†๏ธ Upgraded

    • ๐Ÿ‘• Kotlin version to 1.3.50 (#565) (#611)

    ๐Ÿ›  Fixed

    • ๐Ÿ› Bugs with spacing in experimental AnnotationRule (#552) (#601
    • ๐Ÿ‘• Brackets would be removed from empty companion object (#600)
    • ๐Ÿ› Bugs with experimental IndentationRule (#597) (#599)
    • ๐Ÿ‘• Erroneous space between } and ] (#596)
    • ๐Ÿ‘• Spacing around multiplication sign in lambdas (#598)
    • ๐Ÿ‘• --version output with gradle-built JAR (#613)
  • v0.34.2

    July 23, 2019

    ๐Ÿ›  Minor bugfix release for 0.34.0. (Note: 0.34.1 deprecated/deleted due to regression in disabled_flags .editorconfig support.)

    โž• Added

    • ๐Ÿ‘Œ Support for globally disabling rules via --disabled_rules command line flag. (#534)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Regression with --stdin flag for printAST command (#528)
    • ๐Ÿ‘• Regressions with NoUnusedImports rule (#531, #526)
      • Note: this re-introduces #405
    • ๐Ÿ‘• Indentation for enums with multi-line initializers (#518)