This document is intended for Spotless developers.
We adhere to the keepachangelog format (starting after version 1.27.0).
[Unreleased]
[2.30.0] - 2022-09-14
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)
Changes
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
[2.29.0] - 2022-08-23
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)
Changes
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)
[2.28.1] - 2022-08-10
Fixed
Fix Clang not knowing the filename and changing the format (#1268 fixes #1267).
Changes
Bump default diktat version to latest 1.2.1 -> 1.2.3 (#1266)
[2.28.0] - 2022-07-28
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).
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 2.27.0 to 2.27.1.
Changelog
Sourced from spotless-maven-plugin's changelog.
Commits
7667a84
Published maven/2.27.150e0186
fix: maven plugin should identify skip config key (#1353 fixes #1227 and #491)622f3a0
update CHANGESdc9f429
fix: maven plugin should identify skip config keyf4ee554
Update dependency org.junit.jupiter:junit-jupiter to v5.9.1 (#1338)92e21d9
Update dependency org.junit.jupiter:junit-jupiter to v5.9.1de9bb1f
Published maven/2.27.08594c93
feat: ktlint editorConfigOverrides for plugin-maven (#1335 implements #1334)59c166a
Only changes are in plugin-maven, so that's the only changelog that should ch...96803ae
fix: lintingDependabot 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)