summaryrefslogtreecommitdiff
path: root/CHANGES.rst
Commit message (Collapse)AuthorAgeFilesLines
* release version 8.1.3David Lord2022-04-281-1/+1
|
* disallow use of is_flag and multiple in optionJohn Reese2022-04-281-0/+3
|
* use verbose Callable for @command and @groupJonxslays2022-04-261-0/+3
|
* start version 8.1.3David Lord2022-04-261-0/+6
|
* release version 8.1.2David Lord2022-03-311-1/+1
|
* restore Path param orderDavid Lord2022-03-311-0/+3
|
* fix readable path check error messageAlexander Shadchin2022-03-311-0/+3
|
* start version 8.1.2David Lord2022-03-311-0/+6
|
* release version 8.1.1David Lord2022-03-301-1/+1
|
* fix(types): decorator typing failsHenry Schreiner2022-03-301-0/+3
|
* start version 8.1.1David Lord2022-03-301-0/+6
|
* release version 8.1.0David Lord2022-03-281-0/+2
|
* treat empty auto_envvar as NoneDavid Lord2022-03-281-0/+3
|
* shell completion prioritizes option values over new optionsPaul Spangler2022-03-281-0/+2
| | | | | | | Allow option values that start with an option prefix to complete rather than treating them like new options. Don't treat count options as needing a value to complete.
* fix ParamType.to_info_dict() with no nameMatthew Martin2022-03-191-0/+2
|
* group without command passes return value to result callbackDavid Lord2022-03-191-0/+3
|
* correctly annotate return type of @command(cls=XYZ)matejcik2022-03-111-0/+2
|
* command decorator params argumentDavid Lord2022-02-211-0/+3
|
* glob expansion on Windows doesn't fail on invalid valuesDavid Lord2022-02-211-0/+2
|
* allow empty str input for promptunparalleled-js2022-02-211-0/+2
|
* defer processing Command.help, epilog, and short_helpDavid Lord2022-02-211-4/+5
|
* Store raw help string for commandsStephen Finucane2022-02-201-0/+2
| | | | | | | | | | | | | Some tools, such as sphinx-click [1], may wish to access the full help string for a command including any text after the form feed character (which indicates truncation [2]). Make this possible by storing the help string without truncation and instead truncate when we use this string (i.e. truncate on load, not on store). [1] https://github.com/click-contrib/sphinx-click/issues/56 [2] https://click.palletsprojects.com/en/latest/documentation/#truncating-help-texts Signed-off-by: Stephen Finucane <stephen@that.guru>
* enforce required flagDanny Sepler2022-02-201-0/+2
|
* reword locale encoding changelogDavid Lord2022-02-201-3/+3
|
* reword locale encoding changelogDavid Lord2022-02-201-2/+2
|
* cleandoc for Command help, epilog, and short_helpDavid Lord2022-02-201-2/+4
|
* Option calls cleandoc on help instead of @optionGianluca Gippetto2022-02-201-0/+2
|
* param=None is the same as not passing the paramGianluca Gippetto2022-02-201-0/+3
|
* Option.show_default now overrides Context.show_defaultGianluca Gippetto2022-02-201-0/+2
| | | | Previously, it was the opposite.
* fix changelog for executableDavid Lord2022-02-191-3/+2
|
* add an ability to check that a Path has an executable bit setNicky Sielicki2022-02-191-1/+2
|
* command and group decorator parentheses are optionalAngus L'Herrou2022-02-191-0/+2
|
* remove utf-8 detectionDavid Lord2022-02-181-0/+3
|
* Merge branch '8.0.x'David Lord2022-02-181-2/+3
|\
| * release version 8.0.4David Lord2022-02-181-1/+1
| |
| * Fix type for `file` argumentYourun-Proger2022-02-181-1/+2
| |
* | Merge branch '8.0.x'David Lord2022-02-171-0/+1
|\ \ | |/
| * Fix typing in click.secho functionJonxslays2022-01-161-0/+1
| |
* | Merge branch '8.0.x'David Lord2022-01-131-0/+7
|\ \ | |/
| * Update shell completion to use COMPREPLY instead of COMREPLY for BashAshwin Madavan2021-12-281-0/+3
| |
| * Allow a callable default to have its own string representationKrzysztof Kotlenga2021-12-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | As it was before 78a62b37c956e71b32689a0d5c75a684aa9ab56d. A callable can also be an object with __call__ and __str__ defined, in which case it makes sense to use it. Don't try too hard to show something else instead, because the developer most likely knows what he (or she) is doing. https://github.com/pallets/click/issues/2099
| * Fix TypeVar for decorators that handle CommandsDavid Euresti2021-12-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old type var would throw away the types of Callables. ``` import click @click.option("--name", prompt="Your name", help="The person to greet.") def hello(name: str) -> None: ... reveal_type(hello) # note: Revealed type is 'def (*Any, **Any) -> Any' ``` With this small adjustment mypy now knows that it's a `'def (name: builtins.str)'`
* | remove deprecated get_os_argsDavid Lord2021-11-101-0/+1
| |
* | remove deprecated get_terminal_sizeDavid Lord2021-11-101-0/+2
| |
* | remove deprecated Command autocompletion parameterDavid Lord2021-11-101-0/+2
| |
* | remove deprecated Group.resultcallbackDavid Lord2021-11-101-0/+4
| |
* | drop Python 3.6David Lord2021-11-101-1/+2
| |
* | Merge branch '8.0.x'David Lord2021-10-251-0/+9
|\ \ | |/
| * open_file hanldes pathlib.Path("-")David Lord2021-10-251-0/+9
| |
* | Merge branch '8.0.x'David Lord2021-10-101-0/+13
|\ \ | |/