Skip to content
Myr

add missing changelog entries

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 38a2712 · Browse files · 1 file+19 added−10 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+19 added−10 removed

  • other:+19 added−10 removed

1 file+19 added−10 removed

modified:CHANGES.rst+19 added-10 removed
5 unmodified lines
6-----------78Unreleased910- Drop support for Python 2.6 and 3.3. (`#976`_)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`_)
5 unmodified lines
20- Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``, when the arg passed to the first call of ``ProgressBar.update`` is 0. (`#447`_, `#1012`_)21- Show progressbar only if total execution time is visible. (`#487`_)22- Added the ability to hide commands and options from help. (`#500`_)23- 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`_)25- ``click.getchar()`` now returns unicode in Python 3 on Windows, same as other platforms. (`#537`_, `#821`_, `#822`_, `#1088`_, `#1108`_)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`_)26- Added ``FloatRange`` type. (`#538`_, `#553`_)27- Added support for bash completion of ``type=click.Choice`` for ``Options`` and ``Arguments``. (`#535`_)28- Only allow one positional arg for ``Argument`` parameter delcaration. (`#568`_, `#574`_, `#1014`_)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`_)29- 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`_)36- ``launch`` now works properly under Cygwin. (`#650`_)37- Update progress after iteration. (`#651`_, `#706`_)38- ``CliRunner.invoke`` now may receive ``args`` as a string representing a Unix shell command. (`#664`_)39- Make ``Argument.make_metavar()`` default to type metavar. (`#675`_)39- Add documentation for ``ignore_unkown_options``. (`#684`_)40- 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`_)44- Document customizing option names. (`#725`_, `#1016`_)
12 unmodified lines
57- Raw strings added so correct escaping occurs. (`#807`_)58- Fix 16k character limit of ``click.echo`` on Windows. (`#816`_, `#819`_)59- Add bool conversion for "t" and "f". (`#842`_)60- ``NoSuchOption`` errors take ``ctx`` so that ``--help`` hint gets printed in error output. (`#860`_)60- 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`_)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`_)62- Progress bar now uses stderr by default. (`#863`_)63- Add support for auto-completion documentation. (`#866`_, `#869`_)64- Allow ``CliRunner`` to separate stdout and stderr. (`#868`_)65- Fix variable precedence. (`#873`_, `#874`_)
2 unmodified lines
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`_)71- ``_AtomicFile`` now uses the ``realpath`` of the original filename so that chaning the working directory does not affect it. (`#920`_)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`_)76- Fix missing comma in ``__all__`` list. (`#935`_)
9 unmodified lines
86- Add details about Python version support. (`#1004`_)87- Added deprecation flag to commands. (`#1005`_)88- Fixed issues where ``fd`` was undefined. (`#1007`_)89- Fix formatting for short help. (`#1008`_)89- Document how ``auto_envar_prefix`` works with command groups. (`#1011`_)90- Document how ``auto_envvar_prefix`` works with command groups. (`#1011`_)91- Don't add newlines by default for progress bars. (`#1013`_)92- Use Python sorting order for ZSH completions. (`#1047`_, `#1059`_)92- Document that parameter names are lowercased by default. (`#1055`_)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`_)9899.. _#202: https://github.com/pallets/click/issues/202100.. _#323: https://github.com/pallets/click/issues/323
19 unmodified lines
120.. _#583: https://github.com/pallets/click/issues/583121.. _#598: https://github.com/pallets/click/issues/598122.. _#612: https://github.com/pallets/click/pull/612123.. _#616: https://github.com/pallets/click/issues/616124.. _#629: https://github.com/pallets/click/pull/629125.. _#650: https://github.com/pallets/click/pull/650126.. _#651: https://github.com/pallets/click/issues/651127.. _#664: https://github.com/pallets/click/pull/664128.. _#667: https://github.com/pallets/click/issues/667129.. _#675: https://github.com/pallets/click/pull/675130.. _#681: https://github.com/pallets/click/pull/681131.. _#684: https://github.com/pallets/click/pull/684132.. _#703: https://github.com/pallets/click/issues/703133.. _#704: https://github.com/pallets/click/issues/704134.. _#706: https://github.com/pallets/click/pull/706
50 unmodified lines
185.. _#949: https://github.com/pallets/click/issues/949186.. _#954: https://github.com/pallets/click/pull/954187.. _#962: https://github.com/pallets/click/pull/962188.. _#965: https://github.com/pallets/click/pull/965189.. _#967: https://github.com/pallets/click/pull/967190.. _#976: https://github.com/pallets/click/pull/976191.. _#990: https://github.com/pallets/click/pull/990192.. _#991: https://github.com/pallets/click/pull/991193.. _#993: https://github.com/pallets/click/pull/993
24 unmodified lines
218.. _#1055: https://github.com/pallets/click/pull/1055219.. _#1058: https://github.com/pallets/click/pull/1058220.. _#1059: https://github.com/pallets/click/pull/1059221.. _#1061: https://github.com/pallets/click/pull/1061222.. _#1068: https://github.com/pallets/click/issues/1068223.. _#1069: https://github.com/pallets/click/pull/1069224.. _#1088: https://github.com/pallets/click/issues/1088225.. _#1091: https://github.com/pallets/click/pull/1091226.. _#1098: https://github.com/pallets/click/pull/1098227.. _#1105: https://github.com/pallets/click/pull/1105228.. _#1106: https://github.com/pallets/click/pull/1106229.. _#1108: https://github.com/pallets/click/pull/1108230.. _#1115: https://github.com/pallets/click/pull/1115
347 unmodified lines