Reformats Java source code to comply with Google Java Style.
Changes:
google-java-format-diff.py
now parallelizes the calls to the formatter, for better performance (3ee6e2a34029bc5e68a5f733749e2732c2bf7940)Full Changelog: https://github.com/google/google-java-format/compare/v1.21.0...v1.22.0
Formatting changes:
Bug fixes:
-version
reports HEAD-SNAPSHOT
instead of the correct version (#1068)Full Changelog: https://github.com/google/google-java-format/compare/v1.20.0...v1.21.0
This release includes GraalVM native-image binaries for google-java-format for windows, linux, and mac. These binaries offer improved startup performance.
Changes:
Full Changelog: https://github.com/google/google-java-format/compare/v1.19.2...v1.20.0
var
in record patterns (#1020)Full Changelog: https://github.com/google/google-java-format/compare/v1.19.1...v1.19.2
Full Changelog: https://github.com/google/google-java-format/compare/v1.19.0...v1.19.1
This release adds initial support for more Java 21 features, including:
Other changes:
Full Changelog: https://github.com/google/google-java-format/compare/v1.18.1...v1.19.0
Full Changelog: https://github.com/google/google-java-format/compare/v1.18.0...v1.18.1
final var
lambda variables (#959)Full Changelog: https://github.com/google/google-java-format/compare/v1.17.0...v1.18.0
Full Changelog: https://github.com/google/google-java-format/compare/v1.16.0...v1.17.0
Full Changelog: https://github.com/google/google-java-format/compare/v1.15.0...v1.16.0