chore(deps): update dependency apple/swift-argument-parser to from: "1.5.0" #72
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.0"
->from: "1.5.0"
Release Notes
apple/swift-argument-parser (apple/swift-argument-parser)
v1.5.0
Compare 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.0
Compare Source
Additions
CommandConfiguration.aliases
parameter. 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 average
and ``math stats avg`. See theupdated documentation and example for additional details. ([#627])
usageString
toParsableArguments
andParsableCommand
forretrieving their usage text, allowing for more flexible construction of error
screens. ([#634])
AsyncParsableCommand.main()
with a new
static func main(_ arguments: [String]?) async
method. ([#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.1
Compare Source
Changes
CommandConfiguration
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!
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!
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!
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 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 was generated by Mend Renovate. View the repository job log.