github pallets/click 8.3.2

10 hours ago

This is the Click 8.3.2 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.3.2/
Changes: https://click.palletsprojects.com/page/changes/#version-8-3-2
Milestone: https://github.com/pallets/click/milestone/29

  • Fix handling of flag_value when is_flag=False to allow such options to be
    used without an explicit value. #3084 #3152
  • Hide Sentinel.UNSET values as None when using lookup_default().
    #3136 #3199 #3202 #3209 #3212 #3224
  • Prevent _NamedTextIOWrapper from closing streams owned by StreamMixer.
    #824 #2991 #2993 #3110 #3139 #3140
  • Add comprehensive tests for CliRunner stream lifecycle, covering
    logging interaction, multi-threaded safety, and sequential invocation
    isolation. Add high-iteration stress tests behind a stress marker
    with a dedicated CI job. #3139
  • Fix callable flag_value being instantiated when used as a default via
    default=True. #3121 #3201 #3213 #3225

Don't miss a new click release

NewReleases is sending notifications on new releases.