Skip to content

Releases: google/google-java-format

1.5

18 Oct 22:39
Compare
Choose a tag to compare
1.5

Features:

  • Improved support for checking if files are already formatted: --dry-run prints the paths of files whose contents would change if the formatter were run normally, and --set-exit-if-changed returns exit code 1 if there are any formatting changes. (#105)
  • Added support for javac-style @params files. (#77).

Bug fixes:

  • Improved partial formatting within switch statements (c63984a).
  • Improved import ordering logic to handle imports not separated by newlines (7225e17, 8364f6c).

1.4

29 Aug 16:01
Compare
Choose a tag to compare
1.4

1.4 release

  • initial support for Java 9 language features (effectively final variables in try-with-resources, module-info.java files).
  • Remove java.lang imports
  • Handle varargs lambda parameters
  • Wrap line comments that exceed the column limit
  • Ensure leading spaces are present in line comments (//comment -> // comment).
  • Wrap before /*parameter=*/ comments.
  • Handle type-annotated varargs.

1.3

10 Feb 01:31
Compare
Choose a tag to compare
1.3

1.3 release

1.2

13 Jan 01:13
Compare
Choose a tag to compare
1.2

1.2 release

1.1

03 Oct 17:56
Compare
Choose a tag to compare
1.1

1.1 release

1.0

13 Apr 01:31
Compare
Choose a tag to compare
1.0
google-java-format-1.0

1.0 release

0.1 Alpha

09 Nov 05:11
Compare
Choose a tag to compare
0.1 Alpha Pre-release
Pre-release

Early release of Google's Java Formatter for use in formatting code to google's style.