Skip to content

Releases: jhipster/prettier-java

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

2.7.7

20 Oct 18:10

Choose a tag to compare

What's Changed

  • fix: remove extra indent from ternary/lambda expressions in parentheses by @jtkiesel in #787

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

2.7.6

14 Oct 05:58

Choose a tag to compare

What's Changed

  • fix: indent non-block switch rule bodies with leading comments by @jtkiesel in #778
  • fix: ternary comment placement and indentation by @jtkiesel in #780
  • fix: avoid unwrapping empty array initializer with comments by @jtkiesel in #784

Full Changelog: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.5...prettier-plugin-java@2.7.6

2.7.5

10 Sep 05:28

Choose a tag to compare

What's Changed

  • fix: eliminate repeated printer function execution from our naively-implemented 'call' helper by @jtkiesel in #771
  • fix: correct indentation of some method argument lists containing lambda bodies by @jtkiesel in #772
  • fix: correct indentation of non-root instanceof expressions by @jtkiesel in #773
  • fix: indent binary expressions in annotation element value or argument lists by @jtkiesel in #774
  • fix: break nested ternaries together by @jtkiesel in #775

Full Changelog: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.4...prettier-plugin-java@2.7.5

2.7.4

10 Sep 05:26

Choose a tag to compare

What's Changed

  • fix: print class type arguments and dots in the proper order by @jtkiesel in #754
  • fix: revert connection of trailing semicolon to trailingComma option by @jtkiesel in #755

Full Changelog: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.3...prettier-plugin-java@2.7.4

2.7.3

15 Jul 16:12

Choose a tag to compare

What's Changed

  • fix: align arrowParens option's default with Prettier by @jtkiesel in #749