XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.58k stars 119 forks source link

Bump github.com/apple/swift-argument-parser from 1.1.4 to 1.3.0 #347

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 4 months ago

Bumps github.com/apple/swift-argument-parser from 1.1.4 to 1.3.0.

Release notes

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

ArgumentParser 1.3.0

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.

  • 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.2.3 release includes contributions from @​Alkenso, @​compnerd, @​gwynne, @​kennyyork, @​natecook1000, @​rauhul, @​robertmryan, and @​vlm. Thank you!

ArgumentParser 1.2.3

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!

ArgumentParser 1.2.2

Fixes

  • Arguments with the .allUnrecognized parsing strategy no longer consume built-in flags like --help and --version. (#550)
  • Fixes an issue introduced in version 1.2.0 where properties with underscored names couldn't be parsed. (#548)
  • Improves the error message for cases where platform availability causes the synchronous ParsableCommand.main() static method to be run on an AsyncParsableCommand type. (#547)

ArgumentParser 1.2.1

... (truncated)

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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show 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)
dependabot[bot] commented 3 months ago

Superseded by #354.