Bump click from 7.1.2 to 8.0.1
Bumps click from 7.1.2 to 8.0.1.
Release notes
Sourced from click's releases.
8.0.1
8.0.0
New major versions of all the core Pallets libraries, including Click 8.0, have been released!
🎉
- Read the announcement on our blog: https://palletsprojects.com/blog/flask-2-0-released/
- Read the full list of changes: https://click.palletsprojects.com/changes/#version-8-0-0
- Retweet the announcement on Twitter: https://twitter.com/PalletsTeam/status/1392266507296514048
- 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.
8.0.0rc1
8.0.0a1
Changelog
Sourced from click's changelog.
Version 8.0.1
Released 2021-05-19
- Mark top-level names as exported so type checking understand imports in user projects. :issue:
1879- Annotate
Context.objasAnyso 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
ProgressBarobject. :issue:1892- The
importlib_metadatabackport package is installed on Python < 3.8. :issue:1889- Arguments with
nargs=-1only use env var value if no command line values are given. :issue:1903- Flag options guess their type from
flag_valueif given, like regular options do fromdefault. :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 anddefault_maplookups. When using patterns likeAliasedGroup, overrideresolve_commandto 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=Falsewhen 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:1901Version 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.
🇵🇷 1784- Adds a repr to Command, showing the command name for friendlier debugging. :issue:
1267,🇵🇷 1295- Add support for distinguishing the source of a command line parameter. :issue:
1264,🇵🇷 1329- Add an optional parameter to
ProgressBar.updateto set thecurrent_item. :issue:1226,🇵🇷 1332version_optionusesimportlib.metadata(or theimportlib_metadatabackport) instead ofpkg_resources. The version is detected based on the package name, not the entry point
... (truncated)
Commits
-
baea623Merge pull request #1919 from pallets/release-8.0.1 -
3149679release version 8.0.1 -
6e91b13Merge pull request #1918 from pallets/disable-windows-expansion -
6439aaeflag to control Windows pattern expansion -
fcf8205Merge pull request #1916 from pallets/default-resilient -
985ca16show help text with invalid default -
1b49159Merge pull request #1915 from pallets/command-name -
0db91e2return resolved name, not original name -
329b100Merge pull request #1914 from pallets/custom-type-value -
0c108f2document values passed to types - Additional commits viewable in compare view