This document is intended for Spotless developers.
We adhere to the keepachangelog format (starting after version 1.27.0).
[Unreleased]
[2.26.0] - 2022-06-05
Added
Support for editorConfigOverride in ktlint. (#1218 fixes #1193)
Fixed
google-java-format and RemoveUnusedImportsStep works on JDK16+ without jvm args workaround. (#1224 fixes #834)
[2.25.3] - 2022-05-10
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)
Changes
Bump default ktfmt version to latest 0.36 -> 0.37. (#1200)
[2.25.2] - 2022-05-03
Changes
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)
[2.25.1] - 2022-04-27
Changes
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.
[2.25.0] - 2022-04-22
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)
Changes
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)
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 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 spotless-maven-plugin from 1.17.0 to 2.22.6.
Changelog
Sourced from spotless-maven-plugin's changelog.
... (truncated)
Commits
2a0f65a
Published maven/2.22.69ca9917
Published gradle/6.7.0be40828
Published lib/2.26.02cb9043
Fix GJF without passing JVM args (#1224 fixes #834)bd83417
Improve the maven changelog entry.b3fc6bc
Only run ModuleHelper for JVM >= 16.070ee84
Merge branch 'main' into open-modules95dc988
Add support for KtLint editorConfigOverride (#1218 fixes #1193)75616a0
Update changelog.2631a3f
only doOpenInternalPackagesIfRequired when GoogleJavaFormatStep is relevantDependabot 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 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)