nem
nem copied to clipboard
[dependency]: Bump com.diffplug.spotless:spotless-maven-plugin from 2.46.1 to 3.0.0 in /deploy
Bumps com.diffplug.spotless:spotless-maven-plugin from 2.46.1 to 3.0.0.
Release notes
Sourced from com.diffplug.spotless:spotless-maven-plugin's releases.
Lib v3.0.0
Headline changes
- All steps now support roundtrip serialization (end of #987).
- Spotless now supports linting in addition to formatting.
Changed
- Allow setting Eclipse config from a string, not only from files (#2337)
- Bump default
ktlintversion to latest1.3.0->1.4.0. (#2314)- Add Sort Members feature based on Eclipse JDT implementation. (#2312)
- Bump default
jacksonversion to latest2.18.0->2.18.1. (#2319)- Bump default
ktfmtversion to latest0.52->0.53. (#2320)- Bump default
ktlintversion to latest1.4.0->1.5.0. (#2354)- Bump minimum
eclipse-cdtversion to11.0(removed support for10.7). (#2373)- Bump default
eclipseversion to latest4.32->4.34. (#2381)Fixed
- You can now use
removeUnusedImportsandgoogleJavaFormatat the same time again. (fixes #2159)- The default list of type annotations used by
formatAnnotationsnow includes Jakarta Validation'sValidand constraints validations (fixes #2334)Maven Plugin v3.0.0
Changes
- BREAKING Bump the required Java to
17. (#2375, #2540)- BREAKING Renamed
removeWildcardImportstoforbidWildcardImports. (#2633)- BREAKING
spotless:install-git-pre-push-hooktask is now always installed in the root.git/hooksdirectory by resolving the top-level project base directory. (#2570)- Bump JGit from
6.10.1to7.3.0(#2257)
- Adds support for worktrees (fixes #1765)
- Bump default
google-java-formatversion to latest1.24.0->1.28.0. (#2345)- Bump default
gsonversion to latest2.13.1->2.13.2. (#2615)- Bump default
jacksonversion to latest2.19.2->2.20.0. (#2606)- Bump default
ktfmtversion to latest0.53->0.58(#2613)
- BREAKING use
TrailingCommaManagementStrategyenum instead ofmanageTrailingCommasboolean configuration option- Bump default
ktlintversion to latest1.5.0->1.7.1. (#2555)- Bump default
palantir-java-formatversion to latest2.57.0->2.71.0.Fixed
- Fix
spaceBeforeSeparatorin Jackson formatter. (#2103)Added
<lintSupressions>API (#2309)- There is now a
forbidRegex(String name, String searchRegex, String lintDetail)which throws a lint anytime the regex matches. (#2633)Lib v3.0.0.BETA4
Added
- APIs to support linting. (implemented in #2148, #2149, #2307)
- Spotless is still primarily a formatter, not a linter. But when formatting fails, it's more flexible to model those failures as lints so that the formatting can continue and ideally we can also capture the line numbers causing the failure.
Lintmodels a single change. AFormatterStepcan create a lint by:
- throwing an exception during formatting, ideally
throw Lint.atLine(127, "code", "Well what happened was...")- or by implementing the
List<Lint> lint(String content, File file)method to create multiple of them- Support for line ending policy
PRESERVEwhich just takes the first line ending of every given file as setting (no matter if\n,\r\nor\r) (#2304)Changes
- BREAKING Moved
PaddedCell.DirtyStateto its own top-level class with new methods. (#2148)
- BREAKING Removed
isClean,applyTo, andapplyToAndReturnResultIfDirtyfromFormatterbecause users should instead useDirtyState.Fixed
... (truncated)
Changelog
Sourced from com.diffplug.spotless:spotless-maven-plugin's changelog.
[3.0.0] - 2025-01-06
Headline changes
- All steps now support roundtrip serialization (end of #987).
- Spotless now supports linting in addition to formatting.
Changed
- Allow setting Eclipse config from a string, not only from files (#2337)
- Bump default
ktlintversion to latest1.3.0->1.4.0. (#2314)- Add Sort Members feature based on Eclipse JDT implementation. (#2312)
- Bump default
jacksonversion to latest2.18.0->2.18.1. (#2319)- Bump default
ktfmtversion to latest0.52->0.53. (#2320)- Bump default
ktlintversion to latest1.4.0->1.5.0. (#2354)- Bump minimum
eclipse-cdtversion to11.0(removed support for10.7). (#2373)- Bump default
eclipseversion to latest4.32->4.34. (#2381)Fixed
- You can now use
removeUnusedImportsandgoogleJavaFormatat the same time again. (fixes #2159)- The default list of type annotations used by
formatAnnotationsnow includes Jakarta Validation'sValidand constraints validations (fixes #2334)[3.0.0.BETA4] - 2024-10-24
Added
- APIs to support linting. (implemented in #2148, #2149, #2307)
- Spotless is still primarily a formatter, not a linter. But when formatting fails, it's more flexible to model those failures as lints so that the formatting can continue and ideally we can also capture the line numbers causing the failure.
Lintmodels a single change. AFormatterStepcan create a lint by:
- throwing an exception during formatting, ideally
throw Lint.atLine(127, "code", "Well what happened was...")- or by implementing the
List<Lint> lint(String content, File file)method to create multiple of them- Support for line ending policy
PRESERVEwhich just takes the first line ending of every given file as setting (no matter if\n,\r\nor\r) (#2304)Changed
- BREAKING Moved
PaddedCell.DirtyStateto its own top-level class with new methods. (#2148)
- BREAKING Removed
isClean,applyTo, andapplyToAndReturnResultIfDirtyfromFormatterbecause users should instead useDirtyState.FenceStepnow usesConfigurationCacheHack. (#2378 fixes #2317)Fixed
ktlintsteps now read from thestringinstead of thefileso they don't clobber earlier steps. (fixes #1599)[3.0.0.BETA3] - 2024-10-15
Added
- Support for
rdf(#2261)- Support for
bufon maven plugin (#2291)ConfigurationCacheHackso we can support Gradle's configuration cache and remote build cache at the same time. (#2298 fixes #2168)Changed
- Support configuring the Equo P2 cache. (#2238)
- Add explicit support for JSONC / CSS via biome, via the file extensions
.cssand.jsonc. (#2259)- Bump default
bufversion to latest1.24.0->1.44.0. (#2291)- Bump default
google-java-formatversion to latest1.23.0->1.24.0. (#2294)- Bump default
jacksonversion to latest2.17.2->2.18.0. (#2279)- Bump default
cleanthatversion to latest2.21->2.22. (#2296)Fixed
- Java import order, ignore duplicate group entries. (#2293)
... (truncated)
Commits
1c2435bPublished lib/3.0.0771b628Update changelogs.719f9a4update default versions for Eclipse Java and Groovy formatters (#2381)83bc8f3Update changelogs.1b8dd4eRevert the Greclipse version bump.9507db3Merge branch 'main' into update-greclipsebd03fa0Prepare to publish non-beta. Huzzah!ea71030fix gradlecustomstep with closure and configuration cache (#2376 fixes #2...7a985fbAdd an explanatory comment on why we are zeroing out the global .gitconfig.922c7eaUpdate changelog.- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
@dependabot rebase
Superseded by #754.