Skip to content

Commit

Permalink
chore(deps): update dependency com_github_apple_swift_argument_parser…
Browse files Browse the repository at this point in the history
… to v1.4.0 (#1081)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[com_github_apple_swift_argument_parser](https://togithub.com/apple/swift-argument-parser)
| http_archive | minor | `1.3.1` -> `1.4.0` |

---

### Release Notes

<details>
<summary>apple/swift-argument-parser
(com_github_apple_swift_argument_parser)</summary>

###
[`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.
(\[[#&#8203;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.
(\[[#&#8203;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.
(\[[#&#8203;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.
(\[[#&#8203;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!

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
  • Loading branch information
cgrindel-self-hosted-renovate[bot] and Self-hosted Renovate Bot authored May 22, 2024
1 parent 122c332 commit b726b33
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/http_archive_ext_deps/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@bazel_gazelle//:def.bzl", "gazelle", "gazelle_binary")
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@cgrindel_bazel_starlib//bzltidy:defs.bzl", "tidy")

tidy(
Expand Down
6 changes: 3 additions & 3 deletions examples/http_archive_ext_deps/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ swift_library(
visibility = ["//visibility:public"],
)
""",
sha256 = "4d964f874b251abc280ee28f0f187de3c13a6122a9561524f66a10768ca2d837",
strip_prefix = "swift-argument-parser-1.3.1",
url = "https://github.com/apple/swift-argument-parser/archive/1.3.1.tar.gz",
sha256 = "d5bad3a1da66d9f4ceb0a347a197b8fdd243a91ff6b2d72b78efb052b9d6dd33",
strip_prefix = "swift-argument-parser-1.4.0",
url = "https://github.com/apple/swift-argument-parser/archive/1.4.0.tar.gz",
)
6 changes: 3 additions & 3 deletions examples/http_archive_ext_deps/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ swift_library(
visibility = ["//visibility:public"],
)
""",
sha256 = "4d964f874b251abc280ee28f0f187de3c13a6122a9561524f66a10768ca2d837",
strip_prefix = "swift-argument-parser-1.3.1",
url = "https://github.com/apple/swift-argument-parser/archive/1.3.1.tar.gz",
sha256 = "d5bad3a1da66d9f4ceb0a347a197b8fdd243a91ff6b2d72b78efb052b9d6dd33",
strip_prefix = "swift-argument-parser-1.4.0",
url = "https://github.com/apple/swift-argument-parser/archive/1.4.0.tar.gz",
)

non_module_deps = module_extension(implementation = _non_module_deps_impl)

0 comments on commit b726b33

Please sign in to comment.