chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v2.36.0
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
com.diffplug.spotless:spotless-maven-plugin |
2.27.2 -> 2.36.0
|
Release Notes
diffplug/spotless
v2.36.0
Added
-
gradlew equoIde
opens a repeatable clean Spotless dev environment. (#1523) -
cleanthat
addedincludeDraft
option, to include draft mutators from composite mutators. (#1574) -
npm
-based formatters now support caching ofnode_modules
directory (#1590)
Fixed
-
JacksonJsonFormatterFunc
handles json files with an Array as root. (#1585)
Changes
- Bump default
cleanthat
version to latest2.1
->2.6
(#1569 and #1574) - Reduce logging-noise created by
npm
-based formatters (#1590 fixes #1582)
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)
Changes
- Bump default
ktfmt
version to latest0.42
->0.43
(#1561) - Bump default
jackson
version to latest2.14.1
->2.14.2
(#1536)
v2.34.0
Added
-
Formatter
now has a fieldpublic 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
Changes
- 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
intoJacksonYamlStep
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 MR, 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 withgradle-node-plugin
. (#1522) - Bump default
ktlint
version to latest0.48.1
->0.48.2
(#1529) - Bump default
scalafmt
version to latest3.6.1
->3.7.1
(#1529)
v2.32.0
Added
- Add option
editorConfigFile
forktLint
#142-
POTENTIALLY BREAKING
ktlint
step now modifies license headers. Make sure to putlicenseHeader
afterktlint
.
-
POTENTIALLY BREAKING
- Added
skipLinesMatching
option tolicenseHeader
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.
Changes
- Bump default version for
prettier
from2.0.5
to2.8.1
(#1453) - Bump the dev version of Gradle from
7.5.1
to7.6
(#1409)- We also removed the no-longer-required dependency
org.codehaus.groovy:groovy-xml
- We also removed the no-longer-required dependency
- Breaking changes to Spotless' internal testing infrastructure
testlib
(#1443)-
ResourceHarness
no longer has any duplicated functionality which was also present inStepHarness
-
StepHarness
now operates onFormatter
rather than aFormatterStep
-
StepHarnessWithFile
now takes aResourceHarness
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 latest0.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.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
inktlint
0.47.x #1378 - Share git repositories across projects when using ratchet (#1426)
Changes
- Bump default
ktfmt
version to latest0.40
->0.41
(#1340) - Bump default
scalafmt
version to latest3.5.9
->3.6.1
(#1373) - Bump default
diktat
version to latest1.2.3
->1.2.4.2
(#1393) - Bump default
palantir-java-format
version to latest2.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 asgoogleJavaFormat()
. (#1275)
Changes
- Bump default
ktfmt
version to latest0.39
->0.40
(#1312) - Bump default
ktlint
version to latest0.46.1
->0.47.1
(#1303)- Also restored support for older versions of ktlint back to
0.31.0
- Also restored support for older versions of ktlint back to
v2.29.0
Added
-
scalafmt
integration now has a configuration optionmajorScalaVersion
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)
- Converted
Changes
- Add the
ktlint
rule in error messages whenktlint
fails to apply a fix (#1279) - Bump default
scalafmt
to latest3.0.8
->3.5.9
(removed support for pre-3.0.0
) (#1283)
v2.28.0
Added
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.