click versions available: 7.0
Closed this issue · 1 comments
dependencies commented
There are new versions of click available from pypi.
7.0
Released 2018-09-25
- Drop support for Python 2.6 and 3.3.
(#967,
#976) - Wrap
click.Choice
's missing message.
(#202,
#1000) - Add native ZSH autocompletion support.
(#323,
#865) - Document that ANSI color info isn't parsed from bytearrays in
Python 2. (#334) - Document byte-stripping behavior of
CliRunner
.
(#334,
#1010) - Usage errors now hint at the
--help
option.
(#393,
#557) - Implement streaming pager.
(#409,
#889) - Extract bar formatting to its own method.
(#414) - Add
DateTime
type for converting input in given date time formats.
(#423) secho
's first argument can now beNone
, like inecho
.
(#424)- Fixes a
ZeroDivisionError
inProgressBar.make_step
, when the arg
passed to the first call ofProgressBar.update
is 0.
(#447,
#1012) - Show progressbar only if total execution time is visible.
(#487) - Added the ability to hide commands and options from help.
(#500) - Document that options can be
required=True
.
(#514,
#1022) - Non-standalone calls to
Context.exit
return the exit code, rather
than callingsys.exit
.
(#533,
#667,
#1098) click.getchar()
returns Unicode in Python 3 on Windows, consistent
with other platforms.
(#537,
#821,
#822,
#1088,
#1108)- Added
FloatRange
type.
(#538,
#553) - Added support for bash completion of
type=click.Choice
for
Options
andArguments
.
(#535,
#681) - Only allow one positional arg for
Argument
parameter declaration.
(#568,
#574,
#1014) - Add
case_sensitive=False
as an option to Choice.
(#569) click.getchar()
correctly raisesKeyboardInterrupt
on "^C"
andEOFError
on "^D" on Linux.
(#583,
#1115)- Fix encoding issue with
click.getchar(echo=True)
on Linux.
(#1115) param_hint
in errors now derived from param itself.
(#598,
#704,
#709)- Add a test that ensures that when an argument is formatted into a
usage error, its metavar is used, not its name.
(#612) - Allow setting
prog_name
as extra inCliRunner.invoke
.
(#616,
#999) - Help text taken from docstrings truncates at the
\f
form feed
character, useful for hiding Sphinx-style parameter documentation.
(#629,
#1091) launch
now works properly under Cygwin.
(#650)- Update progress after iteration.
(#651,
#706) CliRunner.invoke
now may receiveargs
as a string representing a
Unix shell command.
(#664)- Make
Argument.make_metavar()
default to type metavar.
(#675) - Add documentation for
ignore_unknown_options
.
(#684) - Add bright colors support for
click.style
and fix the reset option
for parametersfg
andbg
.
(#703,
#809) - Add
show_envvar
for showing environment variables in help.
(#710) - Avoid
BrokenPipeError
during interpreter shutdown when stdout or
stderr is a closed pipe.
(#712,
#1106) - Document customizing option names.
(#725,
#1016) - Disable
sys._getframes()
on Python interpreters that don't
support it. (#728) - Fix bug in test runner when calling
sys.exit
withNone
.
(#739) - Clarify documentation on command line options.
(#741,
#1003) - Fix crash on Windows console.
(#744) - Fix bug that caused bash completion to give improper completions on
chained commands.
(#754,
#774) - Added support for dynamic bash completion from a user-supplied
callback. (#755) - Added support for bash completions containing spaces.
(#773) - Allow autocompletion function to determine whether or not to return
completions that start with the incomplete argument.
(#790,
#806) - Fix option naming routine to match documentation and be
deterministic.
(#793,
#794) - Fix path validation bug.
(#795,
#1020) - Add test and documentation for
Option
naming: functionality.
(#799) - Update doc to match arg name for
path_type
.
(#801) - Raw strings added so correct escaping occurs.
(#807) - Fix 16k character limit of
click.echo
on Windows.
(#816,
#819) - Overcome 64k character limit when writing to binary stream on
Windows 7. (#825,
#830) - Add bool conversion for "t" and "f".
(#842) NoSuchOption
errors takectx
so that--help
hint gets printed
in error output.
(#860)- Fixed the behavior of Click error messages with regards to Unicode
on 2.x and 3.x. Message is now always Unicode and the str and
Unicode special methods work as you expect on that platform.
(#862) - Progress bar now uses stderr by default.
(#863) - Add support for auto-completion documentation.
(#866,
#869) - Allow
CliRunner
to separate stdout and stderr.
(#868) - Fix variable precedence.
(#873,
#874) - Fix invalid escape sequences.
(#877) - Fix
ResourceWarning
that occurs during some tests.
(#878) - When detecting a misconfigured locale, don't fail if the
locale
command fails. (#880) - Add
case_sensitive=False
as an option toChoice
types.
(#887) - Force stdout/stderr writable. This works around issues with badly
patched standard streams like those from Jupyter.
(#918) - Fix completion of subcommand options after last argument
(#919,
#930) _AtomicFile
now uses therealpath
of the original filename so
that changing the working directory does not affect it.
(#920)- Fix incorrect completions when defaults are present
(#925,
#930) - Add copy option attrs so that custom classes can be re-used.
(#926,
#994) - "x" and "a" file modes now use stdout when file is
"-"
.
(#929) - Fix missing comma in
__all__
list.
(#935) - Clarify how parameters are named.
(#949,
#1009) - Stdout is now automatically set to non blocking.
(#954) - Do not set options twice.
(#962) - Move
fcntl
import.
(#965) - Fix Google App Engine
ImportError
.
(#995) - Better handling of help text for dynamic default option values.
(#996) - Fix
get_winter_size()
so it correctly returns(0,0)
.
(#997) - Add test case checking for custom param type.
(#1001) - Allow short width to address cmd formatting.
(#1002) - Add details about Python version support.
(#1004) - Added deprecation flag to commands.
(#1005) - Fixed issues where
fd
was undefined.
(#1007) - Fix formatting for short help.
(#1008) - Document how
auto_envvar_prefix
works with command groups.
(#1011) - Don't add newlines by default for progress bars.
(#1013) - Use Python sorting order for ZSH completions.
(#1047,
#1059) - Document that parameter names are converted to lowercase by default.
(#1055) - Subcommands that are named by the function now automatically have
the underscore replaced with a dash. If you register a function
namedmy_command
it becomesmy-command
in the command line
interface. - Hide hidden commands and options from completion.
(#1058,
#1061) - Fix absolute import blocking Click from being vendored into a
project on Windows.
(#1068,
#1069) - Fix issue where a lowercase
auto_envvar_prefix
would not be
converted to uppercase.
(#1105)
ento commented
Pipfile.lock now specifies click==7.0, which means Travis builds will be testing against click==7.0.