From 8f5fb82fe5507e762e4d3e89d3023fc5010c034f Mon Sep 17 00:00:00 2001 From: "cgrindel-self-hosted-renovate[bot]" <139595543+cgrindel-self-hosted-renovate[bot]@users.noreply.github.com> Date: Wed, 22 May 2024 08:04:32 -0600 Subject: [PATCH] chore(deps): update dependency apple/swift-argument-parser to from: "1.4.0" (#1080) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | [apple/swift-argument-parser](https://togithub.com/apple/swift-argument-parser) | minor | `from: "1.3.1"` -> `from: "1.4.0"` | --- ### Release Notes
apple/swift-argument-parser (apple/swift-argument-parser) ### [`v1.4.0`](https://togithub.com/apple/swift-argument-parser/blob/HEAD/CHANGELOG.md#140---2024-05-21) [Compare Source](https://togithub.com/apple/swift-argument-parser/compare/1.3.1...1.4.0) ##### Additions - Adds support for subcommand aliases via a new `CommandConfiguration.aliases` parameter. Aliases are shown in help text and used during command parsing. For example, a subcommand like "average" from the example "math" tool can be defined with the aliases `["avg"]`. The resulting subcommand can now be invoked with either of `math stats average` and \`\`math stats avg\`. See the updated documentation and example for additional details. (\[[#​627](https://togithub.com/apple/swift-argument-parser/issues/627)]) - Adds a new API `usageString` to `ParsableArguments` and `ParsableCommand` for retrieving their usage text, allowing for more flexible construction of error screens. (\[[#​634](https://togithub.com/apple/swift-argument-parser/issues/634)]) - Adds support for passing custom arguments to `AsyncParsableCommand.main()` with a new `static func main(_ arguments: [String]?) async` method. (\[[#​568](https://togithub.com/apple/swift-argument-parser/issues/568)]) ##### Fixes - Removes default parameter values from deprecated CommandConfiguration initializers to prevent them from being selected as overloads. Some niche invalid deprecation warnings should no longer occur. (\[[#​636](https://togithub.com/apple/swift-argument-parser/issues/636)]) The 1.4.0 release includes contributions from \[Austinpayne], \[dcantah], \[KS1019], \[natecook1000], \[rauhul], and \[revolter]. Thank you!
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com> --- bzlmod/workspace/Package.resolved | 4 ++-- bzlmod/workspace/Package.swift | 2 +- bzlmod/workspace/swift_deps_index.json | 4 ++-- examples/pkg_manifest_minimal/Package.swift | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bzlmod/workspace/Package.resolved b/bzlmod/workspace/Package.resolved index 2fd55617b..96f5994c4 100644 --- a/bzlmod/workspace/Package.resolved +++ b/bzlmod/workspace/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-argument-parser", "state" : { - "revision" : "46989693916f56d1186bd59ac15124caef896560", - "version" : "1.3.1" + "revision" : "0fbc8848e389af3bb55c182bc19ca9d5dc2f255b", + "version" : "1.4.0" } }, { diff --git a/bzlmod/workspace/Package.swift b/bzlmod/workspace/Package.swift index 191bdc02d..69f45c44f 100644 --- a/bzlmod/workspace/Package.swift +++ b/bzlmod/workspace/Package.swift @@ -8,7 +8,7 @@ let package = Package( .executable(name: "my-executable", targets: ["MyExecutable"]), ], dependencies: [ - .package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.1"), + .package(url: "https://github.com/apple/swift-argument-parser", from: "1.4.0"), .package(url: "https://github.com/apple/swift-log", from: "1.5.4"), ], targets: [ diff --git a/bzlmod/workspace/swift_deps_index.json b/bzlmod/workspace/swift_deps_index.json index 8bc34a111..a2cbe3e5d 100644 --- a/bzlmod/workspace/swift_deps_index.json +++ b/bzlmod/workspace/swift_deps_index.json @@ -82,9 +82,9 @@ "name": "swiftpkg_swift_argument_parser", "identity": "swift-argument-parser", "remote": { - "commit": "46989693916f56d1186bd59ac15124caef896560", + "commit": "0fbc8848e389af3bb55c182bc19ca9d5dc2f255b", "remote": "https://github.com/apple/swift-argument-parser", - "version": "1.3.1" + "version": "1.4.0" } }, { diff --git a/examples/pkg_manifest_minimal/Package.swift b/examples/pkg_manifest_minimal/Package.swift index 9310845c2..79b95cc89 100644 --- a/examples/pkg_manifest_minimal/Package.swift +++ b/examples/pkg_manifest_minimal/Package.swift @@ -5,7 +5,7 @@ import PackageDescription let package = Package( name: "MySwiftPackage", dependencies: [ - .package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.1"), + .package(url: "https://github.com/apple/swift-argument-parser", from: "1.4.0"), .package(url: "https://github.com/apple/swift-log", from: "1.5.4"), .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.53.10"), .package(path: "third_party/my_local_package"),