Update dependency apple/swift-argument-parser to from: "1.3.1" #82
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.3"
->from: "1.3.1"
Release Notes
apple/swift-argument-parser (apple/swift-argument-parser)
v1.3.1
Compare Source
Changes
CommandConfigration
type is now designated asSendable
. ([#615])internal
imports instead of ``@_implementationOnly` annotationsin Swift versions where permitted. ([#616])
Fixes
@Option
- and@Argument
-annotated optional properties that use atransform
closurefor 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
.upToNextOption
parsing strategy can now recognize an attachedvalue (e.g.
--numbers=1 2 3
). ([#610])Generated completion scripts for
zsh
handle 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.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.As part of this update, changes to the
CommandLine.arguments
array before a command'smain
orparse...
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
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.3.0 release includes contributions from [Alkenso], [compnerd], [gwynne],
[kennyyork], [natecook1000], [rauhul], [robertmryan], and [vlm]. Thank you!
Configuration
📅 Schedule: Branch creation - "after 7pm every weekday,before 8am every weekday,every weekend" in timezone Asia/Tokyo, 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.