diff --git a/CHANGES.md b/CHANGES.md index 47f9542dc3..5871c0d822 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,7 +16,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Bump default `ktlint` version to latest `0.45.2` -> `0.46.1` ([#1239](https://github.com/diffplug/spotless/issues/1239)) * Minimum supported version also bumped to `0.46.0` (we have abandoned strong backward compatibility for `ktlint`, from here on out Spotless will only support the most-recent breaking change). * Bump default `diktat` version to latest `1.1.0` -> `1.2.1` ([#1246](https://github.com/diffplug/spotless/pull/1246)) - * Minimum supported version also bumped to `1.2.0` (diktat is based on ktlint and has the same backward compatibility issues). + * Minimum supported version also bumped to `1.2.1` (diktat is based on ktlint and has the same backward compatibility issues). * Bump default `ktfmt` version to latest `0.37` -> `0.39` ([#1240](https://github.com/diffplug/spotless/pull/1240)) ## [2.26.2] - 2022-06-11 diff --git a/plugin-gradle/CHANGES.md b/plugin-gradle/CHANGES.md index c3be5003da..45c09688a6 100644 --- a/plugin-gradle/CHANGES.md +++ b/plugin-gradle/CHANGES.md @@ -9,7 +9,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Bump default `ktlint` version to latest `0.45.2` -> `0.46.1` ([#1239](https://github.com/diffplug/spotless/issues/1239)) * Minimum supported version also bumped to `0.46.0` (we have abandoned strong backward compatibility for `ktlint`, from here on out Spotless will only support the most-recent breaking change). * Bump default `diktat` version to latest `1.1.0` -> `1.2.1` ([#1246](https://github.com/diffplug/spotless/pull/1246)) - * Minimum supported version also bumped to `1.2.0` (diktat is based on ktlint and has the same backward compatibility issues). + * Minimum supported version also bumped to `1.2.1` (diktat is based on ktlint and has the same backward compatibility issues). * Bump default `ktfmt` version to latest `0.37` -> `0.39` ([#1240](https://github.com/diffplug/spotless/pull/1240)) ## [6.7.2] - 2022-06-11 diff --git a/plugin-maven/CHANGES.md b/plugin-maven/CHANGES.md index e7165b03d0..25ffe9f9e7 100644 --- a/plugin-maven/CHANGES.md +++ b/plugin-maven/CHANGES.md @@ -9,7 +9,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Bump default `ktlint` version to latest `0.45.2` -> `0.46.1` ([#1239](https://github.com/diffplug/spotless/issues/1239)) * Minimum supported version also bumped to `0.46.0` (we have abandoned strong backward compatibility for `ktlint`, from here on out Spotless will only support the most-recent breaking change). * Bump default `diktat` version to latest `1.1.0` -> `1.2.1` ([#1246](https://github.com/diffplug/spotless/pull/1246)) - * Minimum supported version also bumped to `1.2.0` (diktat is based on ktlint and has the same backward compatibility issues). + * Minimum supported version also bumped to `1.2.1` (diktat is based on ktlint and has the same backward compatibility issues). * Bump default `ktfmt` version to latest `0.37` -> `0.39` ([#1240](https://github.com/diffplug/spotless/pull/1240)) ## [2.22.8] - 2022-06-11 diff --git a/testlib/src/test/java/com/diffplug/spotless/kotlin/DiktatStepTest.java b/testlib/src/test/java/com/diffplug/spotless/kotlin/DiktatStepTest.java index 39f939ddf4..45bf6524f1 100644 --- a/testlib/src/test/java/com/diffplug/spotless/kotlin/DiktatStepTest.java +++ b/testlib/src/test/java/com/diffplug/spotless/kotlin/DiktatStepTest.java @@ -75,7 +75,7 @@ void notSupportedVersion() { final IllegalStateException notSupportedException = Assertions.assertThrows(IllegalStateException.class, () -> DiktatStep.create("1.1.0", TestProvisioner.mavenCentral())); Assertions.assertTrue( - notSupportedException.getMessage().contains("Minimum required Diktat version is 1.2.0, you tried 1.1.0 which is too old")); + notSupportedException.getMessage().contains("Minimum required Diktat version is 1.2.1, you tried 1.1.0 which is too old")); Assertions.assertDoesNotThrow(() -> DiktatStep.create("1.2.1", TestProvisioner.mavenCentral())); Assertions.assertDoesNotThrow(() -> DiktatStep.create("2.0.0", TestProvisioner.mavenCentral()));