From db61bb07f04512b6fc21a5ce4d2b7cd380a1e7fc Mon Sep 17 00:00:00 2001 From: Maicol Date: Fri, 9 Feb 2024 17:38:42 +0100 Subject: [PATCH 01/17] Adds support to `BigDecimal` in `JsonPrimitive#equals` (#2364) * Adds support to `BigDecimal` Adds to the JsonPrimitive#equals the possibility to support BigDecimal * Adds test Adds test to check if the equals work with BigDecimals. Code snippet from issue #904 * Implements review comments Replaces the `.equals` method with the `compareTo` in the `JsonPrimitive#equals` Change the ternary operator from `||` to `&&` so we are sure that both are `BigDecimal` Implements tests * Changes to follow the google-style-guide * implements review comment Co-authored-by: Marcono1234 * Fixes the `OperatorPrecedence` warn * Implements code improvements - Extracts `thisAsDouble` & `otherAsDouble` variables to avoid double functions calls. - Adds a comment to improve the code readability. * Implements `BigDecimal` check in the `JsonPrimitive.equals()` * Formats the code with `spotless:apply` --------- Co-authored-by: Marcono1234 --- .../java/com/google/gson/JsonPrimitive.java | 15 ++++++--- .../com/google/gson/JsonPrimitiveTest.java | 31 +++++++++++++++++++ 2 files changed, 41 insertions(+), 5 deletions(-) diff --git a/gson/src/main/java/com/google/gson/JsonPrimitive.java b/gson/src/main/java/com/google/gson/JsonPrimitive.java index 2985ce98ab..2bce4be498 100644 --- a/gson/src/main/java/com/google/gson/JsonPrimitive.java +++ b/gson/src/main/java/com/google/gson/JsonPrimitive.java @@ -293,11 +293,16 @@ public boolean equals(Object obj) { : this.getAsNumber().longValue() == other.getAsNumber().longValue(); } if (value instanceof Number && other.value instanceof Number) { - double a = getAsNumber().doubleValue(); - // Java standard types other than double return true for two NaN. So, need - // special handling for double. - double b = other.getAsNumber().doubleValue(); - return a == b || (Double.isNaN(a) && Double.isNaN(b)); + if (value instanceof BigDecimal && other.value instanceof BigDecimal) { + // Uses compareTo to ignore scale of values, e.g. `0` and `0.00` should be considered equal + return this.getAsBigDecimal().compareTo(other.getAsBigDecimal()) == 0; + } + + double thisAsDouble = this.getAsDouble(); + double otherAsDouble = other.getAsDouble(); + // Don't use Double.compare(double, double) because that considers -0.0 and +0.0 not equal + return (thisAsDouble == otherAsDouble) + || (Double.isNaN(thisAsDouble) && Double.isNaN(otherAsDouble)); } return value.equals(other.value); } diff --git a/gson/src/test/java/com/google/gson/JsonPrimitiveTest.java b/gson/src/test/java/com/google/gson/JsonPrimitiveTest.java index 36a5da4439..c816ff36c8 100644 --- a/gson/src/test/java/com/google/gson/JsonPrimitiveTest.java +++ b/gson/src/test/java/com/google/gson/JsonPrimitiveTest.java @@ -321,4 +321,35 @@ public void testDeepCopy() { JsonPrimitive a = new JsonPrimitive("a"); assertThat(a).isSameInstanceAs(a.deepCopy()); // Primitives are immutable! } + + @Test + public void testBigDecimalEquals() { + JsonPrimitive small = new JsonPrimitive(1.0); + JsonPrimitive large = new JsonPrimitive(2.0); + assertThat(small.equals(large)).isFalse(); + + BigDecimal doubleMax = BigDecimal.valueOf(Double.MAX_VALUE); + JsonPrimitive smallBD = new JsonPrimitive(doubleMax.add(new BigDecimal("100.0"))); + JsonPrimitive largeBD = new JsonPrimitive(doubleMax.add(new BigDecimal("200.0"))); + assertThat(smallBD.equals(largeBD)).isFalse(); + } + + @Test + public void testBigDecimalEqualsZero() { + assertThat( + new JsonPrimitive(new BigDecimal("0.0")) + .equals(new JsonPrimitive(new BigDecimal("0.00")))) + .isTrue(); + + assertThat( + new JsonPrimitive(new BigDecimal("0.00")) + .equals(new JsonPrimitive(Double.valueOf("0.00")))) + .isTrue(); + } + + @Test + public void testEqualsDoubleNaNAndBigDecimal() { + assertThat(new JsonPrimitive(Double.NaN).equals(new JsonPrimitive(new BigDecimal("1.0")))) + .isFalse(); + } } From d148301b4462f7e8f86a20adc54a7b5aaa428902 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Sat, 10 Feb 2024 01:30:47 +0100 Subject: [PATCH 02/17] Fix compilation warnings & add test (#2614) --- .../com/google/gson/JsonPrimitiveTest.java | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/gson/src/test/java/com/google/gson/JsonPrimitiveTest.java b/gson/src/test/java/com/google/gson/JsonPrimitiveTest.java index c816ff36c8..523e1d8b3f 100644 --- a/gson/src/test/java/com/google/gson/JsonPrimitiveTest.java +++ b/gson/src/test/java/com/google/gson/JsonPrimitiveTest.java @@ -329,9 +329,9 @@ public void testBigDecimalEquals() { assertThat(small.equals(large)).isFalse(); BigDecimal doubleMax = BigDecimal.valueOf(Double.MAX_VALUE); - JsonPrimitive smallBD = new JsonPrimitive(doubleMax.add(new BigDecimal("100.0"))); - JsonPrimitive largeBD = new JsonPrimitive(doubleMax.add(new BigDecimal("200.0"))); - assertThat(smallBD.equals(largeBD)).isFalse(); + JsonPrimitive smallDecimal = new JsonPrimitive(doubleMax.add(new BigDecimal("100.0"))); + JsonPrimitive largeDecimal = new JsonPrimitive(doubleMax.add(new BigDecimal("200.0"))); + assertThat(smallDecimal.equals(largeDecimal)).isFalse(); } @Test @@ -347,6 +347,22 @@ public void testBigDecimalEqualsZero() { .isTrue(); } + /** + * Verifies that {@link JsonPrimitive#equals(Object)} is transitive for {@link BigDecimal}, + * as required by the {@link Object#equals(Object)} documentation. + */ + @Test + public void testBigDecimalEqualsTransitive() { + JsonPrimitive x = new JsonPrimitive(new BigDecimal("0")); + JsonPrimitive y = new JsonPrimitive(0.0d); + JsonPrimitive z = new JsonPrimitive(new BigDecimal("0.00")); + + assertThat(x.equals(y)).isTrue(); + assertThat(y.equals(z)).isTrue(); + // ... implies + assertThat(x.equals(z)).isTrue(); + } + @Test public void testEqualsDoubleNaNAndBigDecimal() { assertThat(new JsonPrimitive(Double.NaN).equals(new JsonPrimitive(new BigDecimal("1.0")))) From 5c9fb1b39641a08b3a6881ebe1b2e8286f2884f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 09:41:07 -0800 Subject: [PATCH 03/17] Bump actions/upload-artifact from 4.3.0 to 4.3.1 (#2616) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/26f96dfa697d77e81fd5907df203aa23a56210a8...5d5d22a31266ced268874388b861e4b58bb5c2f3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/check-api-compatibility.yml | 2 +- .github/workflows/cifuzz.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-api-compatibility.yml b/.github/workflows/check-api-compatibility.yml index 33aa14d283..d845f7429b 100644 --- a/.github/workflows/check-api-compatibility.yml +++ b/.github/workflows/check-api-compatibility.yml @@ -39,7 +39,7 @@ jobs: mvn --batch-mode --fail-at-end --no-transfer-progress package japicmp:cmp -DskipTests - name: Upload API differences artifacts - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 # Run on workflow success (in that case differences report might include added methods and classes) # or when API compatibility check failed if: success() || ( failure() && steps.check-compatibility.outcome == 'failure' ) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 168b934be9..0595f8aa9e 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -18,7 +18,7 @@ jobs: fuzz-seconds: 600 dry-run: false - name: Upload Crash - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 + uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 if: failure() && steps.build.outcome == 'success' with: name: artifacts From 2f48cc76cd2da6044ebdb7d1479c086d70786473 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Tue, 13 Feb 2024 00:48:23 +0100 Subject: [PATCH 04/17] Improve formatting of README maintenance note (#2618) Uses GitHub-specific Markdown syntax for displaying a "Note" section. See https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd06c0a421..492a32407e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ Gson can work with arbitrary Java objects including pre-existing objects that yo There are a few open-source projects that can convert Java objects to JSON. However, most of them require that you place Java annotations in your classes; something that you can not do if you do not have access to the source-code. Most also do not fully support the use of Java Generics. Gson considers both of these as very important design goals. -:information_source: Gson is currently in maintenance mode; existing bugs will be fixed, but large new features will likely not be added. If you want to add a new feature, please first search for existing GitHub issues, or create a new one to discuss the feature and get feedback. +> [!NOTE]\ +> Gson is currently in maintenance mode; existing bugs will be fixed, but large new features will likely not be added. If you want to add a new feature, please first search for existing GitHub issues, or create a new one to discuss the feature and get feedback. ### Goals * Provide simple `toJson()` and `fromJson()` methods to convert Java objects to JSON and vice-versa From ea1c4a62a4bf6bb6100c23daa0a582cb1a5cc990 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Fri, 23 Feb 2024 02:29:20 +0100 Subject: [PATCH 05/17] Mention GitHub Discussions in README & issue creation (#2629) --- .github/ISSUE_TEMPLATE/config.yml | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index b798788d02..fd8d79a7d8 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,3 +2,6 @@ contact_links: - name: Usage question url: https://stackoverflow.com/questions/tagged/gson about: Ask usage questions on StackOverflow. + - name: Questions, ideas, tips & tricks, ... + url: https://github.com/google/gson/discussions + about: Share information in GitHub Discussions. diff --git a/README.md b/README.md index 492a32407e..cd12727192 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Older Gson versions may also support lower API levels, however this has not been * [Releases and change log](https://github.com/google/gson/releases): Latest releases and changes in these versions; for older releases see [`CHANGELOG.md`](CHANGELOG.md) * [Design document](GsonDesignDocument.md): This document discusses issues we faced while designing Gson. It also includes a comparison of Gson with other Java libraries that can be used for Json conversion -Please use the ['gson' tag on StackOverflow](https://stackoverflow.com/questions/tagged/gson) or the [google-gson Google group](https://groups.google.com/group/google-gson) to discuss Gson or to post questions. +Please use the ['gson' tag on StackOverflow](https://stackoverflow.com/questions/tagged/gson), [GitHub Discussions](https://github.com/google/gson/discussions) or the [google-gson Google group](https://groups.google.com/group/google-gson) to discuss Gson or to post questions. ### Related Content Created by Third Parties * [Gson Tutorial](https://www.studytrails.com/java/json/java-google-json-introduction/) by `StudyTrails` From e41b9c513f1b2e9b804060e843817e63e673e8b9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:29:39 -0800 Subject: [PATCH 06/17] Bump github/codeql-action from 3.24.0 to 3.24.5 (#2631) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.0 to 3.24.5. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/e8893c57a1f3a2b659b6b55564fdfdbbd2982911...47b3d888fe66b639e431abf22ebca059152f1eea) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d930a529c1..acd968f39b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: # Initializes the CodeQL tools for scanning - name: Initialize CodeQL - uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 + uses: github/codeql-action/init@47b3d888fe66b639e431abf22ebca059152f1eea # v3.24.5 with: languages: ${{ matrix.language }} # Run all security queries and maintainability and reliability queries @@ -50,4 +50,4 @@ jobs: mvn compile --batch-mode --no-transfer-progress - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 + uses: github/codeql-action/analyze@47b3d888fe66b639e431abf22ebca059152f1eea # v3.24.5 From 372aa1b19686c957c86a1eef8b6448c6569090e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:46:50 -0800 Subject: [PATCH 07/17] Bump graalvm/setup-graalvm from 1.1.5.1 to 1.1.8.1 (#2630) Bumps [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm) from 1.1.5.1 to 1.1.8.1. - [Release notes](https://github.com/graalvm/setup-graalvm/releases) - [Commits](https://github.com/graalvm/setup-graalvm/compare/b8dc5fccfbc65b21dd26e8341e7b21c86547f61b...5393c3d80982e8a7fa61005137824ef53731ff9a) --- updated-dependencies: - dependency-name: graalvm/setup-graalvm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 12ebe5dc20..61bd8a8803 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: "Set up GraalVM" - uses: graalvm/setup-graalvm@b8dc5fccfbc65b21dd26e8341e7b21c86547f61b # v1.1.5.1 + uses: graalvm/setup-graalvm@5393c3d80982e8a7fa61005137824ef53731ff9a # v1.1.8.1 with: java-version: '17' distribution: 'graalvm' From 1d913625b2627873ca8fa04c1a42167e6202961b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:16:41 -0800 Subject: [PATCH 08/17] Bump com.github.siom79.japicmp:japicmp-maven-plugin (#2626) Bumps [com.github.siom79.japicmp:japicmp-maven-plugin](https://github.com/siom79/japicmp) from 0.18.3 to 0.18.5. - [Release notes](https://github.com/siom79/japicmp/releases) - [Changelog](https://github.com/siom79/japicmp/blob/master/release.py) - [Commits](https://github.com/siom79/japicmp/compare/japicmp-base-0.18.3...japicmp-base-0.18.5) --- updated-dependencies: - dependency-name: com.github.siom79.japicmp:japicmp-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 806ac7ac64..a0fc45fd89 100644 --- a/pom.xml +++ b/pom.xml @@ -442,7 +442,7 @@ com.github.siom79.japicmp japicmp-maven-plugin - 0.18.3 + 0.18.5 From d52fafa8e17816728111696a4b0943c14127617e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:16:54 -0800 Subject: [PATCH 09/17] Bump com.google.errorprone:error_prone_core from 2.24.1 to 2.25.0 (#2625) Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.24.1 to 2.25.0. - [Release notes](https://github.com/google/error-prone/releases) - [Commits](https://github.com/google/error-prone/compare/v2.24.1...v2.25.0) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a0fc45fd89..1ab6c2421d 100644 --- a/pom.xml +++ b/pom.xml @@ -293,7 +293,7 @@ com.google.errorprone error_prone_core - 2.24.1 + 2.25.0 From f980bd1175b7e6ccd79b21019820e99fabf53982 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:17:06 -0800 Subject: [PATCH 10/17] Bump com.google.truth:truth from 1.4.0 to 1.4.1 (#2624) Bumps [com.google.truth:truth](https://github.com/google/truth) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/google/truth/releases) - [Commits](https://github.com/google/truth/compare/v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: com.google.truth:truth dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1ab6c2421d..6003048f80 100644 --- a/pom.xml +++ b/pom.xml @@ -93,7 +93,7 @@ com.google.truth truth - 1.4.0 + 1.4.1 From 0da2c873f7f52322d94b0a16c78159d19a79cc24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:17:17 -0800 Subject: [PATCH 11/17] Bump com.google.errorprone:error_prone_annotations from 2.24.1 to 2.25.0 (#2623) Bumps [com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone) from 2.24.1 to 2.25.0. - [Release notes](https://github.com/google/error-prone/releases) - [Commits](https://github.com/google/error-prone/compare/v2.24.1...v2.25.0) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_annotations dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- gson/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gson/pom.xml b/gson/pom.xml index c0eda8309b..15099338cc 100644 --- a/gson/pom.xml +++ b/gson/pom.xml @@ -50,7 +50,7 @@ com.google.errorprone error_prone_annotations - 2.24.1 + 2.25.0 From abeb7ee1a942226b18e401c168efaa728fc6e446 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:17:28 -0800 Subject: [PATCH 12/17] Bump com.google.protobuf:protobuf-java from 3.25.2 to 3.25.3 (#2620) Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.25.2 to 3.25.3. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.25.2...v3.25.3) --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-java dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- proto/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/pom.xml b/proto/pom.xml index 99583c399f..33d7a4ebee 100644 --- a/proto/pom.xml +++ b/proto/pom.xml @@ -32,7 +32,7 @@ 2023-01-01T00:00:00Z - 3.25.2 + 3.25.3 From b9b1b810d9a144837c82907fd9190c2f9336311f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 15:56:02 -0800 Subject: [PATCH 13/17] Bump com.github.wvengen:proguard-maven-plugin from 2.6.0 to 2.6.1 (#2637) Bumps [com.github.wvengen:proguard-maven-plugin](https://github.com/wvengen/proguard-maven-plugin) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/wvengen/proguard-maven-plugin/releases) - [Changelog](https://github.com/wvengen/proguard-maven-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/wvengen/proguard-maven-plugin/commits/2.6.1) --- updated-dependencies: - dependency-name: com.github.wvengen:proguard-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- gson/pom.xml | 2 +- shrinker-test/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gson/pom.xml b/gson/pom.xml index 15099338cc..46876d31b6 100644 --- a/gson/pom.xml +++ b/gson/pom.xml @@ -181,7 +181,7 @@ com.github.wvengen proguard-maven-plugin - 2.6.0 + 2.6.1 obfuscate-test-class diff --git a/shrinker-test/pom.xml b/shrinker-test/pom.xml index 9664543ac4..3c035bf706 100644 --- a/shrinker-test/pom.xml +++ b/shrinker-test/pom.xml @@ -95,7 +95,7 @@ com.github.wvengen proguard-maven-plugin - 2.6.0 + 2.6.1 package From ef8a8cd64fd217176d1fb1a718cc4aa745b11f20 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:17:48 -0800 Subject: [PATCH 14/17] Bump com.android.tools:r8 from 8.2.42 to 8.2.47 (#2636) Bumps com.android.tools:r8 from 8.2.42 to 8.2.47. --- updated-dependencies: - dependency-name: com.android.tools:r8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- shrinker-test/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shrinker-test/pom.xml b/shrinker-test/pom.xml index 3c035bf706..e1acf7611b 100644 --- a/shrinker-test/pom.xml +++ b/shrinker-test/pom.xml @@ -218,7 +218,7 @@ but it appears that can be ignored --> com.android.tools r8 - 8.2.42 + 8.2.47 From 9d0c86007498787e6d1b65283992e509fa5f5226 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:18:00 -0800 Subject: [PATCH 15/17] Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.1 to 3.5.2 (#2635) Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.5.1 to 3.5.2. - [Release notes](https://github.com/apache/maven-shade-plugin/releases) - [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.5.1...maven-shade-plugin-3.5.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-shade-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- shrinker-test/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shrinker-test/pom.xml b/shrinker-test/pom.xml index e1acf7611b..05ad3b7de4 100644 --- a/shrinker-test/pom.xml +++ b/shrinker-test/pom.xml @@ -145,7 +145,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.5.1 + 3.5.2 package From 623040456a5ced22c083cda864f3a74b935dff08 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:18:11 -0800 Subject: [PATCH 16/17] Bump org.codehaus.mojo:exec-maven-plugin from 3.1.1 to 3.2.0 (#2634) Bumps [org.codehaus.mojo:exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 3.1.1 to 3.2.0. - [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases) - [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/3.1.1...3.2.0) --- updated-dependencies: - dependency-name: org.codehaus.mojo:exec-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- shrinker-test/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shrinker-test/pom.xml b/shrinker-test/pom.xml index 05ad3b7de4..dd76a4331b 100644 --- a/shrinker-test/pom.xml +++ b/shrinker-test/pom.xml @@ -174,7 +174,7 @@ org.codehaus.mojo exec-maven-plugin - 3.1.1 + 3.2.0 r8 From b209d8ecb2e054847b17a0eab7eb67f941bab935 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:18:21 -0800 Subject: [PATCH 17/17] Bump org.graalvm.buildtools:native-maven-plugin from 0.10.0 to 0.10.1 (#2633) Bumps [org.graalvm.buildtools:native-maven-plugin](https://github.com/graalvm/native-build-tools) from 0.10.0 to 0.10.1. - [Release notes](https://github.com/graalvm/native-build-tools/releases) - [Commits](https://github.com/graalvm/native-build-tools/compare/0.10.0...0.10.1) --- updated-dependencies: - dependency-name: org.graalvm.buildtools:native-maven-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- graal-native-image-test/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graal-native-image-test/pom.xml b/graal-native-image-test/pom.xml index 6ea4701887..e70a645964 100644 --- a/graal-native-image-test/pom.xml +++ b/graal-native-image-test/pom.xml @@ -152,7 +152,7 @@ org.graalvm.buildtools native-maven-plugin - 0.10.0 + 0.10.1 true