Releases: google/google-java-format
v1.32.0
Changes:
- Add support for AOSP formatting in the Eclipse plugin (#179)
Full Changelog: v1.31.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
This release contains no formatting changes.
Releases (including snapshots) have migrated from OSSRH to the Central Publisher Portal.
Full Changelog: v1.27.0...v1.28.0
v1.27.0
v1.26.0
Formatting changes:
- Text blocks: don't automatically deindent long text blocks to start at column 0. For text blocks that are already deindented, the existing choice will be preserved, but it won't happen automatically.
- Text blocks: for deindented text blocks, put the opening
"""at column 0 instead of indenting it
Changes:
- The published GraalVM native-image binaries now include a binary for Linux arm64
Full Changelog: v1.25.2...v1.26.0
v1.25.2
Changes:
- Fix a crash formatting text blocks involving trailing whitespace before the close delimiter (#1205)
Full Changelog: v1.25.1...v1.25.2
v1.25.1
v1.25.0
The minimum support JDK version to run google-java-format is now JDK 17 (#1159). Using google-java-format to format earlier versions of the language is still supported, but running the formatter itself on JDK 17 or newer is required.
Changes:
- Various improvements to text block formatting
- Improve formatting of
whenpattern guards
Full Changelog: v1.24.0...v1.25.0