gapic-generator-java icon indicating copy to clipboard operation
gapic-generator-java copied to clipboard

deps: update dependency com.google.googlejavaformat:google-java-format to v1.26.0

Open renovate-bot opened this issue 1 year ago • 6 comments

This PR contains the following updates:

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

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v1.26.0

Compare Source

Formatting changes:

  • Text blocks: don't automatically deindent long text blocks to start at column 0. For text blocks that are already deindented, the existing choice will be preserved, but it won't happen automatically.
  • Text blocks: for deindented text blocks, put the opening """ at column 0 instead of indenting it

Changes:

  • The published GraalVM native-image binaries now include a binary for Linux arm64

Full Changelog: https://github.com/google/google-java-format/compare/v1.25.2...v1.26.0

v1.25.2

Compare Source

Changes:

  • Fix a crash formatting text blocks involving trailing whitespace before the close delimiter (#​1205)

Full Changelog: https://github.com/google/google-java-format/compare/v1.25.1...v1.25.2

v1.25.1

Compare Source

Changes:

  • Fix a crash in text block formatting (#​1195)

Full Changelog: https://github.com/google/google-java-format/compare/v1.25.0...v1.25.1

v1.25.0

Compare Source

The minimum support JDK version to run google-java-format is now JDK 17 (#​1159). Using google-java-format to format earlier versions of the language is still supported, but running the formatter itself on JDK 17 or newer is required.

Changes:

  • Various improvements to text block formatting
  • Improve formatting of when pattern guards

Full Changelog: https://github.com/google/google-java-format/compare/v1.24.0...v1.25.0

v1.24.0

Compare Source

Changes:

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 reports HEAD-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:

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

Full Changelog: https://github.com/google/google-java-format/compare/v1.19.2...v1.20.0

v1.19.2

Changes

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

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:

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

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

Full Changelog: https://github.com/google/google-java-format/compare/v1.15.0...v1.16.0


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 these updates again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate-bot avatar Mar 02 '24 20:03 renovate-bot

/gcbrun

diegomarquezp avatar Mar 13 '24 18:03 diegomarquezp

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

forking-renovate[bot] avatar Mar 13 '24 18:03 forking-renovate[bot]

@blakeli0 I think this is similar to the situation with shared-config. I'm labelling it with do not merge

edit - cause is: the new google-java-format uses java11

diegomarquezp avatar Mar 13 '24 18:03 diegomarquezp

/gcbrun

suztomo avatar Jul 24 '24 16:07 suztomo

/gcbrun

suztomo avatar Jul 24 '24 16:07 suztomo

/gcbrun

suztomo avatar Jul 24 '24 16:07 suztomo

Checked the rebase option to remove unnecessary changes.

suztomo avatar Jul 24 '24 17:07 suztomo