You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,21 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
11
11
12
12
## [Unreleased]
13
13
### Added
14
+
* Support for `gofmt` ([#2001](https://github.com/diffplug/spotless/pull/2001))
15
+
* Support for formatting Java Docs for the Palantir formatter ([#2009](https://github.com/diffplug/spotless/pull/2009))
16
+
17
+
## [2.44.0] - 2024-01-15
18
+
### Added
14
19
* New static method to `DiffMessageFormatter` which allows to retrieve diffs with their line numbers ([#1960](https://github.com/diffplug/spotless/issues/1960))
20
+
* Gradle - Support for formatting shell scripts via [shfmt](https://github.com/mvdan/sh). ([#1994](https://github.com/diffplug/spotless/pull/1994))
21
+
### Fixed
22
+
* Fix empty files with biome >= 1.5.0 when formatting files that are in the ignore list of the biome configuration file. ([#1989](https://github.com/diffplug/spotless/pull/1989) fixes [#1987](https://github.com/diffplug/spotless/issues/1987))
23
+
* Fix a regression in BufStep where the same arguments were being provided to every `buf` invocation. ([#1976](https://github.com/diffplug/spotless/issues/1976))
15
24
### Changes
16
25
* Use palantir-java-format 2.39.0 on Java 21. ([#1948](https://github.com/diffplug/spotless/pull/1948))
26
+
* Bump default `ktlint` version to latest `1.0.1` -> `1.1.1`. ([#1973](https://github.com/diffplug/spotless/pull/1973))
27
+
* Bump default `googleJavaFormat` version to latest `1.18.1` -> `1.19.2`. ([#1971](https://github.com/diffplug/spotless/pull/1971))
28
+
* Bump default `diktat` version to latest `1.2.5` -> `2.0.0`. ([#1972](https://github.com/diffplug/spotless/pull/1972))
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+31-19Lines changed: 31 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,6 @@ For the folders below in monospace text, they are published on MavenCentral at t
36
36
|`lib-extra`| Contains the optional parts of Spotless which require external dependencies. `LineEnding.GIT_ATTRIBUTES` won't work unless `lib-extra` is available. |
37
37
|`plugin-gradle`| Integrates spotless and all of its formatters into Gradle. |
38
38
|`plugin-maven`| Integrates spotless and all of its formatters into Maven. |
39
-
| `_ext` | Folder for generating glue jars (specifically packaging Eclipse jars from p2 for consumption using maven).
40
39
41
40
## How to add a new FormatterStep
42
41
@@ -140,24 +139,6 @@ There are many great formatters (prettier, clang-format, black, etc.) which live
140
139
141
140
Because of Spotless' up-to-date checking and [git ratcheting](https://github.com/diffplug/spotless/tree/main/plugin-gradle#ratchet), Spotless actually doesn't have to call formatters very often, so even an expensive shell call for every single invocation isn't that bad. Anything that works is better than nothing, and we can always speed things up later if it feels too slow (but it probably won't).
142
141
143
-
## How to enable the `_ext` projects
144
-
145
-
The `_ext` projects are disabled per default, since:
146
-
147
-
* some of the projects perform vast downloads at configuration time
148
-
* the downloaded content may change on server side and break CI builds
149
-
150
-
151
-
The `_ext` can be activated via the root project property `com.diffplug.spotless.include.ext`.
152
-
153
-
Activate the property via command line, like for example:
0 commit comments