Skip to content
Myr

Fix inline literals in changelog

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Grey Li · committed by GitHub · parent a0e0328 · Browse files · 1 file+75 added−75 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+75 added−75 removed

  • other:+75 added−75 removed

1 file+75 added−75 removed

modified:CHANGES.rst+75 added-75 removed
7 unmodified lines
89(upcoming release with new features, release date to be decided)1011- Updated test env matrix. (`#1027`_)12- Fixes a ZeroDivisionError in ProgressBar.make_step,13 when the arg passed to the first call of ProgressBar.update is 0. (`#1012`_)(`#447`_)14- Document that options can be required=True. (`#1022`_)(`#514`_)12- Fixes a ``ZeroDivisionError`` in ``ProgressBar.make_step``,13 when the arg passed to the first call of ``ProgressBar.update`` is 0. (`#1012`_)(`#447`_)14- Document that options can be ``required=True``. (`#1022`_)(`#514`_)15- Fix path validation bug. (`#1020`_)(`#795`_)16- Document customizing option names. (`#1016`_)(`#725`_)17- Wrap click.Choice's missing message. (`#1000`_)(`#202`_)17- Wrap ``click.Choice``'s missing message. (`#1000`_)(`#202`_)18- Don't add newlines by default for progressbars. (`#1013`_)19- Document how `auto_envar_prefix` works with command groups. (`#1011`_)19- Document how ``auto_envar_prefix`` works with command groups. (`#1011`_)20- Fix failing bash completion function test signature.21- Clarify how paramteres are named. (`#1009`_)(`#949`_)22- Document bytestripping behavior of CliRunner. (`#1010`_)(`#334`_)23- Fix Google App Engine ImportError. (`#995`_)22- Document bytestripping behavior of ``CliRunner``. (`#1010`_)(`#334`_)23- Fix Google App Engine ``ImportError``. (`#995`_)24- Document that ANSI color info isn't parsedfrom bytearrays in Python 2. (`#334`_)25- Add note to documentation on how parameters are named.26- Fix formatting for short help. (`#1008`_)27- Extract bar formatting to its own method. (`#414`_)28- Move `fcntl` import. (`#965`_)29- Fixed issues where `fd` was undefined. (`#1007`_)28- Move ``fcntl`` import. (`#965`_)29- Fixed issues where ``fd`` was undefined. (`#1007`_)30- Added deprecation flag to commands. (`#1005`_)31- Fix various Sphinx errors. (`#883`_)32- Add `case_sensitive=False` as an option to Choice types. (`#887`_)32- Add ``case_sensitive=False`` as an option to Choice types. (`#887`_)33- Add details about Python version support. (`#1004`_)34- Clarify documentation on command line options. (`#1003`_)(`#741`_)35- Add `case_sensitive=False` as an option to Choice. (`#569`_)35- Add ``case_sensitive=False`` as an option to Choice. (`#569`_)36- Better handling of help text for dynamic default option values. (`#996`_)37- Allow short width to address cmd formatting. (`#1002`_)38- Add test case checking for custom param type. (`#1001`_)39- Make `Argument.make_metavar()` default to type metavar. (`#675`_)39- Make ``Argument.make_metavar()`` default to type metavar. (`#675`_)40- Show progressbar only if total execution time is visible. (`#487`_)41- Allow setting `prog_name` as extra in `CliRunner.invoke` (`#999`_)(`#616`_)41- Allow setting ``prog_name`` as extra in ``CliRunner.invoke`` (`#999`_)(`#616`_)42- Add support for Sphinx 1.7+ (`#991`_)43- Fix `get_winter_size()` so it correctly returns (0,0). (`#997`_)43- Fix ``get_winter_size()`` so it correctly returns ``(0,0)``. (`#997`_)44- Update progress after iteration. (`#706`_)(`#651`_)45- Add `show_envvar` for showing environment variables in help. (`#710`_)45- Add ``show_envvar`` for showing environment variables in help. (`#710`_)46- Add support for bright colors. (`#809`_)47- Add documentation for `ignore_unkown_options`. (`#684`_)48- Allow CliRunner to separate stdout and stderr. (`#868`_)47- Add documentation for ``ignore_unkown_options``. (`#684`_)48- Allow ``CliRunner`` to separate stdout and stderr. (`#868`_)49- Implement streaming pager. (`#889`_)(`#409`_)50- Progress bar now uses stderr by default. (`#863`_)51- Do not set options twice. (`#962`_)52- Add Py2/ unicode / str compatability for doc tools. (`#993`_)(`#719`_)53- Add copy option attrs so that custom classes can be re-used. (`#994`_)(`#926`_)54- `param_hint` in errors now derived from param itself. (`#709`_)(`#704`_)(`#598`_)54- ``param_hint`` in errors now derived from param itself. (`#709`_)(`#704`_)(`#598`_)55- Add a test that ensures that when an Argument is formatted into a usage error,56 its metavar is used, not its name. (`#612`_)57- Fix variable precedence. (`#874`_)(`#873`_)58- Fix ResourceWarning that occurs during some tests. (`#878`_)59- Update README to match flask style and add `long_description` to setup.py. (`#990`_)59- Update README to match flask style and add ``long_description`` to setup.py. (`#990`_)60- Drop testing for 2.6 3.3 and 3.6.61- Make locale optional (`#880`_)62- Fix invalid escape sequences. (`#877`_)63- Added workaround for jupyter. (`#918`_)64- x and a filemodes now use stdout when file is '-'. (`#929`_)65- _AtomicFile now uses the realpath of the original filename. (`#920`_)66- Fix missing comma in `__all__` list (`#935`_)64- x and a filemodes now use stdout when file is ``'-'``. (`#929`_)65- ``_AtomicFile`` now uses the realpath of the original filename. (`#920`_)66- Fix missing comma in ``__all__`` list (`#935`_)67- Raw strings added so correct escaping occurs. (`#807`_)68- Add bool conversion for t and f. (`#842`_)69- Update doc to match arg name for path_type. (`#801`_)70- Add bright colors support for `click.style`71 and fix the reset option for parameters fg and bg. (`#703`_)72- Add test and documentation for Option naming: functionality. (`#799`_)68- Add bool conversion for ``t`` and ``f``. (`#842`_)69- Update doc to match arg name for ``path_type``. (`#801`_)70- Add bright colors support for ``click.style``71 and fix the reset option for parameters ``fg`` and ``bg``. (`#703`_)72- Add test and documentation for ``Option`` naming: functionality. (`#799`_)73- Use deterministic option name; can't rely on list sort. (`#794`_)(`#793`_)74- Added support for bash completions containing spaces. (`#773`_)75- Added support for dynamic bash completion from a user-supplied callback.76 (`#755`_)77- Added support for bash completion of type=click.Choice for Options and78 Arguments. (`#535`_)79- The user is now presented with the available choices if prompt=True and80 type=click.Choice in a click.option. The choices are listed within81 parenthesis like 'Choose fruit (apple, orange): '.77- Added support for bash completion of ``type=click.Choice`` for ``Options`` and78 ``Arguments``. (`#535`_)79- The user is now presented with the available choices if ``prompt=True`` and80 ``type=click.Choice`` in a ``click.optio``n. The choices are listed within81 parenthesis like ``'Choose fruit (apple, orange): '``.82- The exception objects now store unicode properly.83- Added the ability to hide commands and options from help.84- Added Float Range in Types.85- `secho`'s first argument can now be `None`, like in `echo`.86- Usage errors now hint at the `--help` option.85- ``secho``'s first argument can now be ``None``, like in ``echo``.86- Usage errors now hint at the ``--help`` option.87- ``launch`` now works properly under Cygwin. (`#650`_)88- `CliRunner.invoke` now may receive `args` as a string representing88- ``CliRunner.invoke`` now may receive ``args`` as a string representing89 a Unix shell command. See (`#664`_).90- Fix bug that caused bashcompletion to give improper completions on91 chained commands. (`#774`_)92- Add support for bright colors.93- 't' and 'f' are now converted to True and False.93- ``'t'`` and ``'f'`` are now converted to ``True`` and ``False``.94- Fix bug that caused bashcompletion to give improper completions on95 chained commands when a required option/argument was being completed.96 (`#790`_)(`#806`_)97- Allow autocompletion function to determine whether or not to return
1 unmodified line
99- Add native ZSH autocompletion support. (`#323`_)(`#865`_)100- Add support for auto-completion documentation. See (`#866`_)(`#869`_)101- Subcommands that are named by the function now automatically have the102 underscore replaced with a dash. So if you register a function named103 `my_command` it becomes `my-command` in the command line interface.103 ``my_command`` it becomes ``my-command`` in the command line interface.104- Stdout is now automatically set to non blocking.105- Use realpath to convert atomic file internally into its full canonical106 path so that changing working directories does not harm it.107- Force stdout/stderr writable. This works around issues with badly patched
90 unmodified lines
198-----------199200(bugfix release; yet to be released)201202- Disabled sys._getframes() on Python interpreters that don't support it. See202- Disabled ``sys._getframes()`` on Python interpreters that don't support it. See203 #728.204- Fix bug in test runner when calling ``sys.exit`` with ``None``. See #739.205- Fix crash on Windows console, see #744.206- Fix bashcompletion on chained commands. See #754.
6 unmodified lines
213-----------214215(bugfix release; released on January 6th 2017)216217- Make `click.progressbar` work with `codecs.open` files. See #637.217- Make ``click.progressbar`` work with ``codecs.open`` files. See #637.218- Fix bug in bash completion with nested subcommands. See #639.219- Fix test runner not saving caller env correctly. See #644.220- Fix handling of SIGPIPE. See #626221- Deal with broken Windows environments such as Google App Engine's. See #711.
2 unmodified lines
224-----------225226(bugfix release; released on April 4th 2016)227228- Fix bug in `click.Path` where it would crash when passed a `-`. See #551.228- Fix bug in ``click.Path`` where it would crash when passed a ``-``. See #551.229230Version 6.4231-----------232
6 unmodified lines
239-----------240241(bugfix release; released on February 22 2016)242243- Fix argument checks for interpreter invoke with `-m` and `-c`243- Fix argument checks for interpreter invoke with ``-m`` and ``-c``244 on Windows.245- Fixed a bug that cased locale detection to error out on Python 3.246247Version 6.2
9 unmodified lines
257(bugfix release, released on November 27th 2015)258259- Resolved an issue with invisible progress bars no longer rendering.260- Disable chain commands with subcommands as they were inherently broken.261- Fix `MissingParameter` not working without parameters passed.261- Fix ``MissingParameter`` not working without parameters passed.262263Version 6.0264-----------265266(codename "pow pow", released on November 24th 2015)267268- Optimized the progressbar rendering to not render when it did not269 actually change.270- Explicitly disallow nargs=-1 with a set default.270- Explicitly disallow ``nargs=-1`` with a set default.271- The context is now closed before it's popped from the stack.272- Added support for short aliases for the false flag on toggles.273- Click will now attempt to aid you with debugging locale errors274 better by listing with the help of the OS what locales are
3 unmodified lines
278 now.279- For Windows users on Python 2, Click will now handle Unicode more280 correctly handle Unicode coming in from the system. This also has281 the disappointing side effect that filenames will now be always282 unicode by default in the `Path` type which means that this can282 unicode by default in the ``Path`` type which means that this can283 introduce small bugs for code not aware of this.284- Added a `type` parameter to `Path` to force a specific string type284- Added a ``type`` parameter to ``Path`` to force a specific string type285 on the value.286- For users running Python on Windows the `echo`) and `prompt` functions286- For users running Python on Windows the ``echo`` and ``prompt`` functions287 now work with full unicode functionality in the Python windows console288 by emulating an output stream. This also applies to getting the289 virtual output and input streams via `click.get_text_stream(...)`.289 virtual output and input streams via ``click.get_text_stream(...)``.290- Unittests now always force a certain virtual terminal width.291- Added support for allowing dashes to indicate standard streams to the292 `Path` type.292 ``Path`` type.293- Multi commands in chain mode no longer propagate arguments left over294 from parsing to the callbacks. It's also now disallowed through an295 exception when optional arguments are attached to multi commands if chain296 mode is enabled.
7 unmodified lines
304-----------305306(bugfix release, released on 17th August 2015)307308- Fix a bug in `pass_obj` that would accidentally pass the context too.308- Fix a bug in ``pass_obj`` that would accidentally pass the context too.309310Version 5.0311-----------312313(codename "tok tok", released on 16th August 2015)314315- Removed various deprecated functionality.316- Atomic files now only accept the `w` mode.316- Atomic files now only accept the ``w`` mode.317- Change the usage part of help output for very long commands to wrap318 their arguments onto the next line, indented by 4 spaces.319- Fix a bug where return code and error messages were incorrect when320 using ``CliRunner``.321- added `get_current_context`.322- added a `meta` dictionary to the context which is shared across the321- added ``get_current_context``.322- added a ``meta`` dictionary to the context which is shared across the323 linked list of contexts to allow click utilities to place state there.324- introduced `Context.scope`.325- The `echo` function is now threadsafe: It calls the `write` method of the324- introduced ``Context.scope``.325- The ``echo`` function is now threadsafe: It calls the ``write`` method of the326 underlying object only once.327- `prompt(hide_input=True)` now prints a newline on `^C`.327- ``prompt(hide_input=True)`` now prints a newline on ``^C``.328- Click will now warn if users are using ``unicode_literals``.329- Click will now ignore the ``PAGER`` environment variable if it is empty or330 contains only whitespace.331- The `click-contrib` GitHub organization was created.331- The ``click-contrib`` GitHub organization was created.332333Version 4.1334-----------335336(bugfix release, released on July 14th 2015)337338- Fix a bug where error messages would include a trailing `None` string.338- Fix a bug where error messages would include a trailing ``None`` string.339- Fix a bug where Click would crash on docstrings with trailing newlines.340- Support streams with encoding set to `None` on Python 3 by barfing with340- Support streams with encoding set to ``None`` on Python 3 by barfing with341 a better error.342- Handle ^C in less-pager properly.343- Handle return value of `None` from `sys.getfilesystemencoding`344- Fix crash when writing to unicode files with `click.echo`.343- Handle return value of ``None`` from ``sys.getfilesystemencoding``344- Fix crash when writing to unicode files with ``click.echo``.345- Fix type inference with multiple options.346347Version 4.0348-----------349350(codename "zoom zoom", released on March 31st 2015)351352- Added `color` parameters to lots of interfaces that directly or indirectly352- Added ``color`` parameters to lots of interfaces that directly or indirectly353 call into echoing. This previously was always autodetection (with the354 exception of the `echo_via_pager` function). Now you can forcefully354 exception of the ``echo_via_pager`` function). Now you can forcefully355 enable or disable it, overriding the auto detection of Click.356- Added an `UNPROCESSED` type which does not perform any type changes which356- Added an ``UNPROCESSED`` type which does not perform any type changes which357 simplifies text handling on 2.x / 3.x in some special advanced usecases.358- Added `NoSuchOption` and `BadOptionUsage` exceptions for more generic358- Added ``NoSuchOption`` and ``BadOptionUsage`` exceptions for more generic359 handling of errors.360- Added support for handling of unprocessed options which can be useful in361 situations where arguments are forwarded to underlying tools.362- Added `max_content_width` parameter to the context which can be used to362- Added ``max_content_width`` parameter to the context which can be used to363 change the maximum width of help output. By default Click will not format364 content for more than 80 characters width.365- Added support for writing prompts to stderr.366- Fix a bug when showing the default for multiple arguments.367- Added support for custom subclasses to `option` and `argument`.367- Added support for custom subclasses to ``option`` and ``argument``.368- Fix bug in ``clear()`` on Windows when colorama is installed.369- Reject ``nargs=-1`` for options properly. Options cannot be variadic.370- Fixed an issue with bash completion not working properly for commands with371 non ASCII characters or dashes.
15 unmodified lines
387-----------388389(bugfix release, released on August 22nd 2014)390391- Added missing `err` parameter forwarding to the `secho` function.391- Added missing ``err`` parameter forwarding to the ``secho`` function.392- Fixed default parameters not being handled properly by the context393 invoke method. This is a backwards incompatible change if the function394 was used improperly. See :ref:`upgrade-to-3.2` for more information.395- Removed the `invoked_subcommands` attribute largely. It is not possible
30 unmodified lines
426 passing. This should catch situations where users wanted to427 created arguments instead of options.428- Restructured Click internally to support vendoring.429- Added support for multi command chaining.430- Added support for defaults on options with `multiple` and431 options and arguments with `nargs != 1`.432- label passed to `progressbar` is no longer rendered with430- Added support for defaults on options with ``multiple`` and431 options and arguments with ``nargs != 1``.432- label passed to ``progressbar`` is no longer rendered with433 whitespace stripped.434- added a way to disable the standalone mode of the `main`434- added a way to disable the standalone mode of the ``main``435 method on a Click command to be able to handle errors better.436- added support for returning values from command callbacks.437- added simplifications for printing to stderr from `echo`.437- added simplifications for printing to stderr from ``echo``.438- added result callbacks for groups.439- entering a context multiple times defers the cleanup until440 the last exit occurs.441- added `open_file`.441- added ``open_file``.442443Version 2.6444-----------445
20 unmodified lines
466-----------467468(bugfix release, released on July 3rd 2014)469470- Fixed an incorrectly formatted help record for count options.'470- Fixed an incorrectly formatted help record for count options.471- Add support for ansi code stripping on Windows if colorama472 is not available.473- restored the Click 1.0 handling of the help parameter for certain474 edge cases.
37 unmodified lines
512- added :func:`progressbar`; a function to show progress bars.513- added :func:`get_app_dir`; a function to calculate the home folder514 for configs.515- Added transparent handling for ANSI codes into the :func:`echo`516 function through `colorama`.516 function through ``colorama``.517- Added :func:`clear` function.518- Breaking change: parameter callbacks now get the parameter object519 passed as second argument. There is legacy support for old callbacks520 which will warn but still execute the script.
36 unmodified lines