Skip to content

Releases: jhipster/prettier-java

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/prettier-plugin-java@2.10.1...prettier-plugin-java@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/prettier-plugin-java@2.10.0...prettier-plugin-java@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/prettier-plugin-java@2.9.7...prettier-plugin-java@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/prettier-plugin-java@2.9.6...prettier-plugin-java@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/prettier-plugin-java@2.9.5...prettier-plugin-java@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/prettier-plugin-java@2.9.4...prettier-plugin-java@2.9.5

2.9.4

Choose a tag to compare

@jtkiesel jtkiesel released this 21 May 04:02
6f7ab44

2.9.3

Choose a tag to compare

@jtkiesel jtkiesel released this 21 May 04:01
9e8f377

What's Changed

  • fix: correct Windows path resolution in parser init by @ralscha in #892
  • fix: restore array literal spacing by @jtkiesel in #893
  • fix: keep member chain line-end comments on the same line by @jtkiesel in #894
  • fix: keep generic method call leading comments on their own line by @jtkiesel in #895
  • fix: prevent forced wrapping of annotated records by @jtkiesel in #896
  • fix: prevent wrapping of annotated catch parameters by @jtkiesel in #897

Full Changelog: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.9.2...prettier-plugin-java@2.9.3

2.9.2

Choose a tag to compare

@jtkiesel jtkiesel released this 17 May 16:45
efac731

What's Changed

  • fix: restore space between array type and dimension annotations by @jtkiesel in #881

Full Changelog: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.9.1...prettier-plugin-java@2.9.2

2.9.1

Choose a tag to compare

@jtkiesel jtkiesel released this 16 May 23:52
7b30df8