Skip to content

Bump error-prone monorepo to v2.49.0#1822

Merged
uhafner merged 4 commits intomainfrom
renovate/error-prone-monorepo
Apr 12, 2026
Merged

Bump error-prone monorepo to v2.49.0#1822
uhafner merged 4 commits 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

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.

@renovate renovate bot added the dependencies Update of dependencies label Apr 7, 2026
@github-actions github-actions bot requested a review from uhafner April 7, 2026 12:48
@uhafner
Copy link
Copy Markdown
Owner

uhafner commented Apr 8, 2026

Requires uber/NullAway#1514 to be merged and released first

@uhafner uhafner marked this pull request as draft April 8, 2026 09:14
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Apr 11, 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.

@github-actions
Copy link
Copy Markdown

☀️   Quality Monitor

Tests

   JUnit   Unit Tests: ✅ successful — 87 passed, 2 skipped
   ⛔   Architecture Tests: ✅ successful — 17 passed, 2 skipped

Coverage for New Code

   〰️   Line Coverage: 100.00% — perfect 🎉
   ➰   Branch Coverage: 100.00% — perfect 🎉
   PIT   Mutation Coverage: 100.00% — perfect 🎉
   💪   Test Strength: 100.00% — perfect 🎉

Coverage for Whole Project

   〰️   Line Coverage: 91.57% — 65 missed lines
   ➰   Branch Coverage: 90.45% — 21 missed branches
   PIT   Mutation Coverage: 91.61% — 26 survived mutations
   💪   Test Strength: 94.67% — 16 survived mutations in tested code

Style

   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   ☕   Java Compiler: No warnings

Bugs

   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: No bugs

API Problems

   🚫   Revapi: No warnings

Vulnerabilities

   🛡️   OWASP Dependency Check: No vulnerabilities

Software Metrics

   🌀   Cyclomatic Complexity: 384 (total)
   💭   Cognitive Complexity: 174 (total)
   ➿   N-Path Complexity: 348 (total)
   📏   Lines of Code: 4412 (total)
   📝   Non Commenting Source Statements: 1274 (total)
   🔗   Class Cohesion: 71.43% (maximum)
   ⚖️   Weight of Class: 100.00% (maximum)

🚦 Quality Gates

Overall Status: ✅ SUCCESS

✅ Passed Gates

  • ✅ Overall Tests Success Rate: 100.00 >= 100.00
  • ✅ Line Coverage in New Code: 100.00 >= 90.00
  • ✅ Branch Coverage in New Code: 100.00 >= 90.00
  • ✅ Mutation Coverage in New Code: 100.00 >= 90.00
  • ✅ Potential Bugs in Whole Project: 0.00 <= 0.00
  • ✅ Style Violation in Whole Project: 0.00 <= 0.00

Created by Quality Monitor v4.10.0 (#be1b382). More details are shown in the GitHub Checks Result.

@uhafner uhafner marked this pull request as ready for review April 12, 2026 12:01
@uhafner uhafner merged commit 501fa60 into main Apr 12, 2026
16 checks passed
@uhafner uhafner deleted the renovate/error-prone-monorepo branch April 12, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update of dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant