This document is intended for Spotless developers.
We adhere to the keepachangelog format (starting after version 1.27.0).
[Unreleased]
[2.26.2] - 2022-06-11
Fixed
PalantirJavaFormatStep no longer needs the --add-exports calls in the org.gradle.jvmargs property in gradle.properties. (#1233)
[2.26.1] - 2022-06-10
Fixed
(Second try) googleJavaFormat and removeUnusedImports works on JDK16+ without jvm args workaround. (#1228)
[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)
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.8.
Changelog
Sourced from spotless-maven-plugin's changelog.
... (truncated)
Commits
9778473
Published maven/2.22.856912f5
Published gradle/6.7.2b737f4c
Published lib/2.26.2e3d4a2a
PalantirJavaFormatStep can use the JDK module fix too (#1233 fixes #834 for P...ba2c979
Update changelogs.be18ed0
Apply the fix from #1224 to PalantirJavaFormatStep.000aab1
Published maven/2.22.7b6a18ff
Published gradle/6.7.178281ed
Published lib/2.26.16b66e45
GJF without jvm args, pt 2 (#1228 follow-up to #1224, fixes #834)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)