[PR #116] [MERGED] chore(deps): bump clap from 3.0.14 to 3.1.3 #755

Closed
opened 2026-01-05 14:52:51 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/116
Author: @dependabot[bot]
Created: 3/1/2022
Status: Merged
Merged: 3/4/2022
Merged by: @LGUG2Z

Base: masterHead: dependabot/cargo/clap-3.1.3


📝 Commits (2)

  • 0a8dbb0 chore(deps): bump clap from 3.0.14 to 3.1.3
  • a5b35a8 refactor(clap): fix deprecations

📊 Changes

2 files changed (+55 additions, -55 deletions)

View changed files

📝 Cargo.lock (+6 -6)
📝 komorebic/src/main.rs (+49 -49)

📄 Description

Bumps clap from 3.0.14 to 3.1.3.

Release notes

Sourced from clap's releases.

v3.1.3

[3.1.3] - 2022-02-28

Fixes

  • Don't panic when validating delimited defaults (#3514)

v3.1.2

[3.1.2] - 2022-02-23

Fixes

  • (derive) Allow other attribute with a subcommand that has subcommands

Documentation

  • (examples) List example topics
  • (derive) Clarify syntax and relation to builder API

v3.1.1

[3.1.1] - 2022-02-21

Fixes

  • Track caller for ArgMatches assertions so the user more easily sees where they need to fix the call

v3.1.0

[3.1.0] - 2022-02-16

Compatibility

Changes in behavior of note that are not guaranteed to be compatible across releases:

  • (help) help subcommand shows long help like --help, rather than short help (-h), deprecated clap::AppSettings::UseLongFormatForHelpSubcommand (#3440)
  • (help) Pacman-style subcommands are now ordered the same as usage errors (#3470)
  • (help) Pacman-style subcommands use standard alternate syntax in usage (#3470)

Deprecations

  • clap::Command is now preferred over clap::App (#3089 in #3472)
    • clap::command! is now preferred over clap::app_from_crate (#3089 in #3474)
    • clap::CommandFactory::command is now preferred over clap::IntoApp::into_app (#3089 in #3473)
  • (help) help subcommand shows long help like --help, rather than short help (-h), deprecated clap::AppSettings::UseLongFormatForHelpSubcommand (#3440)
  • (error) Deprecate clap::AppSettings::WaitOnError, leaving it to the user to implement
  • (validation) clap::Command::subcommand_required(true).arg_required_else_help(true) is now preferred over clap::AppSettings::SubcommandRequiredElseHelp (#3280)
  • (builder) clap::AppSettings are nearly all deprecated and replaced with builder methods and getters (#2717)
  • (builder) clap::ArgSettings is deprecated and replaced with builder methods and getters (#2717)
  • (builder) clap::Arg::id and clap::ArgGroup::id are now preferred over clap::Arg::name and clap::ArgGroup::name (#3335)
  • (help) clap::Command::next_help_heading is now preferred over clap::Command::help_heading (#1807, #1553)
  • (error) clap::error::ErrorKind is now preferred over clap::ErrorKind (#3395)

... (truncated)

Changelog

Sourced from clap's changelog.

[3.1.3] - 2022-02-28

Fixes

  • Don't panic when validating delimited defaults (#3514)

[3.1.2] - 2022-02-23

Fixes

  • (derive) Allow other attribute with a subcommand that has subcommands

Documentation

  • (examples) List example topics
  • (derive) Clarify syntax and relation to builder API

[3.1.1] - 2022-02-21

Fixes

  • Track caller for ArgMatches assertions so the user more easily sees where they need to fix the call

[3.1.0] - 2022-02-16

Compatibility

Changes in behavior of note that are not guaranteed to be compatible across releases:

  • (help) help subcommand shows long help like --help, rather than short help (-h), deprecated clap::AppSettings::UseLongFormatForHelpSubcommand (#3440)
  • (help) Pacman-style subcommands are now ordered the same as usage errors (#3470)
  • (help) Pacman-style subcommands use standard alternate syntax in usage (#3470)

Deprecations

  • clap::Command is now preferred over clap::App (#3089 in #3472)
    • clap::command! is now preferred over clap::app_from_crate (#3089 in #3474)
    • clap::CommandFactory::command is now preferred over clap::IntoApp::into_app (#3089 in #3473)
  • (help) help subcommand shows long help like --help, rather than short help (-h), deprecated clap::AppSettings::UseLongFormatForHelpSubcommand (#3440)
  • (error) Deprecate clap::AppSettings::WaitOnError, leaving it to the user to implement
  • (validation) clap::Command::subcommand_required(true).arg_required_else_help(true) is now preferred over clap::AppSettings::SubcommandRequiredElseHelp (#3280)
  • (builder) clap::AppSettings are nearly all deprecated and replaced with builder methods and getters (#2717)
  • (builder) clap::ArgSettings is deprecated and replaced with builder methods and getters (#2717)
  • (builder) clap::Arg::id and clap::ArgGroup::id are now preferred over clap::Arg::name and clap::ArgGroup::name (#3335)
  • (help) clap::Command::next_help_heading is now preferred over clap::Command::help_heading (#1807, #1553)
  • (error) clap::error::ErrorKind is now preferred over clap::ErrorKind (#3395)
  • (error) clap::Error::kind() is now preferred over clap::Error::kind
  • (error) clap::Error::context() is now preferred over clap::Error::info (#2628)

Note: All items deprecated in 3.0.0 are now hidden in the documentation. (#3458)

... (truncated)

Commits

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/LGUG2Z/komorebi/pull/116 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 3/1/2022 **Status:** ✅ Merged **Merged:** 3/4/2022 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `dependabot/cargo/clap-3.1.3` --- ### 📝 Commits (2) - [`0a8dbb0`](https://github.com/LGUG2Z/komorebi/commit/0a8dbb0ef020bdba5267fda335acf638d21ed8d0) chore(deps): bump clap from 3.0.14 to 3.1.3 - [`a5b35a8`](https://github.com/LGUG2Z/komorebi/commit/a5b35a803f8e40676d9e3a19b99bbf52df9d3afe) refactor(clap): fix deprecations ### 📊 Changes **2 files changed** (+55 additions, -55 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+6 -6) 📝 `komorebic/src/main.rs` (+49 -49) </details> ### 📄 Description Bumps [clap](https://github.com/clap-rs/clap) from 3.0.14 to 3.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v3.1.3</h2> <h2>[3.1.3] - 2022-02-28</h2> <h3>Fixes</h3> <ul> <li>Don't panic when validating delimited defaults (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3514">#3514</a>)</li> </ul> <h2>v3.1.2</h2> <h2>[3.1.2] - 2022-02-23</h2> <h3>Fixes</h3> <ul> <li><em>(derive)</em> Allow other attribute with a subcommand that has subcommands</li> </ul> <h3>Documentation</h3> <ul> <li><em>(examples)</em> List example topics</li> <li><em>(derive)</em> Clarify syntax and relation to builder API</li> </ul> <h2>v3.1.1</h2> <h2>[3.1.1] - 2022-02-21</h2> <h3>Fixes</h3> <ul> <li>Track caller for <code>ArgMatches</code> assertions so the user more easily sees where they need to fix the call</li> </ul> <h2>v3.1.0</h2> <h2>[3.1.0] - 2022-02-16</h2> <h3>Compatibility</h3> <p>Changes in behavior of note that are not guaranteed to be compatible across releases:</p> <ul> <li><em>(help)</em> <code>help</code> subcommand shows long help like <code>--help</code>, rather than short help (<code>-h</code>), deprecated <code>clap::AppSettings::UseLongFormatForHelpSubcommand</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3440">#3440</a>)</li> <li><em>(help)</em> Pacman-style subcommands are now ordered the same as usage errors (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3470">#3470</a>)</li> <li><em>(help)</em> Pacman-style subcommands use standard alternate syntax in usage (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3470">#3470</a>)</li> </ul> <h3>Deprecations</h3> <ul> <li><code>clap::Command</code> is now preferred over <code>clap::App</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3089">#3089</a> in <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3472">#3472</a>) <ul> <li><code>clap::command!</code> is now preferred over <code>clap::app_from_crate</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3089">#3089</a> in <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3474">#3474</a>)</li> <li><code>clap::CommandFactory::command</code> is now preferred over <code>clap::IntoApp::into_app</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3089">#3089</a> in <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3473">#3473</a>)</li> </ul> </li> <li><em>(help)</em> <code>help</code> subcommand shows long help like <code>--help</code>, rather than short help (<code>-h</code>), deprecated <code>clap::AppSettings::UseLongFormatForHelpSubcommand</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3440">#3440</a>)</li> <li><em>(error)</em> Deprecate <code>clap::AppSettings::WaitOnError</code>, leaving it to the user to implement</li> <li><em>(validation)</em> <code>clap::Command::subcommand_required(true).arg_required_else_help(true)</code> is now preferred over <code>clap::AppSettings::SubcommandRequiredElseHelp</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3280">#3280</a>)</li> <li><em>(builder)</em> <code>clap::AppSettings</code> are nearly all deprecated and replaced with builder methods and getters (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/2717">#2717</a>)</li> <li><em>(builder)</em> <code>clap::ArgSettings</code> is deprecated and replaced with builder methods and getters (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/2717">#2717</a>)</li> <li><em>(builder)</em> <code>clap::Arg::id</code> and <code>clap::ArgGroup::id</code> are now preferred over <code>clap::Arg::name</code> and <code>clap::ArgGroup::name</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3335">#3335</a>)</li> <li><em>(help)</em> <code>clap::Command::next_help_heading</code> is now preferred over <code>clap::Command::help_heading</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1807">#1807</a>, <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1553">#1553</a>)</li> <li><em>(error)</em> <code>clap::error::ErrorKind</code> is now preferred over <code>clap::ErrorKind</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3395">#3395</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[3.1.3] - 2022-02-28</h2> <h3>Fixes</h3> <ul> <li>Don't panic when validating delimited defaults (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3514">#3514</a>)</li> </ul> <h2>[3.1.2] - 2022-02-23</h2> <h3>Fixes</h3> <ul> <li><em>(derive)</em> Allow other attribute with a subcommand that has subcommands</li> </ul> <h3>Documentation</h3> <ul> <li><em>(examples)</em> List example topics</li> <li><em>(derive)</em> Clarify syntax and relation to builder API</li> </ul> <h2>[3.1.1] - 2022-02-21</h2> <h3>Fixes</h3> <ul> <li>Track caller for <code>ArgMatches</code> assertions so the user more easily sees where they need to fix the call</li> </ul> <h2>[3.1.0] - 2022-02-16</h2> <h3>Compatibility</h3> <p>Changes in behavior of note that are not guaranteed to be compatible across releases:</p> <ul> <li><em>(help)</em> <code>help</code> subcommand shows long help like <code>--help</code>, rather than short help (<code>-h</code>), deprecated <code>clap::AppSettings::UseLongFormatForHelpSubcommand</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3440">#3440</a>)</li> <li><em>(help)</em> Pacman-style subcommands are now ordered the same as usage errors (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3470">#3470</a>)</li> <li><em>(help)</em> Pacman-style subcommands use standard alternate syntax in usage (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3470">#3470</a>)</li> </ul> <h3>Deprecations</h3> <ul> <li><code>clap::Command</code> is now preferred over <code>clap::App</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3089">#3089</a> in <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3472">#3472</a>) <ul> <li><code>clap::command!</code> is now preferred over <code>clap::app_from_crate</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3089">#3089</a> in <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3474">#3474</a>)</li> <li><code>clap::CommandFactory::command</code> is now preferred over <code>clap::IntoApp::into_app</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3089">#3089</a> in <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3473">#3473</a>)</li> </ul> </li> <li><em>(help)</em> <code>help</code> subcommand shows long help like <code>--help</code>, rather than short help (<code>-h</code>), deprecated <code>clap::AppSettings::UseLongFormatForHelpSubcommand</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3440">#3440</a>)</li> <li><em>(error)</em> Deprecate <code>clap::AppSettings::WaitOnError</code>, leaving it to the user to implement</li> <li><em>(validation)</em> <code>clap::Command::subcommand_required(true).arg_required_else_help(true)</code> is now preferred over <code>clap::AppSettings::SubcommandRequiredElseHelp</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3280">#3280</a>)</li> <li><em>(builder)</em> <code>clap::AppSettings</code> are nearly all deprecated and replaced with builder methods and getters (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/2717">#2717</a>)</li> <li><em>(builder)</em> <code>clap::ArgSettings</code> is deprecated and replaced with builder methods and getters (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/2717">#2717</a>)</li> <li><em>(builder)</em> <code>clap::Arg::id</code> and <code>clap::ArgGroup::id</code> are now preferred over <code>clap::Arg::name</code> and <code>clap::ArgGroup::name</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3335">#3335</a>)</li> <li><em>(help)</em> <code>clap::Command::next_help_heading</code> is now preferred over <code>clap::Command::help_heading</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1807">#1807</a>, <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1553">#1553</a>)</li> <li><em>(error)</em> <code>clap::error::ErrorKind</code> is now preferred over <code>clap::ErrorKind</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3395">#3395</a>)</li> <li><em>(error)</em> <code>clap::Error::kind()</code> is now preferred over <code>clap::Error::kind</code></li> <li><em>(error)</em> <code>clap::Error::context()</code> is now preferred over <code>clap::Error::info</code> (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/2628">#2628</a>)</li> </ul> <p>Note: All items deprecated in 3.0.0 are now hidden in the documentation. (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3458">#3458</a>)</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/clap-rs/clap/commit/63fa59a251966dad52bd842d86f1b92954374e39"><code>63fa59a</code></a> chore: Release</li> <li><a href="https://github.com/clap-rs/clap/commit/d87dd9005ccaa28408c25322d16ee1cd5a0e47b7"><code>d87dd90</code></a> docs: Update changelog</li> <li><a href="https://github.com/clap-rs/clap/commit/fce7796c1d814743d4504a90ba8a13345b4bf7d2"><code>fce7796</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3521">#3521</a> from epage/assert</li> <li><a href="https://github.com/clap-rs/clap/commit/3f2a37088bc954c226a00dddd586c73031650641"><code>3f2a370</code></a> fix(assert): Validate delimited defaults</li> <li><a href="https://github.com/clap-rs/clap/commit/28162d49cd6a407bc503b128a74883f6228189b4"><code>28162d4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3507">#3507</a> from virtualritz/patch-1</li> <li><a href="https://github.com/clap-rs/clap/commit/22efb36983deca1d5aa481b1b037e5275814b531"><code>22efb36</code></a> Fixed broken Command Attributes link</li> <li><a href="https://github.com/clap-rs/clap/commit/bfeb751d0de58cda2383c277ea3a9a890bfd08c8"><code>bfeb751</code></a> chore: Ensure clap always uses latest clap_derive</li> <li><a href="https://github.com/clap-rs/clap/commit/20dc6673bccbb29c353ef7a908f0bdbbdbc8a898"><code>20dc667</code></a> chore: Release</li> <li><a href="https://github.com/clap-rs/clap/commit/2f9cae8cb4d812112611334d2a91d349e4402e4e"><code>2f9cae8</code></a> docs: Update changelog</li> <li><a href="https://github.com/clap-rs/clap/commit/0e0e8679026b2fa95efff36ad954731f207937ad"><code>0e0e867</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3505">#3505</a> from epage/subcommand</li> <li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v3.0.14...v3.1.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=3.0.14&new-version=3.1.3)](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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-01-05 14:52:51 +01:00
adam closed this issue 2026-01-05 14:52:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#755