Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Changelog

## [`8.1.1.dev0` (unreleased)](https://github.com/kdeldycke/click-extra/compare/v8.1.0...main)
## [`8.1.2.dev0` (unreleased)](https://github.com/kdeldycke/click-extra/compare/v8.1.1...main)

> [!WARNING]
> This version is **not released yet** and is under active development.

## [`8.1.1` (2026-06-24)](https://github.com/kdeldycke/click-extra/compare/v8.1.0...v8.1.1)

- 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.

Expand Down
2 changes: 1 addition & 1 deletion citation.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
email: kevin@deldycke.com
orcid: "https://orcid.org/0000-0001-9748-9014"
doi: 10.5281/zenodo.7116050
version: 8.1.1.dev0
version: 8.1.2.dev0
# The release date is kept up to date by the external workflows. See:
# https://github.com/kdeldycke/workflows/blob/33b704b489c1aa18b7b7efbf963e153e91e1c810/.github/workflows/changelog.yaml#L135-L137
date-released: 2026-06-24
Expand Down
2 changes: 1 addition & 1 deletion click_extra/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
del _HAS_CLICK_8_4_EXPORTS


__version__ = "8.1.1.dev0"
__version__ = "8.1.2.dev0"
__git_branch__ = ""
__git_date__ = ""
__git_long_hash__ = ""
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires = [ "uv-build>=0.9" ]
[project]
# Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
name = "click-extra"
version = "8.1.1.dev0"
version = "8.1.2.dev0"
description = "🌈 Drop-in replacement for Click to make user-friendly and colorful CLI"
readme = "readme.md"
keywords = [
Expand Down Expand Up @@ -203,7 +203,7 @@ click-extra = "click_extra.__main__:main"

[project.urls]
"Homepage" = "https://github.com/kdeldycke/click-extra"
"Download" = "https://github.com/kdeldycke/click-extra/releases/tag/v8.1.1.dev0"
"Download" = "https://github.com/kdeldycke/click-extra/releases/tag/v8.1.2.dev0"
"Changelog" = "https://github.com/kdeldycke/click-extra/blob/main/changelog.md"
"Issues" = "https://github.com/kdeldycke/click-extra/issues"
"Repository" = "https://github.com/kdeldycke/click-extra"
Expand Down Expand Up @@ -435,7 +435,7 @@ report.precision = 2
file = "tests/cli-test-suite.toml"

[tool.bumpversion]
current_version = "8.1.1.dev0"
current_version = "8.1.2.dev0"
# Parse versions with an optional .devN suffix (PEP 440).
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.dev(?P<dev>\\d+))?"
serialize = [
Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading