◐ Shell
clean mode source ↗

Releases · google/google-java-format

v1.35.0

v1.34.1

v1.34.0

v1.33.0

This release contains no formatting changes.

The constructors of the com.google.googlejavaformat.java.filer.FormattingFiler API are now deprecated, and the new factory method FormattingFiler#create(ProcessingEnvironment) should be used instead.

Full Changelog: v1.32.0...v1.33.0

v1.32.0

v1.31.0

This release contains no formatting changes.

Changes:

  • Add a SnippetFormatter(JavaFormatterOptions) constructor (8c30268)

Full Changelog: v1.30.0...v1.31.0

v1.30.0

v1.29.0

This release contains no formatting changes.

The minimum support JDK version to run google-java-format is now JDK 21. Using google-java-format to format earlier versions of the language is still fully supported, but running the formatter itself on JDK 21 or newer is required.

Full Changelog: v1.28.0...v1.29.0

v1.28.0

v1.27.0

This release contains no formatting changes.

Changes:

  • Improved compatibility with JDK 24 early access builds (96f114c)
  • Optimize string wrapping (8633826)

Full Changelog: v1.26.0...v1.27.0