Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 21, 2025

Bumps com.google.errorprone:error_prone_core from 2.37.0 to 2.38.0.

Release notes

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

Error Prone 2.38.0

New checks:

Closed issues: #4924, #4897, #4995

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

Commits
  • a07bd3e Release Error Prone 2.38.0
  • 09fd394 Fix typo in NullTernary.md
  • 4171fd7 FindIdentifiers: find binding variables declared by enclosing or earlier if...
  • d78f515 Audit each use of ElementKind.LOCAL_VARIABLE, and add BINDING_VARIABLE if app...
  • 6f94a97 Tolerate default cases in switches as being present to handle version skew
  • 0223abb Support @LenientFormatString in LenientFormatStringValidation.
  • cb7dfaf Remove the Side enum.
  • d64c9ce Promote error prone check TestExceptionChecker to ERROR within Google (blaze ...
  • c0ce475 Move TargetType to a top-level class alongside ASTHelpers.
  • 90b8efb Allow binding to BINDING_VARIABLEs in GuardedByBinder.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.37.0 to 2.38.0.
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.37.0...v2.38.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 21, 2025
@rodaine rodaine merged commit 74377de into main Apr 21, 2025
7 checks passed
@rodaine rodaine deleted the dependabot/gradle/com.google.errorprone-error_prone_core-2.38.0 branch April 21, 2025 18:05
smaye81 pushed a commit that referenced this pull request Apr 22, 2025
Bumps
[com.google.errorprone:error_prone_core](https://github.com/google/error-prone)
from 2.37.0 to 2.38.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_core's
releases</a>.</em></p>
<blockquote>
<h2>Error Prone 2.38.0</h2>
<p>New checks:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/AddNullMarkedToPackageInfo"><code>AddNullMarkedToPackageInfo</code></a>:
adds <a
href="https://jspecify.dev/docs/api/org/jspecify/annotations/NullMarked.html"><code>@org.jspecify.annotations.NullMarked</code></a>
annotation to package-info files</li>
<li><a
href="https://errorprone.info/bugpattern/IntLiteralCast"><code>IntLiteralCast</code></a>:
Suggests a literal of the desired type instead of casting an int literal
to a long, float, or double</li>
<li><a
href="https://errorprone.info/bugpattern/MisleadingEmptyVarargs"><code>MisleadingEmptyVarargs</code></a>:
Discourages calling varargs methods that expect at least one argument
with no arguments, like Mockito's <code>thenThrow</code></li>
<li><a
href="https://errorprone.info/bugpattern/PreconditionsExpensiveString"><code>PreconditionsExpensiveString</code></a>:
Discourages expensive string formatting in Guava
<code>Preconditions</code> checks</li>
<li><a
href="https://errorprone.info/bugpattern/SelfSet"><code>SelfSet</code></a>:
Detects mistakes like <code>proto.setFoo(proto.getFoo())</code></li>
<li><a
href="https://errorprone.info/bugpattern/UnnecessaryCopy"><code>UnnecessaryCopy</code></a>:
detect unnecessary copies of proto Lists and Maps.</li>
</ul>
<p>Closed issues: <a
href="https://redirect.github.com/google/error-prone/issues/4924">#4924</a>,
<a
href="https://redirect.github.com/google/error-prone/issues/4897">#4897</a>,
<a
href="https://redirect.github.com/google/error-prone/issues/4995">#4995</a></p>
<p>Full changelog: <a
href="https://github.com/google/error-prone/compare/v2.37.0...v2.38.0">https://github.com/google/error-prone/compare/v2.37.0...v2.38.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/error-prone/commit/a07bd3e24904d287bfb5a4c0cc01552ff5589d81"><code>a07bd3e</code></a>
Release Error Prone 2.38.0</li>
<li><a
href="https://github.com/google/error-prone/commit/09fd394fb3eb350ca3785ee28b253add2ef7bbf3"><code>09fd394</code></a>
Fix typo in NullTernary.md</li>
<li><a
href="https://github.com/google/error-prone/commit/4171fd71ceed57e27ac63a6d3180ff704b340dce"><code>4171fd7</code></a>
FindIdentifiers: find binding variables declared by enclosing or earlier
<code>if</code>...</li>
<li><a
href="https://github.com/google/error-prone/commit/d78f515d82c884f7c2ea4f936695184f7fd5e1aa"><code>d78f515</code></a>
Audit each use of ElementKind.LOCAL_VARIABLE, and add BINDING_VARIABLE
if app...</li>
<li><a
href="https://github.com/google/error-prone/commit/6f94a97b8edd9d1d468151fa8dc907e6bef23634"><code>6f94a97</code></a>
Tolerate default cases in switches as being present to handle version
skew</li>
<li><a
href="https://github.com/google/error-prone/commit/0223abb5ed30268e6519fe8928acc4e03357349d"><code>0223abb</code></a>
Support <code>@LenientFormatString</code> in
<code>LenientFormatStringValidation</code>.</li>
<li><a
href="https://github.com/google/error-prone/commit/cb7dfafdca02d5f0a2b3e6b838a8a3efc3e716d3"><code>cb7dfaf</code></a>
Remove the <code>Side</code> enum.</li>
<li><a
href="https://github.com/google/error-prone/commit/d64c9cee1802f647e086e741df2df13f785b0170"><code>d64c9ce</code></a>
Promote error prone check TestExceptionChecker to ERROR within Google
(blaze ...</li>
<li><a
href="https://github.com/google/error-prone/commit/c0ce4751516d17934436533398d6a5fa250c5867"><code>c0ce475</code></a>
Move <code>TargetType</code> to a top-level class alongside
<code>ASTHelpers</code>.</li>
<li><a
href="https://github.com/google/error-prone/commit/90b8efb3b7f46d95451cd3097537b8089a07af0f"><code>90b8efb</code></a>
Allow binding to BINDING_VARIABLEs in GuardedByBinder.</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.37.0...v2.38.0">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=gradle&previous-version=2.37.0&new-version=2.38.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

2 participants