|
1 | | -# Latest v2.6.7 |
| 1 | +# Latest v2.8.1 |
| 2 | + |
| 3 | +## What's Changed |
| 4 | +* fix: indent ternary binary expressions in return statements by @jtkiesel in https://github.com/jhipster/prettier-java/pull/803 |
| 5 | + |
| 6 | +**Full Changelog**: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.8.0...prettier-plugin-java@2.8.1 |
| 7 | + |
| 8 | +# v2.8.0 |
| 9 | + |
| 10 | +## What's Changed |
| 11 | +* feat: improve class/enum/interface/record clause wrapping/indentation by @jtkiesel in https://github.com/jhipster/prettier-java/pull/783 |
| 12 | +* fix: break empty switch/rule, try/catch/finally, and if blocks by @jtkiesel in https://github.com/jhipster/prettier-java/pull/791 |
| 13 | +* feat: support `prettier-ignore-start`/`-end` in addition to `@formatter:off`/`:on` by @jtkiesel in https://github.com/jhipster/prettier-java/pull/796 |
| 14 | +* fix: improve binary expression assignment breaking by @jtkiesel in https://github.com/jhipster/prettier-java/pull/797 |
| 15 | +* fix: proper breaking of parenthesized expressions by @jtkiesel in https://github.com/jhipster/prettier-java/pull/800 |
| 16 | + |
| 17 | +**Full Changelog**: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.7...prettier-plugin-java@2.8.0 |
| 18 | + |
| 19 | +# v2.7.7 |
| 20 | + |
| 21 | +## What's Changed |
| 22 | +* fix: remove extra indent from ternary/lambda expressions in parentheses by @jtkiesel in https://github.com/jhipster/prettier-java/pull/787 |
| 23 | + |
| 24 | +**Full Changelog**: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.6...prettier-plugin-java@2.7.7 |
| 25 | + |
| 26 | +# v2.7.6 |
| 27 | + |
| 28 | +## What's Changed |
| 29 | +* fix: indent non-block switch rule bodies with leading comments by @jtkiesel in https://github.com/jhipster/prettier-java/pull/778 |
| 30 | +* fix: ternary comment placement and indentation by @jtkiesel in https://github.com/jhipster/prettier-java/pull/780 |
| 31 | +* fix: avoid unwrapping empty array initializer with comments by @jtkiesel in https://github.com/jhipster/prettier-java/pull/784 |
| 32 | + |
| 33 | +**Full Changelog**: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.5...prettier-plugin-java@2.7.6 |
| 34 | + |
| 35 | +# v2.7.5 |
| 36 | + |
| 37 | +## What's Changed |
| 38 | +* fix: eliminate repeated printer function execution from our naively-implemented 'call' helper by @jtkiesel in https://github.com/jhipster/prettier-java/pull/771 |
| 39 | +* fix: correct indentation of some method argument lists containing lambda bodies by @jtkiesel in https://github.com/jhipster/prettier-java/pull/772 |
| 40 | +* fix: correct indentation of non-root instanceof expressions by @jtkiesel in https://github.com/jhipster/prettier-java/pull/773 |
| 41 | +* fix: indent binary expressions in annotation element value or argument lists by @jtkiesel in https://github.com/jhipster/prettier-java/pull/774 |
| 42 | +* fix: break nested ternaries together by @jtkiesel in https://github.com/jhipster/prettier-java/pull/775 |
| 43 | + |
| 44 | +**Full Changelog**: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.4...prettier-plugin-java@2.7.5 |
| 45 | + |
| 46 | +# v2.7.4 |
| 47 | + |
| 48 | +## What's Changed |
| 49 | +* fix: print class type arguments and dots in the proper order by @jtkiesel in https://github.com/jhipster/prettier-java/pull/754 |
| 50 | +* fix: revert connection of trailing semicolon to trailingComma option by @jtkiesel in https://github.com/jhipster/prettier-java/pull/755 |
| 51 | + |
| 52 | +**Full Changelog**: https://github.com/jhipster/prettier-java/compare/prettier-plugin-java@2.7.3...prettier-plugin-java@2.7.4 |
| 53 | + |
| 54 | +# v2.7.3 |
| 55 | + |
| 56 | +## What's Changed |
| 57 | +* fix: align arrowParens option's default with Prettier by @jtkiesel in https://github.com/jhipster/prettier-java/pull/749 |
| 58 | + |
| 59 | +# v2.7.2 |
| 60 | + |
| 61 | +## What's Changed |
| 62 | +* docs: Add arrowParens and experimentalOperatorPosition options to plugin and website playground by @jtkiesel in https://github.com/jhipster/prettier-java/pull/743 |
| 63 | +* Fix update-test-outputs script to use test-specific prettier options. by @motlin in https://github.com/jhipster/prettier-java/pull/741 |
| 64 | +* chore: add packageManager field to package.json for corepack by @mshima in https://github.com/jhipster/prettier-java/pull/744 |
| 65 | +* chore: fix generated types by @mshima in https://github.com/jhipster/prettier-java/pull/747 |
| 66 | +* chore: run lerna repair by @mshima in https://github.com/jhipster/prettier-java/pull/745 |
| 67 | + |
| 68 | +# v2.7.1 |
| 69 | + |
| 70 | +## What's Changed |
| 71 | +* feat: support `experimentalOperatorPosition` option (issue #534) by @jtkiesel in #731 |
| 72 | +* fix: make formatting of comments on if statements stable (issue #592) by @jtkiesel in #731 |
| 73 | +* fix: break nested statements without braces at the top level first (issue #720) by @jtkiesel in #731 |
| 74 | +* fix: do not add a blank line at the end of embedded Java (issue #737) by @jtkiesel in #731 |
| 75 | + |
| 76 | +# v2.6.8 |
| 77 | + |
| 78 | +## What's Changed |
| 79 | +* fix: break hugged lambda body when closing parenthesis wraps by @jtkiesel in https://github.com/jhipster/prettier-java/pull/721 |
| 80 | +* fix: limit TypePattern's VariableDeclaratorList to a single VariableDeclarator by @jtkiesel in https://github.com/jhipster/prettier-java/pull/734 |
| 81 | + |
| 82 | +# v2.6.7 |
2 | 83 |
|
3 | 84 | ## Fixes |
4 | 85 |
|
|
15 | 96 |
|
16 | 97 | - Support dims in record patterns (Issue [#707](https://github.com/jhipster/prettier-java/issues/707) closed by [#708](https://github.com/jhipster/prettier-java/pull/708) by [@clementdessoude](https://github.com/clementdessoude)) |
17 | 98 |
|
| 99 | +# v2.6.5 |
| 100 | + |
| 101 | +## Fixes |
| 102 | + |
| 103 | +- Print comment before first binary operator without failing (Issue #685) fixed by #688 by @jtkiesel |
| 104 | +- Add whitespace between label and statement (Issue #686) fixed by #689 by @jtkiesel |
| 105 | +- Break and indent assignments like declarations (Issue #687) fixed by #690 by @jtkiesel |
| 106 | + |
| 107 | +# v2.6.4 |
| 108 | + |
| 109 | +## Fixes |
| 110 | + |
| 111 | +- Add es5 as trailingComma option (Issue #652) fixed by #655 by @jtkiesel |
| 112 | +- Add types to exports in package.json (Issue #663) fixed by #664 by @mshima |
| 113 | +- Hug lambdas without blocks (Issue #650) fixed by #653 by @jtkiesel |
| 114 | +- Align with JDK 22 spec (Issue #665) fixed by #666 by @jtkiesel |
| 115 | + |
| 116 | +## Misc |
| 117 | + |
| 118 | +- Update advanced_usage.md with current working configuration for IntelliJ (#669 by @tfield) |
| 119 | +- Update trailingComma option on advanced_usage.md (#451 by @jslivane) |
| 120 | +- Automate GitHub Pages deployment (#672 by @jtkiesel) |
| 121 | + |
18 | 122 | # v2.6.0 |
19 | 123 |
|
20 | 124 | ## Enhancements |
|
0 commit comments