Skip to content

Releases: spring-io/spring-javaformat

v0.0.36

21 Feb 22:59
Compare
Choose a tag to compare

⭐ New Features

  • Add StreamsFormatter #361
  • Add options to skip Maven goals from command line #360
  • Switch IntelliJ plugin to use DocumentFormattingService interface #359
  • Add WebMvcLinkBuilder as allowed static import #350
  • Allow whitespace after ( and before // #270
  • Add checkstyle rule to make sure test class names end in "Tests" #222
  • Create Visual Studio Code extension #142
  • Change "qualified Invocations" wrapping option to improve fluent API formatting #124

🐞 Bug Fixes

  • Formatting java record with generics adds a whitespace before a bracket #348
  • Non class-type javadoc doesn't include a new line before first @param #346
  • Detect and preserve line separators instead of using system default #340

🔨 Dependency Upgrades

  • Upgrade to Tycho 3.0.1 #358
  • Upgrade to Proguard 9.0.7 #357
  • Upgrade Maven Plugins #356
  • Upgrade to Maven 3.9.0 #355
  • Upgrade build to use Java 17 #354
  • Upgrade to Gradle 7.6 #353
  • Upgrade to Eclipse 2022-12 #352

❤️ Contributors

Thank you to all the contributors who worked on this release:

@ParkerM and @leftstick

v0.0.35

05 Oct 20:32
Compare
Choose a tag to compare

⭐ New Features

  • Add a check that requires since on @Deprecated #343
  • Make it easier to use annotation processing in Eclipse #341

🐞 Bug Fixes

  • Use of @since is prohibited on a member with default visibility inside an annotation #344

v0.0.34

24 Jun 11:31
Compare
Choose a tag to compare

⭐ New Features

  • Improve indentation of switch cases #336

🐞 Bug Fixes

  • Static imports of RouterFunctions and RequestPredicates methods are still prohibited by default #335

🔨 Dependency Upgrades

  • Upgrade to Eclipse 2022-06 #337

v0.0.33

26 May 11:30
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Method invocation wrapping indentation has changed with Java 11-based formatter #332

🔨 Dependency Upgrades

  • Upgrade to Checkstyle 9.3 #333

v0.0.32

25 May 11:05
Compare
Choose a tag to compare

⭐ New Features

  • Support up-to-date checking of format task #323
  • Add a marker artifact for the io.spring.javaformat gradle plugin #321
  • Update Gradle plugin to register tasks rather than eagerly creating them #319
  • Allow static imports for WebMvc.fn #316
  • Improve formatting to wrap enum constants where necessary #313
  • Warn about unused declared thrown exceptions in Eclipse #273

🐞 Bug Fixes

  • CheckFormat remains up-to-date following change to Java baseline or indentation style #329

📔 Documentation

  • Fix reference to CheckFormat in README #327
  • Fix reference to springjavaformatconfig in README #326
  • Document how to set up Checkstyle-IDEA plugin #318

🔨 Dependency Upgrades

  • Upgrade to Eclipse 2022-03 #330

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v0.0.31

03 Feb 02:20
Compare
Choose a tag to compare

🪲 Bug Fixes

  • PropertiesJavaFormatConfig cannot resolve java-baseline property #311

0.0.30

01 Feb 16:57
Compare
Choose a tag to compare

⭐ New Features

  • Remove separate import group for jakarta imports #301

🪲 Bug Fixes

  • Switch expression breaks SpringLambdaCheck #300

🔨 Dependency Upgrades

  • Upgrade to tycho 2.5.0 #308
  • Upgrade to Log4j 2.16.0 #307
  • Upgrade to Eclipse 2021-12 #306
  • Upgrade to checkstyle 9.0.1 #302
  • Upgrade to ASM 7.3.1 #299
  • Upgrade to Eclipse 2021-09 #277

v0.0.29

05 Oct 14:51
Compare
Choose a tag to compare

⭐ New Features

  • Add a separate import group for jakarta imports #289
  • Allow static import of repackaged Spring REST Docs REST Assured integration #287
  • Don't set jdt compiler/compliance versions in Eclipse plugin #278
  • Rename Gradle plugin's CheckTask to something less generic #271

🐞 Bug Fixes

  • SpringJavadocCheck incorrectly detects empty line before tag #291
  • Formatter fails on mismatched Eclipse versions due to IndexOutOfBoundsException #288

📔 Documentation

  • Links to distribution artifacts on repo.spring.io are not working anymore #279

🔨 Dependency Upgrades

  • Upgrade to CheckStyle 8.45 #275

v0.0.28

23 Apr 05:10
Compare
Choose a tag to compare

⭐ New Features

  • Support space indentation option #269
  • Support Gradle's configuration cache #262

📔 Documentation

  • Add instruction to setup code in IntelliJ IDEA #266

🔨 Dependency Upgrades

  • Upgrade to Eclipse 2021.3 #267
  • Upgrade to Groovy 2.4.21 #256

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v0.0.27

06 Jan 03:53
Compare
Choose a tag to compare

🔨 Dependency Upgrades

  • Upgrade to Eclipse 2020-12 #254