chore(deps): update dependency jdx/usage to v3#22
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
cd9cb25 to
4a025ef
Compare
4a025ef to
796bbf2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.18.2→3.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
jdx/usage (jdx/usage)
v3.0.0: : Spec metadata expansion and Cobra escaping fixCompare Source
This release adds several new metadata fields to the usage spec and includes a breaking API change to the
Specstruct. The spec parser now supportslicense,before_help,after_help,before_long_help, andafter_long_help-- fields that were documented in the spec reference but silently ignored until now. TheSpecstruct has been marked#[non_exhaustive]to allow future field additions without further breaking changes.Breaking Changes
The
Specstruct now has the#[non_exhaustive]attribute. If you constructSpecvalues using struct literal syntax, your code will need to be updated:This change was made so that new fields can be added to
Specin future minor releases without breaking downstream code. (#542 by @jdx, fixes #537)Added
Support for
license,before_help,after_help,before_long_help, andafter_long_helptop-level metadata fields in the usage spec. These fields are now parsed, serialized, and included in spec merges and generated docs. For example:(#542 by @jdx)
New community integration: Ruby's
OptionParserviaoption_parser_usage. (#533 by @packrat386)Fixed
\n), tabs (\t), and carriage returns (\r) in KDL output. Previously, Cobra commands with multi-line help text would produce invalid KDL specs that failed to parse. (#539 by @thecodesmith)Changed
roffdependency from 0.2 to 1.0 for man page generation. (#529)New Contributors
Full Changelog: jdx/usage@v2.18.2...v3.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.