Skip to content

Releases: jhipster/prettier-java

2.9.7

28 May 14:18
1d48ba8

Choose a tag to compare

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

26 May 21:36
45afed5

Choose a tag to compare

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

25 May 18:35
78a6fd9

Choose a tag to compare

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

21 May 04:02
6f7ab44

Choose a tag to compare

2.9.3

21 May 04:01
9e8f377

Choose a tag to compare

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

17 May 16:45
efac731

Choose a tag to compare

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

16 May 23:52
7b30df8

Choose a tag to compare

2.9.0

16 May 23:24
6e94f5e

Choose a tag to compare

What's Changed

  • refactor: replace java-parser with tree-sitter by @jtkiesel in #811
  • feat: support cjs by @sunrabbit123 in #804
  • feat: process embedded languages in text blocks with language identifier comments by @jtkiesel in #795

Full Changelog: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.8.1...prettier-plugin-java@2.9.0

2.8.1

08 Jan 05:06

Choose a tag to compare

What's Changed

  • fix: indent ternary binary expressions in return statements by @jtkiesel in #803

Full Changelog: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.8.0...prettier-plugin-java@2.8.1

2.8.0

06 Jan 03:42

Choose a tag to compare

What's Changed

  • feat: improve class/enum/interface/record clause wrapping/indentation by @jtkiesel in #783
  • fix: break empty switch/rule, try/catch/finally, and if blocks by @jtkiesel in #791
  • feat: support prettier-ignore-start/-end in addition to @formatter:off/:on by @jtkiesel in #796
  • fix: improve binary expression assignment breaking by @jtkiesel in #797
  • fix: proper breaking of parenthesized expressions by @jtkiesel in #800

Full Changelog: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.7...prettier-plugin-java@2.8.0