Skip to content

Commit

Permalink
Fix temporary workspace deletion on JVM shutdown (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvgh committed Oct 24, 2021
1 parent d8d172f commit 2e61129
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
### Changed
* Added support and bump Eclipse formatter default versions to `4.21` for `eclipse-groovy`. Change is only applied for JVM 11+.

### Fixed
* Temporary workspace deletion for Eclipse based formatters on JVM shutdown ([#967](https://github.com/diffplug/spotless/issues/967)). Change is only applied for Eclipse versions using JVM 11+, no back-port to older versions is planned.

## [2.19.1] - 2021-10-13
### Fixed
* [module-info formatting](https://github.com/diffplug/spotless/pull/958) in `eclipse-jdt` versions `4.20` and `4.21`. Note that the problem also affects older versions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spotless formatter based on CDT version 10.3 (see https://www.eclipse.org/cdt/)
com.diffplug.spotless:spotless-eclipse-cdt:10.3.0
com.diffplug.spotless:spotless-eclipse-base:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.5.2
com.github.spotbugs:spotbugs-annotations:4.0.2
com.google.code.findbugs:jsr305:3.0.2
com.ibm.icu:icu4j:67.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spotless formatter based on CDT version 10.4 (see https://www.eclipse.org/cdt/)
com.diffplug.spotless:spotless-eclipse-cdt:10.4.0
com.diffplug.spotless:spotless-eclipse-base:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.5.2
com.github.spotbugs:spotbugs-annotations:4.0.2
com.google.code.findbugs:jsr305:3.0.2
com.ibm.icu:icu4j:67.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Spotless formatter based on JDT version 4.20.0 (see https://projects.eclipse.org/projects/eclipse.jdt)
# Compare tag in M2 pom with https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R4_20 to determine core version.
com.diffplug.spotless:spotless-eclipse-jdt:4.8.1
com.diffplug.spotless:spotless-eclipse-base:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.5.2
com.github.spotbugs:spotbugs-annotations:4.0.2
com.google.code.findbugs:jsr305:3.0.2
net.jcip:jcip-annotations:1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Spotless formatter based on JDT version 4.21.0 (see https://projects.eclipse.org/projects/eclipse.jdt)
# Compare tag in M2 pom with https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/log/?h=R4_21 to determine core version.
com.diffplug.spotless:spotless-eclipse-jdt:4.8.1
com.diffplug.spotless:spotless-eclipse-base:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.5.2
com.github.spotbugs:spotbugs-annotations:4.0.2
com.google.code.findbugs:jsr305:3.0.2
net.jcip:jcip-annotations:1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spotless formatter based on Eclipse-WTP version 3.22 (see https://www.eclipse.org/webtools/)
com.diffplug.spotless:spotless-eclipse-wtp:3.22.0
com.diffplug.spotless:spotless-eclipse-base:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.5.2
com.github.spotbugs:spotbugs-annotations:4.0.2
com.google.code.findbugs:jsr305:3.0.2
com.ibm.icu:icu4j:67.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spotless formatter based on Eclipse-WTP version 3.23 (see https://www.eclipse.org/webtools/)
com.diffplug.spotless:spotless-eclipse-wtp:3.23.0
com.diffplug.spotless:spotless-eclipse-base:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.5.2
com.github.spotbugs:spotbugs-annotations:4.0.2
com.google.code.findbugs:jsr305:3.0.2
com.ibm.icu:icu4j:67.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spotless formatter based on Groovy-Eclipse version 4.2.0 (see https://github.com/groovy/groovy-eclipse/releases)
com.diffplug.spotless:spotless-eclipse-groovy:4.2.0
com.diffplug.spotless:spotless-eclipse-base:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.5.2
com.github.spotbugs:spotbugs-annotations:4.0.2
com.google.code.findbugs:jsr305:3.0.2
net.jcip:jcip-annotations:1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spotless formatter based on Groovy-Eclipse version 4.3.0 (see https://github.com/groovy/groovy-eclipse/releases)
com.diffplug.spotless:spotless-eclipse-groovy:4.3.0
com.diffplug.spotless:spotless-eclipse-base:3.5.0
com.diffplug.spotless:spotless-eclipse-base:3.5.2
com.github.spotbugs:spotbugs-annotations:4.0.2
com.google.code.findbugs:jsr305:3.0.2
net.jcip:jcip-annotations:1.0
Expand Down
3 changes: 3 additions & 0 deletions plugin-gradle/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
### Changed
* Added support and bump Eclipse formatter default versions to `4.21` for `eclipse-groovy`. Change is only applied for JVM 11+.

### Fixed
* Temporary workspace deletion for Eclipse based formatters on JVM shutdown ([#967](https://github.com/diffplug/spotless/issues/967)). Change is only applied for Eclipse versions using JVM 11+, no back-port to older versions is planned.

## [5.17.0] - 2021-10-13
### Added
* Added support for calling local binary formatters ([#963](https://github.com/diffplug/spotless/pull/963))
Expand Down
3 changes: 3 additions & 0 deletions plugin-maven/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
* Revert change from 2.17.2 regarding [skip bug](https://github.com/diffplug/spotless/pull/969) because fixing the skip bug caused inconsistent behavior between `check.skip` and `apply.skip`.
* [skip bug](https://github.com/diffplug/spotless/issues/968) if ratchetFrom is specified, the build will still fail in if no Git repository is found, even if `skip` is true (new fix).

### Fixed
* Temporary workspace deletion for Eclipse based formatters on JVM shutdown ([#967](https://github.com/diffplug/spotless/issues/967)). Change is only applied for Eclipse versions using JVM 11+, no back-port to older versions is planned.

## [2.17.2] - 2021-10-14
### Fixed
* [skip bug](https://github.com/diffplug/spotless/issues/968) if ratchetFrom is specified, the build will still fail in if no Git repository is found, even if `skip` is true.
Expand Down

0 comments on commit 2e61129

Please sign in to comment.