Releases: kdeldycke/click-extra
Releases · kdeldycke/click-extra
v7.6.3
v7.6.2
Changes
- Add
ExtraVersionOption.prebake_version()static method to pre-bake__version__strings with Git hashes at compile time, complementing the runtimeversionproperty for Nuitka/PyInstaller binaries.
Full Changelog: v7.6.1...v7.6.2
v7.6.1
v7.6.0
Changes
- Add
_default_subcommandsreserved configuration key to auto-invoke subcommands when none are provided on the CLI. Closes {issue}1405. - Add
_prepend_subcommandsreserved configuration key to always prepend subcommands to every invocation (requireschain=True). Closes {issue}1405. - Add
--validate-configoption to validate configuration files. - Add
ConfigFormat.PYPROJECT_TOMLformat for[tool.*]section support inpyproject.toml. Closes {issue}1524. - Stop parent directory walk on inaccessible directories.
- Add
stop_atparameter to@config_optionto limit parent directory walking. Defaults toVCS. Closes {issue}651. - Add
VCSsentinel andVCS_DIRSconstant for VCS root detection. - Resolve relative paths to absolute in
parent_patternsbefore yielding. - Add
included_paramsallowlist toConfigOptionand@config_option, the inverse ofexcluded_params. Closes {issue}1362. - Add human-friendly display labels to
ConfigFormat. - Switch back from
SPLITtoBRACEflag for multi-format config file patterns. Fixes a bug where only the first format received the directory prefix withSPLIT. - Hard code icon workaround for Sphinx index entries.
- Automatically append Git short hash as a PEP 440 local version identifier to
.devversions (e.g.,1.2.3.dev0+abc1234). - Skip Git hash suffix for versions that already contain
+(pre-baked local identifiers) to avoid invalid double-suffixed versions. - Recognize
LLMenvironment variable to strip ANSI codes when running under an AI agent.
Full Changelog: v7.5.3...v7.6.0
v7.5.3
Changes
- Allow disabling of autodiscovery of configuration files by setting
default=NO_CONFIGon@config_option. Closes {issue}1495. - Implement
resolve_any_xrefinClickDomainto prevent MyST-Parser warning. Closes {issue}1502. - Fix subcommand conflict detection checking against root-level params instead of parent params. Closes {pr}
1286.
Full Changelog: v7.5.2...v7.5.3
v7.5.2
Changes
- Fix GitHub alerts converter mangling
list-tabledirective content. Closes {issue}1490. - Replace Dependabot by Renovate.
- Move
click_extra/docs_update.pytodocs/docs_update.py. - Add
pygments-ansi-colortodocsdependency group for lexer table generation.
v7.5.1
Changes
- Add new
alignedtable format with single-space column separators and no borders. - Fix parallel mode support in Sphinx extension. Closes {issue}
1482.
v7.5.0
Changes
- Fix
TableFormat.GITHUBto render proper alignment hints in the separator row (:---,:---:,---:). - Move auto-lock time from 8:43 to 4:43.
- Set cooldown period via the
pyproject.toml. - Add Download link to project metadata.
- Include license file in package.
- Replace deprecated
codecov/test-results-actionbycodecov/codecov-action. - Remove utilization workaround for
macos-15-intel. - Bump requirement of
extra-platformsto 8.0.0.
v7.4.0
Changes
- Add cooldown period for dependabot and
uv.lockupdates. - Uncap all dependencies.
- Replace
tool.uvsection bybuild-system. - Merge all label jobs into a single one.
- Unlock a CPU core stuck at 100% utilization on
macos-15-intel.
v7.3.0
Changes
- Add
click:sourcedirective as an alias toclick:exampledirective in Sphinx extension. - Flag
click:exampledirective as deprecated in favor ofclick:source. - Add support for nested GitHub alerts.
- Fix fetching version when the CLI is implemented as a standalone script and not as a package module.