You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2024/03/22 06:29:03 UTC

[PR] build(deps): bump com.google.errorprone:error_prone_annotations from 2.25.0 to 2.26.1

dependabot[bot] opened a new pull request, #1461:
URL: https://github.com/apache/plc4x/pull/1461

   Bumps [com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone) from 2.25.0 to 2.26.1.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_annotations's releases</a>.</em></p>
   <blockquote>
   <h2>Error Prone 2.26.1</h2>
   <p>This release contains all of the changes in <a href="https://github.com/google/error-prone/releases/tag/v2.26.0">2.26.0</a>, plus a bug fix to the module name of the annotations artifact <code>com.google.errorprone.annotations</code> (<a href="https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16">https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16</a>)</p>
   <p>Starting in <code>2.26.x</code>, the 'annotations' artifact now includes a <code>module-info.java</code> for Java Platform Module System support, thanks to <a href="https://github.com/sgammon"><code>@​sgammon</code></a> in <a href="https://redirect.github.com/google/error-prone/issues/4311">#4311</a>.</p>
   <hr />
   <p><strong>Compatibility note:</strong></p>
   <p>Now that the annotations artifact explicit declares a module instead of relying on <code>Automatic-Module-Name</code>, JDK 17 and newer perform stricter module encapsulation checks. Modularized libraries depending on Error Prone annotations <code>2.26.x</code> and newer may see errors like:</p>
   <pre><code>error: package com.google.errorprone.annotations is not visible
   import com.google.errorprone.annotations.CheckReturnValue;
                               ^
     (package com.google.errorprone.annotations is declared in module com.google.errorprone.annotations, but module ... does not read it)
   </code></pre>
   <p>The fix is to add <code>requires static</code> to the module declaration of modularized libraries that depend on Error Prone annotations:</p>
   <pre lang="diff"><code> module your.module {
   ...
   +  requires static com.google.errorprone.annotations;
    }
   </code></pre>
   <hr />
   <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.26.0...v2.26.1">https://github.com/google/error-prone/compare/v2.26.0...v2.26.1</a></p>
   <h2>Error Prone 2.26.0</h2>
   <p><strong>Warning: This release contains a bug, please use <a href="https://github.com/google/error-prone/releases/tag/v2.26.1">2.26.1</a> or newer instead.</strong></p>
   <p>Changes:</p>
   <ul>
   <li>The 'annotations' artifact now includes a <code>module-info.java</code> for Java Platform Module System support, thanks to <a href="https://github.com/sgammon"><code>@​sgammon</code></a> in <a href="https://redirect.github.com/google/error-prone/issues/4311">#4311</a>.</li>
   <li>Disabled checks passed to <code>-XepPatchChecks</code> are now ignored, instead of causing a crash. Thanks to <a href="https://github.com/oxkitsune"><code>@​oxkitsune</code></a> in <a href="https://redirect.github.com/google/error-prone/issues/4028">#4028</a>.</li>
   </ul>
   <p>New checks:</p>
   <ul>
   <li><a href="https://errorprone.info/bugpattern/SystemConsoleNull"><code>SystemConsoleNull</code></a>: Null-checking <code>System.console()</code> is not a reliable way to detect if the console is connected to a terminal.</li>
   <li><a href="https://errorprone.info/bugpattern/EnumOrdinal"><code>EnumOrdinal</code></a>: Discourage uses of <code>Enum.ordinal()</code></li>
   </ul>
   <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/2649">#2649</a>, <a href="https://redirect.github.com/google/error-prone/issues/3908">#3908</a>, <a href="https://redirect.github.com/google/error-prone/issues/4028">#4028</a>, <a href="https://redirect.github.com/google/error-prone/issues/4311">#4311</a>, <a href="https://redirect.github.com/google/error-prone/issues/4314">#4314</a></p>
   <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.25.0...v2.26.0">https://github.com/google/error-prone/compare/v2.25.0...v2.26.0</a></p>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/google/error-prone/commit/b38057250a8a035d6b3856098145aeab1df1149f"><code>b380572</code></a> Release Error Prone 2.26.1</li>
   <li><a href="https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16"><code>9d99ee7</code></a> fix: module name → <code>com.google.errorprone.annotations</code></li>
   <li><a href="https://github.com/google/error-prone/commit/ea5ef6dd29022683eced044a2b0b3fa91d8b3200"><code>ea5ef6d</code></a> Add the 'compile' goal for 'compile-java9'</li>
   <li><a href="https://github.com/google/error-prone/commit/0e9536471b6b8e7e03d29584eceb8a0e0f3240d7"><code>0e95364</code></a> feat: add jpms definition for <code>annotations</code></li>
   <li><a href="https://github.com/google/error-prone/commit/9da2d5580e3939f97ef2e91278b330a56b5ed1fe"><code>9da2d55</code></a> Ignore disabled checks passed to <code>-XepPatchChecks</code></li>
   <li><a href="https://github.com/google/error-prone/commit/3292632ee5f2776b57171bedef6bdb1c4c222345"><code>3292632</code></a> Increase year range on <code>Date</code> usages.</li>
   <li><a href="https://github.com/google/error-prone/commit/ad513d5a82dc803dcc5179ffcdf7073d43430623"><code>ad513d5</code></a> Recommend using <code>var</code> for <code>var unused = ...;</code> and `var thrown = assertThrows(...</li>
   <li><a href="https://github.com/google/error-prone/commit/af37d35d208d37e9658038127d35afdd41325da4"><code>af37d35</code></a> ImpossibleNullComparison: emit empty fixes.</li>
   <li><a href="https://github.com/google/error-prone/commit/297019c6706c8c27a58717f0a4269abf92af8de4"><code>297019c</code></a> Fix some mistakes in the EnumOrdinal examples</li>
   <li><a href="https://github.com/google/error-prone/commit/f3dbb094f5105fa1f5a17c69d50a6663b414a6d5"><code>f3dbb09</code></a> Move the EnumOrdinal.md doc to the right place (it got overwritten by automat...</li>
   <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.25.0...v2.26.1">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_annotations&package-manager=maven&previous-version=2.25.0&new-version=2.26.1)](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: commits-unsubscribe@plc4x.apache.org

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


Re: [PR] build(deps): bump com.google.errorprone:error_prone_annotations from 2.25.0 to 2.26.1

Posted by "sruehl (via GitHub)" <gi...@apache.org>.
sruehl merged PR #1461:
URL: https://github.com/apache/plc4x/pull/1461


-- 
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: dev-unsubscribe@plc4x.apache.org

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