Skip to content

Releases

2.12.0

Choose a tag to compare

@jtkiesel jtkiesel released this 15 Nov 03:31
144b3a1

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

Choose a tag to compare

@jtkiesel jtkiesel released this 28 Sep 00:23
17b0a31

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

Choose a tag to compare

@jtkiesel jtkiesel released this 18 Sep 06:36
4f55fcf

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

Choose a tag to compare

@jtkiesel jtkiesel released this 19 Jul 05:40
06cf4e6

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

Choose a tag to compare

@jtkiesel jtkiesel released this 30 Jun 03:26
34174e3

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

Choose a tag to compare

@jtkiesel jtkiesel released this 25 Jun 08:28
aaa00ba

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

Choose a tag to compare

@jtkiesel jtkiesel released this 22 Jun 15:32
376e425

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

Choose a tag to compare

@jtkiesel jtkiesel released this 28 May 14:18
1d48ba8

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

Choose a tag to compare

@jtkiesel jtkiesel released this 26 May 21:36
45afed5

What's Changed

  • fix: prevent argument list comments from moving to next argument by @jtkiesel in #908

Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.9.6

2.9.5

Choose a tag to compare

@jtkiesel jtkiesel released this 25 May 18:35
78a6fd9

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