Update dependency apple/swift-argument-parser to from: "1.6.2" #28
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.2.2"->from: "1.6.2"Release Notes
apple/swift-argument-parser (apple/swift-argument-parser)
v1.6.2Compare Source
Fixes
v1.6.1Compare Source
Fixes
to
ExpressibleByArgumentorParsableArguments. ([#792])v1.6.0Compare Source
Additions
CaseIterabletypes can now provide help descriptions on a per-value basis. ([#647])generate-docc-referenceplugin generates a DocC reference folder for your CLI tool. ([#694], [#754], [#773])Changes
([#692], [#693], [#696], [#698], [#699], [#700], [#701], [#708], [#711], [#718], [#716], [#714], [#712], [#732], [#730], [#746], [#747], [#760])
CompletionKind.customnow takes three parameters: the array of shell words currently in use for the completion request, the offset in that array for the word that completions are being requested for, and the prefix of that word that precedes the cursor. In addition, the associated closure can beasync. The single-argument closure version ofCompletionKind.customis deprecated with this release. ([#763], [#770], [#782])ParsableArgumentsandExpressibleByArgumentnow conform toSendableMetatypewhen builing with a minimum Swift 6.2 compiler. ([#789])Fixes
Please note: numerous longstanding issues still remain in the completion scripts (mainly involving quoting/escaping); they will be fixed over time.
A special thanks to @rgoldberg for the investment in completion script quality!
([#727], [#735], [#738], [#740], [#762], [#763], [#775], [#770], [#777], [#767])
generate-manualplugin. ([#663], [#667])([#676], [#707], [#705], [#720], [#666], [#724], [#731], [#766], [#685], [#729], [#736], [#741])
ToolInfo. ([#669], [#697])The 1.6.0 release includes contributions from [bripeticca], [cg-soft], [compnerd],
[dshan4585], [heckj], [natecook1000], [rauhul], [rgoldberg], and [Steelskin].
Thank you!
v1.5.1Compare Source
Fixes
when not explicitly given the associated build tree. ([#783])
The 1.5.1 release includes a contribution from [compnerd]. Thank you!
v1.5.0Compare Source
Additions
for commands with many subcommands. ([#644])
Fixes
included via option group. ([#648])
6 language mode, are now silenced. ([#650])
The 1.5.0 release includes contributions from [CraigSiemens], [DougGregor],
[finagolfin], [futurejones], and [natecook1000]. Thank you!
v1.4.0Compare Source
Additions
CommandConfiguration.aliasesparameter. Aliases are shown in help text and used during command parsing. For
example, a subcommand like "average" from the example "math" tool can be
defined with the aliases
["avg"]. The resulting subcommand can now beinvoked with either of
math stats averageand ``math stats avg`. See theupdated documentation and example for additional details. ([#627])
usageStringtoParsableArgumentsandParsableCommandforretrieving their usage text, allowing for more flexible construction of error
screens. ([#634])
AsyncParsableCommand.main()with a new
static func main(_ arguments: [String]?) asyncmethod. ([#568])Fixes
initializers to prevent them from being selected as overloads. Some niche
invalid deprecation warnings should no longer occur. ([#636])
The 1.4.0 release includes contributions from [Austinpayne], [dcantah],
[KS1019], [natecook1000], [rauhul], and [revolter]. Thank you!
v1.3.1Compare Source
Changes
CommandConfigurationtype is now designated asSendable. ([#615])internalimports instead of@_implementationOnlyannotationsin Swift versions where permitted. ([#616])
Fixes
@Option- and@Argument-annotated optional properties that use atransformclosurefor parsing can now be declared without ambiguity. ([#619])
The help flag is now recognized more consistently when a default subcommand has been
specified. ([#612])
Options that use the
.upToNextOptionparsing strategy can now recognize an attachedvalue (e.g.
--numbers=1 2 3). ([#610])Generated completion scripts for
zshhandle repeatable options correctly. ([#614])Documentation improvements and clarifications. ([#607], [#611], [#617], [#621])
Build improvements for CMake builds. ([#606], [#608])
The 1.3.1 release includes contributions from [Coeur], [compnerd], [keith], [MaxDesiatov],
[mayoff], and [natecook1000]. Thank you!
v1.3.0Compare Source
Changes
The
@Option,@Argument,@Flag, and@OptionGroupproperty wrappers nowconditionally conform to
Sendablewhen the wrapper'sValuetype conforms. With thischange, you can mark
ParsableCommandtypes asSendablewhen you want to be able topass a parsed command across concurrent contexts. ([#582])
Migration: Users that aren't ready to resolve sendability warnings can add the
@preconcurrencyattribute toimport ArgumentParserstatements.As part of this update, changes to the
CommandLine.argumentsarray before a command'smainorparse...methods are called are no longer observed. Instead of makingchanges to
CommandLine.arguments, pass an updated array of arguments to the command'smethod.
To support migration to
Sendableannotation, the minimum Swift version forswift-argument-parserhas been increased to Swift 5.7. Users of older Swift versionswill be able to continue using version 1.2.3 of the library. ([#582])
Additions
ExpressibleByArgumenttypeswith non-empty
allValueStrings. Types also conforming toCaseIterabledonot need to manually implement
allValueStrings, instead it is derived fromallCases. ([#594])Fixes
specifying a new title. ([#592])
COLUMNSenvironmentvariable when set, instead of immediately falling back to 80 columns. ([#596])
.file(...)completionkind. ([#590])
The 1.3.0 release includes contributions from [Alkenso], [compnerd], [gwynne],
[kennyyork], [natecook1000], [rauhul], [robertmryan], and [vlm]. Thank you!
v1.2.3Compare Source
Additions
Fixes
subcommands. ([#552])
ArgumentParser to crash. You can now include properties like dictionaries in
ParsableCommands without issue. ([#554])
ArgumentParserTestHelperstofail to link when building for Windows. ([#579])
The 1.2.3 release includes contributions from [compnerd], [gwynne],
[MaxDesiatov], [natecook1000], and [rauhul]. Thank you!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.