Update dependency apple/swift-argument-parser to from: "1.2.2" #48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
from: "1.1.4"
->from: "1.2.2"
Release Notes
apple/swift-argument-parser
v1.2.2
Compare Source
Fixes
.allUnrecognized
parsing strategy no longer consumebuilt-in flags like
--help
and--version
. ([#550])names couldn't be parsed. ([#548])
synchronous
ParsableCommand.main()
static method to be run on anAsyncParsableCommand
type. ([#547])v1.2.1
Compare Source
Changes
Swift Package Index.
Fixes
exit(_:)
no longer causes infinite recursion on the WASI platform. ([#520])fish
now provide completions after anon-hyphen-prefixed argument has been provided. ([#535])
ExpressibleByArgument
types has been improved.([#522])
.postTerminator
arguments now includes the requiredterminator (
--
). ([#542])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 optiongroups 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 knownflags, options, and arguments.
.postTerminator
collects any inputs that follow the--
terminator.See the
ArgumentArrayParsingStrategy
documentation formore. ([#496])
Default values are now supported for
@Argument
or@Option
properties withoptional type, allowing you to initialize those properties with
nil
.Providing a non-
nil
default value results in a warning, since optionalproperties with non-
nil
defaults don't need to be declared as optionals.([#477], [#480])
Changes
.unconditionalRemaining
array parsing strategy has been deprecated andrenamed to
.captureForPassthrough
, to better fit its semantic behavior andintended usage. See the
ArgumentArrayParsingStrategy
documentation for more. ([#496])
Fixes
init(from:)
decoding initializers are now correctly diagnosed byArgumentParser's validators. ([#487])
@Flag
propertieswith inversions or
EnumerableFlag
types. ([#486])corrected to not show raw Swift values. Instead, the help display uses the
type's customized
defaultValueDescription
andallValues
implementations.([#494])
but different argument names no longer collide. ([#495])
generate-manual
plugin name is improved when used from within Xcode.([#505])
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.
This PR has been generated by Mend Renovate. View repository job log here.