reformat changelog, update docs config
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 1a714b3 · Browse files · 7 files·+412 added−498 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+412 added−498 removed
- other:+412 added−498 removed
Provenance
- Commit
02756dd- Tree
f3c2af2- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
1a714b3
7 files changed+412 added−498 removed
modified:docs/changelog.rst+2 added-1 removed
1-.. currentmodule:: click1+Changelog2+=========3 4 .. include:: ../CHANGES.rstmodified:docs/conf.py+18 added-12 removed
1-from pallets_sphinx_themes import ProjectLink, get_version1+from pallets_sphinx_themes import get_version2+from pallets_sphinx_themes import ProjectLink3 4 # Project --------------------------------------------------------------5 6 project = "Click"6-copyright = "2014 Pallets Team"7-author = "Pallets Team"7+copyright = "2014 Pallets"8+author = "Pallets"9 release, version = get_version("Click", version_length=1)10 11 # General --------------------------------------------------------------12 13 master_doc = "index"13-extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "pallets_sphinx_themes"]14+extensions = [15+ "sphinx.ext.autodoc",16+ "sphinx.ext.intersphinx",17+ "sphinxcontrib.log_cabinet",18+ "pallets_sphinx_themes",19+ "sphinx_issues",20+]21 intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}22+issues_github_path = "pallets/click"23 24 # HTML -----------------------------------------------------------------25 26 html_theme = "click"1 unmodified line28 html_context = {29 "project_links": [30 ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),31 ProjectLink("Click Website", "https://palletsprojects.com/p/click/"),24- ProjectLink("PyPI releases", "https://pypi.org/project/Click/"),32+ ProjectLink("PyPI releases", "https://pypi.org/project/click/"),33 ProjectLink("Source Code", "https://github.com/pallets/click/"),34 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),35 ]36 }37 html_sidebars = {30- "index": ["project.html", "versions.html", "searchbox.html"],31- "**": ["localtoc.html", "relations.html", "versions.html", "searchbox.html"],38+ "index": ["project.html", "localtoc.html", "searchbox.html"],39+ "**": ["localtoc.html", "relations.html", "searchbox.html"],40 }33-singlehtml_sidebars = {"index": ["project.html", "versions.html", "localtoc.html"]}41+singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}42 html_static_path = ["_static"]43 html_favicon = "_static/click-icon.png"44 html_logo = "_static/click-logo-sidebar.png"37-html_title = "Click Documentation ({})".format(version)45+html_title = f"Click Documentation ({version})"46 html_show_sourcelink = False39-html_domain_indices = False40-html_experimental_html5_writer = True47 48 # LaTeX ----------------------------------------------------------------49 50 latex_documents = [45- (master_doc, "Click-{}.tex".format(version), html_title, author, "manual")51+ (master_doc, f"Click-{version}.tex", html_title, author, "manual")52 ]modified:docs/python3.rst+4 added-4 removed
145 unmodified lines146 curious about the reasons for this, you can join the discussions in the147 Python 3 bug tracker:148 149 * `ASCII is a bad filesystem default encoding150- <http://bugs.python.org/issue13643#msg149941>`_150+ <https://bugs.python.org/issue13643#msg149941>`_151 * `Use surrogateescape as default error handler152- <http://bugs.python.org/issue19977>`_152+ <https://bugs.python.org/issue19977>`_153 * `Python 3 raises Unicode errors in the C locale154- <http://bugs.python.org/issue19846>`_154+ <https://bugs.python.org/issue19846>`_155 * `LC_CTYPE=C: pydoc leaves terminal in an unusable state156- <http://bugs.python.org/issue21398>`_ (this is relevant to Click156+ <https://bugs.python.org/issue21398>`_ (this is relevant to Click157 because the pager support is provided by the stdlib pydoc module)158 159 Note (Python 3.7 onwards): Even though your locale may not be properly160 configured, Python 3.7 Click will not raise the above exception because Python25 unmodified linesmodified:docs/quickstart.rst+1 added-1 removed
49 unmodified lines50 ``pip`` first. For more information about this, see `installing pip`_.51 Once you have it installed, run the ``pip`` command from above, but without52 the `sudo` prefix.53 54-.. _installing pip: https://pip.readthedocs.io/en/latest/installing.html54+.. _installing pip: https://pip.readthedocs.io/en/latest/installing/55 56 Once you have virtualenv installed, just fire up a shell and create57 your own environment. I usually create a project folder and a `venv`58 folder within::224 unmodified linesmodified:docs/requirements.txt+4 added-2 removed
1-Sphinx~=1.8.02-Pallets-Sphinx-Themes~=1.1.01+Sphinx~=2.2.02+Pallets-Sphinx-Themes~=1.2.23+sphinxcontrib-log-cabinet~=1.0.14+sphinx-issues~=1.2.0modified:docs/why.rst+1 added-1 removed
36 unmodified lines37 should.38 39 Too much customizability would break this promise.40 41-Click was written to support the `Flask <http://flask.pocoo.org/>`_41+Click was written to support the `Flask <https://palletsprojects.com/p/flask/>`_42 microframework ecosystem because no tool could provide it with the43 functionality it needed.44 45 To get an understanding of what Click is all about, I strongly recommend107 unmodified linesmodified:CHANGES.rst+382 added-477 removed
1-Click Changelog2-===============1+.. currentmodule:: click2 4-3 Version 7.14 -----------5 6 Unreleased7 10-- Add ``no_args_is_help`` option to ``click.Command``, defaults to False (`#1167`_)11-- Fix link in ``unicode_literals`` error message. (`#1151`_)12-- Add support for colored output on UNIX Jupyter notebooks. (`#1185`_)13-- Remove unused compat shim for ``bytes``. (`#1195`_)14-- Expand unit testing around termui, especially getchar (Windows). (`#1116`_)15-- Fix output on Windows Python 2.7 built with MSVC 14. #134216-- Always return of of the passed choices for ``click.Choice`` (`#1277`, `#1318`)8+- Add ``no_args_is_help`` option to ``click.Command``, defaults to9+ False :pr:`1167`10+- Fix link in ``unicode_literals`` error message. :pr:`1151`11+- Add support for colored output on UNIX Jupyter notebooks.12+ :issue:`1185`13+- Remove unused compat shim for ``bytes``. :pr:`1195`14+- Expand unit testing around termui, especially getchar (Windows).15+ :issue:`1116`16+- Fix output on Windows Python 2.7 built with MSVC 14. :pr:`1342`17+- Always return of of the passed choices for ``click.Choice``18+ :issue:`1277`, :pr:`1318`19 18-.. _#1167: https://github.com/pallets/click/pull/116719-.. _#1151: https://github.com/pallets/click/pull/115120-.. _#1185: https://github.com/pallets/click/issues/118521-.. _#1195: https://github.com/pallets/click/pull/119522-.. _#1116: https://github.com/pallets/click/issues/111623-.. _#1277: https://github.com/pallets/click/issues/127724-.. _#1318: https://github.com/pallets/click/pull/131820 26-21 Version 7.022 -----------23 24 Released 2018-09-2525 32-- Drop support for Python 2.6 and 3.3. (`#967`_, `#976`_)33-- Wrap ``click.Choice``'s missing message. (`#202`_, `#1000`_)34-- Add native ZSH autocompletion support. (`#323`_, `#865`_)35-- Document that ANSI color info isn't parsed from bytearrays in36- Python 2. (`#334`_)37-- Document byte-stripping behavior of ``CliRunner``. (`#334`_,38- `#1010`_)39-- Usage errors now hint at the ``--help`` option. (`#393`_, `#557`_)40-- Implement streaming pager. (`#409`_, `#889`_)41-- Extract bar formatting to its own method. (`#414`_)26+- Drop support for Python 2.6 and 3.3. :pr:`967, 976`27+- Wrap ``click.Choice``'s missing message. :issue:`202`, :pr:`1000`28+- Add native ZSH autocompletion support. :issue:`323`, :pr:`865`29+- Document that ANSI color info isn't parsed from bytearrays in Python30+ 2. :issue:`334`31+- Document byte-stripping behavior of ``CliRunner``. :issue:`334`,32+ :pr:`1010`33+- Usage errors now hint at the ``--help`` option. :issue:`393`,34+ :pr:`557`35+- Implement streaming pager. :issue:`409`, :pr:`889`36+- Extract bar formatting to its own method. :pr:`414`37 - Add ``DateTime`` type for converting input in given date time43- formats. (`#423`_)38+ formats. :pr:`423`39 - ``secho``'s first argument can now be ``None``, like in ``echo``.45- (`#424`_)40+ :pr:`424`41 - Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``, when the42 arg passed to the first call of ``ProgressBar.update`` is 0.48- (`#447`_, `#1012`_)49-- Show progressbar only if total execution time is visible. (`#487`_)50-- Added the ability to hide commands and options from help. (`#500`_)51-- Document that options can be ``required=True``. (`#514`_, `#1022`_)43+ :issue:`447`, :pr:`1012`44+- Show progressbar only if total execution time is visible. :pr:`487`45+- Added the ability to hide commands and options from help. :pr:`500`46+- Document that options can be ``required=True``. :issue:`514`,47+ :pr:`1022`48 - Non-standalone calls to ``Context.exit`` return the exit code,53- rather than calling ``sys.exit``. (`#533`_, `#667`_, `#1098`_)49+ rather than calling ``sys.exit``. :issue:`667`, :pr:`533, 1098`50 - ``click.getchar()`` returns Unicode in Python 3 on Windows,55- consistent with other platforms. (`#537`_, `#821`_, `#822`_,56- `#1088`_, `#1108`_)57-- Added ``FloatRange`` type. (`#538`_, `#553`_)51+ consistent with other platforms. :issue:`537, 821, 822, 1088`,52+ :pr:`1108`53+- Added ``FloatRange`` type. :pr:`538, 553`54 - Added support for bash completion of ``type=click.Choice`` for59- ``Options`` and ``Arguments``. (`#535`_, `#681`_)55+ ``Options`` and ``Arguments``. :issue:`535`, :pr:`681`56 - Only allow one positional arg for ``Argument`` parameter61- declaration. (`#568`_, `#574`_, `#1014`_)62-- Add ``case_sensitive=False`` as an option to Choice. (`#569`_)57+ declaration. :issue:`568, 574`, :pr:`1014`58+- Add ``case_sensitive=False`` as an option to Choice. :issue:`569`59 - ``click.getchar()`` correctly raises ``KeyboardInterrupt`` on "^C"64- and ``EOFError`` on "^D" on Linux. (`#583`_, `#1115`_)60+ and ``EOFError`` on "^D" on Linux. :issue:`583`, :pr:`1115`61 - Fix encoding issue with ``click.getchar(echo=True)`` on Linux.66- (`#1115`_)67-- ``param_hint`` in errors now derived from param itself. (`#598`_,68- `#704`_, `#709`_)62+ :pr:`1115`63+- ``param_hint`` in errors now derived from param itself.64+ :issue:`598, 704`, :pr:`709`65 - Add a test that ensures that when an argument is formatted into a70- usage error, its metavar is used, not its name. (`#612`_)66+ usage error, its metavar is used, not its name. :pr:`612`67 - Allow setting ``prog_name`` as extra in ``CliRunner.invoke``.72- (`#616`_, `#999`_)68+ :issue:`616`, :pr:`999`69 - Help text taken from docstrings truncates at the ``\f`` form feed70 character, useful for hiding Sphinx-style parameter documentation.75- (`#629`_, `#1091`_)76-- ``launch`` now works properly under Cygwin. (`#650`_)77-- Update progress after iteration. (`#651`_, `#706`_)71+ :pr:`629, 1091`72+- ``launch`` now works properly under Cygwin. :pr:`650`73+- Update progress after iteration. :issue:`651`, :pr:`706`74 - ``CliRunner.invoke`` now may receive ``args`` as a string79- representing a Unix shell command. (`#664`_)80-- Make ``Argument.make_metavar()`` default to type metavar. (`#675`_)81-- Add documentation for ``ignore_unknown_options``. (`#684`_)75+ representing a Unix shell command. :pr:`664`76+- Make ``Argument.make_metavar()`` default to type metavar. :pr:`675`77+- Add documentation for ``ignore_unknown_options``. :pr:`684`78 - Add bright colors support for ``click.style`` and fix the reset83- option for parameters ``fg`` and ``bg``. (`#703`_, `#809`_)79+ option for parameters ``fg`` and ``bg``. :issue:`703`, :pr:`809`80 - Add ``show_envvar`` for showing environment variables in help.85- (`#710`_)81+ :pr:`710`82 - Avoid ``BrokenPipeError`` during interpreter shutdown when stdout or87- stderr is a closed pipe. (`#712`_, `#1106`_)88-- Document customizing option names. (`#725`_, `#1016`_)83+ stderr is a closed pipe. :issue:`712`, :pr:`1106`84+- Document customizing option names. :issue:`725`, :pr:`1016`85 - Disable ``sys._getframes()`` on Python interpreters that don't90- support it. (`#728`_)86+ support it. :pr:`728`87 - Fix bug in test runner when calling ``sys.exit`` with ``None``.92- (`#739`_)93-- Clarify documentation on command line options. (`#741`_, `#1003`_)94-- Fix crash on Windows console. (`#744`_)88+ :pr:`739`89+- Clarify documentation on command line options. :issue:`741`,90+ :pr:`1003`91+- Fix crash on Windows console. :issue:`744`92 - Fix bug that caused bash completion to give improper completions on96- chained commands. (`#754`_, `#774`_)93+ chained commands. :issue:`754`, :pr:`774`94 - Added support for dynamic bash completion from a user-supplied98- callback. (`#755`_)99-- Added support for bash completions containing spaces. (`#773`_)95+ callback. :pr:`755`96+- Added support for bash completions containing spaces. :pr:`773`97 - Allow autocompletion function to determine whether or not to return101- completions that start with the incomplete argument. (`#790`_,102- `#806`_)98+ completions that start with the incomplete argument. :issue:`790`,99+ :pr:`806`100 - Fix option naming routine to match documentation and be104- deterministic. (`#793`_, `#794`_)105-- Fix path validation bug. (`#795`_, `#1020`_)101+ deterministic. :issue:`793`, :pr:`794`102+- Fix path validation bug. :issue:`795`, :pr:`1020`103 - Add test and documentation for ``Option`` naming: functionality.107- (`#799`_)108-- Update doc to match arg name for ``path_type``. (`#801`_)109-- Raw strings added so correct escaping occurs. (`#807`_)110-- Fix 16k character limit of ``click.echo`` on Windows. (`#816`_,111- `#819`_)104+ :pr:`799`105+- Update doc to match arg name for ``path_type``. :pr:`801`106+- Raw strings added so correct escaping occurs. :pr:`807`107+- Fix 16k character limit of ``click.echo`` on Windows. :issue:`816`,108+ :pr:`819`109 - Overcome 64k character limit when writing to binary stream on113- Windows 7. (`#825`_, `#830`_)114-- Add bool conversion for "t" and "f". (`#842`_)110+ Windows 7. :issue:`825`, :pr:`830`111+- Add bool conversion for "t" and "f". :pr:`842`112 - ``NoSuchOption`` errors take ``ctx`` so that ``--help`` hint gets116- printed in error output. (`#860`_)113+ printed in error output. :pr:`860`114 - Fixed the behavior of Click error messages with regards to Unicode115 on 2.x and 3.x. Message is now always Unicode and the str and116 Unicode special methods work as you expect on that platform.120- (`#862`_)121-- Progress bar now uses stderr by default. (`#863`_)122-- Add support for auto-completion documentation. (`#866`_, `#869`_)123-- Allow ``CliRunner`` to separate stdout and stderr. (`#868`_)124-- Fix variable precedence. (`#873`_, `#874`_)125-- Fix invalid escape sequences. (`#877`_)126-- Fix ``ResourceWarning`` that occurs during some tests. (`#878`_)117+ :issue:`862`118+- Progress bar now uses stderr by default. :pr:`863`119+- Add support for auto-completion documentation. :issue:`866`,120+ :pr:`869`121+- Allow ``CliRunner`` to separate stdout and stderr. :pr:`868`122+- Fix variable precedence. :issue:`873`, :pr:`874`123+- Fix invalid escape sequences. :pr:`877`124+- Fix ``ResourceWarning`` that occurs during some tests. :pr:`878`125 - When detecting a misconfigured locale, don't fail if the ``locale``128- command fails. (`#880`_)126+ command fails. :pr:`880`127 - Add ``case_sensitive=False`` as an option to ``Choice`` types.130- (`#887`_)128+ :pr:`887`129 - Force stdout/stderr writable. This works around issues with badly132- patched standard streams like those from Jupyter. (`#918`_)133-- Fix completion of subcommand options after last argument (`#919`_,134- `#930`_)130+ patched standard streams like those from Jupyter. :pr:`918`131+- Fix completion of subcommand options after last argument132+ :issue:`919`, :pr:`930`133 - ``_AtomicFile`` now uses the ``realpath`` of the original filename136- so that changing the working directory does not affect it.137- (`#920`_)138-- Fix incorrect completions when defaults are present (`#925`_,139- `#930`_)134+ so that changing the working directory does not affect it. :pr:`920`135+- Fix incorrect completions when defaults are present :issue:`925`,136+ :pr:`930`137 - Add copy option attrs so that custom classes can be re-used.141- (`#926`_, `#994`_)138+ :issue:`926`, :pr:`994`139 - "x" and "a" file modes now use stdout when file is ``"-"``.143- (`#929`_)144-- Fix missing comma in ``__all__`` list. (`#935`_)145-- Clarify how parameters are named. (`#949`_, `#1009`_)146-- Stdout is now automatically set to non blocking. (`#954`_)147-- Do not set options twice. (`#962`_)148-- Move ``fcntl`` import. (`#965`_)149-- Fix Google App Engine ``ImportError``. (`#995`_)140+ :pr:`929`141+- Fix missing comma in ``__all__`` list. :pr:`935`142+- Clarify how parameters are named. :issue:`949`, :pr:`1009`143+- Stdout is now automatically set to non blocking. :pr:`954`144+- Do not set options twice. :pr:`962`145+- Move ``fcntl`` import. :pr:`965`146+- Fix Google App Engine ``ImportError``. :pr:`995`147 - Better handling of help text for dynamic default option values.151- (`#996`_)148+ :pr:`996`149 - Fix ``get_winter_size()`` so it correctly returns ``(0,0)``.153- (`#997`_)154-- Add test case checking for custom param type. (`#1001`_)155-- Allow short width to address cmd formatting. (`#1002`_)156-- Add details about Python version support. (`#1004`_)157-- Added deprecation flag to commands. (`#1005`_)158-- Fixed issues where ``fd`` was undefined. (`#1007`_)159-- Fix formatting for short help. (`#1008`_)150+ :pr:`997`151+- Add test case checking for custom param type. :pr:`1001`152+- Allow short width to address cmd formatting. :pr:`1002`153+- Add details about Python version support. :pr:`1004`154+- Added deprecation flag to commands. :pr:`1005`155+- Fixed issues where ``fd`` was undefined. :pr:`1007`156+- Fix formatting for short help. :pr:`1008`157 - Document how ``auto_envvar_prefix`` works with command groups.161- (`#1011`_)162-- Don't add newlines by default for progress bars. (`#1013`_)163-- Use Python sorting order for ZSH completions. (`#1047`_, `#1059`_)158+ :pr:`1011`159+- Don't add newlines by default for progress bars. :pr:`1013`160+- Use Python sorting order for ZSH completions. :issue:`1047`,161+ :pr:`1059`162 - Document that parameter names are converted to lowercase by default.165- (`#1055`_)163+ :pr:`1055`164 - Subcommands that are named by the function now automatically have165 the underscore replaced with a dash. If you register a function166 named ``my_command`` it becomes ``my-command`` in the command line167 interface.170-- Hide hidden commands and options from completion. (`#1058`_,171- `#1061`_)168+- Hide hidden commands and options from completion. :issue:`1058`,169+ :pr:`1061`170 - Fix absolute import blocking Click from being vendored into a173- project on Windows. (`#1068`_, `#1069`_)171+ project on Windows. :issue:`1068`, :pr:`1069`172 - Fix issue where a lowercase ``auto_envvar_prefix`` would not be175- converted to uppercase. (`#1105`_)173+ converted to uppercase. :pr:`1105`174 177-.. _#202: https://github.com/pallets/click/issues/202178-.. _#323: https://github.com/pallets/click/issues/323179-.. _#334: https://github.com/pallets/click/issues/334180-.. _#393: https://github.com/pallets/click/issues/393181-.. _#409: https://github.com/pallets/click/issues/409182-.. _#414: https://github.com/pallets/click/pull/414183-.. _#423: https://github.com/pallets/click/pull/423184-.. _#424: https://github.com/pallets/click/pull/424185-.. _#447: https://github.com/pallets/click/issues/447186-.. _#487: https://github.com/pallets/click/pull/487187-.. _#500: https://github.com/pallets/click/pull/500188-.. _#514: https://github.com/pallets/click/issues/514189-.. _#533: https://github.com/pallets/click/pull/533190-.. _#535: https://github.com/pallets/click/issues/535191-.. _#537: https://github.com/pallets/click/issues/537192-.. _#538: https://github.com/pallets/click/pull/538193-.. _#553: https://github.com/pallets/click/pull/553194-.. _#557: https://github.com/pallets/click/pull/557195-.. _#568: https://github.com/pallets/click/issues/568196-.. _#569: https://github.com/pallets/click/issues/569197-.. _#574: https://github.com/pallets/click/issues/574198-.. _#583: https://github.com/pallets/click/issues/583199-.. _#598: https://github.com/pallets/click/issues/598200-.. _#612: https://github.com/pallets/click/pull/612201-.. _#616: https://github.com/pallets/click/issues/616202-.. _#629: https://github.com/pallets/click/pull/629203-.. _#650: https://github.com/pallets/click/pull/650204-.. _#651: https://github.com/pallets/click/issues/651205-.. _#664: https://github.com/pallets/click/pull/664206-.. _#667: https://github.com/pallets/click/issues/667207-.. _#675: https://github.com/pallets/click/pull/675208-.. _#681: https://github.com/pallets/click/pull/681209-.. _#684: https://github.com/pallets/click/pull/684210-.. _#703: https://github.com/pallets/click/issues/703211-.. _#704: https://github.com/pallets/click/issues/704212-.. _#706: https://github.com/pallets/click/pull/706213-.. _#709: https://github.com/pallets/click/pull/709214-.. _#710: https://github.com/pallets/click/pull/710215-.. _#712: https://github.com/pallets/click/pull/712216-.. _#719: https://github.com/pallets/click/issues/719217-.. _#725: https://github.com/pallets/click/issues/725218-.. _#728: https://github.com/pallets/click/pull/728219-.. _#739: https://github.com/pallets/click/pull/739220-.. _#741: https://github.com/pallets/click/issues/741221-.. _#744: https://github.com/pallets/click/issues/744222-.. _#754: https://github.com/pallets/click/issues/754223-.. _#755: https://github.com/pallets/click/pull/755224-.. _#773: https://github.com/pallets/click/pull/773225-.. _#774: https://github.com/pallets/click/pull/774226-.. _#790: https://github.com/pallets/click/issues/790227-.. _#793: https://github.com/pallets/click/issues/793228-.. _#794: https://github.com/pallets/click/pull/794229-.. _#795: https://github.com/pallets/click/issues/795230-.. _#799: https://github.com/pallets/click/pull/799231-.. _#801: https://github.com/pallets/click/pull/801232-.. _#806: https://github.com/pallets/click/pull/806233-.. _#807: https://github.com/pallets/click/pull/807234-.. _#809: https://github.com/pallets/click/pull/809235-.. _#816: https://github.com/pallets/click/pull/816236-.. _#819: https://github.com/pallets/click/pull/819237-.. _#821: https://github.com/pallets/click/issues/821238-.. _#822: https://github.com/pallets/click/issues/822239-.. _#825: https://github.com/pallets/click/issues/825240-.. _#830: https://github.com/pallets/click/pull/830241-.. _#842: https://github.com/pallets/click/pull/842242-.. _#860: https://github.com/pallets/click/issues/860243-.. _#862: https://github.com/pallets/click/issues/862244-.. _#863: https://github.com/pallets/click/pull/863245-.. _#865: https://github.com/pallets/click/pull/865246-.. _#866: https://github.com/pallets/click/issues/866247-.. _#868: https://github.com/pallets/click/pull/868248-.. _#869: https://github.com/pallets/click/pull/869249-.. _#873: https://github.com/pallets/click/issues/873250-.. _#874: https://github.com/pallets/click/pull/874251-.. _#877: https://github.com/pallets/click/pull/877252-.. _#878: https://github.com/pallets/click/pull/878253-.. _#880: https://github.com/pallets/click/pull/880254-.. _#883: https://github.com/pallets/click/pull/883255-.. _#887: https://github.com/pallets/click/pull/887256-.. _#889: https://github.com/pallets/click/pull/889257-.. _#918: https://github.com/pallets/click/pull/918258-.. _#919: https://github.com/pallets/click/issues/919259-.. _#920: https://github.com/pallets/click/pull/920260-.. _#925: https://github.com/pallets/click/issues/925261-.. _#926: https://github.com/pallets/click/issues/926262-.. _#929: https://github.com/pallets/click/pull/929263-.. _#930: https://github.com/pallets/click/pull/930264-.. _#935: https://github.com/pallets/click/pull/935265-.. _#949: https://github.com/pallets/click/issues/949266-.. _#954: https://github.com/pallets/click/pull/954267-.. _#962: https://github.com/pallets/click/pull/962268-.. _#965: https://github.com/pallets/click/pull/965269-.. _#967: https://github.com/pallets/click/pull/967270-.. _#976: https://github.com/pallets/click/pull/976271-.. _#990: https://github.com/pallets/click/pull/990272-.. _#991: https://github.com/pallets/click/pull/991273-.. _#993: https://github.com/pallets/click/pull/993274-.. _#994: https://github.com/pallets/click/pull/994275-.. _#995: https://github.com/pallets/click/pull/995276-.. _#996: https://github.com/pallets/click/pull/996277-.. _#997: https://github.com/pallets/click/pull/997278-.. _#999: https://github.com/pallets/click/pull/999279-.. _#1000: https://github.com/pallets/click/pull/1000280-.. _#1001: https://github.com/pallets/click/pull/1001281-.. _#1002: https://github.com/pallets/click/pull/1002282-.. _#1003: https://github.com/pallets/click/pull/1003283-.. _#1004: https://github.com/pallets/click/pull/1004284-.. _#1005: https://github.com/pallets/click/pull/1005285-.. _#1007: https://github.com/pallets/click/pull/1007286-.. _#1008: https://github.com/pallets/click/pull/1008287-.. _#1009: https://github.com/pallets/click/pull/1009288-.. _#1010: https://github.com/pallets/click/pull/1010289-.. _#1011: https://github.com/pallets/click/pull/1011290-.. _#1012: https://github.com/pallets/click/pull/1012291-.. _#1013: https://github.com/pallets/click/pull/1013292-.. _#1014: https://github.com/pallets/click/pull/1014293-.. _#1016: https://github.com/pallets/click/pull/1016294-.. _#1020: https://github.com/pallets/click/pull/1020295-.. _#1022: https://github.com/pallets/click/pull/1022296-.. _#1027: https://github.com/pallets/click/pull/1027297-.. _#1047: https://github.com/pallets/click/pull/1047298-.. _#1055: https://github.com/pallets/click/pull/1055299-.. _#1058: https://github.com/pallets/click/pull/1058300-.. _#1059: https://github.com/pallets/click/pull/1059301-.. _#1061: https://github.com/pallets/click/pull/1061302-.. _#1068: https://github.com/pallets/click/issues/1068303-.. _#1069: https://github.com/pallets/click/pull/1069304-.. _#1088: https://github.com/pallets/click/issues/1088305-.. _#1091: https://github.com/pallets/click/pull/1091306-.. _#1098: https://github.com/pallets/click/pull/1098307-.. _#1105: https://github.com/pallets/click/pull/1105308-.. _#1106: https://github.com/pallets/click/pull/1106309-.. _#1108: https://github.com/pallets/click/pull/1108310-.. _#1115: https://github.com/pallets/click/pull/1115175 312-176 Version 6.7177 -----------178 316-(bugfix release; released on January 6th 2017)179+Released 2017-01-06180 318-- Make ``click.progressbar`` work with ``codecs.open`` files. See #637.319-- Fix bug in bash completion with nested subcommands. See #639.320-- Fix test runner not saving caller env correctly. See #644.321-- Fix handling of SIGPIPE. See #626322-- Deal with broken Windows environments such as Google App Engine's. See #711.181+- Make ``click.progressbar`` work with ``codecs.open`` files.182+ :pr:`637`183+- Fix bug in bash completion with nested subcommands. :pr:`639`184+- Fix test runner not saving caller env correctly. :pr:`644`185+- Fix handling of SIGPIPE. :pr:`62`186+- Deal with broken Windows environments such as Google App Engine's.187+ :issue:`711`188 189+190 Version 6.6191 -----------192 327-(bugfix release; released on April 4th 2016)193+Released 2016-04-04194 329-- Fix bug in ``click.Path`` where it would crash when passed a ``-``. See #551.195+- Fix bug in ``click.Path`` where it would crash when passed a ``-``.196+ :issue:`551`197 198+199 Version 6.4200 -----------201 334-(bugfix release; released on March 24th 2016)202+Released 2016-03-24203 336-- Fix bug in bash completion where click would discard one or more trailing337- arguments. See #471.204+- Fix bug in bash completion where click would discard one or more205+ trailing arguments. :issue:`471`206 207+208 Version 6.3209 -----------210 342-(bugfix release; released on February 22 2016)211+Released 2016-02-22212 344-- Fix argument checks for interpreter invoke with ``-m`` and ``-c``345- on Windows.346-- Fixed a bug that cased locale detection to error out on Python 3.213+- Fix argument checks for interpreter invoke with ``-m`` and ``-c`` on214+ Windows.215+- Fixed a bug that cased locale detection to error out on Python 3.216 217+218 Version 6.2219 -----------220 351-(bugfix release, released on November 27th 2015)221+Released 2015-11-27222 353-- Correct fix for hidden progress bars.223+- Correct fix for hidden progress bars.224 225+226 Version 6.1227 -----------228 358-(bugfix release, released on November 27th 2015)229+Released 2015-11-27230 360-- Resolved an issue with invisible progress bars no longer rendering.361-- Disable chain commands with subcommands as they were inherently broken.362-- Fix ``MissingParameter`` not working without parameters passed.231+- Resolved an issue with invisible progress bars no longer rendering.232+- Disable chain commands with subcommands as they were inherently233+ broken.234+- Fix ``MissingParameter`` not working without parameters passed.235 236+237 Version 6.0238 -----------239 367-(codename "pow pow", released on November 24th 2015)240+Released 2015-11-24, codename "pow pow"241 369-- Optimized the progressbar rendering to not render when it did not370- actually change.371-- Explicitly disallow ``nargs=-1`` with a set default.372-- The context is now closed before it's popped from the stack.373-- Added support for short aliases for the false flag on toggles.374-- Click will now attempt to aid you with debugging locale errors375- better by listing with the help of the OS what locales are376- available.377-- Click used to return byte strings on Python 2 in some unit-testing378- situations. This has been fixed to correctly return unicode strings379- now.380-- For Windows users on Python 2, Click will now handle Unicode more381- correctly handle Unicode coming in from the system. This also has382- the disappointing side effect that filenames will now be always383- unicode by default in the ``Path`` type which means that this can384- introduce small bugs for code not aware of this.385-- Added a ``type`` parameter to ``Path`` to force a specific string type386- on the value.387-- For users running Python on Windows the ``echo`` and ``prompt`` functions388- now work with full unicode functionality in the Python windows console389- by emulating an output stream. This also applies to getting the390- virtual output and input streams via ``click.get_text_stream(...)``.391-- Unittests now always force a certain virtual terminal width.392-- Added support for allowing dashes to indicate standard streams to the393- ``Path`` type.394-- Multi commands in chain mode no longer propagate arguments left over395- from parsing to the callbacks. It's also now disallowed through an396- exception when optional arguments are attached to multi commands if chain397- mode is enabled.398-- Relaxed restriction that disallowed chained commands to have other399- chained commands as child commands.400-- Arguments with positive nargs can now have defaults implemented.401- Previously this configuration would often result in slightly unexpected402- values be returned.242+- Optimized the progressbar rendering to not render when it did not243+ actually change.244+- Explicitly disallow ``nargs=-1`` with a set default.245+- The context is now closed before it's popped from the stack.246+- Added support for short aliases for the false flag on toggles.247+- Click will now attempt to aid you with debugging locale errors248+ better by listing with the help of the OS what locales are249+ available.250+- Click used to return byte strings on Python 2 in some unit-testing251+ situations. This has been fixed to correctly return unicode strings252+ now.253+- For Windows users on Python 2, Click will now handle Unicode more254+ correctly handle Unicode coming in from the system. This also has255+ the disappointing side effect that filenames will now be always256+ unicode by default in the ``Path`` type which means that this can257+ introduce small bugs for code not aware of this.258+- Added a ``type`` parameter to ``Path`` to force a specific string259+ type on the value.260+- For users running Python on Windows the ``echo`` and ``prompt``261+ functions now work with full unicode functionality in the Python262+ windows console by emulating an output stream. This also applies to263+ getting the virtual output and input streams via264+ ``click.get_text_stream(...)``.265+- Unittests now always force a certain virtual terminal width.266+- Added support for allowing dashes to indicate standard streams to267+ the ``Path`` type.268+- Multi commands in chain mode no longer propagate arguments left over269+ from parsing to the callbacks. It's also now disallowed through an270+ exception when optional arguments are attached to multi commands if271+ chain mode is enabled.272+- Relaxed restriction that disallowed chained commands to have other273+ chained commands as child commands.274+- Arguments with positive nargs can now have defaults implemented.275+ Previously this configuration would often result in slightly276+ unexpected values be returned.277 278+279 Version 5.1280 -----------281 407-(bugfix release, released on 17th August 2015)282+Released 2015-08-17283 409-- Fix a bug in ``pass_obj`` that would accidentally pass the context too.284+- Fix a bug in ``pass_obj`` that would accidentally pass the context285+ too.286 287+288 Version 5.0289 -----------290 414-(codename "tok tok", released on 16th August 2015)291+Released 2015-08-16, codename "tok tok"292 416-- Removed various deprecated functionality.417-- Atomic files now only accept the ``w`` mode.418-- Change the usage part of help output for very long commands to wrap419- their arguments onto the next line, indented by 4 spaces.420-- Fix a bug where return code and error messages were incorrect when421- using ``CliRunner``.422-- added ``get_current_context``.423-- added a ``meta`` dictionary to the context which is shared across the424- linked list of contexts to allow click utilities to place state there.425-- introduced ``Context.scope``.426-- The ``echo`` function is now threadsafe: It calls the ``write`` method of the427- underlying object only once.428-- ``prompt(hide_input=True)`` now prints a newline on ``^C``.429-- Click will now warn if users are using ``unicode_literals``.430-- Click will now ignore the ``PAGER`` environment variable if it is empty or431- contains only whitespace.432-- The ``click-contrib`` GitHub organization was created.293+- Removed various deprecated functionality.294+- Atomic files now only accept the ``w`` mode.295+- Change the usage part of help output for very long commands to wrap296+ their arguments onto the next line, indented by 4 spaces.297+- Fix a bug where return code and error messages were incorrect when298+ using ``CliRunner``.299+- Added ``get_current_context``.300+- Added a ``meta`` dictionary to the context which is shared across301+ the linked list of contexts to allow click utilities to place state302+ there.303+- Introduced ``Context.scope``.304+- The ``echo`` function is now threadsafe: It calls the ``write``305+ method of the underlying object only once.306+- ``prompt(hide_input=True)`` now prints a newline on ``^C``.307+- Click will now warn if users are using ``unicode_literals``.308+- Click will now ignore the ``PAGER`` environment variable if it is309+ empty or contains only whitespace.310+- The ``click-contrib`` GitHub organization was created.311 312+313 Version 4.1314 -----------315 437-(bugfix release, released on July 14th 2015)316+Released 2015-07-14317 318+- Fix a bug where error messages would include a trailing ``None``319+ string.439-- Fix a bug where error messages would include a trailing ``None`` string.440-- Fix a bug where Click would crash on docstrings with trailing newlines.441-- Support streams with encoding set to ``None`` on Python 3 by barfing with442- a better error.443-- Handle ^C in less-pager properly.444-- Handle return value of ``None`` from ``sys.getfilesystemencoding``445-- Fix crash when writing to unicode files with ``click.echo``.446-- Fix type inference with multiple options.320+- Fix a bug where Click would crash on docstrings with trailing321+ newlines.322+- Support streams with encoding set to ``None`` on Python 3 by barfing323+ with a better error.324+- Handle ^C in less-pager properly.325+- Handle return value of ``None`` from ``sys.getfilesystemencoding``326+- Fix crash when writing to unicode files with ``click.echo``.327+- Fix type inference with multiple options.328 329+330 Version 4.0331 -----------332 451-(codename "zoom zoom", released on March 31st 2015)333+Released 2015-03-31, codename "zoom zoom"334 453-- Added ``color`` parameters to lots of interfaces that directly or indirectly454- call into echoing. This previously was always autodetection (with the455- exception of the ``echo_via_pager`` function). Now you can forcefully456- enable or disable it, overriding the auto detection of Click.457-- Added an ``UNPROCESSED`` type which does not perform any type changes which458- simplifies text handling on 2.x / 3.x in some special advanced usecases.459-- Added ``NoSuchOption`` and ``BadOptionUsage`` exceptions for more generic460- handling of errors.461-- Added support for handling of unprocessed options which can be useful in462- situations where arguments are forwarded to underlying tools.463-- Added ``max_content_width`` parameter to the context which can be used to464- change the maximum width of help output. By default Click will not format465- content for more than 80 characters width.466-- Added support for writing prompts to stderr.467-- Fix a bug when showing the default for multiple arguments.468-- Added support for custom subclasses to ``option`` and ``argument``.469-- Fix bug in ``clear()`` on Windows when colorama is installed.470-- Reject ``nargs=-1`` for options properly. Options cannot be variadic.471-- Fixed an issue with bash completion not working properly for commands with472- non ASCII characters or dashes.473-- Added a way to manually update the progressbar.474-- Changed the formatting of missing arguments. Previously the internal475- argument name was shown in error messages, now the metavar is shown if476- passed. In case an automated metavar is selected, it's stripped of477- extra formatting first.335+- Added ``color`` parameters to lots of interfaces that directly or336+ indirectly call into echoing. This previously was always337+ autodetection (with the exception of the ``echo_via_pager``338+ function). Now you can forcefully enable or disable it, overriding339+ the auto detection of Click.340+- Added an ``UNPROCESSED`` type which does not perform any type341+ changes which simplifies text handling on 2.x / 3.x in some special342+ advanced usecases.343+- Added ``NoSuchOption`` and ``BadOptionUsage`` exceptions for more344+ generic handling of errors.345+- Added support for handling of unprocessed options which can be346+ useful in situations where arguments are forwarded to underlying347+ tools.348+- Added ``max_content_width`` parameter to the context which can be349+ used to change the maximum width of help output. By default Click350+ will not format content for more than 80 characters width.351+- Added support for writing prompts to stderr.352+- Fix a bug when showing the default for multiple arguments.353+- Added support for custom subclasses to ``option`` and ``argument``.354+- Fix bug in ``clear()`` on Windows when colorama is installed.355+- Reject ``nargs=-1`` for options properly. Options cannot be356+ variadic.357+- Fixed an issue with bash completion not working properly for358+ commands with non ASCII characters or dashes.359+- Added a way to manually update the progressbar.360+- Changed the formatting of missing arguments. Previously the internal361+ argument name was shown in error messages, now the metavar is shown362+ if passed. In case an automated metavar is selected, it's stripped363+ of extra formatting first.364 365+366 Version 3.3367 -----------368 482-(bugfix release, released on September 8th 2014)369+Released 2014-09-08370 484-- Fixed an issue with error reporting on Python 3 for invalid forwarding485- of commands.371+- Fixed an issue with error reporting on Python 3 for invalid372+ forwarding of commands.373 374+375 Version 3.2376 -----------377 490-(bugfix release, released on August 22nd 2014)378+Released 2014-08-22379 492-- Added missing ``err`` parameter forwarding to the ``secho`` function.493-- Fixed default parameters not being handled properly by the context494- invoke method. This is a backwards incompatible change if the function495- was used improperly. See :ref:`upgrade-to-3.2` for more information.496-- Removed the `invoked_subcommands` attribute largely. It is not possible497- to provide it to work error free due to how the parsing works so this498- API has been deprecated. See :ref:`upgrade-to-3.2` for more information.499-- Restored the functionality of `invoked_subcommand` which was broken as500- a regression in 3.1.380+- Added missing ``err`` parameter forwarding to the ``secho``381+ function.382+- Fixed default parameters not being handled properly by the context383+ invoke method. This is a backwards incompatible change if the384+ function was used improperly. See :ref:`upgrade-to-3.2` for more385+ information.386+- Removed the ``invoked_subcommands`` attribute largely. It is not387+ possible to provide it to work error free due to how the parsing388+ works so this API has been deprecated. See :ref:`upgrade-to-3.2` for389+ more information.390+- Restored the functionality of ``invoked_subcommand`` which was391+ broken as a regression in 3.1.392 393+394 Version 3.1395 -----------396 505-(bugfix release, released on August 13th 2014)397+Released 2014-08-13398 507-- Fixed a regression that caused contexts of subcommands to be508- created before the parent command was invoked which was a509- regression from earlier Click versions.399+- Fixed a regression that caused contexts of subcommands to be created400+ before the parent command was invoked which was a regression from401+ earlier Click versions.402 403+404 Version 3.0405 -----------406 514-(codename "clonk clonk", released on August 12th 2014)407+Released 2014-08-12, codename "clonk clonk"408 516-- formatter now no longer attempts to accomodate for terminals517- smaller than 50 characters. If that happens it just assumes518- a minimal width.519-- added a way to not swallow exceptions in the test system.520-- added better support for colors with pagers and ways to521- override the autodetection.522-- the CLI runner's result object now has a traceback attached.523-- improved automatic short help detection to work better with524- dots that do not terminate sentences.525-- when definining options without actual valid option strings526- now, Click will give an error message instead of silently527- passing. This should catch situations where users wanted to528- created arguments instead of options.529-- Restructured Click internally to support vendoring.530-- Added support for multi command chaining.531-- Added support for defaults on options with ``multiple`` and532- options and arguments with ``nargs != 1``.533-- label passed to ``progressbar`` is no longer rendered with534- whitespace stripped.535-- added a way to disable the standalone mode of the ``main``536- method on a Click command to be able to handle errors better.537-- added support for returning values from command callbacks.538-- added simplifications for printing to stderr from ``echo``.539-- added result callbacks for groups.540-- entering a context multiple times defers the cleanup until541- the last exit occurs.542-- added ``open_file``.409+- Formatter now no longer attempts to accomodate for terminals smaller410+ than 50 characters. If that happens it just assumes a minimal width.411+- Added a way to not swallow exceptions in the test system.412+- Added better support for colors with pagers and ways to override the413+ autodetection.414+- The CLI runner's result object now has a traceback attached.415+- Improved automatic short help detection to work better with dots416+ that do not terminate sentences.417+- When definining options without actual valid option strings now,418+ Click will give an error message instead of silently passing. This419+ should catch situations where users wanted to created arguments420+ instead of options.421+- Restructured Click internally to support vendoring.422+- Added support for multi command chaining.423+- Added support for defaults on options with ``multiple`` and options424+ and arguments with ``nargs != 1``.425+- Label passed to ``progressbar`` is no longer rendered with426+ whitespace stripped.427+- Added a way to disable the standalone mode of the ``main`` method on428+ a Click command to be able to handle errors better.429+- Added support for returning values from command callbacks.430+- Added simplifications for printing to stderr from ``echo``.431+- Added result callbacks for groups.432+- Entering a context multiple times defers the cleanup until the last433+ exit occurs.434+- Added ``open_file``.435 436+437 Version 2.6438 -----------439 547-(bugfix release, released on August 11th 2014)440+Released 2014-08-11441 549-- Fixed an issue where the wrapped streams on Python 3 would be reporting550- incorrect values for seekable.442+- Fixed an issue where the wrapped streams on Python 3 would be443+ reporting incorrect values for seekable.444 445+446 Version 2.5447 -----------448 555-(bugfix release, released on July 28th 2014)449+Released 2014-07-28450 557-- Fixed a bug with text wrapping on Python 3.451+- Fixed a bug with text wrapping on Python 3.452 453+454 Version 2.4455 -----------456 562-(bugfix release, released on July 4th 2014)457+Released 2014-07-04458 564-- Corrected a bug in the change of the help option in 2.3.459+- Corrected a bug in the change of the help option in 2.3.460 461+462 Version 2.3463 -----------464 569-(bugfix release, released on July 3rd 2014)465+Released 2014-07-03466 571-- Fixed an incorrectly formatted help record for count options.572-- Add support for ansi code stripping on Windows if colorama573- is not available.574-- restored the Click 1.0 handling of the help parameter for certain575- edge cases.467+- Fixed an incorrectly formatted help record for count options.468+- Add support for ansi code stripping on Windows if colorama is not469+ available.470+- Restored the Click 1.0 handling of the help parameter for certain471+ edge cases.472 473+474 Version 2.2475 -----------476 580-(bugfix release, released on June 26th 2014)477+Released 2014-06-26478 582-- fixed tty detection on PyPy.583-- fixed an issue that progress bars were not rendered when the584- context manager was entered.479+- Fixed tty detection on PyPy.480+- Fixed an issue that progress bars were not rendered when the context481+ manager was entered.482 483+484 Version 2.1485 -----------486 589-(bugfix release, released on June 14th 2014)487+Released 2014-06-14488 591-- fixed the :func:`launch` function on windows.592-- improved the colorama support on windows to try hard to not593- screw up the console if the application is interrupted.594-- fixed windows terminals incorrectly being reported to be 80595- characters wide instead of 79596-- use colorama win32 bindings if available to get the correct597- dimensions of a windows terminal.598-- fixed an issue with custom function types on Python 3.599-- fixed an issue with unknown options being incorrectly reported600- in error messages.489+- Fixed the :func:`launch` function on windows.490+- Improved the colorama support on windows to try hard to not screw up491+ the console if the application is interrupted.492+- Fixed windows terminals incorrectly being reported to be 80493+ characters wide instead of 79494+- Use colorama win32 bindings if available to get the correct495+ dimensions of a windows terminal.496+- Fixed an issue with custom function types on Python 3.497+- Fixed an issue with unknown options being incorrectly reported in498+ error messages.499 500+501 Version 2.0502 -----------503 605-(codename "tap tap tap", released on June 6th 2014)504+Released 2014-06-06, codename "tap tap tap"505 607-- added support for opening stdin/stdout on Windows in608- binary mode correctly.609-- added support for atomic writes to files by going through610- a temporary file.611-- introduced :exc:`BadParameter` which can be used to easily perform612- custom validation with the same error messages as in the type system.613-- added :func:`progressbar`; a function to show progress bars.614-- added :func:`get_app_dir`; a function to calculate the home folder615- for configs.616-- Added transparent handling for ANSI codes into the :func:`echo`617- function through ``colorama``.618-- Added :func:`clear` function.619-- Breaking change: parameter callbacks now get the parameter object620- passed as second argument. There is legacy support for old callbacks621- which will warn but still execute the script.622-- Added :func:`style`, :func:`unstyle` and :func:`secho` for ANSI623- styles.624-- Added an :func:`edit` function that invokes the default editor.625-- Added an :func:`launch` function that launches browsers and applications.626-- nargs of -1 for arguments can now be forced to be a single item through627- the required flag. It defaults to not required.628-- setting a default for arguments now implicitly makes it non required.629-- changed "yN" / "Yn" to "y/N" and "Y/n" in confirmation prompts.630-- added basic support for bash completion.631-- added :func:`getchar` to fetch a single character from the terminal.632-- errors now go to stderr as intended.633-- fixed various issues with more exotic parameter formats like DOS/Windows634- style arguments.635-- added :func:`pause` which works similar to the Windows ``pause`` cmd636- built-in but becomes an automatic noop if the application is not run637- through a terminal.638-- added a bit of extra information about missing choice parameters.639-- changed how the help function is implemented to allow global overriding640- of the help option.641-- added support for token normalization to implement case insensitive handling.642-- added support for providing defaults for context settings.506+- Added support for opening stdin/stdout on Windows in binary mode507+ correctly.508+- Added support for atomic writes to files by going through a509+ temporary file.510+- Introduced :exc:`BadParameter` which can be used to easily perform511+ custom validation with the same error messages as in the type512+ system.513+- Added :func:`progressbar`; a function to show progress bars.514+- Added :func:`get_app_dir`; a function to calculate the home folder515+ for configs.516+- Added transparent handling for ANSI codes into the :func:`echo`517+ function through ``colorama``.518+- Added :func:`clear` function.519+- Breaking change: parameter callbacks now get the parameter object520+ passed as second argument. There is legacy support for old callbacks521+ which will warn but still execute the script.522+- Added :func:`style`, :func:`unstyle` and :func:`secho` for ANSI523+ styles.524+- Added an :func:`edit` function that invokes the default editor.525+- Added an :func:`launch` function that launches browsers and526+ applications.527+- Nargs of -1 for arguments can now be forced to be a single item528+ through the required flag. It defaults to not required.529+- Setting a default for arguments now implicitly makes it non530+ required.531+- Changed "yN" / "Yn" to "y/N" and "Y/n" in confirmation prompts.532+- Added basic support for bash completion.533+- Added :func:`getchar` to fetch a single character from the terminal.534+- Errors now go to stderr as intended.535+- Fixed various issues with more exotic parameter formats like536+ DOS/Windows style arguments.537+- Added :func:`pause` which works similar to the Windows ``pause`` cmd538+ built-in but becomes an automatic noop if the application is not run539+ through a terminal.540+- Added a bit of extra information about missing choice parameters.541+- Changed how the help function is implemented to allow global542+ overriding of the help option.543+- Added support for token normalization to implement case insensitive544+ handling.545+- Added support for providing defaults for context settings.546 547+548 Version 1.1549 -----------550 647-(bugfix release, released on May 23rd 2014)551+Released 2014-05-23552 649-- fixed a bug that caused text files in Python 2 to not accept650- native strings.553+- Fixed a bug that caused text files in Python 2 to not accept native554+ strings.555 556+557 Version 1.0558 -----------559 655-(no codename, released on May 21st 2014)560+Released 2014-05-21561 657-- Initial release.562+- Initial release.