Update dependency ArgumentParser to v1.3.0 #166
Merged
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:
1.2.2
->1.3.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
apple/swift-argument-parser (ArgumentParser)
v1.3.0
Compare Source
Changes
The
@Option
,@Argument
,@Flag
, and@OptionGroup
property wrappers nowconditionally conform to
Sendable
when the wrapper'sValue
type conforms. With thischange, you can mark
ParsableCommand
types asSendable
when 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
@preconcurrency
attribute toimport ArgumentParser
statements.To support migration to
Sendable
annotation, the minimum Swift version forswift-argument-parser
has 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
ExpressibleByArgument
typeswith non empty
allValueStrings
. Types also conforming toCaseIterable
donot need to manually implement
allValueStrings
, instead it is derived fromallCases
. ([#594])Fixes
specifying a new title. ([#592])
COLUMNS
environmentvariable when set, instead of immediately falling back to 80 columns. ([#596])
.file(...)
completionkind. ([#590])
The 1.2.3 release includes contributions from [Alkenso], [compnerd], [gwynne],
[kennyyork], [natecook1000], [rauhul], [robertmryan], and [vlm]. Thank you!
v1.2.3
Compare Source
Additions
Fixes
subcommands. ([#552])
ArgumentParser to crash. You can now include properties like dictionaries in
ParsableCommands without issue. ([#554])
ArgumentParserTestHelpers
tofail 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: Enabled.
♻ 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.