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

Update dependency apple/swift-argument-parser to from: "1.2.2" #48

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 9, 2022

Mend Renovate

This PR contains the following updates:

Package Update Change
apple/swift-argument-parser minor from: "1.1.4" -> from: "1.2.2"

Release Notes

apple/swift-argument-parser

v1.2.2

Compare Source

Fixes
  • Arguments with the .allUnrecognized parsing strategy no longer consume
    built-in flags like --help and --version. ([#​550])
  • Fixes an issue introduced in version 1.2.0 where properties with underscored
    names couldn't be parsed. ([#​548])
  • Improves the error message for cases where platform availability causes the
    synchronous ParsableCommand.main() static method to be run on an
    AsyncParsableCommand type. ([#​547])

v1.2.1

Compare Source

Changes
Fixes
  • exit(_:) no longer causes infinite recursion on the WASI platform. ([#​520])
  • Completion scripts for fish now provide completions after a
    non-hyphen-prefixed argument has been provided. ([#​535])
  • Overload selection for custom ExpressibleByArgument types has been improved.
    ([#​522])
  • The usage string for .postTerminator arguments now includes the required
    terminator (--). ([#​542])
  • Documentation and testing fixes and improvements.

The 1.2.1 release includes contributions from [Chamepp], [kkk669], [mtj0928],
[natecook1000], [rauhul], [rickrizzo], [TiagoMaiaL], and [yim-lee]. Thank you!

v1.2.0

Compare Source

Additions
  • You can now provide a title in an @OptionGroup declaration. Titled option
    groups are listed separately in the help screen under that title as a
    heading. ([#​492])

  • Two new parsing strategies have been added for @Argument array properties:

    • .allUnrecognized captures all unrecognized inputs after parsing known
      flags, options, and arguments.
      • .postTerminator collects any inputs that follow the -- terminator.

    See the ArgumentArrayParsingStrategy documentation for
    more. ([#​496])

  • Default values are now supported for @Argument or @Option properties with
    optional type, allowing you to initialize those properties with nil.
    Providing a non-nil default value results in a warning, since optional
    properties with non-nil defaults don't need to be declared as optionals.
    ([#​477], [#​480])

Changes
Fixes
  • Invalid init(from:) decoding initializers are now correctly diagnosed by
    ArgumentParser's validators. ([#​487])
  • Default values are now correctly displayed as flags for @Flag properties
    with inversions or EnumerableFlag types. ([#​486])
  • The help display for non-string-backed raw representable types has been
    corrected to not show raw Swift values. Instead, the help display uses the
    type's customized defaultValueDescription and allValues implementations.
    ([#​494])
  • Properties at different levels of a command hierarchy with the same Swift name
    but different argument names no longer collide. ([#​495])
  • The generate-manual plugin name is improved when used from within Xcode.
    ([#​505])
  • Documentation fixes and improvements.

The 1.2.0 release includes contributions from [allevato], [clayellis],
[compnerd], [d-ronnqvist], [natecook1000], [randomeizer], and [rauhul].
Thank you!



Configuration

📅 Schedule: Branch creation - "after 10:30 before 18:00 every weekday except after 13:00 before 14:00" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 9, 2022
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from f902aac to 6f54bd9 Compare November 30, 2022 18:10
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.2.0" Update dependency apple/swift-argument-parser to from: "1.2.2" Jun 23, 2023
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from 33a8eea to 143cba6 Compare June 23, 2023 13:44
@417-72KI 417-72KI merged commit a018129 into main Jun 23, 2023
6 of 9 checks passed
@417-72KI 417-72KI deleted the renovate/apple-swift-argument-parser-1.x branch June 23, 2023 15:30
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