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.3.0 (#788)

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.2.3` -> `1.3.0` |

---

### Release Notes

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

###
[`v1.3.0`](https://togithub.com/apple/swift-argument-parser/blob/HEAD/CHANGELOG.md#130---2023-12-06)

[Compare
Source](https://togithub.com/apple/swift-argument-parser/compare/1.2.3...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.
(\[[#&#8203;582](https://togithub.com/apple/swift-argument-parser/issues/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.
(\[[#&#8203;582](https://togithub.com/apple/swift-argument-parser/issues/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`.
(\[[#&#8203;594](https://togithub.com/apple/swift-argument-parser/issues/594)])

##### Fixes

- The titles for nested option groups are preserved when embedded into
commands without
specifying a new title.
(\[[#&#8203;592](https://togithub.com/apple/swift-argument-parser/issues/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.
(\[[#&#8203;596](https://togithub.com/apple/swift-argument-parser/issues/596)])
- Bash completion scripts now respect the extensions given in a
`.file(...)` completion
kind.
(\[[#&#8203;590](https://togithub.com/apple/swift-argument-parser/issues/590)])
- Bash completion scripts now properly escape command names that include
hyphens.
(\[[#&#8203;573](https://togithub.com/apple/swift-argument-parser/issues/573)])
- Documentation improvements.
(\[[#&#8203;572](https://togithub.com/apple/swift-argument-parser/issues/572)],
\[[#&#8203;565](https://togithub.com/apple/swift-argument-parser/issues/565)],
\[[#&#8203;602](https://togithub.com/apple/swift-argument-parser/issues/602)])

The 1.2.3 release includes contributions from \[Alkenso], \[compnerd],
\[gwynne],
\[kennyyork], \[natecook1000], \[rauhul], \[robertmryan], and \[vlm].
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:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

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 Dec 7, 2023
1 parent ed830fd commit 109a69f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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 = "4a10bbef290a2167c5cc340b39f1f7ff6a8cf4e1b5433b68548bf5f1e542e908",
strip_prefix = "swift-argument-parser-1.2.3",
url = "https://github.com/apple/swift-argument-parser/archive/1.2.3.tar.gz",
sha256 = "e5010ff37b542807346927ba68b7f06365a53cf49d36a6df13cef50d86018204",
strip_prefix = "swift-argument-parser-1.3.0",
url = "https://github.com/apple/swift-argument-parser/archive/1.3.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 = "4a10bbef290a2167c5cc340b39f1f7ff6a8cf4e1b5433b68548bf5f1e542e908",
strip_prefix = "swift-argument-parser-1.2.3",
url = "https://github.com/apple/swift-argument-parser/archive/1.2.3.tar.gz",
sha256 = "e5010ff37b542807346927ba68b7f06365a53cf49d36a6df13cef50d86018204",
strip_prefix = "swift-argument-parser-1.3.0",
url = "https://github.com/apple/swift-argument-parser/archive/1.3.0.tar.gz",
)

non_module_deps = module_extension(implementation = _non_module_deps_impl)

0 comments on commit 109a69f

Please sign in to comment.