2.6.0
clementdessoude
released this
22 Feb 09:50
·
53 commits
to main
since this release
Enhancements
- Support Java 21 preview feature: string templates (JEP 430) (#640 by @jtkiesel)
- Avoid breaking on certain method chains and arguments (Issue #626 closed by #632 by @jtkiesel)
Fixes
- Consistent break after equals (Issue #638 fixed by #641 by @jtkiesel)
- Properly break and indent lambda with comments (Issue #581 fixed by #604 by @jtkiesel)
- Do not fail on constructor and method receiver parameter (Issue #607 fixed by #642 by @jtkiesel)
- No break in single-block switch case (Issue #635 fixed by #636 by @jtkiesel)
- Non-block if/else statements are now kept on their own lines (Issue #631 fixed by #633 by @jtkiesel)
Misc
- Create documentation website (#628 by @jtkiesel) available at https://www.jhipster.tech/prettier-java