v8.1.1
- Fix
multipleand variadic (nargs=-1) options typed withEnumChoice: their tuple default was stringified as a whole (str((MyEnum.FOO,))) instead of per member, so the default tripped Click'sValue must be an iterablecheck when the option was left unset. - Fix
decorator_factoryleaking options across uses of a pre-instantiated decorator: whencommand()is stored (e.g. in a pytest parametrize list) and reused, Click mutated the sharedparamslist by extending it with each decorated function's options, adding duplicates on every reuse. The fix re-evaluatesparams_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 |