Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update dependency com.google.googlejavaformat:google-java-format to v1.22.0 #798

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Apr 1, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.googlejavaformat:google-java-format 1.7 -> 1.22.0 age adoption passing confidence

Release Notes

google/google-java-format (com.google.googlejavaformat:google-java-format)

v1.22.0

Compare Source

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: google/google-java-format@v1.21.0...v1.22.0

v1.21.0

Compare Source

Formatting changes:

  • Adjust indentation of text blocks (ce3cb59)

Bug fixes:

  • Fix a crash with comments inside string templates (e946e82)
  • Native image -version reports HEAD-SNAPSHOT instead of the correct version (#​1068)
  • Improve compatibility with older glibc versions (#​1072)

Full Changelog: google/google-java-format@v1.20.0...v1.21.0

v1.20.0

Compare Source

This release includes GraalVM native-image binaries for google-java-format for windows, linux, and mac. These binaries offer improved startup performance.

Changes:

  • Keep type-use annotation with type when wrapping (03efe44)
  • Handle 'any' patterns (#​1037)

Full Changelog: google/google-java-format@v1.19.2...v1.20.0

v1.19.2

Compare Source

Changes

  • Improve support for string templates (#​1010)
  • Handle var in record patterns (#​1020)

Full Changelog: google/google-java-format@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: google/google-java-format@v1.19.0...v1.19.1

v1.19.0

Changes

This release adds initial support for more Java 21 features, including:

Other changes:

  • Handle type annotations on method reference qualifiers (53390d9)
  • Avoid reflowing text blocks (#​976)

Full Changelog: google/google-java-format@v1.18.1...v1.19.0

v1.18.1

Changes

  • Fixed version number for Eclipse plugin (#​744)

Full Changelog: google/google-java-format@v1.18.0...v1.18.1

v1.18.0

Changes

Full Changelog: google/google-java-format@v1.17.0...v1.18.0

v1.17.0

Changes

  • Fix compatibility with OpenJDK 21 early access builds (#​898)

Full Changelog: google/google-java-format@v1.16.0...v1.17.0

v1.16.0

Changes

Bug fixes

  • Return a non-zero exit code on error (#​848)
  • Formatter leaks threads and memory (#​847)

Full Changelog: google/google-java-format@v1.15.0...v1.16.0

v1.15.0

What's Changed

Full Changelog: google/google-java-format@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: google/google-java-format@v1.13.0...v1.14.0

v1.13.0: 1.13.0

What's Changed

  • Fix formatting of pattern matching in switch when running on Java 17 (#​689, #​690)

Full Changelog: google/google-java-format@v1.12.0...v1.13.0

v1.12.0: 1.12.0

What's Changed

Full Changelog: google/google-java-format@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 in instanceof 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:


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 has been generated by Mend Renovate. View repository job log here.

@renovate-bot renovate-bot requested a review from a team as a code owner April 1, 2024 22:35
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Apr 1, 2024
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Apr 1, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 1, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 1, 2024
@renovate-bot renovate-bot force-pushed the renovate/com.google.googlejavaformat-google-java-format-1.x branch from a884172 to 5c72227 Compare April 16, 2024 18:21
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Apr 16, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 16, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 16, 2024
@suztomo suztomo added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 16, 2024
@suztomo
Copy link
Member

suztomo commented Apr 16, 2024

The google-java-format version needs to match the one in the owlbot-java postprocessor. Adding "do not merge" label while we overhauling the postprocessor infrastructure.

@renovate-bot renovate-bot force-pushed the renovate/com.google.googlejavaformat-google-java-format-1.x branch from 5c72227 to 04633d4 Compare April 17, 2024 16:11
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Apr 17, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Apr 17, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 17, 2024
@renovate-bot renovate-bot force-pushed the renovate/com.google.googlejavaformat-google-java-format-1.x branch from 04633d4 to dabc50b Compare May 1, 2024 17:41
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 1, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 1, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Indicates a pull request not ready for merge, due to either quality or timing. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants