Skip to content

Update error-prone monorepo to v2.49.0#3285

Merged
hazendaz merged 1 commit intomasterfrom
renovate/error-prone-monorepo
Apr 12, 2026
Merged

Update error-prone monorepo to v2.49.0#3285
hazendaz merged 1 commit intomasterfrom
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: (UTC)

  • 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.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 46.217%. remained the same — renovate/error-prone-monorepo into master

@hazendaz hazendaz merged commit 9f57766 into master Apr 12, 2026
19 checks passed
@renovate renovate bot deleted the renovate/error-prone-monorepo branch April 12, 2026 03:36
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.

2 participants