Release 1.2.4
NOT STABLE RELEASE DUE TO PROBLEMS WITH KTLINT, USE 1.2.4.2 INSTEAD
What's Changed
- Update versions in pom.xml and documentation after 1.2.3 release by @github-actions in #1488
- Update dependency gradle to v7.5.1 by @renovate in #1455
- Silently overwrite
diktat.jar
if the previous copy already exists by @0x6675636b796f75676974687562 in #1498 - Maven: enable the Surefire tree reporter & color output by @0x6675636b796f75676974687562 in #1497
- Update Kotlin core dependencies to v1.7.10 by @renovate in #1436
- Update all non-major dependencies (except core Kotlin) to v3.1.0 by @renovate in #1454
- Make writing tests for
WRONG_INDENTATION
checks easier by @0x6675636b796f75676974687562 in #1499 - Rewrite
WRONG_INDENTATION
unit tests using the new test infrastructure by @0x6675636b796f75676974687562 in #1500 WRONG_INDENTATION
: add the test which reproduces the regression by @0x6675636b796f75676974687562 in #1501WRONG_INDENTATION
: fix the regression introduced with 998d0e9 by @0x6675636b796f75676974687562 in #1503- Update all non-major dependencies (except core Kotlin) by @renovate in #1507
- Update dependency com.rudikershaw.gitbuildhook:git-build-hook-maven-plugin to v3.3.0 by @renovate in #1512
- Update dependency com.bpodgursky:jbool_expressions to v1.24 by @renovate in #1515
- Update plugin org.gradle.test-retry to v1.4.1 by @renovate in #1514
- Migrated DistributiveLaw to jbool implementation by @nulls in #1513
WRONG_ORDER_IN_CLASS_LIKE_STRUCTURES
: fix the IOOBE by @0x6675636b796f75676974687562 in #1519- Add docs on
RANGE_TO_UNTIL
rule by @petertrr in #1525 - Only apply
RANGE_TO_UNTIL
rule if right-hand side of..
containsX-1
by @petertrr in #1524 - WRONG_OVERLOADING_FUNCTION_ARGUMENTS: adding exceptions to the rule by @akuleshov7 in #1520
- Fix assertion failed in rule [kdoc-formatting] #1489 by @icemachined in #1522
- Fix simplification of boolean expression by @nulls in #1523
- SAVE smoke tests should not have fixed line numbers by @Cheshiriks in #1528
- Update Kotlin core dependencies to v1.7.20 by @renovate in #1531
- Update all github actions (major) by @renovate in #1533
- Removed log for checking name of srcDirectories by @Cheshiriks in #1536
- Bugfix for fix mode of
AVOID_NULL_CHECK
by @sanyavertolet in #1535 - Added trim() for list of string test directories by @Cheshiriks in #1537
- Update Ktlint to v0.47.1 by @renovate in #1506
- Smoke tests in diktat by @nulls in #1534
- Update all non-major dependencies (except core Kotlin) by @renovate in #1518
- Avoid overriding the deprecated
Rule#visit()
call by @0x6675636b796f75676974687562 in #1541 - Leave
consoleOutputReporter
enabled formaven-failsafe-plugin
by @0x6675636b796f75676974687562 in #1542 - Run Diktat from CLI using glob (**/*) paths by @0x6675636b796f75676974687562 in #1544
- Update dependency io.github.microutils:kotlin-logging-jvm to v3 by @renovate in #1529
- Properly indent comments inside multi-line Elvis expressions by @0x6675636b796f75676974687562 in #1545
- Upgrade
MicroUtils/kotlin-logging
to 3.0.4 by @0x6675636b796f75676974687562 in #1552 - Make
DiktatRuleSetProvider#get()
lazy by @0x6675636b796f75676974687562 in #1553 - Warn if param or property in kdoc present several times by @kgevorkyan in #1547
- Fix the race condition introduced with 3470888 by @0x6675636b796f75676974687562 in #1555
Full Changelog: v1.2.3...v1.2.4