Skip to content

chore(deps): bump github.com/apple/swift-argument-parser from 1.7.0 to 1.8.1#104

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/swift/github.com/apple/swift-argument-parser-1.8.1
Open

chore(deps): bump github.com/apple/swift-argument-parser from 1.7.0 to 1.8.1#104
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/swift/github.com/apple/swift-argument-parser-1.8.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Bumps github.com/apple/swift-argument-parser from 1.7.0 to 1.8.1.

Release notes

Sourced from github.com/apple/swift-argument-parser's releases.

ArgumentParser 1.8.1

Fixes

  • Reverts a source compatibility regression in the 1.8.0 release, where existing calls to ParsableCommand.parse() and .parseAsRoot() were pre-empted by new async versions. The new asynchronous entry points are now named asyncParse() and asyncParseAsRoot(), respectively. Clients that have already updated their code with the await keyword can resolve the new warning by calling the new APIs or by removing the keyword. (#908)
  • Resolves an issue with the generate-manual plugin that selected the wrong destination for the generated manual. (#910)

ArgumentParser 1.8.0

Additions

  • NameSpecification and its elements now conform to ExpressibleByStringLiteral, allowing simplified option and flag name declarations. For example, @.customLong("hex-output"), .customShort("x") can now be written as "--hex-output -x". (#745)
  • New @Option initializers accept a defaultAsFlag: parameter, creating options that work both as a bare flag (--format) and as an option with a value (--format json). (#830)
  • Custom completion closures for AsyncParsableCommand types now support async/await. (#855)

Changes

  • The minimum Swift version for swift-argument-parser has been updated to Swift 6. Users of older Swift versions can continue using version 1.7.1 of the library. (#882)

Fixes

  • Command aliases now appear in generated man-pages for both single-page and multi-page output. (#891)
  • Declaring @Flag var x: Bool? without an inversion: parameter now produces a useful diagnostic message. (#892)

The 1.8.0 release includes contributions from @​bkhouri, @​natecook1000, @​qflen, @​rauhul, and @​rgoldberg. Thank you!

ArgumentParser 1.7.1

Changes

  • Adds detailed documentation for providing descriptions of enum values. (#825)
  • Adds aliases to the dump-help output. (#813)
  • Improves zsh completions; prevents bash completion cleanup commands from being appended to shell history. (#864, #859)
  • Eliminates deprecation warnings in Examples/math. (#879)

Fixes

  • Fixes build issues in Swift 5.7-5.9. (#874, #875)
  • Fixes --help output for nested subcommands with default subcommands. (#866)
  • Prevents @OptionGroup type names from appearing in help usage strings. (#873)
  • Fixes handling of visibility with nested option groups. (#838)
  • Updates GitHub Actions workflows and streamlines the required checks. (#839, #843, #844, #853, #856, #857, #876, #877)

The 1.7.0 release includes contributions from @​bkhouri, @​bob-wilson, @​jglogan, @​kphrx, @​louisunlimited, @​natecook1000, @​rauhul, @​rgoldberg, @​salmanmkc, @​stackotter, and @​William-Laverty. Thank you!

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/apple/swift-argument-parser](https://github.com/apple/swift-argument-parser) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/apple/swift-argument-parser/releases)
- [Commits](apple/swift-argument-parser@1.7.0...1.8.1)

---
updated-dependencies:
- dependency-name: github.com/apple/swift-argument-parser
  dependency-version: 1.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code labels Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant