diff --git a/CHANGES.md b/CHANGES.md index dfc37968fc..26eac11f42 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](https://github.com/diffplug/spotless/pull/2345)) * Bump default `ktlint` version to latest `1.5.0` -> `1.7.1`. ([#2555](https://github.com/diffplug/spotless/pull/2555)) * Bump default `jackson` version to latest `2.19.2` -> `2.20.0`. ([#2606](https://github.com/diffplug/spotless/pull/2606)) +* Bump default `gson` version to latest `2.13.1` -> `2.13.2`. ([#2615](https://github.com/diffplug/spotless/pull/2615)) ## [3.3.1] - 2025-07-21 ### Fixed diff --git a/lib/build.gradle b/lib/build.gradle index 745a8b410b..39dd361a71 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -98,7 +98,7 @@ dependencies { // googleJavaFormat googleJavaFormatCompileOnly 'com.google.googlejavaformat:google-java-format:1.28.0' // gson - gsonCompileOnly 'com.google.code.gson:gson:2.13.1' + gsonCompileOnly 'com.google.code.gson:gson:2.13.2' // jackson String VER_JACKSON='2.20.0' jacksonCompileOnly "com.fasterxml.jackson.core:jackson-databind:$VER_JACKSON" diff --git a/lib/src/main/java/com/diffplug/spotless/json/gson/GsonStep.java b/lib/src/main/java/com/diffplug/spotless/json/gson/GsonStep.java index 31634afa88..0ca60c7e31 100644 --- a/lib/src/main/java/com/diffplug/spotless/json/gson/GsonStep.java +++ b/lib/src/main/java/com/diffplug/spotless/json/gson/GsonStep.java @@ -30,7 +30,7 @@ public class GsonStep implements Serializable { private static final String MAVEN_COORDINATES = "com.google.code.gson:gson"; private static final String INCOMPATIBLE_ERROR_MESSAGE = "There was a problem interacting with Gson; maybe you set an incompatible version?"; public static final String NAME = "gson"; - public static final String DEFAULT_VERSION = "2.13.1"; + public static final String DEFAULT_VERSION = "2.13.2"; private final JarState.Promised jarState; private final GsonConfig gsonConfig; diff --git a/plugin-gradle/CHANGES.md b/plugin-gradle/CHANGES.md index 98a465f59d..a3ec793bc2 100644 --- a/plugin-gradle/CHANGES.md +++ b/plugin-gradle/CHANGES.md @@ -27,6 +27,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Bump default `jackson` version to latest `2.18.1` -> `2.19.2`. ([#2558](https://github.com/diffplug/spotless/pull/2558)) * Bump default `gherkin-utils` version to latest `9.0.0` -> `9.2.0`. ([#2408](https://github.com/diffplug/spotless/pull/2408)) * Bump default `cleanthat` version to latest `2.22` -> `2.23`. ([#2556](https://github.com/diffplug/spotless/pull/2556)) +* Bump default `gson` version to latest `2.13.1` -> `2.13.2`. ([#2615](https://github.com/diffplug/spotless/pull/2615)) ## [7.1.0] - 2025-07-07 ### Added diff --git a/plugin-maven/CHANGES.md b/plugin-maven/CHANGES.md index c58e31e0c2..812b710ee0 100644 --- a/plugin-maven/CHANGES.md +++ b/plugin-maven/CHANGES.md @@ -10,6 +10,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format ( * Bump default `google-java-format` version to latest `1.24.0` -> `1.28.0`. ([#2345](https://github.com/diffplug/spotless/pull/2345)) * Bump default `ktlint` version to latest `1.5.0` -> `1.7.1`. ([#2555](https://github.com/diffplug/spotless/pull/2555)) * Bump default `jackson` version to latest `2.19.2` -> `2.20.0`. ([#2606](https://github.com/diffplug/spotless/pull/2606)) +* Bump default `gson` version to latest `2.13.1` -> `2.13.2`. ([#2615](https://github.com/diffplug/spotless/pull/2615)) ## [2.46.1] - 2025-07-21 ### Fixed