Bump github.com/apple/swift-argument-parser from 1.1.4 to 1.3.1 by dependabot[bot] · Pull Request #354 · XcodesOrg/xcodes
Bumps github.com/apple/swift-argument-parser from 1.1.4 to 1.3.1.
Release notes
Sourced from github.com/apple/swift-argument-parser's releases.
ArgumentParser 1.3.1
Changes
- The
CommandConfigrationtype is now designated asSendable. (#615)- The library uses
internalimports instead of@_implementationOnlyannotations in Swift versions where permitted. (#616)Fixes
@Option- and@Argument-annotated optional properties that use atransformclosure for 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 attached value (e.g.--numbers=1 2 3). (#610)Generated completion scripts for
zshhandle repeatable options correctly. (#614)Documentation improvements and clarifications. (#607, #611, #617, #621)
The 1.3.1 release includes contributions from
@Coeur,@compnerd,@keith,@MaxDesiatov,@mayoff, and@natecook1000. Thank you!ArgumentParser 1.3.0
Changes
The
@Option,@Argument,@Flag, and@OptionGroupproperty wrappers now conditionally conform toSendablewhen the wrapper'sValuetype conforms. With this change, you can markParsableCommandtypes asSendablewhen you want to be able to pass a parsed command across concurrent contexts. (#582)Migration: Users that aren't ready to resolve sendability warnings can add the
@preconcurrencyattribute toimport ArgumentParserstatements.To support migration to
Sendableannotation, the minimum Swift version forswift-argument-parserhas been increased to Swift 5.7. Users of older Swift versions will be able to continue using version 1.2.3 of the library. (#582)Additions
- Help screens now include possible options for
ExpressibleByArgumenttypes with non emptyallValueStrings. Types also conforming toCaseIterabledo not need to manually implementallValueStrings, instead it is derived fromallCases. (#594)Fixes
- The titles for nested option groups are preserved when embedded into commands without specifying a new title. (#592)
- When wrapping help and error messages, the library now uses the
COLUMNSenvironment variable when set, instead of immediately falling back to 80 columns. (#596)- Bash completion scripts now respect the extensions given in a
.file(...)completion kind. (#590)- Bash completion scripts now properly escape command names that include hyphens. (#573)
- Documentation improvements. (#572, #565, #602)
The 1.2.3 release includes contributions from
@Alkenso,@compnerd,@gwynne,@kennyyork,@natecook1000,@rauhul,@robertmryan, and@vlm. Thank you!ArgumentParser 1.2.3
Additions
- You can now use ArgumentParser with Musl libc. (#574)
... (truncated)
Commits
4698969Update CHANGELOG date (#625)985dba1Update CHANGELOG for release 1.3.1 (#624)3dcbdb0ClarifypostTerminatorparsing strategy behavior (#621)7191549Fix for@Option(transform:)with optional type (#619)1c8215fPreferletfor private configurations (#617)76466ccImprove zsh completion for repeatable options (#614)c413809Remove@_implementationOnlyannotations (#616)a0f43bbMarkCommandConfigurationasSendable(#615)6c7ec36Fix unrecognized-helpflag with default command (#612)40d2342Add note about CL.arguments to the changelog (#611)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)