8.3.0
This is the Click 8.3.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecation, or introduce potentially breaking changes.
We encourage everyone to upgrade. You can read more about our Version Support Policy on our website.
PyPI: https://pypi.org/project/click/8.3.0/ Changes: https://click.palletsprojects.com/page/changes/#version-8-3-0 Milestone https://github.com/pallets/click/milestone/27
-
Improved flag option handling: Reworked the relationship between
flag_valueanddefaultparameters for better consistency:- The
defaultparameter value is now preserved as-is and passed directly to CLI functions (no more unexpected transformations) - Exception: flag options with
default=Truemaintain backward compatibility by defaulting to theirflag_value
- The