diff --git a/CHANGELOG.md b/CHANGELOG.md index d7b483d98..ec901c8a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +# Latest v2.3.0 + +## Enhancements + +- Break long lines on type arguments ([#584](https://github.com/jhipster/prettier-java/pull/584)) +- Break and indent binary expression with cast properly ([#587](https://github.com/jhipster/prettier-java/pull/587)) +- Adjust indentation of multiline string (Issue [#593](https://github.com/jhipster/prettier-java/pull/593) fixed with [#596](https://github.com/jhipster/prettier-java/pull/596)) +- Improves binary expression formatting ([#594](https://github.com/jhipster/prettier-java/pull/594)) +- Supports JLS annotation style ([#586](https://github.com/jhipster/prettier-java/pull/586) + +Thanks to [@jtkiesel](https://github.com/jtkiesel) for all of these contributions ! + +## Fixes + +- Fix browser compatibility issue when run in browser (Issue [#597](https://github.com/jhipster/prettier-java/pull/597) fixed with [#598](https://github.com/jhipster/prettier-java/pull/598)) + Thanks to [@magic-akari](https://github.com/magic-akari) for the contribution + # Latest v2.2.0 ## Enhancements diff --git a/packages/prettier-plugin-java/package.json b/packages/prettier-plugin-java/package.json index 9ffc30db8..feb87fc7c 100644 --- a/packages/prettier-plugin-java/package.json +++ b/packages/prettier-plugin-java/package.json @@ -11,7 +11,7 @@ "dependencies": { "java-parser": "2.0.4", "lodash": "4.17.21", - "prettier": "3.0.0" + "prettier": "3.0.2" }, "scripts": { "test": "yarn run test:unit && yarn run test:e2e-core", diff --git a/yarn.lock b/yarn.lock index edab7565c..282c853a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7555,10 +7555,10 @@ prettier@2.8.0: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.0.tgz#c7df58393c9ba77d6fba3921ae01faf994fb9dc9" integrity sha512-9Lmg8hTFZKG0Asr/kW9Bp8tJjRVluO8EJQVfY2T7FMw9T5jy4I/Uvx0Rca/XWf50QQ1/SS48+6IJWnrb+2yemA== -prettier@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae" - integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g== +prettier@3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.2.tgz#78fcecd6d870551aa5547437cdae39d4701dca5b" + integrity sha512-o2YR9qtniXvwEZlOKbveKfDQVyqxbEIWn48Z8m3ZJjBjcCmUy3xZGIv+7AkaeuaTr6yPXJjwv07ZWlsWbEy1rQ== pretty-format@^29.0.0, pretty-format@^29.3.1: version "29.3.1"