Skip to content

v7.20.0

Choose a tag to compare

@kdeldycke kdeldycke released this 17 Jun 20:32
Immutable release. Only release title and notes can be modified.
  • Add MultiChoice to click_extra.types: a Click ParamType for comma-separated multi-pick from a fixed set of values, the pick-many counterpart to click.Choice.
  • Extend the --show-params table with seven new columns (Is flag, Flag value, Is bool flag, Multiple, Nargs, Prompt, Confirmation prompt).
  • Add the --columns option (ColumnsOption, @columns_option) for SQL SELECT-style column selection on both --show-params and the standalone click-extra show-params subcommand.
  • Add a click:tree Sphinx directive that walks a Click command tree and expands into a summary table plus one {click:run} --help block per command. MyST-only.
  • Fix click-extra show-params ignoring the top-level --table-format option and rendering its default as the enum name instead of the kebab-case ID.
  • Fix click-extra show-params and click-extra man resolving auto-generated environment variables as empty; the envvars column now matches what Click reads at runtime.
  • Fix the MkDocs plugin stripping ANSI escape codes but rendering no colors: it now generates the ANSI Pygments stylesheet and registers it through extra_css, so the -Ansi-* classes it emits are styled.
  • Drop duplicate and dead CSS classes from ANSI HTML rendering: compound tokens like Token.Ansi.Bold.Cyan now emit -Ansi -Ansi-Bold -Ansi-Cyan instead of repeating -Ansi-Bold and adding an unstyled -Ansi-Bold-Cyan.

Full changelog: v7.19.0...v7.20.0


🛡️ VirusTotal scans

Binary Detections Analysis
click-extra-7.20.0-linux-arm64.bin 0 / 60 View scan
click-extra-7.20.0-linux-x64.bin 0 / 61 View scan
click-extra-7.20.0-macos-arm64.bin 1 / 60 View scan
click-extra-7.20.0-macos-x64.bin 1 / 59 View scan
click-extra-7.20.0-windows-arm64.exe 2 / 67 View scan
click-extra-7.20.0-windows-x64.exe 18 / 69 View scan