Skip to content

⬆️(deps): Bump github.com/apple/swift-argument-parser from 1.7.1 to 1.8.1#1258

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

⬆️(deps): Bump github.com/apple/swift-argument-parser from 1.7.1 to 1.8.1#1258
dependabot[bot] wants to merge 1 commit into
mainfrom
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 May 27, 2026

Bumps github.com/apple/swift-argument-parser from 1.7.1 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!

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.1 to 1.8.1.
- [Release notes](https://github.com/apple/swift-argument-parser/releases)
- [Commits](apple/swift-argument-parser@1.7.1...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 the dependencies Update dependencies label May 27, 2026
@sonarqubecloud
Copy link
Copy Markdown

@rgoldberg rgoldberg closed this May 27, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 27, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/swift/github.com/apple/swift-argument-parser-1.8.1 branch May 27, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant