Skip to content

Bump github.com/apple/swift-argument-parser from 1.7.1 to 1.8.0#64

Merged
gmazzo merged 2 commits into
mainfrom
dependabot/swift/github.com/apple/swift-argument-parser-1.8.0
May 26, 2026
Merged

Bump github.com/apple/swift-argument-parser from 1.7.1 to 1.8.0#64
gmazzo merged 2 commits into
mainfrom
dependabot/swift/github.com/apple/swift-argument-parser-1.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 26, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/apple/swift-argument-parser from 1.7.1 to 1.8.0.

Release notes

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

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
  • 5e0406d Fix author link for changelog (#904)
  • 2ba6fc9 Update changelog for version 1.8.0 (#903)
  • af51a49 Make NameSpecification and its element ExpressibleByStringLiteral (#745)
  • 6ea3782 Disable the nightly-main Windows test job (#897)
  • a544331 Improve diagnostic for @​Flag Bool? without inversion: (#892)
  • 63958cf Display command aliases in generated man-pages (#891)
  • 16cae93 Bump the swiftlang-actions group with 2 updates (#890)
  • 3a282f0 Bump the swiftlang-actions group with 2 updates (#889)
  • e552972 Add group for swiftlang GitHub Actions (#888)
  • d6f4e7a Support async custom completion functions for AsyncParsableCommand via asyn...
  • Additional commits viewable in compare view

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.0.
- [Release notes](https://github.com/apple/swift-argument-parser/releases)
- [Commits](apple/swift-argument-parser@1.7.1...1.8.0)

---
updated-dependencies:
- dependency-name: github.com/apple/swift-argument-parser
  dependency-version: 1.8.0
  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 May 26, 2026
@gmazzo gmazzo enabled auto-merge (squash) May 26, 2026 00:02
@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.06%. Comparing base (99c4d31) to head (1904411).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
- Coverage   84.09%   84.06%   -0.04%     
==========================================
  Files          32       32              
  Lines         459      458       -1     
==========================================
- Hits          386      385       -1     
  Misses         73       73              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmazzo gmazzo merged commit f4e62a0 into main May 26, 2026
20 checks passed
@gmazzo gmazzo deleted the dependabot/swift/github.com/apple/swift-argument-parser-1.8.0 branch May 26, 2026 14:44
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