All changes for 7.0 added, ready for review and edits.
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by jacrotts · committed by jacrotts · parent 3de618a · Browse files · 1 file·+56 added−12 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+56 added−12 removed
- other:+56 added−12 removed
Provenance
- Commit
764ca93- Tree
7e1192d- Author
jacrotts <jacrotts@cisco.com>- Committer
jacrotts <jacrotts@cisco.com>- Parent
3de618a
1 file changed+56 added−12 removed
modified:CHANGES.rst+56 added-12 removed
10 unmodified lines11 - 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`_)15-- ZSH completion auto-documentation. (`#869`_)(`#866`_)15+- Add ZSH auto-completion documentation. (`#869`_)(`#866`_)16 - Fix path validation bug. (`#1020`_)(`#795`_)17 - Document customizing option names. (`#1016`_)(`#725`_)18 - Wrap click.Choice's missing message. (`#1000`_)(`#202`_)19 - Don't add newlines by default for progressbars. (`#1013`_)17 unmodified lines37 - 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`_)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`_)10 unmodified lines56 - `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-- Update README to match flask style. (`#990`_)61-- Added support for bash completions containing spaces. See #773.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+- Fix overzealous completion when71+ required options are being completed. (`#806`_)(`#790`_)72+- Add bool conversion for t and f. (`#842`_)73+- Update doc to match arg name for path_type. (`#801`_)74+- Add bright colors support for `click.style`75+ and fix the reset option for parameters fg and bg. (`#703`_)76+- Add test and documentation for Option naming: functionality. (`#799`_)77+- Use deterministic option name; can't rely on list sort. (`#794`_)(`#793`_)78+- Added support for bash completions containing spaces. (`#773`_)79 - Added support for dynamic bash completion from a user-supplied callback.63- See #755.80+ (`#755`_)81 - Added support for bash completion of type=click.Choice for Options and65- Arguments. See #535.82+ Arguments. (`#535`_)83 - The user is now presented with the available choices if prompt=True and84 type=click.Choice in a click.option. The choices are listed within85 parenthesis like 'Choose fruit (apple, orange): '.86 - The exception objects now store unicode properly.87 - Added the ability to hide commands and options from help.88 - Added Float Range in Types.89 - `secho`'s first argument can now be `None`, like in `echo`.90 - Usage errors now hint at the `--help` option.74-- ``launch`` now works properly under Cygwin. See #650.91+- ``launch`` now works properly under Cygwin. (`#650`_)92 - `CliRunner.invoke` now may receive `args` as a string representing76- a Unix shell command. See #664.93+ a Unix shell command. See (`#664`_).94 - Fix bug that caused bashcompletion to give improper completions on78- chained commands. See #774.95+ chained commands. (`#774`_)96 - Add support for bright colors.97 - 't' and 'f' are now converted to True and False.98 - Fix bug that caused bashcompletion to give improper completions on99 chained commands when a required option/argument was being completed.83- See #790.100+ (`#790`_)101 - Allow autocompletion function to determine whether or not to return102 completions that start with the incomplete argument.86-- Add native ZSH autocompletion support See #323.87-- Add support for auto-completion documentation. See #866.103+- Add native ZSH autocompletion support. (`#323`_)104+- Add support for auto-completion documentation. See (`#866`_)105 - Subcommands that are named by the function now automatically have the106 underscore replaced with a dash. So if you register a function named107 `my_command` it becomes `my-command` in the command line interface.108 - Stdout is now automatically set to non blocking.63 unmodified lines172 .. _#719: https://github.com/pallets/click/issues/719173 .. _#874: https://github.com/pallets/click/pull/874174 .. _#873: https://github.com/pallets/click/issues/873175 .. _#990: https://github.com/pallets/click/pull/990176+.. _#684: https://github.com/pallets/click/pull/684177+.. _#878: https://github.com/pallets/click/pull/878178+.. _#880: https://github.com/pallets/click/issues/880179+.. _#877: https://github.com/pallets/click/pull/877180+.. _#918: https://github.com/pallets/click/pull/918181+.. _#929: https://github.com/pallets/click/pull/929182+.. _#920: https://github.com/pallets/click/pull/920183+.. _#935: https://github.com/pallets/click/pull/935184+.. _#807: https://github.com/pallets/click/pull/807185+.. _#806: https://github.com/pallets/click/pull/806186+.. _#790: https://github.com/pallets/click/pull/790187+.. _#842: https://github.com/pallets/click/pull/842188+.. _#801: https://github.com/pallets/click/pull/801189+.. _#703: https://github.com/pallets/click/issues/703190+.. _#799: https://github.com/pallets/click/pull/799191+.. _#794: https://github.com/pallets/click/pull/794192+.. _#793: https://github.com/pallets/click/issues/793193+.. _#773: https://github.com/pallets/click/pull/773194+.. _#755: https://github.com/pallets/click/pull/755195+.. _#535: https://github.com/pallets/click/pull/535196+.. _#650: https://github.com/pallets/click/pull/650197+.. _#664: https://github.com/pallets/click/pull/664198+.. _#774: https://github.com/pallets/click/pull/774199+.. _#790: https://github.com/pallets/click/pull/790200+.. _#323: https://github.com/pallets/click/pull/323201 202+203+204 Version 6.8205 -----------206 207 (bugfix release; yet to be released)356 unmodified lines