Skip to content

1.1.0

Choose a tag to compare

@Solganis Solganis released this 13 Jul 18:37
057ce9a

Bug fixes

  • fmt: only options: sections are re-aligned, so a prose bullet elsewhere in the doc keeps its commas
  • check: the dead-default rules fire on a multi-line usage - the multi-pattern case their description names
  • check: a redundant (add | add) inside a usage line is caught, not just the outermost alternation
  • check: -h | --help is one option under two spellings, not a redundant alternative
  • generate_examples: an invalid example is verified against the parser, not assumed (a --help or [--] usage yielded argvs it accepts)
  • generate_stub: a positional every usage line requires is typed str, not str | None
  • format_argv: an env- or config-resolved value is written into the argv, so a persisted command reproduces the run without that environment
  • Diagnostics: a single-line usage carets its unmet element - the caret was gated off below two usage lines

Documentation

  • The design-boundaries page no longer denies help_style="rich": the boundary is against a second source of truth, not presentation
  • The coercion table lists every type the code coerces, held to the code by a test
  • The guides are grouped by what they act on. mkdocs fails the build on a dead anchor