github apple/swift-argument-parser 1.3.1
ArgumentParser 1.3.1

2 months ago

Changes

  • The CommandConfigration 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!

Don't miss a new swift-argument-parser release

NewReleases is sending notifications on new releases.