Skip to content

Update dependency com.google.errorprone:error_prone_core to v2.49.0#127

Merged
thomaskirz merged 4 commits into
mainfrom
renovate/error-prone-monorepo
May 9, 2026
Merged

Update dependency com.google.errorprone:error_prone_core to v2.49.0#127
thomaskirz merged 4 commits into
mainfrom
renovate/error-prone-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 26, 2026

This PR contains the following updates:

Package Change Age Confidence
com.google.errorprone:error_prone_core (source) 2.38.02.49.0 age confidence

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

v2.41.0: Error Prone 2.41.0

New checks:

  • EffectivelyPrivate: Detect declarations that have public or protected modifiers, but are effectively private

Changes:

  • Skip BooleanLiteral findings if the target type is boxed (#​5134)

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

v2.40.0: Error Prone 2.40.0

Changes:

Full changelog: google/error-prone@v2.39.0...v2.40.0

v2.39.0: Error Prone 2.39.0

Changes:

  • Temporarily downgrade to Guava 33.4.0 (#​5108)

Checks:

  • BooleanLiteral: Prefer true to Boolean.TRUE
  • ExpensiveLenientFormatString: Renamed from PreconditionsExpensiveString, detects unnecessary calls to String.format in the arguments of lenient formatting methods.
  • UnnecessaryQualifier: Detects @Qualifier or @BindingAnnotation annotations that have no effect, and can be removed

Issues: #​4996, #​5045

Full changelog: google/error-prone@v2.38.0...v2.39.0


Configuration

📅 Schedule: (in timezone America/Toronto)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • 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.

@renovate renovate Bot force-pushed the renovate/error-prone-monorepo branch from a9adc73 to eddc81f Compare February 27, 2026 16:43
@renovate renovate Bot changed the title fix(deps): update dependency com.google.errorprone:error_prone_core to v2.47.0 fix(deps): update dependency com.google.errorprone:error_prone_core to v2.48.0 Feb 27, 2026
@renovate renovate Bot force-pushed the renovate/error-prone-monorepo branch from eddc81f to 342af22 Compare April 1, 2026 19:00
@renovate renovate Bot changed the title fix(deps): update dependency com.google.errorprone:error_prone_core to v2.48.0 fix(deps): update dependency com.google.errorprone:error_prone_core to v2.49.0 Apr 7, 2026
@renovate renovate Bot force-pushed the renovate/error-prone-monorepo branch from 342af22 to 01859b2 Compare April 7, 2026 13:00
@renovate renovate Bot changed the title fix(deps): update dependency com.google.errorprone:error_prone_core to v2.49.0 Update dependency com.google.errorprone:error_prone_core to v2.49.0 Apr 8, 2026
@renovate renovate Bot force-pushed the renovate/error-prone-monorepo branch from 01859b2 to f27f4d4 Compare April 21, 2026 20:12
@renovate renovate Bot force-pushed the renovate/error-prone-monorepo branch from f27f4d4 to c6f1cb0 Compare May 9, 2026 16:48
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 9, 2026

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.

@thomaskirz thomaskirz merged commit 2a7d6bc into main May 9, 2026
1 check passed
@thomaskirz thomaskirz deleted the renovate/error-prone-monorepo branch May 9, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant