You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/01 11:17:38 UTC

[GitHub] [netbeans-nbpackage] dependabot[bot] opened a new pull request, #3: Bump picocli from 4.6.1 to 4.7.0

dependabot[bot] opened a new pull request, #3:
URL: https://github.com/apache/netbeans-nbpackage/pull/3

   Bumps [picocli](https://github.com/remkop/picocli) from 4.6.1 to 4.7.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/remkop/picocli/releases">picocli's releases</a>.</em></p>
   <blockquote>
   <h2>Picocli 4.7.0</h2>
   <h1><!-- raw HTML omitted --><!-- raw HTML omitted --> Picocli 4.7.0</h1>
   <p>The picocli community is pleased to announce picocli 4.7.0.</p>
   <p>This release includes bugfixes and enhancements.</p>
   <p>A potentially breaking change is that the parser now treats <code>char[]</code> as a single-value type.</p>
   <p>From this release, applications can programmatically set the trace level, and use tracing in custom components.</p>
   <p>Applications can improve startup time by setting system property <code>picocli.disable.closures</code> to <code>true</code> to disable support for <a href="https://picocli.info/#_closures_in_annotations">closures in annotations</a>.</p>
   <p>Many more fixes and enhancements, see the sections below for more details.</p>
   <p>This is the seventy-ninth public release.
   Picocli follows <a href="https://semver.org/">semantic versioning</a>.
   Artifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96).</p>
   <h2><!-- raw HTML omitted --><!-- raw HTML omitted --> Table of Contents</h2>
   <ul>
   <li><a href="%5B#4%5D(https://github-redirect.dependabot.com/remkop/picocli/issues/4).7.0-new">New and noteworthy</a></li>
   <li><a href="%5B#4%5D(https://github-redirect.dependabot.com/remkop/picocli/issues/4).7.0-fixes">Fixed issues</a></li>
   <li><a href="%5B#4%5D(https://github-redirect.dependabot.com/remkop/picocli/issues/4).7.0-deprecated">Deprecations</a></li>
   <li><a href="%5B#4%5D(https://github-redirect.dependabot.com/remkop/picocli/issues/4).7.0-breaking-changes">Potential breaking changes</a></li>
   </ul>
   <h2><!-- raw HTML omitted --><!-- raw HTML omitted --> New and Noteworthy</h2>
   <h3>Tracing API</h3>
   <p>From picocli 4.7.0, applications can programmatically set the trace level, and use tracing in custom components.</p>
   <p>In addition to setting system property <code>picocli.trace</code>, applications can now change the trace level via the <code>Tracer::setLevel</code> method. For example:</p>
   <pre lang="java"><code>CommandLine.tracer().setLevel(CommandLine.TraceLevel.INFO);
   </code></pre>
   <p>The new public method <code>CommandLine.tracer()</code> returns the singleton <code>Tracer</code> object that is used internally by picocli, and can also be used by custom component implementations to do tracing. For example:</p>
   <pre lang="java"><code>class MyIntConverter implements ITypeConverter&lt;Integer&gt; {
       public Integer convert(String value) {
           try {
               return Integer.parseInt(value);
           } catch (NumberFormatException ex) {
               CommandLine.tracer().info(
                       &quot;Could not convert %s to Integer, returning default value -1&quot;, value);
               return -1;
           }
       }
   }
   &lt;/tr&gt;&lt;/table&gt; 
   </code></pre>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/remkop/picocli/blob/main/RELEASE-NOTES.md">picocli's changelog</a>.</em></p>
   <blockquote>
   <h1><!-- raw HTML omitted --><!-- raw HTML omitted --> Picocli 4.7.0</h1>
   <p>The picocli community is pleased to announce picocli 4.7.0.</p>
   <p>This release includes bugfixes and enhancements.</p>
   <p>A potentially breaking change is that the parser now treats <code>char[]</code> as a single-value type.</p>
   <p>From this release, applications can programmatically set the trace level, and use tracing in custom components.</p>
   <p>Applications can improve startup time by setting system property <code>picocli.disable.closures</code> to <code>true</code> to disable support for <a href="https://picocli.info/#_closures_in_annotations">closures in annotations</a>.</p>
   <p>Many more fixes and enhancements, see the sections below for more details.</p>
   <p>This is the seventy-ninth public release.
   Picocli follows <a href="https://semver.org/">semantic versioning</a>.
   Artifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96).</p>
   <h2><!-- raw HTML omitted --><!-- raw HTML omitted --> Table of Contents</h2>
   <ul>
   <li><a href="%5B#4%5D(https://github-redirect.dependabot.com/remkop/picocli/issues/4).7.0-new">New and noteworthy</a></li>
   <li><a href="%5B#4%5D(https://github-redirect.dependabot.com/remkop/picocli/issues/4).7.0-fixes">Fixed issues</a></li>
   <li><a href="%5B#4%5D(https://github-redirect.dependabot.com/remkop/picocli/issues/4).7.0-deprecated">Deprecations</a></li>
   <li><a href="%5B#4%5D(https://github-redirect.dependabot.com/remkop/picocli/issues/4).7.0-breaking-changes">Potential breaking changes</a></li>
   </ul>
   <h2><!-- raw HTML omitted --><!-- raw HTML omitted --> New and Noteworthy</h2>
   <h3>Tracing API</h3>
   <p>From picocli 4.7.0, applications can programmatically set the trace level, and use tracing in custom components.</p>
   <p>In addition to setting system property <code>picocli.trace</code>, applications can now change the trace level via the <code>Tracer::setLevel</code> method. For example:</p>
   <pre lang="java"><code>CommandLine.tracer().setLevel(CommandLine.TraceLevel.INFO);
   </code></pre>
   <p>The new public method <code>CommandLine.tracer()</code> returns the singleton <code>Tracer</code> object that is used internally by picocli, and can also be used by custom component implementations to do tracing. For example:</p>
   <pre lang="java"><code>class MyIntConverter implements ITypeConverter&lt;Integer&gt; {
       public Integer convert(String value) {
           try {
               return Integer.parseInt(value);
           } catch (NumberFormatException ex) {
               CommandLine.tracer().info(
                       &quot;Could not convert %s to Integer, returning default value -1&quot;, value);
               return -1;
           }
       }
   }
   </code></pre>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/remkop/picocli/commit/d9b1e47d5dfb8014cc17510dcaf32b7083dcac14"><code>d9b1e47</code></a> Release picocli version 4.7.0</li>
   <li><a href="https://github.com/remkop/picocli/commit/f46a60b479e56c8383bc0efe60400b581a7ae9cf"><code>f46a60b</code></a> Fix compiler error under Java 5</li>
   <li><a href="https://github.com/remkop/picocli/commit/8713bbd0671028b7da02ed0b9971997eae30c822"><code>8713bbd</code></a> DOC: add caveat to workaround for <a href="https://github-redirect.dependabot.com/oracle/graal/issues/1762">oracle/graal#1762</a></li>
   <li><a href="https://github.com/remkop/picocli/commit/99d87dc29e7156081e9027f172f870abf6ec1015"><code>99d87dc</code></a> Fix usage example</li>
   <li><a href="https://github.com/remkop/picocli/commit/176de2c6782a94234be12ec010ce4941682c60eb"><code>176de2c</code></a> Update tests to pass</li>
   <li><a href="https://github.com/remkop/picocli/commit/b9468711cd7d02b809504e04b1cee9da3784f84d"><code>b946871</code></a> Rework to use a helper and support positional params</li>
   <li><a href="https://github.com/remkop/picocli/commit/8c471fef95baff43d05dc4e4813455ee349c2d9c"><code>8c471fe</code></a> Fixes <a href="https://github-redirect.dependabot.com/remkop/picocli/issues/1754">#1754</a></li>
   <li><a href="https://github.com/remkop/picocli/commit/0207de4b440ee0aec21c7f9dcfe24bb5217c172a"><code>0207de4</code></a> <a href="https://github-redirect.dependabot.com/remkop/picocli/issues/1836">#1836</a><a href="https://github-redirect.dependabot.com/remkop/picocli/issues/1841">#1841</a> DOC update RELEASE-NOTES</li>
   <li><a href="https://github.com/remkop/picocli/commit/bcb9cece79eb094276eadfa6e46f2f2a5f4bb576"><code>bcb9cec</code></a> Fix and unit test for issue 1836.</li>
   <li><a href="https://github.com/remkop/picocli/commit/94bc75d7a2c25fac7f7531a091427a102ff2bbd9"><code>94bc75d</code></a> <a href="https://github-redirect.dependabot.com/remkop/picocli/issues/1768">#1768</a> add test</li>
   <li>Additional commits viewable in <a href="https://github.com/remkop/picocli/compare/v4.6.1...v4.7.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=info.picocli:picocli&package-manager=maven&previous-version=4.6.1&new-version=4.7.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 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: notifications-unsubscribe@netbeans.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans-nbpackage] dependabot[bot] commented on pull request #3: Bump picocli from 4.6.1 to 4.7.0

Posted by GitBox <gi...@apache.org>.
dependabot[bot] commented on PR #3:
URL: https://github.com/apache/netbeans-nbpackage/pull/3#issuecomment-1333784910

   Looks like info.picocli:picocli is up-to-date now, so this is no longer needed.


-- 
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@netbeans.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans-nbpackage] ebarboni commented on pull request #3: Bump picocli from 4.6.1 to 4.7.0

Posted by GitBox <gi...@apache.org>.
ebarboni commented on PR #3:
URL: https://github.com/apache/netbeans-nbpackage/pull/3#issuecomment-1333782983

   https://github.com/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@netbeans.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans-nbpackage] dependabot[bot] closed pull request #3: Bump picocli from 4.6.1 to 4.7.0

Posted by GitBox <gi...@apache.org>.
dependabot[bot] closed pull request #3: Bump picocli from 4.6.1 to 4.7.0
URL: https://github.com/apache/netbeans-nbpackage/pull/3


-- 
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@netbeans.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists