Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump clap from 3.0.0-beta.2 to 3.0.0-beta.4 #606

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 16, 2021

Bumps clap from 3.0.0-beta.2 to 3.0.0-beta.4.

Changelog

Sourced from clap's changelog.

v3.0.0-beta.4 (2021-08-14)

Minimum Required Rust

  • As of this release, clap requires rustc 1.54.0 or greater.

BREAKING CHANGES

Added unicode_help, env features.

  • Gated behind env:

    • Arg
      • Arg::env
      • Arg::env_os
      • Arg::hide_env_values
    • ArgSettings
      • ArgSettings::HideEnvValues
  • Removed Methods

    • Arg
      • Arg::settings in favor of Arg::setting(Setting1 | Setting2)
      • Arg::multiple in favour of Arg::multiple_values and Arg::multiple_occurrences
  • Renamed Settings

    • AppSettings::DisableHelpFlags => AppSettings::DisableHelpFlag
    • AppSettings::DisableVersion => AppSettings::DisableVersionFlag
    • AppSettings::VersionlessSubcommands => AppSettings::DisableVersionForSubcommands
  • Renamed Variants

    • ErrorKind
      • ErrorKind::MissingArgumentOrSubcommand => ErrorKind::DisplayHelpOnMissingArgumentOrSubcommand
  • Changed

    • Allowing empty values is the default again with ArgSettings::AllowEmptyValues changing to ArgSettings::ForbidEmptyValues
    • AppSettings::GlobalVersion renamed to AppSettings::PropagateVersion and it is not applied globally anymore
    • Arg::env, Arg::env_os, Arg::last, Arg::require_equals, Arg::allow_hyphen_values, Arg::hide_possible_values, Arg::hide_default_value, Arg::hide_env_values, Arg::case_insensitive and Arg::multiple_values does not set ArgSettings::TakesValue anymore
    • Arg::require_delimiter does not set ArgSettings::TakesValue and ArgSettings::UseValueDelimiter anymore
    • Arg::require_equals does not disallow empty values anymore
    • Arg::default_value_if, Arg::default_value_if_os, Arg::default_value_ifs, Arg::default_value_ifs_os now takes the default value parameter as an option
    • Arg::index, Arg::number_of_values, Arg::min_values, Arg::max_values now takes usize
    • Arg::value_delimiter now accepts char instead of &str
    • ArgMatches::is_present does not handle subcommand names anymore
    • Some env var values are considered the same as env var not being present when the arg does not have ArgSettings::TakesValue
    • clap_generate::generate_to now returns Result<PathBuf, io::Error>
    • @group in clap_app! now needs : instead of =>
    • app and arg objects in yaml now allow unknown keys if _has_metadata is set

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

Bumps [clap](https://github.com/clap-rs/clap) from 3.0.0-beta.2 to 3.0.0-beta.4.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v3.0.0-beta.2...v3.0.0-beta.4)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from denisidoro as a code owner August 16, 2021 20:06
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 16, 2021
@denisidoro denisidoro merged commit 0353413 into master Aug 16, 2021
@delete-merged-branch delete-merged-branch bot deleted the dependabot/cargo/clap-3.0.0-beta.4 branch August 16, 2021 23:21
denisidoro added a commit that referenced this pull request Aug 23, 2021
denisidoro added a commit that referenced this pull request Aug 23, 2021
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant