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: plugin-gradle/CHANGES.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
4
4
5
5
## [Unreleased]
6
+
7
+
## [4.3.1] - 2020-06-17
6
8
### Changed
7
9
* Nodejs-based formatters `prettier` and `tsfmt` now use native node instead of the J2V8 approach. ([#606](https://github.com/diffplug/spotless/pull/606))
8
10
* This removes the dependency to the no-longer-maintained Linux/Windows/macOs variants of J2V8.
Spotless can check and apply formatting to any plain-text file, using simple rules ([javadoc](https://javadoc.io/static/com.diffplug.spotless/spotless-plugin-gradle/4.3.0/com/diffplug/gradle/spotless/FormatExtension.html)) like those above. It also supports more powerful formatters:
83
+
Spotless can check and apply formatting to any plain-text file, using simple rules ([javadoc](https://javadoc.io/static/com.diffplug.spotless/spotless-plugin-gradle/4.3.1/com/diffplug/gradle/spotless/FormatExtension.html)) like those above. It also supports more powerful formatters:
* Eclipse's java code formatter (including style and import ordering)
@@ -568,7 +568,7 @@ Once a file's license header has a valid year, whether it is a year (`2020`) or
568
568
*`2017` -> `2017-2020`
569
569
*`2017-2019` -> `2017-2020`
570
570
571
-
See the [javadoc](https://javadoc.io/static/com.diffplug.spotless/spotless-plugin-gradle/4.3.0/com/diffplug/gradle/spotless/FormatExtension.LicenseHeaderConfig.html) for a complete listing of options.
571
+
See the [javadoc](https://javadoc.io/static/com.diffplug.spotless/spotless-plugin-gradle/4.3.1/com/diffplug/gradle/spotless/FormatExtension.LicenseHeaderConfig.html) for a complete listing of options.
572
572
573
573
### Retroactively populating year range from git history
574
574
@@ -620,7 +620,7 @@ spotless {
620
620
}
621
621
```
622
622
623
-
If you use `custom` or `customLazy`, you might want to take a look at [this javadoc](https://javadoc.io/static/com.diffplug.spotless/spotless-plugin-gradle/4.3.0/com/diffplug/gradle/spotless/FormatExtension.html#bumpThisNumberIfACustomStepChanges-int-) for a big performance win.
623
+
If you use `custom` or `customLazy`, you might want to take a look at [this javadoc](https://javadoc.io/static/com.diffplug.spotless/spotless-plugin-gradle/4.3.1/com/diffplug/gradle/spotless/FormatExtension.html#bumpThisNumberIfACustomStepChanges-int-) for a big performance win.
624
624
625
625
See [`JavaExtension.java`](src/main/java/com/diffplug/gradle/spotless/JavaExtension.java) if you'd like to see how a language-specific set of custom rules is implemented. We'd love PR's which add support for other languages.
0 commit comments