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.
Mark top-level names as exported so type checking understand imports
in user projects. :issue:1879
Annotate Context.obj as Any so type checking allows all
operations on the arbitrary object. :issue:1885
Fix some types that weren't available in Python 3.6.0. :issue:1882
Fix type checking for iterating over ProgressBar object.
:issue:1892
The importlib_metadata backport package is installed on Python <
3.8. :issue:1889
Arguments with nargs=-1 only use env var value if no command
line values are given. :issue:1903
Flag options guess their type from flag_value if given, like
regular options do from default. :issue:1886
Added documentation that custom parameter types may be passed
already valid values in addition to strings. :issue:1898
Resolving commands returns the name that was given, not
command.name, fixing an unintended change to help text and
default_map lookups. When using patterns like AliasedGroup,
override resolve_command to change the name that is returned if
needed. :issue:1895
If a default value is invalid, it does not prevent showing help
text. :issue:1889
Pass windows_expand_args=False when calling the main command to
disable pattern expansion on Windows. There is no way to escape
patterns in CMD, so if the program needs to pass them on as-is then
expansion must be disabled. :issue:1901
Version 8.0.0
Released 2021-05-11
Drop support for Python 2 and 3.5.
Colorama is always installed on Windows in order to provide style
and color support. :pr:1784
Adds a repr to Command, showing the command name for friendlier
debugging. :issue:1267, :pr:1295
Add support for distinguishing the source of a command line
parameter. :issue:1264, :pr:1329
Add an optional parameter to ProgressBar.update to set the
current_item. :issue:1226, :pr:1332
version_option uses importlib.metadata (or the
importlib_metadata backport) instead of pkg_resources. The
version is detected based on the package name, not the entry point
... (truncated)
Commits
baea623 Merge pull request #1919 from pallets/release-8.0.1
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)
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps click from 7.1.2 to 8.0.1.
Release notes
Sourced from click's releases.
Changelog
Sourced from click's changelog.
... (truncated)
Commits
baea623
Merge pull request #1919 from pallets/release-8.0.13149679
release version 8.0.16e91b13
Merge pull request #1918 from pallets/disable-windows-expansion6439aae
flag to control Windows pattern expansionfcf8205
Merge pull request #1916 from pallets/default-resilient985ca16
show help text with invalid default1b49159
Merge pull request #1915 from pallets/command-name0db91e2
return resolved name, not original name329b100
Merge pull request #1914 from pallets/custom-type-value0c108f2
document values passed to typesDependabot 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)