Skip to content

chore(deps): update spotlessversion to v4 (major)#39

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-spotlessversion
Open

chore(deps): update spotlessversion to v4 (major)#39
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-spotlessversion

Conversation

@renovate
Copy link

@renovate renovate bot commented Sep 26, 2024

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Update Change
com.diffplug.spotless:spotless-lib major 1.28.14.3.0
com.diffplug.spotless:spotless-lib-extra major 1.28.14.3.0

Release Notes

diffplug/spotless (com.diffplug.spotless:spotless-lib)

v4.3.0

Added
  • Add P2Provisioner interface in lib-extra to enable build-tool-specific caching strategies for Eclipse P2 dependencies, fixing OutOfMemoryError in large multi-project builds. (#​2788)
Fixed
  • removeSemicolons() should not be applied to multiline strings in groovy #​2780 (#​2792)

v4.2.0

Added
  • Add a expandWildcardImports API for java (#​2679)
  • Add the ability to specify a wildcard version (*) for external formatter executables. (#​2757)
Fixed
  • Prevent race conditions when multiple npm-based formatters launch the server process simultaneously while sharing the same node_modules directory. (#​2786)
  • Git ratchet no longer throws an error with Git worktrees. (#​2779)
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)

v4.1.0

Changes
  • Bump default ktfmt version to latest 0.58 -> 0.59. (#​2681
  • Bump default jackson version to latest 2.20.0 -> 2.20.1. (#​2730)
  • Bump default cleanthat version to latest 2.23 -> 2.24. (#​2620)
  • POTENTIALLY BREAKING Removed support for ktlint versions below 1.0. (#​2711)
Fixed
  • palantirJavaFormat is no longer arbitrarily set to outdated versions on Java 17, latest available version is always used (#​2686 fixes #​2685)
Added
  • Add a forbidModuleImports API for java (#​2679)
  • new options to customize Flexmark, e.g. to allow YAML front matter (#​2616)

v4.0.0

Changes
  • BREAKING Bump the required Java to 17. (#​2375, #​2540)
  • BREAKING Renamed RemoveWildcardImportsStep to ForbidWildcardImportsStep. (#​2633)
  • Bump JGit from 6.10.1 to 7.3.0 (#​2257)
    • Adds support for worktrees (fixes #​1765)
  • Bump default google-java-format version to latest 1.24.0 -> 1.28.0. (#​2345)
  • Bump default gson version to latest 2.13.1 -> 2.13.2. (#​2615)
  • Bump default jackson version to latest 2.19.2 -> 2.20.0. (#​2606)
  • Bump default ktfmt version to latest 0.53 -> 0.58 (#​2613)
    • BREAKING use TrailingCommaManagementStrategy enum instead of manageTrailingCommas boolean configuration option
  • Bump default ktlint version to latest 1.5.0 -> 1.7.1. (#​2555)
  • Bump default palantir-java-format version to latest 2.57.0 -> 2.71.0.
Fixed
  • Fix spaceBeforeSeparator in Jackson formatter. (#​2103)
  • GitPrePushHookInstaller uses a lock to run gracefully if it is called many times in parallel. (#​2570)
Added
  • Add a lint mode to ReplaceRegexStep (#​2571)
  • LintSuppression now enforces unix-style paths in its setPath and relativizeAsUnix methods. (#​2629)
  • Add rewrite support (#​2588)

v3.3.1

Fixed
  • GitPrePushHookInstaller didn't work on windows, now fixed. (#​2562)

v3.3.0

Added
  • Allow specifying path to Biome JSON config file directly in biome step. Requires biome 2.x. (#​2548)
  • GitPrePushHookInstaller, a reusable library component for installing a Git pre-push hook that runs formatter checks. (#​2553)
  • Allow setting Eclipse XML config from a string, not only from files (#​2361)

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)

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)

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)
  • Allow multiple npm-based formatters having the same module dependencies, to share a node_modules dir without race conditions. #​2462)

v3.1.0

Added
  • Support forclang-format on maven-plugin (#​2406)
  • Allow overriding classLoader for all JarStates to enable spotless-cli (#​2427)

v3.0.2

Fixed
  • Node.JS-based tasks now work with the configuration cache (#​2372)
  • Eclipse-based tasks can now handle parallel configuration (#​2389)

v3.0.1

Fixed
  • Deployment was missing part of the CDT formatter, now fixed. (#​2384)

v3.0.0

[3.0.0] - 2025-01-06

v2.45.0

Added
  • Support for gofmt (#​2001)
  • Support for formatting Java Docs for the Palantir formatter (#​2009)

v2.44.0

Added
  • New static method to DiffMessageFormatter which allows to retrieve diffs with their line numbers (#​1960)
  • Gradle - Support for formatting shell scripts via shfmt. (#​1994)
Fixed
  • Fix empty files with biome >= 1.5.0 when formatting files that are in the ignore list of the biome configuration file. (#​1989 fixes #​1987)
  • Fix a regression in BufStep where the same arguments were being provided to every buf invocation. (#​1976)
Changed
  • Use palantir-java-format 2.39.0 on Java 21. (#​1948)
  • Bump default ktlint version to latest 1.0.1 -> 1.1.1. (#​1973)
  • Bump default googleJavaFormat version to latest 1.18.1 -> 1.19.2. (#​1971)
  • Bump default diktat version to latest 1.2.5 -> 2.0.0. (#​1972)

v2.43.1

Fixed
  • Eclipse-based steps which contained any jars with a + in their path were broken, now fixed. (#​1860)
Changed
  • Bump default palantir-java-format version to latest 2.28.0 -> 2.38.0 on Java 21. (#​1920)
  • Bump default googleJavaFormat version to latest 1.17.0 -> 1.18.1. (#​1920)
  • Bump default ktfmt version to latest 0.44 -> 0.46. (#​1927)
  • Bump default eclipse version to latest 4.27 -> 4.29. (#​1939)
  • Bump default greclipse version to latest 4.28 -> 4.29. (#​1939)
  • Bump default cdt version to latest 11.1 -> 11.3. (#​1939)

v2.43.0

Added
  • Support custom rule sets for Ktlint. (#​1896)
Fixed
Changed
  • Bump default ktlint version to latest 1.0.0 -> 1.0.1. (#​1855)
  • Add a Step to remove semicolons from Groovy files. (#​1881)

v2.42.0

Added
  • Support for biome. The Rome project was renamed to Biome.
    The configuration is still the same, but you should switch to the new biome tag / function and adjust
    the version accordingly. (#​1804).
  • Support for google-java-format's skip-javadoc-formatting option. (#​1793)
  • Support configuration of mirrors for P2 repositories in Maven DSL (#​1697).
  • New line endings mode GIT_ATTRIBUTES_FAST_ALLSAME. (#​1838)
Fixed
  • Fix support for plugins when using Prettier version 3.0.0 and newer. (#​1802)
  • Fix configuration cache issue around external process started '/usr/bin/git --version'. (#​1806)
Changed
  • Bump default flexmark version to latest 0.64.0 -> 0.64.8. (#​1801)
  • Bump default ktlint version to latest 0.50.0 -> 1.0.0. (#​1808)

v2.41.0

Added
  • Add a jsonPatch step to json formatter configurations. This allows patching of JSON documents using JSON Patches. (#​1753)
  • Support GJF own import order. (#​1780)
Fixed
  • Use latest versions of popular style guides for eslint tests to fix failing useEslintXoStandardRules test. (#​1761, #​1756)
  • Add support for prettier version 3.0.0 and newer. (#​1760, #​1751)
  • Fix npm install calls when npm cache is not up-to-date. (#​1760, #​1750)
Changed
  • Bump default eslint version to latest 8.31.0 -> 8.45.0 (#​1761)
  • Bump default prettier version to latest (v2) 2.8.1 -> 2.8.8. (#​1760)
  • Bump default greclipse version to latest 4.27 -> 4.28. (#​1775)

v2.40.0

Added
  • Added support for Protobuf formatting based on Buf. (#​1208)
  • enum OnMatch { INCLUDE, EXCLUDE } so that FormatterStep.filterByContent can not only include based on the pattern but also exclude. (#​1749)
Fixed
  • Update documented default semanticSort to false. (#​1728)
Changed
  • Bump default cleanthat version to latest 2.13 -> 2.17. (#​1734)
  • Bump default ktlint version to latest 0.49.1 -> 0.50.0. (#​1741)
    • Dropped support for ktlint 0.47.x following our policy of supporting two breaking changes at a time.
    • Dropped support for deprecated useExperimental parameter in favor of the ktlint_experimental property.

v2.39.0

Added
  • Jvm.Support now accepts -SNAPSHOT versions, treated as the non-SNAPSHOT. (#​1583)
  • Support Rome as a formatter for JavaScript and TypeScript code. Adds a new rome step to javascript and typescript formatter configurations. (#​1663)
  • Add semantics-aware Java import ordering (i.e. sort by package, then class, then member). (#​522)
Fixed
  • Fixed a regression which changed the import sorting order in googleJavaFormat introduced in 2.38.0. (#​1680)
  • Equo-based formatters now work on platforms unsupported by Eclipse such as PowerPC (fixes durian-swt#20)
  • When P2 download fails, indicate the responsible formatter. (#​1698)
Changed
  • Equo-based formatters now download metadata to ~/.m2/repository/dev/equo/p2-data rather than ~/.equo, and for CI machines without a home directory the p2 data goes to $GRADLE_USER_HOME/caches/p2-data. (#​1714)
  • Bump default googleJavaFormat version to latest 1.16.0 -> 1.17.0. (#​1710)
  • Bump default ktfmt version to latest 0.43 -> 0.44. (#​1691)
  • Bump default ktlint version to latest 0.48.2 -> 0.49.1. (#​1696)
    • Dropped support for ktlint 0.46.x following our policy of supporting two breaking changes at a time.
  • Bump default sortpom version to latest 3.0.0 -> 3.2.1. (#​1675)

v2.38.0

Added
  • Support configuration of mirrors for P2 repositories in EquoBasedStepBuilder (#​1629).
  • The style option in Palantir Java Format (#​1654).
  • Added formatter for Gherkin feature files (#​1649).
Changed
  • POTENTIALLY BREAKING Converted googleJavaFormat to a compile-only dependency and drop support for versions < 1.8. (#​1630)
  • Bump default cleanthat version to latest 2.6 -> 2.13. (#​1589 and #​1661)
  • Bump default diktat version 1.2.4.2 -> 1.2.5. (#​1631)
  • Bump default flexmark version 0.62.2 -> 0.64.0. (#​1302)
  • Bump default googleJavaFormat version 1.15.0 -> 1.16.0. (#​1630)
  • Bump default scalafmt version 3.7.1 -> 3.7.3. (#​1584)
  • Bump default Eclipse formatters for the 2023-03 release. (#​1662)
    • JDT and GrEclipse 4.26 -> 4.27
      • Improve GrEclipse error reporting. (#​1660)
    • CDT 11.0 -> 11.1

v2.37.0

Added
  • You can now put the filename into a license header template with $FILE. (#​1605 fixes #​1147)
Changed
  • We are now opting in to Gradle's new stable configuration cache. (#​1591)
  • Adopt Equo Solstice OSGi and p2 shim to update all Eclipse-based plugins. (#​1524)
    • Eclipse JDT now supports 4.9 through 4.26. Also we now recommend dropping the last .0, e.g. 4.26 instead of 4.26.0, you'll get warnings to help you switch.
    • Eclipse Groovy now supports 4.18 through 4.26. Also we now recommend dropping the last .0, e.g. 4.26 instead of 4.26.0, you'll get warnings to help you switch.
    • Eclipse CDT now supports 10.6 through 11.0.
    • Eclipse WTP is still WIP at #​1622.

v2.36.0

Added
  • gradlew equoIde opens a repeatable clean Spotless dev environment. (#​1523)
  • cleanthat added includeDraft option, to include draft mutators from composite mutators. (#​1574)
  • npm-based formatters now support caching of node_modules directory (#​1590)
Fixed
  • JacksonJsonFormatterFunc handles json files with an Array as root. (#​1585)
Changed

v2.35.0

Added
  • CleanThat Java Refactorer. (#​1560)
  • Introduce LazyArgLogger to allow for lazy evaluation of log messages in slf4j logging. (#​1565)
Fixed
  • Allow multiple instances of the same npm-based formatter to be used by separating their node_modules directories. (#​1565)
  • ktfmt default style uses correct continuation indent. (#​1562)
Changed
  • Bump default ktfmt version to latest 0.42 -> 0.43 (#​1561)
  • Bump default jackson version to latest 2.14.1 -> 2.14.2 (#​1536)

v2.34.1

Changed
  • POTENTIALLY BREAKING Bump bytecode from Java 8 to 11 (#​1530 part 2 of #​1337)
Fixed
  • POTENTIALLY BREAKING sortByKeys for JSON formatting now takes into account objects inside arrays (#​1546)
  • freshmark fixed on java 15+ (#​1304 fixes #​803)

v2.34.0

Added
  • Formatter now has a field public static final File NO_FILE_SENTINEL which can be used to pass string content to a Formatter or FormatterStep when there is no actual File to format. (#​1525)

v2.33.0

Added
  • ProcessRunner has added some convenience methods so it can be used for Maven testing. (#​1496)
  • ProcessRunner allows to limit captured output to a certain number of bytes. (#​1511)
  • ProcessRunner is now capable of handling long-running tasks where waiting for exit is delegated to the caller. (#​1511)
  • Allow to specify node executable for node-based formatters using nodeExecutable parameter (#​1500)
Fixed
  • The default list of type annotations used by formatAnnotations has had 8 more annotations from the Checker Framework added #​1494
Changed
  • POTENTIALLY BREAKING Bump minimum JRE from 8 to 11, next release likely to bump bytecode to Java 11 (#​1514 part 1 of #​1337)
  • Rename YamlJacksonStep into JacksonYamlStep while normalizing Jackson usage (#​1492)
  • Convert gson integration to use a compile-only source set (#​1510).
  • ** POTENTIALLY BREAKING** Removed support for KtLint 0.3x and 0.45.2 (#​1475)
    • KtLint does not maintain a stable API - before this PR, we supported every breaking change in the API since 2019.
    • From now on, we will support no more than 2 breaking changes at a time.
  • NpmFormatterStepStateBase delays npm install call until the formatter is first used. This enables better integration
    with gradle-node-plugin. (#​1522)
  • Bump default ktlint version to latest 0.48.1 -> 0.48.2 (#​1529)
  • Bump default scalafmt version to latest 3.6.1 -> 3.7.1 (#​1529)

v2.32.0

Added
  • Add option editorConfigFile for ktLint #​142
    • POTENTIALLY BREAKING ktlint step now modifies license headers. Make sure to put licenseHeader after ktlint.
  • Added skipLinesMatching option to licenseHeader to support formats where license header cannot be immediately added to the top of the file (e.g. xml, sh). (#​1441).
  • Add YAML support through Jackson (#​1478)
  • Added support for npm-based ESLint-formatter for javascript and typescript (#​1453)
  • Better suggested messages when user's default is set by JVM limitation. (#​995)
Fixed
  • Support ktlint 0.48+ new rule disabling syntax (#​1456) fixes (#​1444)
  • Fix subgroups leading catch all matcher.
Changed
  • Bump default version for prettier from 2.0.5 to 2.8.1 (#​1453)
  • Bump the dev version of Gradle from 7.5.1 to 7.6 (#​1409)
    • We also removed the no-longer-required dependency org.codehaus.groovy:groovy-xml
  • Breaking changes to Spotless' internal testing infrastructure testlib (#​1443)
    • ResourceHarness no longer has any duplicated functionality which was also present in StepHarness
    • StepHarness now operates on Formatter rather than a FormatterStep
    • StepHarnessWithFile now takes a ResourceHarness in its constructor to handle the file manipulation parts
    • Standardized that we test exception messages, not types, which will ease the transition to linting later on
    • Bump default ktlint version to latest 0.47.1 -> 0.48.1 (#​1456)
  • Switch our publishing infrastructure from CircleCI to GitHub Actions (#​1462).
    • Help wanted for moving our tests too (#​1472)

v2.31.1

Fixed
Changed
  • Bump default ktlint version to latest 0.47.1 -> 0.48.0 (#​1432)
  • Bump default ktfmt version to latest 0.41 -> 0.42 (#​1421)

v2.31.0

Added
  • importOrder now support groups of imports without blank lines (#​1401)
Fixed
  • Don't treat @Value as a type annotation #​1367
  • Support ktlint_disabled_rules in ktlint 0.47.x #​1378
  • Share git repositories across projects when using ratchet (#​1426)
Changed
  • Bump default ktfmt version to latest 0.40 -> 0.41 (#​1340)
  • Bump default scalafmt version to latest 3.5.9 -> 3.6.1 (#​1373)
  • Bump default diktat version to latest 1.2.3 -> 1.2.4.2 (#​1393)
  • Bump default palantir-java-format version to latest 2.10 -> 2.28 (#​1393)

v2.30.0

Added
  • formatAnnotations() step to correct formatting of Java type annotations. It puts type annotations on the same line as the type that they qualify. Run it after a Java formatting step, such as googleJavaFormat(). (#​1275)
Changed
  • Bump default ktfmt version to latest 0.39 -> 0.40 (#​1312)
  • Bump default ktlint version to latest 0.46.1 -> 0.47.1 (#​1303)
    • Also restored support for older versions of ktlint back to 0.31.0

v2.29.0

Added
  • scalafmt integration now has a configuration option majorScalaVersion that allows you to configure the Scala version that gets resolved from the Maven artifact (#​1283)
    • Converted scalafmt integration to use a compile-only source set (fixes #​524)
Changed
  • Add the ktlint rule in error messages when ktlint fails to apply a fix (#​1279)
  • Bump default scalafmt to latest 3.0.8 -> 3.5.9 (removed support for pre-3.0.0) (#​1283)

v2.28.1

Fixed
  • Fix Clang not knowing the filename and changing the format (#​1268 fixes #​1267).
Changed
  • Bump default diktat version to latest 1.2.1 -> 1.2.3 (#​1266)

v2.28.0

Added
  • Clang and Black no longer break the build when the binary is unavailable, if they will not be run during that build (#​1257).
  • License header support for Kotlin files without package or @file but do at least have import (#​1263).

v2.27.0

Added
Changed
  • Bump default ktlint version to latest 0.45.2 -> 0.46.1 (#​1239)
    • Minimum supported version also bumped to 0.46.0 (we have abandoned strong backward compatibility for ktlint, from here on out Spotless will only support the most-recent breaking change).
  • Bump default diktat version to latest 1.1.0 -> 1.2.1 (#​1246)
    • Minimum supported version also bumped to 1.2.1 (diktat is based on ktlint and has the same backward compatibility issues).
  • Bump default ktfmt version to latest 0.37 -> 0.39 (#​1240)

v2.26.2

Fixed
  • PalantirJavaFormatStep no longer needs the --add-exports calls in the org.gradle.jvmargs property in gradle.properties. (#​1233)

v2.26.1

Fixed
  • (Second try) googleJavaFormat and removeUnusedImports works on JDK16+ without jvm args workaround. (#​1228)

v2.26.0

Added

v2.25.3

Fixed
  • Update the black version regex to fix 19.10b0 and earlier. (fixes #​1195, regression introduced in 2.25.0)
  • GitAttributesLineEndings$RelocatablePolicy and FormatterStepImpl now null-out their initialization lambdas after their state has been calculated, which allows GC to collect variables which were incidentally captured but not needed in the calculated state. (#​1198)
Changed
  • Bump default ktfmt version to latest 0.36 -> 0.37. (#​1200)

v2.25.2

Changed
  • Bump default diktat version to latest 1.0.1 -> 1.1.0. (#​1190)
    • Converted diktat integration to use a compile-only source set. (fixes #​524)
    • Use the full path to a file in diktat integration. (fixes #​1189)

v2.25.1

Changed
  • Bump default ktfmt version to latest 0.35 -> 0.36. (#​1183)
  • Bump default google-java-format version to latest 1.13.0 -> 1.15.0.
    • This means it is no longer necessary to use the --add-exports workaround (fixes #​834). --add-exports workaround is still needed.

v2.25.0

Added
  • Added support for enabling ktlint experimental ruleset. (#​1145)
Fixed
  • Fixed support for Python Black's new version reporting. (#​1170)
  • Error messages for unexpected file encoding now works on Java 8. (fixes #​1081)
Changed
  • Bump default black version to latest 19.10b0 -> 22.3.0. (#​1170)
  • Bump default ktfmt version to latest 0.34 -> 0.35. (#​1159)
  • Bump default ktlint version to latest 0.43.2 -> 0.45.2. (#​1177)

v2.24.2

Fixed
  • Git user config and system config also included for defaultEndings configuration. (#​540)

v2.24.1

Fixed
  • Fixed access modifiers for setters in KtfmtStep configuration

v2.24.0

Added
  • Added support for setting custom parameters for Kotlin ktfmt in Gradle and Maven plugins. (#​1145)

v2.23.0

Added
  • Added support for JSON formatting based on Gson (#​1125).
Changed

v2.22.2

Changed
  • Bump default ktfmt 0.30 -> 0.31 (#​1118).
Fixed
  • Add full support for git worktrees (#​1119).

v2.22.1

Changed
  • Bump CI from Java 15 to 17 (#​1094).
  • Bump default versions of formatters (#​1095).
    • google-java-format 1.12.0 -> 1.13.0
    • ktfmt 0.29 -> 0.30
  • Added support for git property core.autocrlf (#​540)

v2.22.0

Added

v2.21.2

Fixed
  • Update IndentStep to allow leading space on multiline comments (#​1072).

v2.21.1

Changed
  • Bumped default DiKTat from 0.4.0 to 1.0.1. This is a breaking change for DiKTat users on the default version, because some rules were renamed/changed. Check DiKTat changelog for details.

v2.21.0

Added
  • Added support for Markdown with flexmark at 0.62.2 (#​1011).

v2.20.3

Fixed
  • Performance improvements to GitRatchet (#​1038).

v2.20.2

Changed
  • Bumped default ktlint from 0.43.0 to 0.43.2.
  • Converted ktlint integration to use a compile-only source set. (#​524)

v2.20.1

Changed
  • Added named option to licenseHeader to support alternate license header within same format (like java) (872).
  • Added onlyIfContentMatches option to licenseHeader to skip license header application based on source file content pattern (#​650).
  • Bump jgit version (#​992).
    • jgit 5.10.0.202012080955-r -> 5.13.0.202109080827-r

v2.20.0

Added
  • DiffMessageFormatter can now generate messages based on a folder of cleaned files, as an alternative to a Formatter (#​982).
Fixed
  • Fix CI and various spotbugs nits (#​988).
Changed
  • Bump default formatter versions (#​989)
    • google-java-format 1.11.0 -> 1.12.0
    • ktlint 0.42.1 -> 0.43.0
    • ktfmt 0.27 -> 0.29
    • scalafmt 3.0.0 -> 3.0.8

v2.19.2

Changed
  • Added support and bump Eclipse formatter default versions to 4.21 for eclipse-groovy. Change is only applied for JVM 11+.
  • Added support for ktlint's FilenameRule (#​974).
Fixed
  • Temporary workspace deletion for Eclipse based formatters on JVM shutdown (#​967). Change is only applied for Eclipse versions using JVM 11+, no back-port to older versions is planned.

v2.19.1

Fixed
  • module-info formatting in eclipse-jdt versions 4.20 and 4.21. Note that the problem also affects older versions.
  • Added workaround to support projects using git worktrees (#​965)

v2.19.0

  • Added wildcardsLast option for Java ImportOrderStep (#​954)
Added
  • Added support for JBDI bind list params in sql formatter (#​955)

v2.18.0

Added
  • Added support for custom JSR223 formatters (#​945)
  • Added support for formatting and sorting Maven POMs (#​946)

v2.17.0

Added
  • Added support for calling local binary formatters (#​949)
Changed
  • Added support and bump Eclipse formatter default versions to 4.21 for eclipse-cdt, eclipse-jdt, eclipse-wtp. Change is only applied for JVM 11+.
  • Added groupArtifact option for google-java-format (#​944)

v2.16.1

Changed
  • Added support and bump Eclipse formatter default versions for JVM 11+. For older JVMs the previous defaults remain.
    • eclipse-cdt from 4.16 to 4.20
    • eclipse-groovy from 4.19 to 4.20
    • eclipse-jdt from 4.19 to 4.20
    • eclipse-wtp from 4.18 to 4.20

v2.16.0

Added
  • Added support for google-java-format's skip-reflowing-long-strings option (#​929)

v2.15.3

Changed
  • Added support for scalafmt 3.0.0 and bump default scalafmt version to 3.0.0 (#​913).
  • Bump default versions (#​915)
    • ktfmt from 0.24 to 0.27
    • ktlint from 0.35.0 to 0.42.1
    • google-java-format from 1.10.0 to 1.11.0
  • Fix javadoc publishing (#​916 fixes #​775).

v2.15.2

Fixed

v2.15.1

Changed

v2.15.0

Added

v2.14.0

Added
  • Added support for eclipse-cdt at 4.19.0. Note that version requires Java 11 or higher.
  • Added support for eclipse-groovy at 4.18.0 and 4.19.0.
  • Added support for eclipse-wtp at 4.19.0. Note that version requires Java 11 or higher.
Changed
  • Bump eclipse-groovy default version from 4.17.0 to 4.19.0.

v2.13.5

Changed
  • Update ktfmt from 0.21 to 0.24
Fixed
  • The <url> field in the Maven POM is now set correctly (#​798)
  • Node is re-installed if some other build step removed it (#​863)

v2.13.4

Fixed
  • Explicitly separate target file from git arguments when parsing year for license header to prevent command from failing on argument-like paths (#​847)

v2.13.3

Fixed
  • LicenseHeaderStep treats address as copyright year (#​716)

v2.13.2

Fixed
  • Fix license header bug for years in range (#​840).

v2.13.1

Changed
  • Update default google-java-format from 1.9 to 1.10.0
  • Expose configuration exceptions from scalafmt (#​837)

v2.13.0

Added
  • Bump ktfmt to 0.21 and add support to Google and Kotlinlang formats (#​812)

v2.12.1

Fixed
  • Allow licence headers to be blank (#​801).

v2.12.0

Added

v2.11.0

Added
  • Added support for eclipse-cdt, eclipse-jdt, and eclipse-wtp at 4.18.0.
Changed
  • Bump eclipse-jdt default version from 4.17.0 to 4.18.0.
  • Bump eclipse-wtp default version from 4.17.0 to 4.18.0.
  • Bump ktfmt default version from 0.16 to 0.19 (#​748 and #​773).
  • Bump jgit from 5.9 to 5.10 (#​773).
Fixed
  • Fixed ratchetFrom support for git-submodule (#​746).
  • Fixed ratchetFrom excess memory consumption (#​735).
  • ktfmt v0.19+ with dropbox-style works again (#​765).
  • prettier no longer throws errors on empty files (#​751).
  • Fixed error when running on root of windows mountpoint (#​760).
  • Fixed typo in javadoc comment for SQL_FORMATTER_INDENT_TYPE (#​753).

v2.10.2

Fixed
  • Fixed a bug which occurred if the root directory of the project was also the filesystem root (#​732)

v2.10.1

Fixed
  • Bump JGit from 5.8.0 to 5.9.0 to improve performance (#​726)

v2.10.0

Added
  • Added support to npm-based steps for picking up .npmrc files (#​727)

v2.9.0

Added
  • Added support for eclipse-cdt 4.14.0, 4.16.0 and 4.17.0 (#​722).
  • Added support for eclipse-groovy 4.14.0, 4.15.0, 4.16.0 and 4.17.0 (#​722).
  • Added support for eclipse-jdt 4.17.0 (#​722).
  • Added support for eclipse-wtp 4.14.0, 4.15.0, 4.16.0 and 4.17.0 (#​722).
Changed
  • Updated default eclipse-cdt from 4.13.0 to 4.16.0 (#​722). Note that version 4.17.0 is supported, but requires Java 11 or higher.
  • Updated default eclipse-groovy from 4.13.0 to 4.17.0 (#​722).
  • Updated default eclipse-jdt from 4.16.0 to 4.17.0 (#​722).
  • Updated default eclipse-wtp from 4.13.0 to 4.17.0 (#​722).

v2.8.0

Added
  • Exposed new methods in GitRatchet to support faster ratcheting in the Maven plugin (#​706).

[v2.7.0](https://redirect.github.com/diffplug/spotless/blob/HEAD/CHANGES


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the auto-dep label Sep 26, 2024
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from 0be40d6 to 0715d26 Compare January 7, 2025 00:32
@renovate renovate bot changed the title chore(deps): update spotlessversion to v2 (major) chore(deps): update spotlessversion to v3 (major) Jan 7, 2025
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from 0715d26 to 0ea6c56 Compare January 7, 2025 16:46
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from 0ea6c56 to 9fcb998 Compare January 15, 2025 00:09
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from 9fcb998 to 102384f Compare February 20, 2025 18:50
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from 102384f to 9730ed5 Compare April 7, 2025 23:02
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from 9730ed5 to f9a724d Compare May 27, 2025 22:58
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from f9a724d to 5d61051 Compare July 8, 2025 01:13
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch 2 times, most recently from ab8c3a5 to de5c0ef Compare July 22, 2025 00:05
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from de5c0ef to b3eccf3 Compare September 24, 2025 18:14
@renovate renovate bot changed the title chore(deps): update spotlessversion to v3 (major) chore(deps): update spotlessversion to v4 (major) Sep 24, 2025
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from b3eccf3 to 6faa00e Compare November 19, 2025 00:11
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from 6faa00e to 50d32bd Compare January 22, 2026 21:26
@renovate renovate bot force-pushed the renovate/major-spotlessversion branch from 50d32bd to e6412f3 Compare January 28, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants