Repository navigation
Releases
2.12.0
What's Changed
- feat: improve throws breaking by @jtkiesel in #591
- fix: improve comment attachment on member chains by @jtkiesel in #1109
- fix: treat method references on array/generic types as simple call arguments by @jtkiesel in #1121
- feat: concise numeric array initializers by @jtkiesel in #1126
- fix: update dependencies, namely tree-sitter-java-orchard to resolve bugs by @jtkiesel in #1144
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.12.0
2.11.0
What's Changed
- feat: infer text block embed parser via plugin language names/aliases/extensions by @jtkiesel in #1068
- fix: update tree-sitter-java to support emojis in string literals by @jtkiesel in #1078
- fix: add parentheses to unary expressions with comments on operand by @jtkiesel in #1079
- feat: support printing module import declarations by @jtkiesel in #1080
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.11.0
2.10.4
What's Changed
- fix: update tree-sitter-java to support special chars in identifiers by @jtkiesel in #1058
- fix: avoid breaking after assignment operator due to member chain inner comment by @jtkiesel in #1059
- fix: support language comment directly on text block by @jtkiesel in #1062
- fix: update tree-sitter-java to support null character in string literals by @jtkiesel in #1064
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.10.4
2.10.3
What's Changed
- fix: omit indentation from text block assignments by @jtkiesel in #980
- fix: update tree-sitter-java-orchard to 0.5.10 by @jtkiesel in #988
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.10.3
2.10.2
What's Changed
- fix: treat class literals as simple arguments, like field access by @jtkiesel in #962
- fix: restore comment attachment to formal parameters, including JSNI comments by @jtkiesel in #963
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.10.2
2.10.1
What's Changed
- fix: omit parentheses around lambda body assignment expressions by @jtkiesel in #951
- fix: prevent dropping children of parenthesized expressions by @jtkiesel in #952
- fix: update Java grammar to fix parsing of lambda switch rule results and keyword statement labels by @jtkiesel in #953
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.10.1
2.10.0
What's Changed
- fix: proper handling of comments on lambda and parenthesized expressions by @jtkiesel in #917
- fix: treat text blocks as complex arguments by @jtkiesel in #927
- fix: prevent forced wrapping of annotated enums by @jtkiesel in #928
- fix: inline single simple type arguments by @jtkiesel in #929
- feat: align parentheses closer with Prettier JS/TS, including their removal by @jtkiesel in #944
- fix: align breaking of instanceof with binary expression in assignments by @jtkiesel in #945
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.10.0
2.9.7
What's Changed
- fix: preserve annotations on generic method return types by @jtkiesel in #911
- fix: keep package declaration with annotations before import declarations by @jtkiesel in #913
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.9.7
2.9.6
2.9.5
What's Changed
- fix: keep comment on root of field access argument by @jtkiesel in #906
- fix: don't break member chain for trailing comment by @jtkiesel in #907
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.9.5