Skip to content

Release 1.2.2

Compare
Choose a tag to compare
@github-actions github-actions released this 28 Jul 18:57
e38af67

What's Changed

Rules

Data classes

Indentation

  • Aligned chained method calls (dot-qualified and safe-access expressions) are no longer reported as false positives (#1336).
  • A separate extendedIndentForExpressionBodies flag has been added, defaulting to false (#1443).
    The flag controls whether continuation indent is used to indent expression bodies
    (previously, controlled with extendedIndentAfterOperators). The corresponding 3rd party flags are:
    • IDEA: CONTINUATION_INDENT_FOR_EXPRESSION_BODIES,
    • .editorconfig: ij_kotlin_continuation_indent_for_expression_bodies.
  • The extendedIndentAfterOperators flag now defaults to true to be consistent with IDEA (#1447).
  • Within expressions, the indent after an opening parenthesis ( followed by a newline is now controlled by the extendedIndentAfterOperators flag (#1448)

KDoc

Comments

Gradle plug-in

  • gradle-plugin: target Kotlin runtime 1.6 by @petertrr in #1419
  • gradle-plugin: Set user.home property if SARIF reporter is active by @petertrr in #1426
  • gradle-plugin: fix docs and tests for Groovy DSL by @petertrr in #1428
  • [gradle-plugin] use empty string as default value for reporter type by @petertrr in #1458
  • gradle-plugin: add task to merge sarif reports by @petertrr in #1456

Known issues

  • After the upgrade to version 1.2.2, Gradle plug-in requires the :mergeDiktatReports task to be present (#1484).

Documentation

Infrastructure

Full Changelog: v1.2.1...v1.2.2