All Versions
85
Latest Version
Avg Release Cycle
50 days
Latest Release
597 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).