All Versions
85
Latest Version
Avg Release Cycle
50 days
Latest Release
596 days ago

Changelog History
Page 5

  • v0.22.0 Changes

    April 22, 2018

    โž• Added

    • ๐Ÿ‘• --apply-to-idea-project (as an alternative to (global) --apply-to-idea) (#178).
    • ๐Ÿ‘• Check to verify that annotations are placed before the modifiers (#183).
    • ๐Ÿ‘• Access to PsiFile location information (#194).

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• --format commenting out operators (chain-wrapping rule) (#193).

    ๐Ÿ”„ Changed

    • indent rule (continuation_indent_size is now ignored) (#171).
      NOTE: if you have a custom continuation_indent_size (and gcd(indent_size, continuation_indent_size) == 1) ktlint won't check the indentation.
    • ๐Ÿ’… --apply-to-idea to inherit "Predefined style / Kotlin style guide" (Kotlin plugin 1.2.20+).
    • kotlin-compiler version to 1.2.40 (from 1.2.30).
  • v0.21.0 Changes

    March 29, 2018

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• indent rule to ignore where <type constraint list> clause (#180).
  • v0.20.0 Changes

    March 20, 2018

    โž• Added

    • Ability to load 3rd party reporters from the command-line (e.g. --reporter=<name>,artifact=<group_id>:<artifact_id>:<version>) (#176).
    • --ruleset/--reporter dependency tree validation.

    ๐Ÿ›  Fixed

    • Handling of spaces in --reporter=...,output=<path_to_a_file> (#177).
    • ๐Ÿ‘• +, -, *, /, %, &&, || wrapping (#168).

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• comma-spacing rule to be more strict (#173).
    • no-line-break-after-else rule to allow multi-line if/else without curly braces.
  • v0.19.0 Changes

    March 04, 2018

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• Lambda formatting: if lambda is assigned a label, there should be no space between the label and the opening curly brace (#167).
  • v0.18.0 Changes

    March 01, 2018

    โž• Added

    • ๐Ÿ‘• Java 9 support (#152).

    ๐Ÿ”„ Changed

    • kotlin-compiler version to 1.2.30 (from 1.2.20).
  • v0.17.1 Changes

    February 28, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Internal Error (parameter-list-wrapping) when indent_size=unset (#165).
  • v0.17.0 Changes

    February 28, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• +/- wrapping inside catch block, after else and if (..) (#160).
    • ๐Ÿ‘• Multi-line parameter declaration indentation (#161).
    • Expected indentation reported by indent rule.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• Error code returned by ktlint --format/-F when some of the errors cannot be auto-corrected (previously it was 0 instead of expected 1) (#162).
  • v0.16.1 Changes

    February 27, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Handling of negative number condition in when block (#160).
  • v0.16.0 Changes

    February 27, 2018

    โž• Added

    • ๐Ÿ‘• parameter-list-wrapping rule (#130).
    • +, -, *, /, %, &&, || wrapping check (now part of chain-wrapping rule).

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Unused componentN import (where N > 5) false positive (#142).
    • ๐Ÿ‘• max-line-length error suppression (#158).

    ๐Ÿ”„ Changed

    • ๐Ÿ‘• modifier-order rule to match official Kotlin Coding Conventions (#146)
      (override modifier should be placed before suspend/tailrec, not after)
  • v0.15.1 Changes

    February 14, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ‘• Race condition when multiple rules try to modify AST node that gets detached as a result of mutation (#154).