Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==8.0.4
->==8.1.8
Release Notes
pallets/click (click)
v8.1.8
Compare Source
Unreleased
click.open_file()
. :issue:2717
click.Path
displays onmultiple lines. :issue:
2697
""
from being displayed inthe help for an option. :issue:
2500
:issue:
2705
default_map
.:issue:
2632
click.echo(color=...)
passingcolor
to coloroma so it can beforced on Windows. :issue:
2606
.v8.1.7
Compare Source
Released 2023-08-17
2581
2574
2567
v8.1.6
Compare Source
Released 2023-07-18
@click.group()
. :issue:2558
v8.1.5
Compare Source
Released 2023-07-13
@click.command()
,@click.option()
, andother decorators. Introduce typing tests. :issue:
2558
v8.1.4
Compare Source
Released 2023-07-06
typing.Dict
occurrences totyping.MutableMapping
forparameter hints. :issue:
2255
:issue:
2398
shell_completion.add_completion_class
function. :pr:
2421
2461
.
) in the program name. :issue:2166
2268
click.clear()
. :issue:2284
2332
2368
fpath
. :issue:2344
.EOFError
andKeyboardInterrupt
tracebacks are not suppressed whenstandalone_mode
is disabled. :issue:2380
@group.command
does not fail if the group was created with a customcommand_class
. :issue:2416
multiple=True
is allowed for flag options again and does not requiresetting
default=()
. :issue:2246, 2292, 2295
@argument()
and@option()
reusable when thecls
parameter is used. :issue:2294
bytes with the replacement character (
�
). :issue:2395
2355
2554
echo()
does not fail when no streams are attached, such as withpythonw
onWindows. :issue:
2415
expose_value=False
do not cause completion to fail. :issue:2336
v8.1.3
Compare Source
Released 2022-04-28
typing.Callable
for@command
and@group
. :issue:2255
multiple=True, is_flag=True
. Usecount
instead.:issue:
2246
v8.1.2
Compare Source
Released 2022-03-31
executable check. :pr:
2236
Path
, placing theexecutable
parameter at the end. It is recommended to use keyword arguments
instead of positional arguments. :issue:
2235
v8.1.1
Compare Source
Released 2022-03-30
report that a command was not callable. :issue:
2227
v8.1.0
Compare Source
Released 2022-03-28
Drop support for Python 3.6. :pr:
2129
Remove previously deprecated code. :pr:
2130
Group.resultcallback
is renamed toresult_callback
.autocompletion
parameter toCommand
is renamed toshell_complete
.get_terminal_size
is removed, useshutil.get_terminal_size
instead.get_os_args
is removed, usesys.argv[1:]
instead.Rely on :pep:
538
and :pep:540
to handle selecting UTF-8 encodinginstead of ASCII. Click's locale encoding detection is removed.
:issue:
2198
Single options boolean flags with
show_default=True
only showthe default if it is
True
. :issue:1971
The
command
andgroup
decorators can be applied with orwithout parentheses. :issue:
1359
The
Path
type can check whether the target is executable.:issue:
1961
Command.show_default
overridesContext.show_default
, insteadof the other way around. :issue:
1963
Parameter decorators and
@group
handlescls=None
the same asnot passing
cls
.@option
handleshelp=None
the same asnot passing
help
. :issue:#1959
A flag option with
required=True
requires that the flag ispassed instead of choosing the implicit default value. :issue:
1978
Indentation in help text passed to
Option
andCommand
iscleaned the same as using the
@option
and@command
decorators does. A command's
epilog
andshort_help
are alsoprocessed. :issue:
1985
Store unprocessed
Command.help
,epilog
andshort_help
strings. Processing is only done when formatting help text for
output. :issue:
2149
Allow empty str input for
prompt()
whenconfirmation_prompt=True
anddefault=""
. :issue:2157
Windows glob pattern expansion doesn't fail if a value is an invalid
pattern. :issue:
2195
It's possible to pass a list of
params
to@command
. Anyparams defined with decorators are appended to the passed params.
:issue:
2131
.@command
decorator is annotated as returning the correct type ifa
cls
argument is used. :issue:2211
A
Group
withinvoke_without_command=True
andchain=False
will invoke its result callback with the group function's return
value. :issue:
2124
to_info_dict
will not fail if aParamType
doesn't define aname
. :issue:2168
Shell completion prioritizes option values with option prefixes over
new options. :issue:
2040
Options that get an environment variable value using
autoenvvar_prefix
treat an empty value asNone
, consistentwith a direct
envvar
. :issue:2146
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.