Skip to content

Update error-prone monorepo to v2.49.0#485

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/error-prone-monorepo
Apr 7, 2026
Merged

Update error-prone monorepo to v2.49.0#485
renovate[bot] merged 1 commit intomainfrom
renovate/error-prone-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 7, 2026

This PR contains the following updates:

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

Release Notes

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

v2.49.0: Error Prone 2.49.0

Compare Source

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 renovate bot enabled auto-merge (squash) April 7, 2026 12:29
@renovate renovate bot merged commit 440c080 into main Apr 7, 2026
2 checks passed
@renovate renovate bot deleted the renovate/error-prone-monorepo branch April 7, 2026 16:27
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.

0 participants