This is the Click 8.4.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.
PyPI: https://pypi.org/project/click/8.4.2/
Changes: https://click.palletsprojects.com/page/changes/#version-8-4-2
Milestone: https://github.com/pallets/click/milestone/34
- Fix Fish shell completion broken in
8.4.0by #3126. Newlines and
tabs in option help text are now escaped, keeping the original completion
format while still supporting multi-line help. #3502
#3043 #3504 #3508 - Deprecated commands and options with empty or missing help text no longer
render a stray leading space before the(DEPRECATED)label. #3509 - A {class}
Groupwithinvoke_without_command=Truemarks its subcommand as
optional in the usage help, showing[COMMAND]instead ofCOMMAND.
#3059 #3507 echo_via_pagerflushes after each write, so passing a generator streams
output to the pager incrementally instead of staying hidden until the pipe
buffer fills. #3242 #2542 #3534echo_via_pagerandget_pager_fileno longer close a borrowed stdout
stream when no external pager runs, completing the partial
I/O operation on closed filefix from #3482. #3449
#3533- Fix CLI usage symopsis for optional arguments producing double square brackets
[[a|b|c]]...whose type already brackets their metavar. #3578 - {func}
version_optionresolves apackage_namethat does not match an
installed distribution as an import (top-level module) name via
{func}importlib.metadata.packages_distributions. Packages whose
top-level module name differs from their distribution name (PILvs
Pillow,jwtvsPyJWT) no longer raiseRuntimeErrorout of the
box. #2331 #1884 #3125 #3582