Skip to content

chore(deps): bump com.diffplug.spotless:spotless-maven-plugin from 3.1.0 to 3.2.0 - #657

Merged
AlbumenJ merged 1 commit into
mainfrom
dependabot/maven/com.diffplug.spotless-spotless-maven-plugin-3.2.0
Jan 26, 2026
Merged

AlbumenJ merged 1 commit into
mainfrom
dependabot/maven/com.diffplug.spotless-spotless-maven-plugin-3.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jan 25, 2026

Copy link
Copy Markdown
Contributor

Bumps com.diffplug.spotless:spotless-maven-plugin from 3.1.0 to 3.2.0.

Release notes

Sourced from com.diffplug.spotless:spotless-maven-plugin's releases.

Lib v3.2.0

Added

  • Support for idea (#2020, #2535)
  • Add support for removing wildcard imports via removeWildcardImports step. (#2517)
  • scalafmt: enforce version consistency between the version configured in Spotless and the version declared in Scalafmt config file (#2460)

Fixed

  • SortPom disable expandEmptyElements, to avoid empty body warnings. (#2520)
  • Fix biome formatter for new major release 2.x of biome (#2537)
  • Make sure npm-based formatters use the correct node_modules directory when running in parallel. (#2542)

Changed

  • Bump internal dependencies for npm-based formatters (#2542)

Maven Plugin v3.2.0

Added

  • Add the ability to specify a wildcard version (*) for external formatter executables. (#2757)

Changes

  • Dramatic (~100x) performance improvement when using git ratchetFrom. (#2805)

Fixed

  • [fix] NPE due to workingTreeIterator being null for git ignored files. #911 (#2771)
  • Prevent race conditions when multiple npm-based formatters launch the server process simultaneously while sharing the same node_modules directory. (#2786)

Changes

  • Bump default ktfmt version to latest 0.59 -> 0.61. (2804)
  • Bump default ktlint version to latest 1.7.1 -> 1.8.0. (2763)
  • Bump default gherkin-utils version to latest 9.2.0 -> 10.0.0. (#2619)

Lib v3.1.2

Fixed

  • Fix UnsupportedOperationException in the Gradle plugin when using targetExcludeContent[Pattern] (#2487)
  • pgp key had expired, this and future releases will be signed by new key (details)

Changed

  • Bump default eclipse version to latest 4.34 -> 4.35. (#2458)
  • Bump default greclipse version to latest 4.32 -> 4.35. (#2458)

Lib v3.1.1

Changed

  • Use palantir-java-format 2.57.0 on Java 21. (#2447)
  • Re-try npm install with --prefer-online after ERESOLVE error. (#2448)
Changelog

Sourced from com.diffplug.spotless:spotless-maven-plugin's changelog.

[3.2.0] - 2025-07-07

Added

  • Support for idea (#2020, #2535)
  • Add support for removing wildcard imports via removeWildcardImports step. (#2517)
  • scalafmt: enforce version consistency between the version configured in Spotless and the version declared in Scalafmt config file (#2460)

Fixed

  • SortPom disable expandEmptyElements, to avoid empty body warnings. (#2520)
  • Fix biome formatter for new major release 2.x of biome (#2537)
  • Make sure npm-based formatters use the correct node_modules directory when running in parallel. (#2542)

Changed

  • Bump internal dependencies for npm-based formatters (#2542)

[3.1.2] - 2025-05-27

Fixed

  • Fix UnsupportedOperationException in the Gradle plugin when using targetExcludeContent[Pattern] (#2487)
  • pgp key had expired, this and future releases will be signed by new key (details)

Changed

  • Bump default eclipse version to latest 4.34 -> 4.35. (#2458)
  • Bump default greclipse version to latest 4.32 -> 4.35. (#2458)

[3.1.1] - 2025-04-07

Changed

  • Use palantir-java-format 2.57.0 on Java 21. (#2447)
  • Re-try npm install with --prefer-online after ERESOLVE error. (#2448)
  • Allow multiple npm-based formatters having the same module dependencies, to share a node_modules dir without race conditions. #2462)
Commits
  • 10c6069 Published lib/3.2.0
  • 5a7f075 Publish to Central Portal (#2539)
  • 2f4ef38 Revert "Use palantir-java-format as default formatter in RemoveUnused. (#2546)
  • 62b12ca spotlessApply
  • cb202b1 Revert "Use palantir-java-format as default formatter in RemoveUnusedImportsS...
  • 86d65b0 feat: Disable expandEmptyElements, to avoid empty body warnings (#2520)
  • 694eb30 Add the changes to the plugin-maven/CHANGES.md
  • 34be7eb Merge branch 'main' into patch-1
  • 38989da Update for biome 2.x (#2538 fixes #2537)
  • dc969c1 Merge branch 'main' into update-for-biome-2.x
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](diffplug/spotless@lib/3.1.0...lib/3.2.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-maven-plugin
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jan 25, 2026
@dependabot
dependabot Bot requested a review from a team January 25, 2026 19:03
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Jan 25, 2026
@cla-assistant

cla-assistant Bot commented Jan 25, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@cla-assistant

cla-assistant Bot commented Jan 25, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov

codecov Bot commented Jan 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AlbumenJ
AlbumenJ merged commit 70db3ae into main Jan 26, 2026
@dependabot
dependabot Bot deleted the dependabot/maven/com.diffplug.spotless-spotless-maven-plugin-3.2.0 branch January 26, 2026 01:39
iridescentpeo pushed a commit to feelshana/agentscope-java that referenced this pull request Apr 21, 2026
…1.0 to 3.2.0 (agentscope-ai#657)

Bumps
[com.diffplug.spotless:spotless-maven-plugin](https://github.com/diffplug/spotless)
from 3.1.0 to 3.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/diffplug/spotless/releases">com.diffplug.spotless:spotless-maven-plugin's
releases</a>.</em></p>
<blockquote>
<h2>Lib v3.2.0</h2>
<h3>Added</h3>
<ul>
<li>Support for <code>idea</code> (<a
href="https://redirect.github.com/diffplug/spotless/pull/2020">#2020</a>,
<a
href="https://redirect.github.com/diffplug/spotless/pull/2535">#2535</a>)</li>
<li>Add support for removing wildcard imports via
<code>removeWildcardImports</code> step. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2517">#2517</a>)</li>
<li>scalafmt: enforce version consistency between the version configured
in Spotless and the version declared in Scalafmt config file (<a
href="https://redirect.github.com/diffplug/spotless/issues/2460">#2460</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>SortPom</code> disable expandEmptyElements, to avoid empty
body warnings. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2520">#2520</a>)</li>
<li>Fix biome formatter for new major release 2.x of biome (<a
href="https://redirect.github.com/diffplug/spotless/pull/2537">#2537</a>)</li>
<li>Make sure npm-based formatters use the correct
<code>node_modules</code> directory when running in parallel. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2542">#2542</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump internal dependencies for npm-based formatters (<a
href="https://redirect.github.com/diffplug/spotless/pull/2542">#2542</a>)</li>
</ul>
<h2>Maven Plugin v3.2.0</h2>
<h3>Added</h3>
<ul>
<li>Add the ability to specify a wildcard version (<code>*</code>) for
external formatter executables. (<a
href="https://redirect.github.com/diffplug/spotless/issues/2757">#2757</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Dramatic (~100x) performance improvement when using git
<code>ratchetFrom</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2805">#2805</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[fix] <code>NPE</code> due to workingTreeIterator being null for git
ignored files. <a
href="https://redirect.github.com/diffplug/spotless/issues/911">#911</a>
(<a
href="https://redirect.github.com/diffplug/spotless/issues/2771">#2771</a>)</li>
<li>Prevent race conditions when multiple npm-based formatters launch
the server process simultaneously while sharing the same
<code>node_modules</code> directory. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2786">#2786</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Bump default <code>ktfmt</code> version to latest <code>0.59</code>
-&gt; <code>0.61</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2804">2804</a>)</li>
<li>Bump default <code>ktlint</code> version to latest
<code>1.7.1</code> -&gt; <code>1.8.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2763">2763</a>)</li>
<li>Bump default <code>gherkin-utils</code> version to latest
<code>9.2.0</code> -&gt; <code>10.0.0</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2619">#2619</a>)</li>
</ul>
<h2>Lib v3.1.2</h2>
<h3>Fixed</h3>
<ul>
<li>Fix <code>UnsupportedOperationException</code> in the Gradle plugin
when using <code>targetExcludeContent[Pattern]</code> (<a
href="https://redirect.github.com/diffplug/spotless/pull/2487">#2487</a>)</li>
<li>pgp key had expired, this and future releases will be signed by new
key (<a
href="https://github.com/diffplug/spotless/discussions/2464">details</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump default <code>eclipse</code> version to latest
<code>4.34</code> -&gt; <code>4.35</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2458">#2458</a>)</li>
<li>Bump default <code>greclipse</code> version to latest
<code>4.32</code> -&gt; <code>4.35</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2458">#2458</a>)</li>
</ul>
<h2>Lib v3.1.1</h2>
<h3>Changed</h3>
<ul>
<li>Use palantir-java-format 2.57.0 on Java 21. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2447">#2447</a>)</li>
<li>Re-try <code>npm install</code> with <code>--prefer-online</code>
after <code>ERESOLVE</code> error. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2448">#2448</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/diffplug/spotless/blob/main/CHANGES.md">com.diffplug.spotless:spotless-maven-plugin's
changelog</a>.</em></p>
<blockquote>
<h2>[3.2.0] - 2025-07-07</h2>
<h3>Added</h3>
<ul>
<li>Support for <code>idea</code> (<a
href="https://redirect.github.com/diffplug/spotless/pull/2020">#2020</a>,
<a
href="https://redirect.github.com/diffplug/spotless/pull/2535">#2535</a>)</li>
<li>Add support for removing wildcard imports via
<code>removeWildcardImports</code> step. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2517">#2517</a>)</li>
<li>scalafmt: enforce version consistency between the version configured
in Spotless and the version declared in Scalafmt config file (<a
href="https://redirect.github.com/diffplug/spotless/issues/2460">#2460</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>SortPom</code> disable expandEmptyElements, to avoid empty
body warnings. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2520">#2520</a>)</li>
<li>Fix biome formatter for new major release 2.x of biome (<a
href="https://redirect.github.com/diffplug/spotless/pull/2537">#2537</a>)</li>
<li>Make sure npm-based formatters use the correct
<code>node_modules</code> directory when running in parallel. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2542">#2542</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump internal dependencies for npm-based formatters (<a
href="https://redirect.github.com/diffplug/spotless/pull/2542">#2542</a>)</li>
</ul>
<h2>[3.1.2] - 2025-05-27</h2>
<h3>Fixed</h3>
<ul>
<li>Fix <code>UnsupportedOperationException</code> in the Gradle plugin
when using <code>targetExcludeContent[Pattern]</code> (<a
href="https://redirect.github.com/diffplug/spotless/pull/2487">#2487</a>)</li>
<li>pgp key had expired, this and future releases will be signed by new
key (<a
href="https://github.com/diffplug/spotless/discussions/2464">details</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump default <code>eclipse</code> version to latest
<code>4.34</code> -&gt; <code>4.35</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2458">#2458</a>)</li>
<li>Bump default <code>greclipse</code> version to latest
<code>4.32</code> -&gt; <code>4.35</code>. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2458">#2458</a>)</li>
</ul>
<h2>[3.1.1] - 2025-04-07</h2>
<h3>Changed</h3>
<ul>
<li>Use palantir-java-format 2.57.0 on Java 21. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2447">#2447</a>)</li>
<li>Re-try <code>npm install</code> with <code>--prefer-online</code>
after <code>ERESOLVE</code> error. (<a
href="https://redirect.github.com/diffplug/spotless/pull/2448">#2448</a>)</li>
<li>Allow multiple npm-based formatters having the same module
dependencies, to share a <code>node_modules</code> dir without race
conditions. <a
href="https://redirect.github.com/diffplug/spotless/pull/2462">#2462</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/diffplug/spotless/commit/10c60698327c0b7a4ecebd76c7638f695389d83b"><code>10c6069</code></a>
Published lib/3.2.0</li>
<li><a
href="https://github.com/diffplug/spotless/commit/5a7f0756185494911a06483c27670cc473c0ed66"><code>5a7f075</code></a>
Publish to Central Portal (<a
href="https://redirect.github.com/diffplug/spotless/issues/2539">#2539</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/2f4ef38ca0c5d4f96b10ff82396ffc13924ddd3b"><code>2f4ef38</code></a>
Revert &quot;Use palantir-java-format as default formatter in
RemoveUnused. (<a
href="https://redirect.github.com/diffplug/spotless/issues/2546">#2546</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/62b12ca8fb2b17f04bf3028c97e73f99f682b5a9"><code>62b12ca</code></a>
spotlessApply</li>
<li><a
href="https://github.com/diffplug/spotless/commit/cb202b11ff3ac041fc188457e5420d87c119bec0"><code>cb202b1</code></a>
Revert &quot;Use palantir-java-format as default formatter in
RemoveUnusedImportsS...</li>
<li><a
href="https://github.com/diffplug/spotless/commit/86d65b0f5405d6b9316333828a8d9a692dee9f18"><code>86d65b0</code></a>
feat: Disable <code>expandEmptyElements</code>, to avoid empty body
warnings (<a
href="https://redirect.github.com/diffplug/spotless/issues/2520">#2520</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/694eb3074407e7fd3999f52f826a48b18c533259"><code>694eb30</code></a>
Add the changes to the plugin-maven/CHANGES.md</li>
<li><a
href="https://github.com/diffplug/spotless/commit/34be7eb894d559a77e7c66313840e9b6c350f089"><code>34be7eb</code></a>
Merge branch 'main' into patch-1</li>
<li><a
href="https://github.com/diffplug/spotless/commit/38989da90ff47a920b0bdef8616aaa20c597f45f"><code>38989da</code></a>
Update for biome 2.x (<a
href="https://redirect.github.com/diffplug/spotless/issues/2538">#2538</a>
fixes <a
href="https://redirect.github.com/diffplug/spotless/issues/2537">#2537</a>)</li>
<li><a
href="https://github.com/diffplug/spotless/commit/dc969c1e7a03426fbcfb1bb220bcf242905918f8"><code>dc969c1</code></a>
Merge branch 'main' into update-for-biome-2.x</li>
<li>Additional commits viewable in <a
href="https://github.com/diffplug/spotless/compare/lib/3.1.0...lib/3.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless:spotless-maven-plugin&package-manager=maven&previous-version=3.1.0&new-version=3.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Letter2025 added a commit to Letter2025/agentscope-java that referenced this pull request Sep 16, 2026
…g semantics

Follow-up to the re-review (all 4 warnings + 3 infos addressed):

- Capability contract (agentscope-ai#338): ReActAgent validates the chain at build time and warns when a candidate reports a smaller context window or different structured-output support than the primary (the chain reports the primary's capabilities). FallbackChainModel javadoc documents the compatibility requirement; agent.md EN+ZH updated.
- Cooldown semantics (agentscope-ai#185, agentscope-ai#240): auth failures (401/403) are no longer cooled — a wrong credential will not fix itself and the real auth error must surface; they still switch. Mid-stream failures only cool the candidate when classified SWITCHABLE (request-shaped failures like oversized payloads do not park the primary for other sessions). The all-cooling error now propagates the last real failure as cause (remembered per candidate) instead of a bare synthetic message; wording no longer counts the primary as a 'fallback candidate'.
- Cooldown key (agentscope-ai#286): replaced System.identityHashCode with the stable chain index (collision-free across wrapper instances sharing a table with the same candidate order).
- Cleanup (agentscope-ai#258): removed the tautological size() > 0 && !isEmpty() guard (removeIf is a no-op on an empty map).
- Docs (agentscope-ai#657, agentscope-ai#626): agent.md EN capability bullet now matches the code (reports the primary); added the ZH fallbackModels section mirroring the EN one.

Tests: 3 new cases (auth-not-cooled, mid-stream request-side not cooled, all-cooling preserves cause); existing cooldown-message test updated to assert the propagated last failure; FallbackChainModelTest 29/29, ReActAgentFallbackChainTest 9/9, model+agent package 373 green.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant