Releases: diffplug/spotless
Releases · diffplug/spotless
Release list
Maven Plugin v3.9.0
Added
- Add support for Java formatting via
prince-of-spacewith the new<princeOfSpace>step. (#2991)
Changes
- Replace RDF formatter library
de.atextor:turtle-formatter(discontinued) withcool.rdf:cool-rdf-formatter(its new coordinates); the RDF/turtle formatter now requires Java 25+. (#2995) - Bump default
greclipseversion to latest4.39->4.40. (#2989) - Bump default
tabletest-formatterversion1.1.1->1.1.2.
Lib v4.9.0
Added
- Add support for Java formatting via
prince-of-space. (#2991)
Changes
- Replace RDF formatter library
de.atextor:turtle-formatter(discontinued) withcool.rdf:cool-rdf-formatter(its new coordinates); the RDF/turtle formatter now requires Java 25+. (#2995) - Bump default
greclipseversion to latest4.39->4.40. (#2989) - Bump default
tabletest-formatterversion1.1.1->1.1.2.
Gradle Plugin v8.9.0
Added
- Add support for Java formatting via
prince-of-spacewith the newprinceOfSpace()step. (#2991)
Fixed
- Prevent parallel Gradle input fingerprinting from failing when
toggleOffOn()wraps a slow lazy formatter step with no matching target files. (#2994)
Changes
- Bump default
greclipseversion to latest4.39->4.40. (#2989) - Bump default
tabletest-formatterversion1.1.1->1.1.2.
Maven Plugin v3.8.0
Added
- Add support for custom string format for license header copyright year via
yearStringFormat(). (#2965)
Fixed
<expandWildcardImports>no longer triggers a full transitive dependency resolution on every build. Dependency resolution is now deferred until the step actually runs, so projects that do not use<expandWildcardImports>(or that use version ranges) are no longer penalized. (#2983)
Lib v4.8.0
Added
- Add support for custom string format for license header copyright year via
yearStringFormat(). (#2965)
Gradle Plugin v8.8.0
Added
- Add support for custom string format for license header copyright year via
yearStringFormat(). (#2965)
Maven Plugin v3.7.0
Lib v4.7.0
Added
- Add support for AsciiDoc formatting via
adocfmt. (#2960) flexmarkstep now supports arbitrary formatter options via aformatterOptionsmap. (#2968)
Fixed
FenceStep.preserveWithinnow forwards lints from nested steps while still suppressing lints inside preserved blocks. (#2962)- Support
ktfmt0.63 and use its new builder API for formatting options to better avoid future breaking changes. - Parse standard git year output in LicenseHeaderStep. (#2940)
- Fix
StringIndexOutOfBoundsExceptionin scenarios where copyright year is surrounded by whitespace. (#2973)
Changes
- Bump default
greclipseversion to latest4.35->4.39. (#2924)
Gradle Plugin v8.7.0
Added
- Add support for AsciiDoc formatting via
adocfmt. (#2960) flexmark()step now supports arbitrary formatter options via theformatterOptionsmap. (#2968)
Fixed
toggleOffOnno longer disables lint-only steps such asforbidWildcardImports. (#2962)- Prevent build caches from interfering when executing under the
-PspotlessIdeHookmode. (#2365) - Parse standard git year output in LicenseHeaderStep. (#2940)
- Fix
StringIndexOutOfBoundsExceptionin scenarios where copyright year is surrounded by whitespace. (#2973)
Changes
- Bump default
greclipseversion to latest4.35->4.39. (#2924)
Maven Plugin v3.6.0
Added
- Add
<cacheDirectory>to<eclipse>,<greclipse>, and<eclipseCdt>for the Equo/Solstice P2 cache. (#2944) EclipseJdtFormtterStepnow can conditionally set compiler source/compliance options. Allows for better parsing of AST Node for newer language features and more correct sorting; e.g. records or seal classes. (#2942)
Fixed
<versionCatalog>no longer splits long inline tables across multiple lines — Gradle's TOML 1.0 parser cannot read multi-line inline tables. ThemaxLineLengthoption has been removed. (#2948)spotless:applyno longer aborts on the first file with lints; it now formats all files and reports a single aggregated lint failure across every file, matching the Gradle plugin's behavior. (#2937)<greclipse>and<eclipseCdt>now default P2 data to the Maven local repository. (#2944)forbidWildcardImportsandforbidModuleImportsnow detect imports that have leading whitespace (indentation/tabs). (#2939)
Changes
- Improved formatting performance by eliminating redundant per-step line-ending normalization in the core formatter loop. (#2934)