Skip to content

Releases: palantir/palantir-java-format

0.3.24

13 Feb 16:43
484db76
Compare
Choose a tag to compare
Type Description Link
Improvement Long annotation args are now partially inlined, such that concatenated strings look better. #191
Improvement Preserve the user's newlines in a long string concatenation (defined as a concatenation with + where at least one expression is a literal string). #192

0.3.23

08 Feb 15:10
dff3fce
Compare
Choose a tag to compare
Type Description Link
Improvement Reduce situations where an inlined lambda can get a newline after the arrow, and allow inlining new Class() calls in more contexts. #169

0.3.22

31 Jan 17:43
5190391
Compare
Choose a tag to compare
Type Description Link
Fix Method references are no longer split onto their own line unless the expression they're referencing is also completely split. #164

0.3.21

31 Jan 13:21
ea26a74
Compare
Choose a tag to compare
Type Description Link
Fix Support source=9 across all formatter steps. #163

0.3.20

30 Jan 17:02
ba8ab9d
Compare
Choose a tag to compare
Type Description Link
Fix Only allow expressions with prefix to be inlined after a lambda/simple expression if they contain method calls. #161

0.3.19

29 Jan 18:18
6084f61
Compare
Choose a tag to compare
Type Description Link
Improvement More strictly control when we can inline a chunk of code followed by an expression lambda, to avoid pathological cases with a very simple expression being split onto the next line. #147

0.3.18

28 Jan 18:38
a85aba5
Compare
Choose a tag to compare
Type Description Link
Fix Only service load the formatter implementation once, rather than once per gradle project. This avoids gradle potentially exceedding the MaxMetaspaceSize and throwing java.lang.OutOfMemoryError: Metaspace. #158

0.3.17

28 Jan 16:55
10f9ebe
Compare
Choose a tag to compare
Type Description Link
Fix Don't inline constructor calls without a custom body (i.e. if they are not anonymous classes). #157

0.3.16

28 Jan 13:44
7bc2b1e
Compare
Choose a tag to compare
Type Description Link
Improvement Turn off the javadoc formatter entirely. #152

0.3.15

21 Jan 15:39
1502023
Compare
Choose a tag to compare
Type Description Link
Fix Make formatDiff task more resilient by waiting 30 seconds for git diff output before giving up. #144