Skip to content

Releases: pallets/click

8.1.8

21 Dec 18:39
934813e
Compare
Choose a tag to compare

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=...) passing color 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 with subprocess.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

17 Aug 17:29
8.1.7
874ca2b
Compare
Choose a tag to compare

8.1.6

18 Jul 20:05
8.1.6
3793f5b
Compare
Choose a tag to compare

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

13 Jul 15:08
8.1.5
63c1716
Compare
Choose a tag to compare

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

06 Jul 18:28
8.1.4
3d873a3
Compare
Choose a tag to compare

8.1.3

28 Apr 17:37
9c6f4c8
Compare
Choose a tag to compare

8.1.2

31 Mar 20:55
030f53c
Compare
Choose a tag to compare

8.1.1

30 Mar 20:17
a41e349
Compare
Choose a tag to compare

8.1.0

28 Mar 17:42
e4aceee
Compare
Choose a tag to compare

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.

8.0.4

18 Feb 20:32
bf1a6d4
Compare
Choose a tag to compare