pgadapter
pgadapter copied to clipboard
deps: update dependency com.google.googlejavaformat:google-java-format to v1.24.0
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
com.google.googlejavaformat:google-java-format | 1.7 -> 1.24.0 |
Release Notes
google/google-java-format (com.google.googlejavaformat:google-java-format)
v1.24.0
This is the last planned release of google-java-format that will support running on JDK 11, see #1159. Using google-java-format to format code that targets earlier versions of the language is still supported, but running the formatter itself on JDK 17 or newer will be required.
Changes:
- Fix inconsistency in formatting of comments in switch statements (#1127)
- Improve handling of
{@​snippet ...}
(ebf9b52
) - Improve handling of
///
comments (#1153) - Improve error messages for syntax errors (
8c652ed
)
Full Changelog: https://github.com/google/google-java-format/compare/v1.23.0...v1.24.0
v1.23.0
Changes:
- Adjust indentation of line comments inside expression switches (#876)
- Fix modifier order handling for
non-sealed
(https://github.com/google/google-java-format/commit/7fd9300499228717bcfee75ff4f836507df832ee) - Handle empty classes with no members that contain semi-colons (https://github.com/google/google-java-format/commit/b9b6730b80a16798da559f2d50112cec3d8538ad)
- Support overlapping ranges in
--lines
(https://github.com/google/google-java-format/commit/c4b467d50bd6bb52935075b438f602ff902db167) - Remove support for the String Templates preview feature, see https://bugs.openjdk.org/browse/JDK-8329949 (https://github.com/google/google-java-format/commit/fdf4b29a6e1206f451bd96ed7967f4061921881a)
- Improve compatibility with latest JDK early access builds (https://github.com/google/google-java-format/commit/0b384e32b39117a8da2829d8543e7474338ddebe)
Full Changelog: https://github.com/google/google-java-format/compare/v1.22.0...v1.23.0
v1.22.0
Changes:
- Improve support for tokens that span multiple lines (
9bdae02
) - Fix an issue with text block formatting, when the text block is the receiver of a method call (#1081)
-
google-java-format-diff.py
now parallelizes the calls to the formatter, for better performance (3ee6e2a
)
Full Changelog: https://github.com/google/google-java-format/compare/v1.21.0...v1.22.0
v1.21.0
Formatting changes:
- Adjust indentation of text blocks (
ce3cb59
)
Bug fixes:
- Fix a crash with comments inside string templates (
e946e82
) - Native image
-version
reportsHEAD-SNAPSHOT
instead of the correct version (#1068) - Improve compatibility with older glibc versions (#1072)
Full Changelog: https://github.com/google/google-java-format/compare/v1.20.0...v1.21.0
v1.20.0
This release includes GraalVM native-image binaries for google-java-format for windows, linux, and mac. These binaries offer improved startup performance.
Changes:
Full Changelog: https://github.com/google/google-java-format/compare/v1.19.2...v1.20.0
v1.19.2
Changes
Full Changelog: https://github.com/google/google-java-format/compare/v1.19.1...v1.19.2
v1.19.1
Changes
- Fix support for Java 21 features by enabling JDK 21 for release builds (#1014).
Full Changelog: https://github.com/google/google-java-format/compare/v1.19.0...v1.19.1
v1.19.0
Changes
This release adds initial support for more Java 21 features, including:
- String templates (#981)
- Unnamed variables (#978)
- Pattern matching and guard clauses in switch expressions (#937, #880, #983, #988)
Other changes:
- Handle type annotations on method reference qualifiers (
53390d9
) - Avoid reflowing text blocks (#976)
Full Changelog: https://github.com/google/google-java-format/compare/v1.18.1...v1.19.0
v1.18.1
Changes
- Fixed version number for Eclipse plugin (#744)
Full Changelog: https://github.com/google/google-java-format/compare/v1.18.0...v1.18.1
v1.18.0
Changes
- Update Guava version to resolve https://github.com/advisories/GHSA-7g45-4rm6-3mm3 (#950)
- Handle
final var
lambda variables (#959)
Full Changelog: https://github.com/google/google-java-format/compare/v1.17.0...v1.18.0
v1.17.0
Changes
- Fix compatibility with OpenJDK 21 early access builds (#898)
Full Changelog: https://github.com/google/google-java-format/compare/v1.16.0...v1.17.0
v1.16.0
Changes
- Format long exception lists one per line (https://github.com/google/google-java-format/commit/198fa4236724f0305f1d4fb9447ce0b48984746f)
- Normalize parameter comments (https://github.com/google/google-java-format/commit/dda43216576c4cb84e2497424b9ca9246f2687e5)
Bug fixes
Full Changelog: https://github.com/google/google-java-format/compare/v1.15.0...v1.16.0
v1.15.0
What's Changed
- Passing
--add-exports
flags on the command line is no longer necessary for JDK 17 and newer (https://github.com/google/google-java-format/commit/ee81afc93990493701a6f7a2801eff058ac57891)
Full Changelog: https://github.com/google/google-java-format/compare/v1.14.0...v1.15.0
v1.14.0
: 1.14.0
What's Changed
- Handle modifiers that start with
non-
(#696) - Treat single-character upper case identifiers as UpperCamelCase, to improve formatting of Android
R
classes (16e72a1
) - Don't format javadoc without a summary fragment as a single-line (
668f108
)
Full Changelog: https://github.com/google/google-java-format/compare/v1.13.0...v1.14.0
v1.13.0
: 1.13.0
What's Changed
Full Changelog: https://github.com/google/google-java-format/compare/v1.12.0...v1.13.0
v1.12.0
: 1.12.0
What's Changed
- Format type annotation as part of the type, not part of the modifiers list (https://github.com/google/google-java-format/pull/653)
- Fix indentation of case statements on JDK 17 (https://github.com/google/google-java-format/pull/654)
Full Changelog: https://github.com/google/google-java-format/compare/v1.11.0...v1.12.0
v1.11.0
: 1.11.0
google-java-format
now has improved support for running on JDK 17 early access builds.
Changes:
- Handle
final
variables ininstanceof
patterns (#588) - Fix handling of annotations in compact record constructors (#574)
- Fix a crash in
instanceof
pattern handling (#594) - Wrap multiple values in switch expression case (#540)
- Fix formatting of module trees after JDK-8255464
- Support
sealed
classes (#603)
v1.10.0
: 1.10.0
google-java-format
now supports running on JDK 16. The following flags are required when running on JDK 16, due to JEP 396: Strongly Encapsulate JDK Internals by Default:
java \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
-jar google-java-format-1.10.0-all-deps.jar T...
Other changes:
- Handle extra
;
in import lists (https://github.com/google/google-java-format/commit/b769e812a052d7cff4a2d86eff4981a5d358ee2d) - Add missing space between unary
-
and negative literals (https://github.com/google/google-java-format/commit/6da736d786ac71a134ed6cc43e9cd825c83de0fd) - Fix an off-by-one issue on the reflowing of string literals (https://github.com/google/google-java-format/commit/b9fd8d2242869ea7c9efd10cbbe7278c4b6611b1)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.