diff --git a/CHANGES.md b/CHANGES.md index 89ec6c8e5f..8462448dd8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,11 +16,12 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( - GitPrePushHookInstaller takes optional parameter for pre push hook directory, instead of always writing to .git/hooks. ([#3115](https://github.com/diffplug/spotless/pull/3115) - Bump default `gherkin` version `42.0.0` -> `42.0.1`. ([#3088](https://github.com/diffplug/spotless/pull/3088)) - Bump default `jackson` version `2.22.2` -> `2.22.3`. ([#3101](https://github.com/diffplug/spotless/pull/3101)) -- Bump default `palantir-java-format` version `2.98.0` -> `2.99.0`. ([#3103](https://github.com/diffplug/spotless/pull/3103)) +- Bump default `palantir-java-format` version `2.98.0` -> `2.102.0`. ([#3103](https://github.com/diffplug/spotless/pull/3103), [#3132](https://github.com/diffplug/spotless/pull/3132)) - Bump default `mockito-core` version `5.23.0` -> `5.24.0`. ([#3106](https://github.com/diffplug/spotless/pull/3106)) - Bump default `greclipse` version to latest `4.40` -> `4.41`. ([#3123](https://github.com/diffplug/spotless/pull/3123)) - Bump default `ktfmt` version `0.64` -> `0.65`. ([#3135](https://github.com/diffplug/spotless/pull/3135)) Which moved to the `org.jetbrains.kotlinx:ktfmt` coordinate and `org.jetbrains.kotlinx.ktfmt` package. Older versions are still supported. +- Bump default `palantir-java-format` version `2.99.0` -> `2.102.0`. ([#3132](https://github.com/diffplug/spotless/pull/3132)) ### Fixed - `shortenFullyQualifiedTypes` no longer corrupts a method reference on a field/variable (`localVar.field::method`), which JavaParser parses as a type-shaped scope; such scopes now go through the same known-package / minimum-depth heuristic as other expression scopes before being treated as fully-qualified types. ([#3133](https://github.com/diffplug/spotless/issues/3133)) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b07ff2710f..33a3bea2cf 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -26,7 +26,7 @@ ktlint-ruleset-standard = { module = "com.pinterest.ktlint:ktlint-ruleset-standa javaparser-core = { module = "com.github.javaparser:javaparser-core", version.ref = "javaparser" } javaparser-symbol-solver-core = { module = "com.github.javaparser:javaparser-symbol-solver-core", version.ref = "javaparser" } -palantir-java-format = "com.palantir.javaformat:palantir-java-format:2.99.0" +palantir-java-format = "com.palantir.javaformat:palantir-java-format:2.102.0" jgit = "org.eclipse.jgit:org.eclipse.jgit:7.8.0.202609011348-r" junit-jupiter = "org.junit.jupiter:junit-jupiter:6.1.3" diff --git a/plugin-gradle/CHANGES.md b/plugin-gradle/CHANGES.md index 86b113f208..8b161ca93e 100644 --- a/plugin-gradle/CHANGES.md +++ b/plugin-gradle/CHANGES.md @@ -9,11 +9,12 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( - spotlessInstallGitPrePushHook now respects Git’s core.hooksPath when installing the pre-push hook, instead of always writing to .git/hooks. ([#3115](https://github.com/diffplug/spotless/pull/3115) - Bump default `gherkin` version `42.0.0` -> `42.0.1`. ([#3088](https://github.com/diffplug/spotless/pull/3088)) - Bump default `jackson` version `2.22.2` -> `2.22.3`. ([#3101](https://github.com/diffplug/spotless/pull/3101)) -- Bump default `palantir-java-format` version `2.98.0` -> `2.99.0`. ([#3103](https://github.com/diffplug/spotless/pull/3103)) +- Bump default `palantir-java-format` version `2.98.0` -> `2.102.0`. ([#3103](https://github.com/diffplug/spotless/pull/3103), [#3132](https://github.com/diffplug/spotless/pull/3132)) - Bump default `mockito-core` version `5.23.0` -> `5.24.0`. ([#3106](https://github.com/diffplug/spotless/pull/3106)) - Bump default `greclipse` version to latest `4.40` -> `4.41`. ([#3123](https://github.com/diffplug/spotless/pull/3123)) - Bump default `ktfmt` version `0.64` -> `0.65`. ([#3135](https://github.com/diffplug/spotless/pull/3135)) Which moved to the `org.jetbrains.kotlinx:ktfmt` coordinate and `org.jetbrains.kotlinx.ktfmt` package. Older versions are still supported. +- Bump default `palantir-java-format` version `2.99.0` -> `2.102.0`. ([#3132](https://github.com/diffplug/spotless/pull/3132)) ### Fixed - `shortenFullyQualifiedTypes` leaves a qualified name alone when the enclosing type extends or implements a type that is not in the same file, so an inherited member type cannot take the simple name. ([#3117](https://github.com/diffplug/spotless/issues/3117)) diff --git a/plugin-maven/CHANGES.md b/plugin-maven/CHANGES.md index 461374f5b6..650ef76310 100644 --- a/plugin-maven/CHANGES.md +++ b/plugin-maven/CHANGES.md @@ -8,11 +8,12 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( - Bump default `eclipse` version from `4.40` to `4.41`. - Bump default `gherkin` version `42.0.0` -> `42.0.1`. ([#3088](https://github.com/diffplug/spotless/pull/3088)) - Bump default `jackson` version `2.22.2` -> `2.22.3`. ([#3101](https://github.com/diffplug/spotless/pull/3101)) -- Bump default `palantir-java-format` version `2.98.0` -> `2.99.0`. ([#3103](https://github.com/diffplug/spotless/pull/3103)) +- Bump default `palantir-java-format` version `2.98.0` -> `2.102.0`. ([#3103](https://github.com/diffplug/spotless/pull/3103), [#3132](https://github.com/diffplug/spotless/pull/3132)) - Bump default `mockito-core` version `5.23.0` -> `5.24.0`. ([#3106](https://github.com/diffplug/spotless/pull/3106)) - Bump default `greclipse` version to latest `4.40` -> `4.41`. ([#3123](https://github.com/diffplug/spotless/pull/3123)) - Bump default `ktfmt` version `0.64` -> `0.65`. ([#3135](https://github.com/diffplug/spotless/pull/3135)) Which moved to the `org.jetbrains.kotlinx:ktfmt` coordinate and `org.jetbrains.kotlinx.ktfmt` package. Older versions are still supported. +- Bump default `palantir-java-format` version `2.99.0` -> `2.102.0`. ([#3132](https://github.com/diffplug/spotless/pull/3132)) ### Fixed - Migrate Plexus component injection to JSR-330 and Maven parameter. ([#3122](https://github.com/diffplug/spotless/pull/3122))