You are viewing a plain text version of this content. The canonical link for it is here.
Posted to robots@logging.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2023/10/19 10:33:59 UTC

[PR] Bump com.google.errorprone:error_prone_core from 2.7.1 to 2.23.0 (logging-log4j2)

dependabot[bot] opened a new pull request, #1871:
URL: https://github.com/apache/logging-log4j2/pull/1871

   Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.7.1 to 2.23.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.23.0</h2>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/DuplicateDateFormatField"><code>DuplicateDateFormatField</code></a></li>
   <li><a href="https://errorprone.info/bugpattern/NonFinalStaticField"><code>NonFinalStaticField</code></a></li>
   <li><a href="https://errorprone.info/bugpattern/StringCharset"><code>StringCharset</code></a></li>
   <li><a href="https://errorprone.info/bugpattern/StringFormatWithLiteral"><code>StringFormatWithLiteral</code></a></li>
   <li><a href="https://errorprone.info/bugpattern/SuperEqualsIsObjectEquals"><code>SuperEqualsIsObjectEquals</code></a></li>
   </ul>
   <p>Bug fixes and improvements: <a href="https://redirect.github.com/google/error-prone/issues/3897">#3897</a>, <a href="https://redirect.github.com/google/error-prone/issues/4114">#4114</a>, <a href="https://redirect.github.com/google/error-prone/issues/4123">#4123</a></p>
   <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.22.0...v2.23.0">https://github.com/google/error-prone/compare/v2.22.0...v2.23.0</a></p>
   <h2>Error Prone 2.22.0</h2>
   <p>We are considering raising the minimum supported JDK from JDK 11 to JDK 17 in a future release of Error Prone, see <a href="https://redirect.github.com/google/error-prone/issues/3803">#3803</a>. Note that using a newer JDK version to run javac during the build doesn't prevent building code that is deployed to earlier versions, for example it's supported to use the JDK 17 javac and pass <code>--release 11</code> to compile Java 11 code that is deployed to a JDK 11 runtime. If you have feedback, please comment on <a href="https://redirect.github.com/google/error-prone/issues/3803">#3803</a>.</p>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/ClosingStandardOutputStreams"><code>ClosingStandardOutputStreams</code></a>: Prevents accidentally closing <code>System.{out,err}</code> with try-with-resources</li>
   <li><a href="https://errorprone.info/bugpattern/TruthContainsExactlyElementsInUsage"><code>TruthContainsExactlyElementsInUsage</code></a>: <code>containsExactly</code> is preferred over <code>containsExactlyElementsIn</code> when creating new iterables</li>
   <li><a href="https://errorprone.info/bugpattern/UnnecessaryAsync"><code>UnnecessaryAsync</code></a>: detects unnecessary use of async primitives in local (and hence single-threaded) scopes</li>
   <li><a href="https://errorprone.info/bugpattern/ReturnAtTheEndOfVoidFunction"><code>ReturnAtTheEndOfVoidFunction</code></a>: detects unnecessary <code>return</code> statements at the end of <code>void</code> functions</li>
   <li><a href="https://errorprone.info/bugpattern/MultimapKeys"><code>MultimapKeys</code></a>: Suggests using <code>keySet()</code> instead of iterating over <code>Multimap.keys()</code>, which does not collapse duplicates</li>
   </ul>
   <p>Bug fixes and improvements:</p>
   <ul>
   <li>Don't complain about literal IP addresses in <code>AddressSelection</code> (<a href="https://github.com/google/error-prone/commit/44b65527debbc57892f21ca3ba458b16771e423e">https://github.com/google/error-prone/commit/44b65527debbc57892f21ca3ba458b16771e423e</a>)</li>
   <li>Prevent SuggestedFixes#renameMethod from modifying return type declaration (<a href="https://redirect.github.com/google/error-prone/issues/4043">#4043</a>)</li>
   <li>Fix UnusedVariable false positives for private record parameters (<a href="https://redirect.github.com/google/error-prone/issues/2713">#2713</a>)</li>
   <li>When running in conservative mode, no longer assume that implementations of <code>Map.get</code>, etc. return <code>null</code> (<a href="https://redirect.github.com/google/error-prone/issues/2910">#2910</a>)</li>
   <li>CanIgnoreReturnValueSuggester: Support additional exempting method annotations (<a href="https://redirect.github.com/google/error-prone/issues/4009">#4009</a>)</li>
   <li>UnusedVariable: exclude junit5's <code>@RegisterExtension</code> (<a href="https://redirect.github.com/google/error-prone/issues/3892">#3892</a>)</li>
   <li>Support running all available patch checks (<a href="https://redirect.github.com/google/error-prone/issues/947">#947</a>)</li>
   <li>Upgrade java-diff-utils 4.0 -&gt; 4.12 (<a href="https://redirect.github.com/google/error-prone/issues/4081">#4081</a>)</li>
   <li>Flag unused Refaster template parameters (<a href="https://redirect.github.com/google/error-prone/issues/4060">#4060</a>)</li>
   <li>Support <code>@SuppressWarnings(&quot;all&quot;)</code> (<a href="https://redirect.github.com/google/error-prone/issues/4065">#4065</a>)</li>
   <li>Prevent Refaster <code>UMemberSelect</code> from matching method parameters (<a href="https://redirect.github.com/google/error-prone/issues/2456">#2456</a>)</li>
   <li>MissingDefault : Don't require <code>// fall out</code> comments on expression switches (<a href="https://redirect.github.com/google/error-prone/issues/2709">#2709</a>)</li>
   <li>Skip UnnecessaryLambda findings for usages in enhanced for loops (<a href="https://redirect.github.com/google/error-prone/issues/2518">#2518</a>)</li>
   <li>Fix bug where nested MissingBraces violations' suggested fixes result in broken code (<a href="https://redirect.github.com/google/error-prone/issues/3797">#3797</a>)</li>
   <li>Add support for specifying <code>exemptPrefixes</code>/<code>exemptNames</code> for UnusedVariable via flags (<a href="https://redirect.github.com/google/error-prone/issues/2753">#2753</a>)</li>
   <li>UnusedMethod: Added exempting variable annotations (<a href="https://redirect.github.com/google/error-prone/issues/2881">#2881</a>)</li>
   </ul>
   <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.21.1...v2.22.0">https://github.com/google/error-prone/compare/v2.21.1...v2.22.0</a></p>
   <h2>Error Prone 2.21.1</h2>
   <p>Changes:</p>
   <ul>
   <li>Handle overlapping ranges in suppressedRegions (fixes <a href="https://redirect.github.com/google/error-prone/issues/4040">#4040</a>)</li>
   <li>Add <a href="https://errorprone.info/bugpattern/AddressSelection"><code>AddressSelection </code></a> to discourage APIs that convert a hostname to a single address</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/google/error-prone/commit/ff5e5f7a519f40b10d2b24ca5fccfc70dba3d94f"><code>ff5e5f7</code></a> Release Error Prone 2.23.0</li>
   <li><a href="https://github.com/google/error-prone/commit/3047300568e312c574a60db608622730abcce9c6"><code>3047300</code></a> Suggest <code>this == obj</code> instead of <code>super.equals(obj)</code> when the two are equival...</li>
   <li><a href="https://github.com/google/error-prone/commit/ed01de08653fe1b065cb2dbaba27563599e93606"><code>ed01de0</code></a> Tweak the wording of <code>summary</code> in <code>FloggerRedundantIsEnabled</code>, because `[LEV...</li>
   <li><a href="https://github.com/google/error-prone/commit/159ae7f9c55bf4030df6e0ca33bc5e75745a8bcc"><code>159ae7f</code></a> Remove <code>volatile</code> when finalling <code>static</code> fields.</li>
   <li><a href="https://github.com/google/error-prone/commit/e8298e49bfe37e0e24c89e913ea77d48996e42fc"><code>e8298e4</code></a> Automatic code cleanup.</li>
   <li><a href="https://github.com/google/error-prone/commit/53f24d429140abb642f02245cfd4ec55e721137c"><code>53f24d4</code></a> java.util.Iterable -&gt; lang</li>
   <li><a href="https://github.com/google/error-prone/commit/1c62a566dccfebcdd934f547d4713ef454cc29f6"><code>1c62a56</code></a> Rip out the YetMore flag.</li>
   <li><a href="https://github.com/google/error-prone/commit/8d62eb6d34b9f294c8627fe2f28a2e158f64a4b1"><code>8d62eb6</code></a> Don't flag things which probably shouldn't be static anyway.</li>
   <li><a href="https://github.com/google/error-prone/commit/3cdff253377328d4699b8601d7bb181852daa553"><code>3cdff25</code></a> Remove the deprecated ErrorProneFlags methods.</li>
   <li><a href="https://github.com/google/error-prone/commit/90baca03d1c2193d0c31d2877bedbe7b2d7f5360"><code>90baca0</code></a> Include <code>javax.inject</code> in 'with-dependencies' jars</li>
   <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.7.1...v2.23.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=maven&previous-version=2.7.1&new-version=2.23.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>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: robots-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.google.errorprone:error_prone_core from 2.7.1 to 2.23.0 (logging-log4j2)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #1871: Bump com.google.errorprone:error_prone_core from 2.7.1 to 2.23.0
URL: https://github.com/apache/logging-log4j2/pull/1871


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.google.errorprone:error_prone_core from 2.7.1 to 2.23.0 (logging-log4j2)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #1871:
URL: https://github.com/apache/logging-log4j2/pull/1871#issuecomment-1772975872

   Changes are applied by CI in 8c63602dd864fb63970b8ba8f851697280a3a444


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.google.errorprone:error_prone_core from 2.7.1 to 2.23.0 (logging-log4j2)

Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz commented on PR #1871:
URL: https://github.com/apache/logging-log4j2/pull/1871#issuecomment-1772851166

   The `merge-dependabot` workflow was not triggered, @dependabot rebase.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.google.errorprone:error_prone_core from 2.7.1 to 2.23.0 (logging-log4j2)

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #1871:
URL: https://github.com/apache/logging-log4j2/pull/1871#issuecomment-1772976018

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: robots-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Bump com.google.errorprone:error_prone_core from 2.7.1 to 2.23.0 (logging-log4j2)

Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz commented on PR #1871:
URL: https://github.com/apache/logging-log4j2/pull/1871#issuecomment-1771598141

   @dependabot rebase


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org