Releases: pallets/click
8.1.8
This is the Click 8.1.8 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.1.8/
Changes: https://click.palletsprojects.com/en/stable/changes/#version-8-1-8
Milestone https://github.com/pallets/click/milestones/23?closed=1
- Fix an issue with type hints for
click.open_file()
. #2717 - Fix issue where error message for invalid
click.Path
displays on
multiple lines. #2697 - Fixed issue that prevented a default value of
""
from being displayed in
the help for an option. #2500 - The test runner handles stripping color consistently on Windows. #2705
- Show correct value for flag default when using
default_map
. #2632 - Fix
click.echo(color=...)
passingcolor
to coloroma so it can be
forced on Windows. #2606. - More robust bash version check, fixing problem on Windows with git-bash. #2638
- Cache the help option generated by the
help_option_names
setting to
respect its eagerness. #2811 - Replace uses of
os.system
withsubprocess.Popen
. #1476 - Exceptions generated during a command will use the context's
color
setting when being displayed. #2193 - Error message when defining option with invalid name is more descriptive. #2452
- Refactor code generating default
--help
option to deduplicate code. #2563 - Test
CLIRunner
resets patched_compat.should_strip_ansi
. #2732
8.1.7
This is a fix release for the 8.1.x feature branch.
8.1.6
This is a fix release for the 8.1.x feature branch. If you were having issues with type checking tools like pyright or mypy not accepting uses of Click's decorators, this should fix that.
8.1.5
This is a fix release for the 8.1.x feature branch. This fixes an issue with decorator type annotations that caused type checkers to fail for valid code. There are no runtime behavior changes.
8.1.4
This is a fix release for the 8.1.x feature branch.
8.1.3
This is a fix release for the 8.1.0 feature release.
8.1.2
This is a fix release for the 8.1.0 feature release.
8.1.1
This is a fix release for the 8.1.0 feature release.
8.1.0
This is a feature release, which includes new features and removes previously deprecated features. The 8.1.x branch is now the supported bugfix branch, the 8.0.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades.