Skip to content

Update google.errorprone to v2.49.0#3672

Open
solrbot wants to merge 2 commits intoapache:mainfrom
solrbot:renovate/google.errorprone
Open

Update google.errorprone to v2.49.0#3672
solrbot wants to merge 2 commits intoapache:mainfrom
solrbot:renovate/google.errorprone

Conversation

@solrbot
Copy link
Copy Markdown
Collaborator

@solrbot solrbot commented Sep 19, 2025

This PR contains the following updates:

Package Type Update Change
com.google.errorprone:error_prone_core (source) dependencies minor 2.41.0 -> 2.49.0
com.google.errorprone:error_prone_annotations (source) dependencies minor 2.41.0 -> 2.49.0

Release Notes

google/error-prone (com.google.errorprone:error_prone_core)

v2.49.0: Error Prone 2.49.0

This release includes several changes to Matcher APIs, and removed some deprecated or problematic APIs:

  • Remove deprecated MethodMatchers.withSignature API, which relies on fragile toString behaviour. Alternatives for matching on method signatures with varargs and type parameters were added in a98a1c5.
  • Removed variableType(Matcher) API. Matchers.variableType(Matcher) uses VariableTree#getType to match variable types, which own't work for lambda parameters with inferred types after JDK-8268850. The recommended replacement is variableType(TypePredicate).
  • Make enclosingPackage return an optional. Module elements are not enclosed by a package, checks using enclosingPackage shouldn't assume an enclosing package exists when processing arbitrary elements.
  • New FieldMatchers API, similar to MethodMatchers (1dd9c3a).

New checks:

Closed issues: #​2283, #​3503, #​5210, #​5289, #​5548, #​5548, #​5554, #​5609, #​5614, #​5656

Full changelog: google/error-prone@v2.48.0...v2.49.0

v2.48.0: Error Prone 2.48.0

Changes:

  • Added support for passing flags with command-line argument files (@-files) (8e84edf)

New checks:

Closed issues: #​5529, #​5537, #​5522, #​5521

Full changelog: google/error-prone@v2.47.0...v2.48.0

v2.47.0: Error Prone 2.47.0

New checks:

Closed issues: #​1811, #​4168, #​5459, #​5460

Full changelog: google/error-prone@v2.46.0...v2.47.0

v2.46.0: Error Prone 2.46.0

Changes:

New checks:

Full changelog: google/error-prone@v2.45.0...v2.46.0

v2.45.0: Error Prone 2.45.0

Changes:

  • Improved compatibility with latest JDK 26 EA builds.

New checks:

Closed issues: #​5335

Full changelog: google/error-prone@v2.44.0...v2.45.0

v2.44.0: Error Prone 2.44.0

Changes

Closed issues: #​5218, #​5278

Full changelog: google/error-prone@v2.43.0...v2.44.0

v2.43.0: Error Prone 2.43.0

The minimum supported JDK version to run Error Prone is now JDK 21 (#​4867).

Changes:

  • -XepPatchChecks now skips disabled checks (#​4943)
  • AndroidJdkLibsChecker has been removed, the recommended replacement for Android code is Android Lint's NewApi check

New checks:

Closed issues: #​4943, #​5102, #​5107, #​5121, #​5158, #​5217, #​5239

Full changelog: google/error-prone@v2.42.0...v2.43.0

v2.42.0: Error Prone 2.42.0

New checks:

Changes:

  • The return type of ASTHelpers.asFlagSet has changed. The previous type was EnumSet<Flags.Flag>, where Flags.Flag is an enum in the javac class Flags. A recent JDK change has replaced that enum with a new top-level enum called FlagsEnum. It is not possible to change ASTHelpers.asFlagSet in a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returns ImmutableSet<String>, where the strings come from the toString() of the enum constants. That means they are "native", "abstract", etc.
  • Flag IO.print[ln]() in SystemOut.

Full changelog: google/error-prone@v2.41.0...v2.42.0


Configuration

📅 Schedule: Branch creation - Only on Sunday ( * * * * 0 ) (UTC), 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 has been generated by Renovate Bot

@solrbot solrbot added the exempt-stale Prevent a PR from going stale label Sep 19, 2025
@solrbot solrbot force-pushed the renovate/google.errorprone branch from df68785 to 66030e4 Compare September 29, 2025 17:34
@solrbot solrbot force-pushed the renovate/google.errorprone branch 2 times, most recently from 1fde377 to e7815d8 Compare October 20, 2025 17:47
@solrbot solrbot force-pushed the renovate/google.errorprone branch 3 times, most recently from a961c9b to 2b73a14 Compare October 27, 2025 16:55
@solrbot solrbot changed the title Update google.errorprone to v2.42.0 Update google.errorprone to v2.43.0 Oct 27, 2025
@solrbot solrbot force-pushed the renovate/google.errorprone branch 2 times, most recently from 729ee11 to 0b79989 Compare November 12, 2025 13:15
@solrbot solrbot changed the title Update google.errorprone to v2.43.0 Update google.errorprone to v2.44.0 Nov 12, 2025
@solrbot solrbot force-pushed the renovate/google.errorprone branch from 0b79989 to 811fd3e Compare December 2, 2025 16:51
@solrbot solrbot changed the title Update google.errorprone to v2.44.0 Update google.errorprone to v2.45.0 Dec 2, 2025
@solrbot solrbot force-pushed the renovate/google.errorprone branch 3 times, most recently from a48dbdb to 83c3077 Compare December 18, 2025 21:16
@solrbot solrbot changed the title Update google.errorprone to v2.45.0 Update google.errorprone to v2.46.0 Jan 13, 2026
@solrbot solrbot force-pushed the renovate/google.errorprone branch from 3822bd1 to 4582c16 Compare January 13, 2026 16:54
@solrbot solrbot force-pushed the renovate/google.errorprone branch from 85081c6 to 450f114 Compare January 27, 2026 17:19
@solrbot solrbot force-pushed the renovate/google.errorprone branch from 8d6e68e to 4d88a6c Compare February 10, 2026 09:12
@solrbot solrbot changed the title Update google.errorprone to v2.46.0 Update google.errorprone to v2.47.0 Feb 10, 2026
@solrbot solrbot force-pushed the renovate/google.errorprone branch from f0e4be2 to ef7fbfd Compare March 5, 2026 22:37
@solrbot solrbot force-pushed the renovate/google.errorprone branch from 4ef8ace to 42b1297 Compare April 21, 2026 00:43
@solrbot solrbot changed the title Update google.errorprone to v2.47.0 Update google.errorprone to v2.49.0 Apr 21, 2026
@solrbot solrbot force-pushed the renovate/google.errorprone branch 4 times, most recently from 833711b to b06cbd9 Compare April 28, 2026 11:29
@solrbot solrbot force-pushed the renovate/google.errorprone branch from 96db9a7 to 8c40ff0 Compare May 4, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant