Skip to content

Bump com.google.errorprone:error_prone_core from 2.51.0 to 2.52.0 - #18

Merged
damianmalczewski merged 1 commit into
mainfrom
dependabot/gradle/main/com.google.errorprone-error_prone_core-2.52.0
Nov 7, 2026
Merged

damianmalczewski merged 1 commit into
mainfrom
dependabot/gradle/main/com.google.errorprone-error_prone_core-2.52.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Bumps com.google.errorprone:error_prone_core from 2.51.0 to 2.52.0.

Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.52.0

New checks:

  • AlmostExhaustiveTestParameter: Prefer an exhaustive @TestParameter with an assumption to filter out specific enum values, so newly added enum values are automatically tested (disabled by default).
  • SingleTestParameter: Suggest @TestParameter on the parameter instead of @TestParameters when there is only one test parameter, replacing PreferTestParameter (disabled by default).
  • SingleValueTestParameter: Suggest replacing a @TestParameter that has only a single value with a local variable in the test method (disabled by default).
  • ValueClassEquals: Require non-record concrete value classes to explicitly override equals and hashCode.

Other changes:

  • LoopToTestParameter: Changed severity to SUGGESTION (disabled by default).
  • DistinctVarargsChecker: Allow duplicate arguments to Iterables.concat (#6239) and Mockito argument matchers such as any() (#6240).
  • UnusedVariable: Treat fields accessed via MethodHandles.Lookup (VarHandle/getter/setter lookups) or Atomic*FieldUpdater.newUpdater as used.
  • StringBuilderInitWithChar / StringBuffer refactoring: Refactor StringBuffer to StringBuilder even when used with Matcher.appendReplacement and appendTail (when supported by the target JDK or Android minSdkVersion).
  • CompileTimeConstant: Treat record and interface fields and field accesses on compile-time constants (compileTimeConstant.compileTimeConstantField) as compile-time constants.
  • ValueClassIdentity / ReferenceEquality: Handle JEP 401 value classes.
  • FieldCanBeFinal / ThreadSafety: Improve compile-time performance on large classes and deep type hierarchies, and update SafeRE to 1.1.0 (#6230).
  • Added ClassName for caching resolved ClassSymbol, Type, and binary Name lookups across a compilation.

Closed issues: #5964, #6165, #6230, #6239, #6240, #6275

Full changelog: google/error-prone@v2.51.0...v2.52.0

Commits
  • 1e32314 Release Error Prone 2.52.0
  • ea4c6df Avoid calling SuggestedFixes.compilesWithFix in FieldCanBeFinal
  • 04640b8 Update SafeRE to 1.1.0
  • 6034e09 Bump the dependencies group across 1 directory with 8 updates
  • 3cc36d5 Bump actions/setup-java from 6.0.1 to 6.1.0 in the github-actions group (#6270)
  • 0202185 Migrate class and annotation name constants in Error Prone to ClassName.
  • cdf0d94 Add ASTHelpers.overridesObjectEquals and overridesObjectHashCode helpers.
  • 208015e Update MemoizeConstantVisitorStateLookups to suggest ClassName.
  • e1a8a3e Add ValueClassEquals to require non-record concrete value classes to over...
  • 2c6baed Handle JEP 401 value classes in ValueClassIdentity and ReferenceEquality
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 7, 2026
@codecov

codecov Bot commented Nov 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.51.0 to 2.52.0.
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.51.0...v2.52.0)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_core
  dependency-version: 2.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/gradle/main/com.google.errorprone-error_prone_core-2.52.0 branch from 815b390 to dbcde11 Compare November 7, 2026 11:46
@damianmalczewski
damianmalczewski merged commit 6ad5cd4 into main Nov 7, 2026
5 checks passed
@damianmalczewski
damianmalczewski deleted the dependabot/gradle/main/com.google.errorprone-error_prone_core-2.52.0 branch November 7, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant