Releases: jhipster/prettier-java
Releases Β· jhipster/prettier-java
2.8.0
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/-endin addition to@formatter:off/:onby @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/[email protected]@2.8.0
2.7.7
What's Changed
Full Changelog: https://github.com/jhipster/prettier-java/compare/[email protected]@2.7.7
2.7.6
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/[email protected]@2.7.6
2.7.5
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
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
2.7.2
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
What's Changed
- feat: support
experimentalOperatorPositionoption (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