Skip to content

v8.1.1

Choose a tag to compare

@kdeldycke kdeldycke released this 24 Jun 15:44
Immutable release. Only release title and notes can be modified.
  • Fix multiple and variadic (nargs=-1) options typed with EnumChoice: their tuple default was stringified as a whole (str((MyEnum.FOO,))) instead of per member, so the default tripped Click's Value must be an iterable check when the option was left unset.
  • Fix decorator_factory leaking options across uses of a pre-instantiated decorator: when command() is stored (e.g. in a pytest parametrize list) and reused, Click mutated the shared params list by extending it with each decorated function's options, adding duplicates on every reuse. The fix re-evaluates params_func() fresh on each application.

Full changelog: v8.1.0...v8.1.1


🛡️ VirusTotal scans

Binary Detections Analysis
click-extra-8.1.1-linux-arm64.bin 0 / 61 View scan
click-extra-8.1.1-linux-x64.bin 0 / 62 View scan
click-extra-8.1.1-macos-arm64.bin pending View scan
click-extra-8.1.1-macos-x64.bin 0 / 61 View scan
click-extra-8.1.1-windows-arm64.exe 2 / 65 View scan
click-extra-8.1.1-windows-x64.exe 15 / 69 View scan