Skip to content

Tags: BrianPugh/cyclopts

Tags

v4.18.0

Toggle v4.18.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #838 from BrianPugh/fix-issue-836

Fix dropped `Parameter` metadata in nested Annotated/Optional/NewType types

v4.17.0

Toggle v4.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #833 from BrianPugh/parameter-default-string

Allow `Parameter.show_default` to be a string to display.

v4.16.1

Toggle v4.16.1's commit message
fix zsh completion recursion when prog_name matches a builtin helper

The generated zsh autoload entry was named `_<prog>`, which shadows zsh's
builtin `_files` / `_directories` / `_arguments` / ... helpers when
`<prog>` happens to match one. `_arguments`'s `:file:_files` action then
recurses back into our own function instead of the real builtin — on
macOS this surfaces as a "recursion limit exceeded" message that gets
scraped as a phantom completion (test silently passed); on aarch64 Linux
under Nix the pty closes and pexpect sees EOF (issue #821).

Namespace the autoloaded function and install path as `_cyclopts_<prog>`
so internal helper calls always resolve to the real zsh builtins.

Tighten `test_collection_option_repeats` to assert that `first.txt`
appears in the completion list — the previous `assert completions` was
satisfied by the recursion-error text and masked the bug.

Fixes #821.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

v4.16.0

Toggle v4.16.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #819 from BrianPugh/pep-692

PEP-692 Support (kwargs `Unpack`)

v4.15.0

Toggle v4.15.0's commit message
Introduce App.synonyms

v4.14.1

Toggle v4.14.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #812 from BrianPugh/trusted-publishing

use trusted publishing when uploading to pypi

v4.14.0

Toggle v4.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #810 from germa89/chore/increase-rich-rst-dependen…

…cy-limit

Bump rich-rst version constraint to `<3.0.0`

v4.13.0

Toggle v4.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #808 from BrianPugh/more-rich-in-errors

Add more rich formatting to `CycloptsError` printing.

v4.12.0

Toggle v4.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #803 from BrianPugh/str-reference-validator

resolve string forward-referenced validators

v4.11.2

Toggle v4.11.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #800 from BrianPugh/json-list-detection

Fix `_should_attempt_json_list` for detecting `list[str] | None` and Annotated annotations