Skip to content

Releases: JLLeitschuh/ktlint-gradle

v11.4.0

06 Jun 14:01
Compare
Choose a tag to compare

[11.4.0] - 2023-06-06

Changed

  • Add files previously found to have errors to the list of files to check in incremental builds. #672
  • Added ktlint 0.49.1 support #667
  • Refactored multi-ktlint support to use multiple source sets with different compileOnly dependencies rather than reflection. #667

v11.3.2

25 Apr 13:46
Compare
Choose a tag to compare

[11.3.2] - 2023-04-25

Fixed

  • fix new ktlint errors that come from our new default version of ktlint #651
  • fix syntax bug in release logic for VERSION_LATEST_RELEASE.txt #651
  • fix isRootEditorConfig #664

Changed

  • Update build to use Gradle 7.3.3 to support testing with Java 17 #658

v11.3.1

03 Mar 17:13
Compare
Choose a tag to compare

[11.3.1] - 2023-03-03

Fixed

  • Fixed release github actions #650

Changed

  • warn when additionalEditorconfigFile is used in 0.47+ #637
  • work around reflection error on Gradle 8/JDK 16+ #634
  • add ktlint version 0.48.2 to testing #632
  • update latest gradle version for testing to 7.6 #632
  • improve release process to update VERSION_LATEST_RELEASE automatically #631
  • test against all supported jvm versions #642

v11.2.0

14 Feb 13:37
Compare
Choose a tag to compare

[11.2.0] - 2023-02-14

Changed

  • change compile target to 0.45.2
  • change default ktlint version applied by plugin to 0.47.1 #624

Fixed

  • Fixed ktlint API compatibility issue around baselines in 0.46 and 0.47+
  • Fixed disabled_rules warning when using new editorconfig syntax in ktlint 0.48+ #625
  • Fixed disabled_rules set only in editorconfig in ktlint 0.46+ #628

11.1.0

27 Jan 17:34
Compare
Choose a tag to compare

[11.1.0] - 2023-01-27

Added

  • The plugin will now work with ktlint 0.46.1 - 0.48.1 #620

11.0.0

24 Aug 22:57
Compare
Choose a tag to compare

[11.0.0] - 2022-08-24

Changed

  • Breaking: minimal supported Gradle version is 6.8 (#597)
  • Update Kotlin to 1.5.31 version (#597)
  • Set default KtLint version to 0.43.2 (#597)

10.3.0

03 May 16:06
Compare
Choose a tag to compare

[10.3.0] - 2022-05-03

Added

  • relative option to generate reports with paths relative to the root project (#573)

Fixed

  • Fix install hook action when git hooks folder doesn't exist issue: #557, #563
  • Fix pre-commit hook command not found error issue: #562, #564
  • Fix some resolution issues when a project using the plugin in some specific setups is depended upon by another project issue: #523, #571

10.2.1

27 Dec 20:26
dfaa6c2
Compare
Choose a tag to compare

[10.2.1] - 2021.12.27

Fixed

  • Deleted file causes file not found exception (issue: #539, #548)
  • Use Gradle command exit code as hook exit code to ensure un-staged changes are always re-applied to the working directory #551

v10.2.0

08 Sep 20:41
a3b8a1d
Compare
Choose a tag to compare

Added

  • sarif reporter to provided reporters (#516)

Changed

  • Update Gradle to 7.1.1 version
  • Update Shadow plugin to 7.0.0 version
  • Update Kotlin to 1.5.21 version
  • Set default KtLint version to 0.42.1
  • Rethink format task approach (issue: #306)

Fixed

  • Pre-commit hook causing conflicts (issue: #443) (#502)
  • ktlintFormat create empty directories in src/ dir (issue: #423)
  • Add Git hook task breaks configuration cache (issue: #505)
  • Plugin failed to apply on eager tasks creation (issue: #495)

v10.1.0

02 Jun 20:29
80d1fe9
Compare
Choose a tag to compare

[10.1.0] - 2021.06.02

Added

  • Baseline support (#414)

    Limitations:

    • Format tasks ignore baseline
    • One baseline file per-Gradle project (module)

Changed

  • Updated Gradle to 6.8.3 version
  • Updated default KtLint version to 0.41.0

Fixed

  • Plugin fails to apply on non-Kotlin projects (#443)
  • Pre-commit hook adds entire file to commit when only part of the file was indexed (#470)
  • Pre-commit hook doesn't format files that have been renamed (#471)
  • Reset KtLint internal caches on any .editorconfig files changes (#456)
  • On KtLint parse error print path to file (#476)
  • Add workaround for format tasks showing deprecation messages in Gradle 7.0 (#480)