wrap changelog
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent 770d259 · Browse files · 1 file·+99 added−45 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+99 added−45 removed
- other:+99 added−45 removed
Provenance
- Commit
065653e- Tree
78d43e0- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
770d259
1 file changed+99 added−45 removed
modified:CHANGES.rst+99 added-45 removed
8 unmodified lines9 10 - Drop support for Python 2.6 and 3.3. (`#967`_, `#976`_)11 - Wrap ``click.Choice``'s missing message. (`#202`_, `#1000`_)12 - Add native ZSH autocompletion support. (`#323`_, `#865`_)13-- Document that ANSI color info isn't parsed from bytearrays in Python 2. (`#334`_)14-- Document byte-stripping behavior of ``CliRunner``. (`#334`_, `#1010`_)13+- Document that ANSI color info isn't parsed from bytearrays in14+ Python 2. (`#334`_)15+- Document byte-stripping behavior of ``CliRunner``. (`#334`_,16+ `#1010`_)17 - Usage errors now hint at the ``--help`` option. (`#393`_, `#557`_)18 - Implement streaming pager. (`#409`_, `#889`_)19 - Extract bar formatting to its own method. (`#414`_)18-- Add ``DateTime`` type for converting input in given date time formats. (`#423`_)19-- ``secho``'s first argument can now be ``None``, like in ``echo``. (`#424`_)20-- Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``, when the arg passed to the first call of ``ProgressBar.update`` is 0. (`#447`_, `#1012`_)20+- Add ``DateTime`` type for converting input in given date time21+ formats. (`#423`_)22+- ``secho``'s first argument can now be ``None``, like in ``echo``.23+ (`#424`_)24+- Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``, when the25+ arg passed to the first call of ``ProgressBar.update`` is 0.26+ (`#447`_, `#1012`_)27 - Show progressbar only if total execution time is visible. (`#487`_)28 - Added the ability to hide commands and options from help. (`#500`_)29 - Document that options can be ``required=True``. (`#514`_, `#1022`_)24-- Non-standalone calls to ``Context.exit`` return the exit code, rather than calling ``sys.exit``. (`#533`_, `#667`_, `#1098`_)25-- ``click.getchar()`` returns Unicode in Python 3 on Windows, consistent with other platforms. (`#537`_, `#821`_, `#822`_, `#1088`_, `#1108`_)30+- Non-standalone calls to ``Context.exit`` return the exit code,31+ rather than calling ``sys.exit``. (`#533`_, `#667`_, `#1098`_)32+- ``click.getchar()`` returns Unicode in Python 3 on Windows,33+ consistent with other platforms. (`#537`_, `#821`_, `#822`_,34+ `#1088`_, `#1108`_)35 - Added ``FloatRange`` type. (`#538`_, `#553`_)27-- Added support for bash completion of ``type=click.Choice`` for ``Options`` and ``Arguments``. (`#535`_, `#681`_)28-- Only allow one positional arg for ``Argument`` parameter declaration. (`#568`_, `#574`_, `#1014`_)36+- Added support for bash completion of ``type=click.Choice`` for37+ ``Options`` and ``Arguments``. (`#535`_, `#681`_)38+- Only allow one positional arg for ``Argument`` parameter39+ declaration. (`#568`_, `#574`_, `#1014`_)40 - Add ``case_sensitive=False`` as an option to Choice. (`#569`_)30-- ``click.getchar()`` correctly raises ``KeyboardInterrupt`` on "^C" and ``EOFError`` on "^D" on Linux. (`#583`_, `#1115`_)31-- Fix encoding issue with ``click.getchar(echo=True)`` on Linux. (`#1115`_)32-- ``param_hint`` in errors now derived from param itself. (`#598`_, `#704`_, `#709`_)33-- Add a test that ensures that when an argument is formatted into a usage error, its metavar is used, not its name. (`#612`_)34-- Allow setting ``prog_name`` as extra in ``CliRunner.invoke``. (`#616`_, `#999`_)35-- Help text taken from docstrings truncates at the ``\f`` form feed character, useful for hiding Sphinx-style parameter documentation. (`#629`_, `#1091`_)41+- ``click.getchar()`` correctly raises ``KeyboardInterrupt`` on "^C"42+ and ``EOFError`` on "^D" on Linux. (`#583`_, `#1115`_)43+- Fix encoding issue with ``click.getchar(echo=True)`` on Linux.44+ (`#1115`_)45+- ``param_hint`` in errors now derived from param itself. (`#598`_,46+ `#704`_, `#709`_)47+- Add a test that ensures that when an argument is formatted into a48+ usage error, its metavar is used, not its name. (`#612`_)49+- Allow setting ``prog_name`` as extra in ``CliRunner.invoke``.50+ (`#616`_, `#999`_)51+- Help text taken from docstrings truncates at the ``\f`` form feed52+ character, useful for hiding Sphinx-style parameter documentation.53+ (`#629`_, `#1091`_)54 - ``launch`` now works properly under Cygwin. (`#650`_)55 - Update progress after iteration. (`#651`_, `#706`_)38-- ``CliRunner.invoke`` now may receive ``args`` as a string representing a Unix shell command. (`#664`_)56+- ``CliRunner.invoke`` now may receive ``args`` as a string57+ representing a Unix shell command. (`#664`_)58 - Make ``Argument.make_metavar()`` default to type metavar. (`#675`_)59 - Add documentation for ``ignore_unknown_options``. (`#684`_)41-- Add bright colors support for ``click.style`` and fix the reset option for parameters ``fg`` and ``bg``. (`#703`_, `#809`_)42-- Add ``show_envvar`` for showing environment variables in help. (`#710`_)43-- Avoid ``BrokenPipeError`` during interpreter shutdown when stdout or stderr is a closed pipe. (`#712`_, `#1106`_)60+- Add bright colors support for ``click.style`` and fix the reset61+ option for parameters ``fg`` and ``bg``. (`#703`_, `#809`_)62+- Add ``show_envvar`` for showing environment variables in help.63+ (`#710`_)64+- Avoid ``BrokenPipeError`` during interpreter shutdown when stdout or65+ stderr is a closed pipe. (`#712`_, `#1106`_)66 - Document customizing option names. (`#725`_, `#1016`_)45-- Disable ``sys._getframes()`` on Python interpreters that don't support it. (`#728`_)46-- Fix bug in test runner when calling ``sys.exit`` with ``None``. (`#739`_)67+- Disable ``sys._getframes()`` on Python interpreters that don't68+ support it. (`#728`_)69+- Fix bug in test runner when calling ``sys.exit`` with ``None``.70+ (`#739`_)71 - Clarify documentation on command line options. (`#741`_, `#1003`_)72 - Fix crash on Windows console. (`#744`_)49-- Fix bug that caused bash completion to give improper completions on chained commands. (`#754`_, `#774`_)50-- Added support for dynamic bash completion from a user-supplied callback. (`#755`_)73+- Fix bug that caused bash completion to give improper completions on74+ chained commands. (`#754`_, `#774`_)75+- Added support for dynamic bash completion from a user-supplied76+ callback. (`#755`_)77 - Added support for bash completions containing spaces. (`#773`_)52-- Allow autocompletion function to determine whether or not to return completions that start with the incomplete argument. (`#790`_, `#806`_)53-- Fix option naming routine to match documentation and be deterministic. (`#793`_, `#794`_)78+- Allow autocompletion function to determine whether or not to return79+ completions that start with the incomplete argument. (`#790`_,80+ `#806`_)81+- Fix option naming routine to match documentation and be82+ deterministic. (`#793`_, `#794`_)83 - Fix path validation bug. (`#795`_, `#1020`_)55-- Add test and documentation for ``Option`` naming: functionality. (`#799`_)84+- Add test and documentation for ``Option`` naming: functionality.85+ (`#799`_)86 - Update doc to match arg name for ``path_type``. (`#801`_)87 - Raw strings added so correct escaping occurs. (`#807`_)58-- Fix 16k character limit of ``click.echo`` on Windows. (`#816`_, `#819`_)88+- Fix 16k character limit of ``click.echo`` on Windows. (`#816`_,89+ `#819`_)90 - Add bool conversion for "t" and "f". (`#842`_)60-- ``NoSuchOption`` errors take ``ctx`` so that ``--help`` hint gets printed in error output. (`#860`_)61-- 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`_)91+- ``NoSuchOption`` errors take ``ctx`` so that ``--help`` hint gets92+ printed in error output. (`#860`_)93+- Fixed the behavior of Click error messages with regards to Unicode94+ on 2.x and 3.x. Message is now always Unicode and the str and95+ Unicode special methods work as you expect on that platform.96+ (`#862`_)97 - Progress bar now uses stderr by default. (`#863`_)98 - Add support for auto-completion documentation. (`#866`_, `#869`_)99 - Allow ``CliRunner`` to separate stdout and stderr. (`#868`_)100 - Fix variable precedence. (`#873`_, `#874`_)101 - Fix invalid escape sequences. (`#877`_)102 - Fix ``ResourceWarning`` that occurs during some tests. (`#878`_)68-- When detecting a misconfigured locale, don't fail if the ``locale`` command fails. (`#880`_)69-- Add ``case_sensitive=False`` as an option to ``Choice`` types. (`#887`_)70-- Force stdout/stderr writable. This works around issues with badly patched standard streams like those from Jupyter. (`#918`_)71-- Fix completion of subcommand options after last argument (`#919`_, `#930`_)72-- ``_AtomicFile`` now uses the ``realpath`` of the original filename so that changing the working directory does not affect it. (`#920`_)73-- Fix incorrect completions when defaults are present (`#925`_, `#930`_)74-- Add copy option attrs so that custom classes can be re-used. (`#926`_, `#994`_)75-- "x" and "a" file modes now use stdout when file is ``"-"``. (`#929`_)103+- When detecting a misconfigured locale, don't fail if the ``locale``104+ command fails. (`#880`_)105+- Add ``case_sensitive=False`` as an option to ``Choice`` types.106+ (`#887`_)107+- Force stdout/stderr writable. This works around issues with badly108+ patched standard streams like those from Jupyter. (`#918`_)109+- Fix completion of subcommand options after last argument (`#919`_,110+ `#930`_)111+- ``_AtomicFile`` now uses the ``realpath`` of the original filename112+ so that changing the working directory does not affect it.113+ (`#920`_)114+- Fix incorrect completions when defaults are present (`#925`_,115+ `#930`_)116+- Add copy option attrs so that custom classes can be re-used.117+ (`#926`_, `#994`_)118+- "x" and "a" file modes now use stdout when file is ``"-"``.119+ (`#929`_)120 - Fix missing comma in ``__all__`` list. (`#935`_)121 - Clarify how parameters are named. (`#949`_, `#1009`_)122 - Stdout is now automatically set to non blocking. (`#954`_)123 - Do not set options twice. (`#962`_)124 - Move ``fcntl`` import. (`#965`_)125 - Fix Google App Engine ``ImportError``. (`#995`_)82-- Better handling of help text for dynamic default option values. (`#996`_)83-- Fix ``get_winter_size()`` so it correctly returns ``(0,0)``. (`#997`_)126+- Better handling of help text for dynamic default option values.127+ (`#996`_)128+- Fix ``get_winter_size()`` so it correctly returns ``(0,0)``.129+ (`#997`_)130 - Add test case checking for custom param type. (`#1001`_)131 - Allow short width to address cmd formatting. (`#1002`_)132 - Add details about Python version support. (`#1004`_)133 - Added deprecation flag to commands. (`#1005`_)134 - Fixed issues where ``fd`` was undefined. (`#1007`_)135 - Fix formatting for short help. (`#1008`_)90-- Document how ``auto_envvar_prefix`` works with command groups. (`#1011`_)136+- Document how ``auto_envvar_prefix`` works with command groups.137+ (`#1011`_)138 - Don't add newlines by default for progress bars. (`#1013`_)139 - Use Python sorting order for ZSH completions. (`#1047`_, `#1059`_)93-- Document that parameter names are converted to lowercase by default. (`#1055`_)94-- Subcommands that are named by the function now automatically have the underscore replaced with a dash. If you register a function named ``my_command`` it becomes ``my-command`` in the command line interface.95-- Hide hidden commands and options from completion. (`#1058`_, `#1061`_)96-- Fix absolute import blocking Click from being vendored into a project on Windows. (`#1068`_, `#1069`_)97-- Fix issue where a lowercase ``auto_envvar_prefix`` would not be converted to uppercase. (`#1105`_)140+- Document that parameter names are converted to lowercase by default.141+ (`#1055`_)142+- Subcommands that are named by the function now automatically have143+ the underscore replaced with a dash. If you register a function144+ named ``my_command`` it becomes ``my-command`` in the command line145+ interface.146+- Hide hidden commands and options from completion. (`#1058`_,147+ `#1061`_)148+- Fix absolute import blocking Click from being vendored into a149+ project on Windows. (`#1068`_, `#1069`_)150+- Fix issue where a lowercase ``auto_envvar_prefix`` would not be151+ converted to uppercase. (`#1105`_)152 153 .. _#202: https://github.com/pallets/click/issues/202154 .. _#323: https://github.com/pallets/click/issues/323155 .. _#334: https://github.com/pallets/click/issues/334476 unmodified lines