Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 15, 2023

This PR contains the following updates:

Package Update Change
apple/swift-argument-parser minor from: "1.2.2" -> from: "1.6.2"

Release Notes

apple/swift-argument-parser (apple/swift-argument-parser)

v1.6.2

Compare Source

Fixes
  • Fixes an ArgumentParser build failure for WASI. ([#​794])

v1.6.1

Compare Source

Fixes
  • Resolves a source break for clients that have conditional conformances
    to ExpressibleByArgument or ParsableArguments. ([#​792])

v1.6.0

Compare Source

Additions
  • Options with CaseIterable types can now provide help descriptions on a per-value basis. ([#​647])
  • New API for accessing the shell and shell version while generating completions. ([#​680], [#​690])
  • The generate-docc-reference plugin generates a DocC reference folder for your CLI tool. ([#​694], [#​754], [#​773])
Changes
  • Testing and continuous integration improvements, including migrating to GitHub workflows.
    ([#​692], [#​693], [#​696], [#​698], [#​699], [#​700], [#​701], [#​708], [#​711], [#​718], [#​716], [#​714], [#​712], [#​732], [#​730], [#​746], [#​747], [#​760])
  • The associated closure for CompletionKind.custom now 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 be async. The single-argument closure version of CompletionKind.custom is deprecated with this release. ([#​763], [#​770], [#​782])
  • ParsableArguments and ExpressibleByArgument now conform to SendableMetatype when builing with a minimum Swift 6.2 compiler. ([#​789])
Fixes

The 1.6.0 release includes contributions from [bripeticca], [cg-soft], [compnerd],
[dshan4585], [heckj], [natecook1000], [rauhul], [rgoldberg], and [Steelskin].
Thank you!


v1.5.1

Compare Source

Fixes
  • Relax the CMake build system to allow implicit linking of Foundation and XCTest
    when not explicitly given the associated build tree. ([#​783])

The 1.5.1 release includes a contribution from [compnerd]. Thank you!

v1.5.0

Compare Source

Additions
  • Subcommands can now be grouped into sections to enable a better help display
    for commands with many subcommands. ([#​644])
  • Improved unofficial support for Android and riscv64 platforms. ([#​649], [#​651])
Fixes
  • Command-line completion scripts correctly complete for arguments that are
    included via option group. ([#​648])
  • Several warnings when compiling with strict concurrency enabled, or in Swift
    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
  • Adds support for subcommand aliases via a new 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 be
    invoked with either of math stats average and ``math stats avg`. See the
    updated documentation and example for additional details. ([#​627])
  • Adds a new API usageString to ParsableArguments and ParsableCommand for
    retrieving their usage text, allowing for more flexible construction of error
    screens. ([#​634])
  • Adds support for passing custom arguments to AsyncParsableCommand.main()
    with a new static func main(_ arguments: [String]?) async method. ([#​568])
Fixes
  • Removes default parameter values from deprecated CommandConfiguration
    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
  • The CommandConfiguration type is now designated as Sendable. ([#​615])
  • The library uses internal imports instead of @_implementationOnly annotations
    in Swift versions where permitted. ([#​616])
Fixes
  • @Option- and @Argument-annotated optional properties that use a transform closure
    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 .upToNextOption parsing strategy can now recognize an attached
    value (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 now
    conditionally conform to Sendable when the wrapper's Value type conforms. With this
    change, you can mark ParsableCommand types as Sendable when 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
    @preconcurrency attribute to import ArgumentParser statements.

    As part of this update, changes to the CommandLine.arguments array before a command's
    main or parse... methods are called are no longer observed. Instead of making
    changes to CommandLine.arguments, pass an updated array of arguments to the command's
    method.

  • To support migration to Sendable annotation, the minimum Swift version for
    swift-argument-parser has 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 ExpressibleByArgument types
    with non-empty allValueStrings. Types also conforming to CaseIterable do
    not need to manually implement allValueStrings, instead it is derived from
    allCases. ([#​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 COLUMNS environment
    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.3.0 release includes contributions from [Alkenso], [compnerd], [gwynne],
[kennyyork], [natecook1000], [rauhul], [robertmryan], and [vlm]. Thank you!


v1.2.3

Compare Source

Additions
  • You can now use ArgumentParser with Musl libc. ([#​574])
Fixes
  • Fixes a bug where single-page manuals did not include command abstracts for
    subcommands. ([#​552])
  • Fixes a bug where non-optional properties in ParsableCommands could cause
    ArgumentParser to crash. You can now include properties like dictionaries in
    ParsableCommands without issue. ([#​554])
  • Fixes a configuration issue which would cause ArgumentParserTestHelpers to
    fail 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from ctreffs as a code owner August 15, 2023 20:03
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from c808242 to b5d01f5 Compare December 7, 2023 06:48
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.2.3" Update dependency apple/swift-argument-parser to from: "1.3.0" Dec 7, 2023
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from b5d01f5 to aa38530 Compare March 16, 2024 21:19
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.3.0" Update dependency apple/swift-argument-parser to from: "1.3.1" Mar 16, 2024
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.3.1" Update dependency apple/swift-argument-parser to from: "1.4.0" May 22, 2024
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from aa38530 to c69bc97 Compare May 22, 2024 01:19
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from c69bc97 to edf8bde Compare July 18, 2024 18:57
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.4.0" Update dependency apple/swift-argument-parser to from: "1.5.0" Jul 18, 2024
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from edf8bde to 4161ec5 Compare May 29, 2025 04:28
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.5.0" Update dependency apple/swift-argument-parser to from: "1.5.1" May 29, 2025
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from 4161ec5 to 25d9df1 Compare July 1, 2025 03:31
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.5.1" Update dependency apple/swift-argument-parser to from: "1.6.0" Jul 1, 2025
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from 25d9df1 to cb0e91f Compare July 1, 2025 17:27
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.6.0" Update dependency apple/swift-argument-parser to from: "1.6.1" Jul 1, 2025
@renovate renovate bot force-pushed the renovate/apple-swift-argument-parser-1.x branch from cb0e91f to 29dac58 Compare October 10, 2025 18:30
@renovate renovate bot changed the title Update dependency apple/swift-argument-parser to from: "1.6.1" Update dependency apple/swift-argument-parser to from: "1.6.2" Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant