organize 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 cf8df8a · Browse files · 2 files·+161 added−188 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+161 added−188 removed
- other:+161 added−188 removed
Provenance
- Commit
084da90- Tree
a2a155a- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
cf8df8a
2 files changed+161 added−188 removed
modified:docs/conf.py+2 added-2 removed
32 unmodified lines33 singlehtml_sidebars = {"index": ["project.html", "versions.html", "localtoc.html"]}34 html_static_path = ["_static"]35 html_favicon = "_static/click-icon.png"36 html_logo = "_static/click-logo-sidebar.png"37-html_title = "{} Documentation ({})".format(project, version)37+html_title = "Click Documentation ({})".format(version)38 html_show_sourcelink = False39 html_domain_indices = False40 html_experimental_html5_writer = True41 42 # LaTeX ----------------------------------------------------------------43 44 latex_documents = [45- (master_doc, "Click.tex", "Click Documentation", "Pallets Team", "manual")45+ (master_doc, "Click-{}.tex".format(version), html_title, author, "manual")46 ]modified:CHANGES.rst+159 added-186 removed
1 Click Changelog2 ===============3 4-This contains all major version changes between Click releases.4 5 Version 7.06 -----------7 9-(upcoming release with new features, release date to be decided)8+Unreleased9 11-- Non-standalone calls to Context.exit return the exit code, rather than12- calling ``sys.exit`` (`#667`_)(`#533`_)13-- Updated test env matrix. (`#1027`_)14-- Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``,15- when the arg passed to the first call of ``ProgressBar.update`` is 0. (`#1012`_)(`#447`_)16-- Document that options can be ``required=True``. (`#1022`_)(`#514`_)17-- Fix path validation bug. (`#1020`_)(`#795`_)18-- Document customizing option names. (`#1016`_)(`#725`_)19-- Wrap ``click.Choice``'s missing message. (`#1000`_)(`#202`_)20-- Don't add newlines by default for progressbars. (`#1013`_)21-- Document how ``auto_envar_prefix`` works with command groups. (`#1011`_)22-- Fix failing bash completion function test signature.23-- Clarify how paramteres are named. (`#1009`_)(`#949`_)24-- Document bytestripping behavior of ``CliRunner``. (`#1010`_)(`#334`_)25-- Fix Google App Engine ``ImportError``. (`#995`_)26-- Document that ANSI color info isn't parsedfrom bytearrays in Python 2. (`#334`_)27-- Add note to documentation on how parameters are named.28-- Fix formatting for short help. (`#1008`_)29-- Extract bar formatting to its own method. (`#414`_)30-- Move ``fcntl`` import. (`#965`_)31-- Fixed issues where ``fd`` was undefined. (`#1007`_)32-- Added deprecation flag to commands. (`#1005`_)33-- Fix various Sphinx errors. (`#883`_)34-- Add ``case_sensitive=False`` as an option to Choice types. (`#887`_)35-- Add details about Python version support. (`#1004`_)36-- Clarify documentation on command line options. (`#1003`_)(`#741`_)37-- Add ``case_sensitive=False`` as an option to Choice. (`#569`_)38-- Better handling of help text for dynamic default option values. (`#996`_)39-- Allow short width to address cmd formatting. (`#1002`_)40-- Add test case checking for custom param type. (`#1001`_)41-- Make ``Argument.make_metavar()`` default to type metavar. (`#675`_)42-- Show progressbar only if total execution time is visible. (`#487`_)43-- Allow setting ``prog_name`` as extra in ``CliRunner.invoke`` (`#999`_)(`#616`_)44-- Add support for Sphinx 1.7+ (`#991`_)45-- Fix ``get_winter_size()`` so it correctly returns ``(0,0)``. (`#997`_)46-- Update progress after iteration. (`#706`_)(`#651`_)47-- Add ``show_envvar`` for showing environment variables in help. (`#710`_)48-- Add support for bright colors. (`#809`_)49-- Add documentation for ``ignore_unkown_options``. (`#684`_)50-- Allow ``CliRunner`` to separate stdout and stderr. (`#868`_)51-- Implement streaming pager. (`#889`_)(`#409`_)52-- Progress bar now uses stderr by default. (`#863`_)53-- Do not set options twice. (`#962`_)54-- Add Py2/ unicode / str compatability for doc tools. (`#993`_)(`#719`_)55-- Add copy option attrs so that custom classes can be re-used. (`#994`_)(`#926`_)56-- ``param_hint`` in errors now derived from param itself. (`#709`_)(`#704`_)(`#598`_)57-- Add a test that ensures that when an Argument is formatted into a usage error,58- its metavar is used, not its name. (`#612`_)59-- Fix variable precedence. (`#874`_)(`#873`_)60-- Fix ``ResourceWarning`` that occurs during some tests. (`#878`_)61-- Update README to match flask style and add ``long_description`` to setup.py. (`#990`_)62-- Drop testing for 2.6 3.3 and 3.6.63-- Make locale optional (`#880`_)64-- Fix invalid escape sequences. (`#877`_)65-- Added workaround for jupyter. (`#918`_)66-- x and a filemodes now use stdout when file is ``'-'``. (`#929`_)67-- ``_AtomicFile`` now uses the realpath of the original filename. (`#920`_)68-- Fix missing comma in ``__all__`` list (`#935`_)69-- Raw strings added so correct escaping occurs. (`#807`_)70-- Add bool conversion for ``t`` and ``f``. (`#842`_)71-- Update doc to match arg name for ``path_type``. (`#801`_)72-- Add bright colors support for ``click.style``73- and fix the reset option for parameters ``fg`` and ``bg``. (`#703`_)74-- Add test and documentation for ``Option`` naming: functionality. (`#799`_)75-- Use deterministic option name; can't rely on list sort. (`#794`_)(`#793`_)76-- Added support for bash completions containing spaces. (`#773`_)77-- Added support for dynamic bash completion from a user-supplied callback.78- (`#755`_)79-- Added support for bash completion of ``type=click.Choice`` for ``Options`` and80- ``Arguments``. (`#535`_)81-- The user is now presented with the available choices if ``prompt=True`` and82- ``type=click.Choice`` in a ``click.option``. The choices are listed within83- parenthesis like ``'Choose fruit (apple, orange): '``.84-- The exception objects now store unicode properly.85-- Added the ability to hide commands and options from help.86-- Added Float Range in Types.87-- ``secho``'s first argument can now be ``None``, like in ``echo``.88-- Usage errors now hint at the ``--help`` option.89-- ``launch`` now works properly under Cygwin. (`#650`_)90-- ``CliRunner.invoke`` now may receive ``args`` as a string representing91- a Unix shell command. See (`#664`_).92-- Fix bug that caused bashcompletion to give improper completions on93- chained commands. (`#774`_)94-- Add support for bright colors.95-- ``'t'`` and ``'f'`` are now converted to ``True`` and ``False``.96-- Fix bug that caused bashcompletion to give improper completions on97- chained commands when a required option/argument was being completed.98- (`#790`_)(`#806`_)99-- Allow autocompletion function to determine whether or not to return100- completions that start with the incomplete argument.101-- Add native ZSH autocompletion support. (`#323`_)(`#865`_)102-- Add support for auto-completion documentation. See (`#866`_)(`#869`_)103-- Subcommands that are named by the function now automatically have the104- underscore replaced with a dash. So if you register a function named105- ``my_command`` it becomes ``my-command`` in the command line interface.106-- Stdout is now automatically set to non blocking.107-- Use realpath to convert atomic file internally into its full canonical108- path so that changing working directories does not harm it.109-- Force stdout/stderr writable. This works around issues with badly patched110- standard streams like those from jupyter.10+- Drop support for Python 2.6 and 3.3. (`#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`_)15+- Usage errors now hint at the ``--help`` option. (`#393`_, `#557`_)16+- Implement streaming pager. (`#409`_, `#889`_)17+- Extract bar formatting to its own method. (`#414`_)18+- ``secho``'s first argument can now be ``None``, like in ``echo``. (`#424`_)19+- Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``, when the arg passed to the first call of ``ProgressBar.update`` is 0. (`#447`_, `#1012`_)20+- Show progressbar only if total execution time is visible. (`#487`_)21+- Added the ability to hide commands and options from help. (`#500`_)22+- Document that options can be ``required=True``. (`#514`_, `#1022`_)23+- Non-standalone calls to ``Context.exit`` return the exit code, rather than calling ``sys.exit``. (`#533`_, `#667`_)24+- Added ``FloatRange`` type. (`#538`_, `#553`_)25+- Added support for bash completion of ``type=click.Choice`` for ``Options`` and ``Arguments``. (`#535`_)26+- Add ``case_sensitive=False`` as an option to Choice. (`#569`_)27+- ``param_hint`` in errors now derived from param itself. (`#598`_, `#704`_, `#709`_)28+- Add a test that ensures that when an argument is formatted into a usage error, its metavar is used, not its name. (`#612`_)29+- Allow setting ``prog_name`` as extra in ``CliRunner.invoke``. (`#616`_, `#999`_)30+- ``launch`` now works properly under Cygwin. (`#650`_)31+- Update progress after iteration. (`#651`_, `#706`_)32+- ``CliRunner.invoke`` now may receive ``args`` as a string representing a Unix shell command. (`#664`_)33+- Make ``Argument.make_metavar()`` default to type metavar. (`#675`_)34+- Add documentation for ``ignore_unkown_options``. (`#684`_)35+- Add bright colors support for ``click.style`` and fix the reset option for parameters ``fg`` and ``bg``. (`#703`_, `#809`_)36+- Add ``show_envvar`` for showing environment variables in help. (`#710`_)37+- Document customizing option names. (`#725`_, `#1016`_)38+- Disable ``sys._getframes()`` on Python interpreters that don't support it. (`#728`_)39+- Fix bug in test runner when calling ``sys.exit`` with ``None``. (`#739`_)40+- Clarify documentation on command line options. (`#741`_, `#1003`_)41+- Fix crash on Windows console. (`#744`_)42+- Fix bug that caused bash completion to give improper completions on chained commands when a required option/argument was being completed. (`#754`_, `#774`_, `#790`_, `#806`_)43+- Added support for dynamic bash completion from a user-supplied callback. (`#755`_)44+- Added support for bash completions containing spaces. (`#773`_)45+- Fix option naming routine to match documentation. (`#793`_)46+- Use deterministic option name; can't rely on list sort. (`#793`_, `#794`_)47+- Fix path validation bug. (`#795`_, `#1020`_)48+- Add test and documentation for ``Option`` naming: functionality. (`#799`_)49+- Update doc to match arg name for ``path_type``. (`#801`_)50+- Raw strings added so correct escaping occurs. (`#807`_)51+- Add bool conversion for "t" and "f". (`#842`_)52+- 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`_)53+- Progress bar now uses stderr by default. (`#863`_)54+- Add support for auto-completion documentation. (`#866`_, `#869`_)55+- Allow ``CliRunner`` to separate stdout and stderr. (`#868`_)56+- Fix variable precedence. (`#873`_, `#874`_)57+- Fix invalid escape sequences. (`#877`_)58+- Fix ``ResourceWarning`` that occurs during some tests. (`#878`_)59+- When detecting a misconfigured locale, don't fail if the ``locale`` command fails. (`#880`_)60+- Add ``case_sensitive=False`` as an option to ``Choice`` types. (`#887`_)61+- Force stdout/stderr writable. This works around issues with badly patched standard streams like those from Jupyter. (`#918`_)62+- ``_AtomicFile`` now uses the ``realpath`` of the original filename so that chaning the working directory does not affect it. (`#920`_)63+- Add copy option attrs so that custom classes can be re-used. (`#926`_, `#994`_)64+- "x" and "a" file modes now use stdout when file is ``"-"``. (`#929`_)65+- Fix missing comma in ``__all__`` list. (`#935`_)66+- Clarify how parameters are named. (`#949`_, `#1009`_)67+- Stdout is now automatically set to non blocking. (`#954`_)68+- Do not set options twice. (`#962`_)69+- Move ``fcntl`` import. (`#965`_)70+- Fix Google App Engine ``ImportError``. (`#995`_)71+- Better handling of help text for dynamic default option values. (`#996`_)72+- Fix ``get_winter_size()`` so it correctly returns ``(0,0)``. (`#997`_)73+- Add test case checking for custom param type. (`#1001`_)74+- Allow short width to address cmd formatting. (`#1002`_)75+- Add details about Python version support. (`#1004`_)76+- Added deprecation flag to commands. (`#1005`_)77+- Fixed issues where ``fd`` was undefined. (`#1007`_)78+- Fix formatting for short help. (`#1008`_)79+- Document how ``auto_envar_prefix`` works with command groups. (`#1011`_)80+- Don't add newlines by default for progress bars. (`#1013`_)81+- Document that parameter names are lowercased by default. (`#1055`_)82+- 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.83 112-.. _#1027: https://github.com/pallets/click/pull/1027113-.. _#1012: https://github.com/pallets/click/pull/1012114-.. _#447: https://github.com/pallets/click/issues/447115-.. _#1022: https://github.com/pallets/click/pull/1022116-.. _#869: https://github.com/pallets/click/pull/869117-.. _#866: https://github.com/pallets/click/issues/866118-.. _#514: https://github.com/pallets/click/issues/514119-.. _#1020: https://github.com/pallets/click/pull/1020120-.. _#795: https://github.com/pallets/click/issues/795121-.. _#1016: https://github.com/pallets/click/pull/1016122-.. _#725: https://github.com/pallets/click/issues/725123-.. _#1000: https://github.com/pallets/click/pull/100084 .. _#202: https://github.com/pallets/click/issues/202125-.. _#1013: https://github.com/pallets/click/pull/1013126-.. _#1011: https://github.com/pallets/click/pull/1011127-.. _#865: https://github.com/pallets/click/pull/86585 .. _#323: https://github.com/pallets/click/issues/323129-.. _#1009: https://github.com/pallets/click/pull/1009130-.. _#949: https://github.com/pallets/click/issues/949131-.. _#1010: https://github.com/pallets/click/pull/101086 .. _#334: https://github.com/pallets/click/issues/334133-.. _#995: https://github.com/pallets/click/pull/995134-.. _#1008: https://github.com/pallets/click/pull/100887+.. _#393: https://github.com/pallets/click/issues/39388+.. _#409: https://github.com/pallets/click/issues/40989 .. _#414: https://github.com/pallets/click/pull/414136-.. _#965: https://github.com/pallets/click/pull/965137-.. _#1005: https://github.com/pallets/click/pull/1005138-.. _#883: https://github.com/pallets/click/pull/883139-.. _#887: https://github.com/pallets/click/pull/887140-.. _#1004: https://github.com/pallets/click/pull/1004141-.. _#1003: https://github.com/pallets/click/pull/1003142-.. _#741: https://github.com/pallets/click/issues/741143-.. _#569: https://github.com/pallets/click/pull/569144-.. _#1007: https://github.com/pallets/click/pull/1007145-.. _#996: https://github.com/pallets/click/pull/996146-.. _#1002: https://github.com/pallets/click/pull/1002147-.. _#1001: https://github.com/pallets/click/pull/1001148-.. _#675: https://github.com/pallets/click/pull/67590+.. _#424: https://github.com/pallets/click/pull/42491+.. _#447: https://github.com/pallets/click/issues/44792 .. _#487: https://github.com/pallets/click/pull/487150-.. _#999: https://github.com/pallets/click/pull/99993+.. _#500: https://github.com/pallets/click/pull/50094+.. _#514: https://github.com/pallets/click/issues/51495+.. _#533: https://github.com/pallets/click/issues/53396+.. _#535: https://github.com/pallets/click/pull/53597+.. _#538: https://github.com/pallets/click/pull/53898+.. _#553: https://github.com/pallets/click/pull/55399+.. _#557: https://github.com/pallets/click/pull/557100+.. _#569: https://github.com/pallets/click/pull/569101+.. _#598: https://github.com/pallets/click/issues/598102+.. _#612: https://github.com/pallets/click/pull/612103 .. _#616: https://github.com/pallets/click/issues/616152-.. _#991: https://github.com/pallets/click/pull/991153-.. _#997: https://github.com/pallets/click/pull/997154-.. _#706: https://github.com/pallets/click/pull/706104+.. _#650: https://github.com/pallets/click/pull/650105 .. _#651: https://github.com/pallets/click/issues/651106+.. _#664: https://github.com/pallets/click/pull/664107+.. _#667: https://github.com/pallets/click/pull/667108+.. _#675: https://github.com/pallets/click/pull/675109+.. _#684: https://github.com/pallets/click/pull/684110+.. _#703: https://github.com/pallets/click/issues/703111+.. _#704: https://github.com/pallets/click/issues/704112+.. _#706: https://github.com/pallets/click/pull/706113+.. _#709: https://github.com/pallets/click/pull/709114 .. _#710: https://github.com/pallets/click/pull/710115+.. _#719: https://github.com/pallets/click/issues/719116+.. _#725: https://github.com/pallets/click/issues/725117+.. _#728: https://github.com/pallets/click/issues/728118+.. _#739: https://github.com/pallets/click/issues/739119+.. _#741: https://github.com/pallets/click/issues/741120+.. _#744: https://github.com/pallets/click/issues/744121+.. _#754: https://github.com/pallets/click/pull/754122+.. _#755: https://github.com/pallets/click/pull/755123+.. _#773: https://github.com/pallets/click/pull/773124+.. _#774: https://github.com/pallets/click/pull/774125+.. _#790: https://github.com/pallets/click/pull/790126+.. _#793: https://github.com/pallets/click/issues/793127+.. _#794: https://github.com/pallets/click/pull/794128+.. _#795: https://github.com/pallets/click/issues/795129+.. _#799: https://github.com/pallets/click/pull/799130+.. _#801: https://github.com/pallets/click/pull/801131+.. _#806: https://github.com/pallets/click/pull/806132+.. _#807: https://github.com/pallets/click/pull/807133 .. _#809: https://github.com/pallets/click/pull/809158-.. _#868: https://github.com/pallets/click/pull/868159-.. _#889: https://github.com/pallets/click/pull/889160-.. _#409: https://github.com/pallets/click/issues/409134+.. _#842: https://github.com/pallets/click/pull/842135+.. _#862: https://github.com/pallets/click/pull/862136 .. _#863: https://github.com/pallets/click/pull/863162-.. _#962: https://github.com/pallets/click/pull/962163-.. _#993: https://github.com/pallets/click/pull/993164-.. _#994: https://github.com/pallets/click/pull/994165-.. _#926: https://github.com/pallets/click/issues/926166-.. _#709: https://github.com/pallets/click/pull/709167-.. _#612: https://github.com/pallets/click/pull/612168-.. _#704: https://github.com/pallets/click/issues/704169-.. _#598: https://github.com/pallets/click/issues/598170-.. _#719: https://github.com/pallets/click/issues/719171-.. _#874: https://github.com/pallets/click/pull/874137+.. _#865: https://github.com/pallets/click/pull/865138+.. _#866: https://github.com/pallets/click/issues/866139+.. _#868: https://github.com/pallets/click/pull/868140+.. _#869: https://github.com/pallets/click/pull/869141 .. _#873: https://github.com/pallets/click/issues/873173-.. _#990: https://github.com/pallets/click/pull/990174-.. _#684: https://github.com/pallets/click/pull/684142+.. _#874: https://github.com/pallets/click/pull/874143+.. _#877: https://github.com/pallets/click/pull/877144 .. _#878: https://github.com/pallets/click/pull/878145 .. _#880: https://github.com/pallets/click/issues/880177-.. _#877: https://github.com/pallets/click/pull/877146+.. _#883: https://github.com/pallets/click/pull/883147+.. _#887: https://github.com/pallets/click/pull/887148+.. _#889: https://github.com/pallets/click/pull/889149 .. _#918: https://github.com/pallets/click/pull/918179-.. _#929: https://github.com/pallets/click/pull/929150 .. _#920: https://github.com/pallets/click/pull/920151+.. _#926: https://github.com/pallets/click/issues/926152+.. _#929: https://github.com/pallets/click/pull/929153 .. _#935: https://github.com/pallets/click/pull/935182-.. _#807: https://github.com/pallets/click/pull/807183-.. _#806: https://github.com/pallets/click/pull/806184-.. _#842: https://github.com/pallets/click/pull/842185-.. _#801: https://github.com/pallets/click/pull/801186-.. _#703: https://github.com/pallets/click/issues/703187-.. _#799: https://github.com/pallets/click/pull/799188-.. _#794: https://github.com/pallets/click/pull/794189-.. _#793: https://github.com/pallets/click/issues/793190-.. _#773: https://github.com/pallets/click/pull/773191-.. _#755: https://github.com/pallets/click/pull/755192-.. _#535: https://github.com/pallets/click/pull/535193-.. _#650: https://github.com/pallets/click/pull/650194-.. _#664: https://github.com/pallets/click/pull/664195-.. _#774: https://github.com/pallets/click/pull/774196-.. _#790: https://github.com/pallets/click/pull/790154+.. _#949: https://github.com/pallets/click/issues/949155+.. _#954: https://github.com/pallets/click/issues/954156+.. _#962: https://github.com/pallets/click/pull/962157+.. _#965: https://github.com/pallets/click/pull/965158+.. _#976: https://github.com/pallets/click/pull/976159+.. _#990: https://github.com/pallets/click/pull/990160+.. _#991: https://github.com/pallets/click/pull/991161+.. _#993: https://github.com/pallets/click/pull/993162+.. _#994: https://github.com/pallets/click/pull/994163+.. _#995: https://github.com/pallets/click/pull/995164+.. _#996: https://github.com/pallets/click/pull/996165+.. _#997: https://github.com/pallets/click/pull/997166+.. _#999: https://github.com/pallets/click/pull/999167+.. _#1000: https://github.com/pallets/click/pull/1000168+.. _#1001: https://github.com/pallets/click/pull/1001169+.. _#1002: https://github.com/pallets/click/pull/1002170+.. _#1003: https://github.com/pallets/click/pull/1003171+.. _#1004: https://github.com/pallets/click/pull/1004172+.. _#1005: https://github.com/pallets/click/pull/1005173+.. _#1007: https://github.com/pallets/click/pull/1007174+.. _#1008: https://github.com/pallets/click/pull/1008175+.. _#1009: https://github.com/pallets/click/pull/1009176+.. _#1010: https://github.com/pallets/click/pull/1010177+.. _#1011: https://github.com/pallets/click/pull/1011178+.. _#1012: https://github.com/pallets/click/pull/1012179+.. _#1013: https://github.com/pallets/click/pull/1013180+.. _#1016: https://github.com/pallets/click/pull/1016181+.. _#1020: https://github.com/pallets/click/pull/1020182+.. _#1022: https://github.com/pallets/click/pull/1022183+.. _#1027: https://github.com/pallets/click/pull/1027184+.. _#1055: https://github.com/pallets/click/pull/1055185 186 199-Version 6.8200------------201-202-(bugfix release; yet to be released)203-204-- Disabled ``sys._getframes()`` on Python interpreters that don't support it. See205- #728.206-- Fix bug in test runner when calling ``sys.exit`` with ``None``. See #739.207-- Fix crash on Windows console, see #744.208-- Fix bashcompletion on chained commands. See #754.209-- Fix option naming routine to match documentation. See #793210-- Fixed the behavior of click error messages with regards to unicode on 2.x211- and 3.x respectively. Message is now always unicode and the str and unicode212- special methods work as you expect on that platform.213-187 Version 6.7188 -----------189 190 (bugfix release; released on January 6th 2017)341 unmodified lines