Follow our blog, Twitter, or GitHub to see future announcements.
This represents a significant amount of work, and there are quite a few changes. Be sure to carefully read the changelog, and use tools such as pip-compile and Dependabot to pin your dependencies and control your updates.
open_file recognizes Path("-") as a standard stream, the
same as the string "-". :issue:2106
The option and argument decorators preserve the type
annotation of the decorated function. :pr:2155
A callable default value can customize its help text by overriding
__str__ instead of always showing (dynamic). :issue:2099
Fix a typo in the Bash completion script that affected file and
directory completion. If this script was generated by a previous
version, it should be regenerated. :issue:2163
Fix typing for echo and secho file argument.
:issue:2174, 2185
Version 8.0.3
Released 2021-10-10
Fix issue with Path(resolve_path=True) type creating invalid
paths. :issue:2088
Importing readline does not cause the confirm() prompt to
disappear when pressing backspace. :issue:2092
Any default values injected by invoke() are cast to the
corresponding parameter's type. :issue:2089, 2090
Version 8.0.2
Released 2021-10-08
is_bool_flag is not set to True if is_flag is False.
:issue:1925
Bash version detection is locale independent. :issue:1940
Empty default value is not shown for multiple=True.
:issue:1969
Fix shell completion for arguments that start with a forward slash
such as absolute file paths. :issue:1929
Path type with resolve_path=True resolves relative symlinks
to be relative to the containing directory. :issue:1921
Completion does not skip Python's resource cleanup when exiting,
avoiding some unexpected warning output. :issue:1738, 2017
Fix type annotation for type argument in prompt function.
:issue:2062
Fix overline and italic styles, which were incorrectly added when
... (truncated)
Commits
bf1a6d4 Merge pull request #2197 from pallets/release-8.0.4
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps click from 7.0 to 8.0.4.
Release notes
Sourced from click's releases.
Changelog
Sourced from click's changelog.
... (truncated)
Commits
bf1a6d4
Merge pull request #2197 from pallets/release-8.0.4667eac8
release version 8.0.48640699
Merge pull request #2187 from Yourun-proger/fix_typebda6381
Fix type forfile
argumente8b350b
Merge pull request #2196 from pallets/update-requirements29e8627
stop using dependabot for python, too noisye6f5502
cache pip with setup-python action312d01a
use pip-compile-multi for requirements53fae9c
update pre-commit hooks1c58883
Merge pull request #2175 from Jonxslays/bugfix/sechoDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)