You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for custom string format for license header copyright year via yearStringFormat(). (#2965)
Fixed
<expandWildcardImports> no longer triggers a full transitive dependency resolution on every build. Dependency resolution is now deferred until the step actually runs, so projects that do not use <expandWildcardImports> (or that use version ranges) are no longer penalized. (#2983)
This document is intended for Spotless developers.
We adhere to the keepachangelog format (starting after version 1.27.0).
[Unreleased]
[4.8.0] - 2026-06-29
Added
Add support for custom string format for license header copyright year via yearStringFormat(). (#2965)
[4.7.0] - 2026-06-16
Added
Add support for AsciiDoc formatting via adocfmt. (#2960)
flexmark step now supports arbitrary formatter options via a formatterOptions map. (#2968)
Fixed
FenceStep.preserveWithin now forwards lints from nested steps while still suppressing lints inside preserved blocks. (#2962)
Support ktfmt 0.63 and use its new builder API for formatting options to better avoid future breaking changes.
Parse standard git year output in LicenseHeaderStep. (#2940)
Fix StringIndexOutOfBoundsException in scenarios where copyright year is surrounded by whitespace. (#2973)
Changes
Bump default greclipse version to latest 4.35 -> 4.39. (#2924)
[4.6.2] - 2026-05-27
Fixed
P2Provisioner now passes cache directory overrides directly to Solstice. (#2944)
forbidWildcardImports and forbidModuleImports now detect imports that have leading whitespace (indentation/tabs). (#2939)
versionCatalog step no longer splits long inline tables across multiple lines — Gradle's TOML 1.0 parser cannot read multi-line inline tables. The maxLineLength option has been removed. (#2948)
Changes
EclipseJdtFormtterStep now can conditionally set compiler source/compliance options. Allows for better parsing of AST Node for newer language features and more correct sorting; e.g. records or seal classes. (#2942)
Formatter no longer recomputes line-ending normalization (LineEnding.toUnix) a second time for every formatter step that changes content, removing redundant O(n) work from the core formatting loop. (#2934)
expandWildcardImports support pom type dependency. (#2839)
[4.6.1] - 2026-05-15
Fixed
LicenseHeaderStep in SET_FROM_GIT year mode no longer invokes git log through bash -c / cmd /c, eliminating a shell-injection vector when processing repositories that contain files whose names include shell metacharacters.
[4.6.0] - 2026-05-14
Added
scalafmt() now reads the version from the version field in the scalafmt config file when no version is explicitly set in the plugin config, falling back to the built-in default only if neither is available. (#2922)
Add versionCatalog step for formatting and sorting Gradle version catalog (.toml) files. (#2916)
Add javaparserVersion option to the Cleanthat step, allowing callers to override the JavaParser version pulled in transitively by Cleanthat. (#2903)
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 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)
dependabotBot
deleted the
dependabot/maven/com.diffplug.spotless-spotless-maven-plugin-3.8.0
branch
July 6, 2026 15:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps com.diffplug.spotless:spotless-maven-plugin from 3.7.0 to 3.8.0.
Release notes
Sourced from com.diffplug.spotless:spotless-maven-plugin's releases.
Changelog
Sourced from com.diffplug.spotless:spotless-maven-plugin's changelog.
... (truncated)
Commits
03d43baPublished maven/3.8.08b80c13Published gradle/8.8.08ee6cf9Published lib/4.8.06c02c0bAdd missing changelog entry.264f4ccAdd regression test for forbidWildcardImports inside toggleOffOn (#2982)6abb064fix #2983, expandWildcardImports triggers a full transitive reso… (#2984)f4536d4Update plugin spotbugs to v6.5.8 (#2987)873454aUpdate plugin spotbugs to v6.5.8000b8a8Update dependency org.junit.jupiter:junit-jupiter to v6.1.1 (#2985)84ebcabUpdate dependency org.junit.jupiter:junit-jupiter to v6.1.1Dependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)