Skip to content

Latest commit

 

History

History
149 lines (96 loc) · 14.2 KB

CHANGES.md

File metadata and controls

149 lines (96 loc) · 14.2 KB

spotless-plugin-maven releases

Version 1.26.0-SNAPSHOT - TBD (javadoc, snapshot)

  • Fix project URLs in poms. (#478)

  • Fix ImportSorter crashing with empty files. (#474)

    • Fixes #305 StringIndexOutOfBoundsException for empty Groovy file when performing importOrder
  • Bugfix: CDT version 4.12.0 now properly uses 9.8, whereas before it used 9.7. (#482)

  • Updated default eclipse-wtp from 4.12.0 to 4.13.0 (#482).

  • Updated default eclipse-groovy from 4.12.0 to 4.13.0 (#482).

  • Updated default eclipse-jdt from 4.12.0 to 4.13.0 (#482).

  • Updated default eclipse-cdt from 4.12.0 to 4.13.0 (#482).

  • bump default version of KtLint from 0.34.2 to 0.35.0

Version 1.25.1 - October 7th 2019 (javadoc, jcenter)

  • Fixed problem which could cause a stale .jar to be published. (#471)

Version 1.25.0 - October 6th 2019 (javadoc, jcenter)

  • KNOWN ISSUE: published jar is the same as 1.24.3, causes Invalid plugin descriptor. (#470)
  • Add support for ktlint 0.34+, and bump default version from 0.32.0 to 0.34.2. (#469)

Version 1.24.3 - September 23rd 2019 (javadoc, jcenter)

  • Update jgit from 5.3.2.201906051522-r to 5.5.0.201909110433-r. (#445)
  • Eclipse-based formatters used to leave temporary files around (#447). This is now fixed, but only for eclipse 4.12+, no back-port to older Eclipse formatter versions is planned. (#451)
  • Bumped scalafmt default version from 1.1.0 to 2.0.1, since there are bugs in the old default (#458).

Version 1.24.1 - August 12th 2019 (javadoc, jcenter)

  • Fixes class loading issue with Java 9+ (#426).

Version 1.24.0 - July 29th 2019 (javadoc, jcenter)

  • Updated default eclipse-wtp from 4.8.0 to 4.12.0 (#423).
  • Updated default eclipse-groovy from 4.10 to 4.12.0 (#423).
  • Updated default eclipse-jdt from 4.11.0 to 4.12.0 (#423).
  • Updated default eclipse-cdt from 4.11.0 to 4.12.0 (#423).
    • KNOWN BUG - accidentally published CDT 9.7 rather than 9.8 - fixed in 1.26.0
  • Added new maven coordinates for scalafmt 2.0.0+, maintains backwards compatability (#415)

Version 1.23.1 - June 17th 2019 (javadoc, jcenter)

  • Fixes incorrect M2 cache directory path handling of Eclipse based formatters (#401)
  • Update jgit from 4.9.0.201710071750-r to 5.3.2.201906051522-r because gradle project is sometimes broken by apache httpcomponents in transitive dependency. (#407)

Version 1.23.0 - April 24th 2019 (javadoc, jcenter)

  • Updated default ktlint from 0.21.0 to 0.32.0, and Maven coords to com.pinterest (#394)

Version 1.22.0 - April 15th 2019 (javadoc, jcenter)

  • Updated default eclipse-cdt from 4.7.3a to 4.11.0 (#390).
  • Added -DspotlessFiles switch to allow targeting specific files (#392)

Version 1.21.1 - March 29th 2019 (javadoc, jcenter)

  • Fixes incorrect plugin and pom metadata in 1.21.0 (#388).

Version 1.21.0 - March 28th 2019 (javadoc, jcenter)

  • Updated default eclipse-wtp from 4.7.3b to 4.8.0 (#382).
  • Updated default eclipse-groovy from 4.8.1 to 4.10.0 (#382).
  • Updated default eclipse-jdt from 4.10.0 to 4.11.0 (#384).

Version 1.20.0 - March 14th 2019 (javadoc, jcenter)

  • Updated default eclipse-wtp from 4.7.3a to 4.7.3b (#371).
  • Default behavior of XML formatter changed to ignore external URIs (#369).
    • WARNING RESOLVED: By default, xml formatter no longer downloads external entities. You can opt-in to resolve external entities by setting resolveExternalURI to true. However, if you do opt-in, be sure that all external entities are referenced over https and not http, or you may be vulnerable to XXE attacks.

Version 1.19.0 - March 11th 2019 (javadoc, jcenter)

WARNING: xml formatter in this version may be vulnerable to XXE attacks, fixed in 1.20.0 (see #358).

  • Security fix: Updated groovy, c/c++, and eclipse WTP formatters so that they download their source jars securely using https rather than http (#360).
  • Updated default eclipse-jdt from 4.9.0 to 4.10.0 (#368)
  • Add a skip parameter to apply mojo to enable to bypass it if desired. (#367).

Version 1.18.0 - February 11th 2019 (javadoc, jcenter)

WARNING: xml formatter in this version may be vulnerable to XXE attacks, fixed in 1.20.0 (see #358).

  • Provided eclipse-wtp formatters as part of custom source format element. (#325). This change obsoletes the CSS and XML source elements.
  • Updated default google-java-format from 1.5 to 1.7 (#335).
  • <importOrder><file>somefile</file></importOrder> is now lazy (#218).

Version 1.17.0 - December 13th 2018 (javadoc, jcenter)

WARNING: xml formatter in this version may be vulnerable to XXE attacks, fixed in 1.20.0 (see #358).

  • Updated default eclipse-jdt from 4.7.3a to 4.9.0 (#316). New version addresses enum-tab formatting bug in 4.8 (#314).

Version 1.16.0 - October 30th 2018 (javadoc, jcenter)

WARNING: xml formatter in this version may be vulnerable to XXE attacks, fixed in 1.20.0 (see #358).

  • Added support for Eclipse's CSS formatter from WTP (#311).

Version 1.15.0 - September 23rd 2018 (javadoc, jcenter)

WARNING: xml formatter in this version may be vulnerable to XXE attacks, fixed in 1.20.0 (see #358).

  • Added xml support (#140) using formatter of Eclipse WTP 3.9.5 (#241).
  • Added C/C++ support using formatter of Eclipse CDT 9.4.3 (#232).
  • Skip package-info.java and module-info.java files from license header formatting. (#273)
  • Updated JSR305 annotation from 3.0.0 to 3.0.2 (#274)
  • Migrated from FindBugs annotations 3.0.0 to SpotBugs annotations 3.1.6 (#274)
  • Fix Maven version prerequisite in the generated POM (#289)

Version 1.14.0 - July 24th 2018 (javadoc, jcenter)

  • Updated default eclipse-jdt from 4.7.2 to 4.7.3a (#263). New version fixes a bug preventing Java code formatting within JavaDoc comments (#191).
  • Updated default groovy-eclipse from 4.6.3 to 4.8.0 (#244). New version allows to ignore internal formatter errors/warnings.
  • Require 3.1.0+ version of Maven. (#259)
  • Fixed integration with latest versions of scalafmt. (#260)

Version 1.13.0 - June 1st 2018 (javadoc, jcenter)

  • Fixed a bug in configuration file resolution on Windows when file is denoted by a URL. (#254)

Version 1.0.0.BETA5 - May 14th 2018 (javadoc, jcenter)

  • Fixed a bug in LicenseHeaderStep which caused an exception with some malformed date-aware licenses. (#222)
  • Added support for Kotlin and Ktlint in Maven plugin (#223).
  • Updated default ktlint from 0.14.0 to 0.21.0
  • Added support for multiple generic formatters in Maven plugin (#242).

Version 1.0.0.BETA4 - February 27th 2018 (javadoc, jcenter)

  • Fixed published POM to include dependency on plexus-resources (#213).

Version 1.0.0.BETA3 - February 26th 2018 (javadoc, jcenter)

  • Improved support for multi-module Maven projects (#210).
  • Added generic format support for maven-plugin (#209).

Version 1.0.0.BETA2 - February 15th 2018 (javadoc, jcenter)

  • Fix build to ensure that published versions never have snapshot deps (#205).

Version 1.0.0.BETA1 - February 11th 2018 (javadoc, jcenter)

  • Maven plugin written by Konstantin Lutovich.
  • Full support for the Java and Scala formatters.
  • Initial release, after user feedback we will ship 1.x.