Skip to content

Releases: jhipster/prettier-java

2.7.5

10 Sep 05:28
Compare
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/[email protected]@2.7.5

2.7.4

10 Sep 05:26
Compare
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/[email protected]@2.7.4

2.7.3

15 Jul 16:12
Compare
Choose a tag to compare

What's Changed

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

2.7.2

15 Jul 03:12
Compare
Choose a tag to compare

What's Changed

  • docs: Add arrowParens and experimentalOperatorPosition options to plugin and website playground by @jtkiesel in #743
  • Fix update-test-outputs script to use test-specific prettier options. by @motlin in #741
  • chore: add packageManager field to package.json for corepack by @mshima in #744
  • chore: fix generated types by @mshima in #747
  • chore: run lerna repair by @mshima in #745

2.7.1

01 Jul 05:12
Compare
Choose a tag to compare

What's Changed

  • feat: support experimentalOperatorPosition option (issue #534) by @jtkiesel in #731
  • fix: make formatting of comments on if statements stable (issue #592) by @jtkiesel in #731
  • fix: break nested statements without braces at the top level first (issue #720) by @jtkiesel in #731
  • fix: do not add a blank line at the end of embedded Java (issue #737) by @jtkiesel in #731

2.6.8

04 Jun 04:28
Compare
Choose a tag to compare

What's Changed

  • fix: break hugged lambda body when closing parenthesis wraps by @jtkiesel in #721
  • fix: limit TypePattern's VariableDeclaratorList to a single VariableDeclarator by @jtkiesel in #734

2.6.7

22 Jan 20:11
Compare
Choose a tag to compare

Fixes

  • Restore require support for VS Code compatibility (Issue #711 closed by #714 by @jtkiesel)
  • Fix unstable formatting with comment between class and static function call (Issue #712 closed by #713 and #715 by @clementdessoude)

2.6.6

08 Jan 23:02
Compare
Choose a tag to compare

Enhancements

  • Add typescript support to prettier-plugin-java (#692 by @ntnyq )

Fixes

2.6.5

25 Oct 16:26
Compare
Choose a tag to compare

Fixes

  • Print comment before first binary operator without failing (Issue #685) fixed by #688 by @jtkiesel
  • Add whitespace between label and statement (Issue #686) fixed by #689 by @jtkiesel
  • Break and indent assignments like declarations (Issue #687) fixed by #690 by @jtkiesel

2.6.4

12 Jul 05:44
Compare
Choose a tag to compare

Fixes

Misc

  • Update advanced_usage.md with current working configuration for IntelliJ (#669 by @tfield)
  • Update trailingComma option on advanced_usage.md (#451 by @jslivane)
  • Automate GitHub Pages deployment (#672 by @jtkiesel)