Merge pull request #1039 from jcrotts/master
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Changelog for 7.0
authored by Zachery Bir · committed by GitHub · parents becfca5, e4f72f3 · Browse files · 2 files·+445 added−414 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+445 added−414 removed
- other:+445 added−414 removed
Provenance
- Commit
537cd3c- Tree
f92fa26- Author
Zachery Bir <zbir@zacbir.net>- Committer
GitHub <noreply@github.com>- Parent 1
becfca5- Parent 2
e4f72f3
2 files changed+445 added−414 removed
deleted:CHANGES-414 removed
1-Click Changelog2-===============3-4-This contains all major version changes between Click releases.5-6-Version 7.07------------8-9-(upcoming release with new features, release date to be decided)10-- Updated test env matrix. (`#1027`_)11-- Fixes a ZeroDivisionError in ProgressBar.make_step,12- when the arg passed to the first call of ProgressBar.update is 0. (`#1012`_)(`#447`_)13-- Added support for bash completions containing spaces. See #773.14-- Added support for dynamic bash completion from a user-supplied callback.15- See #755.16-- Added support for bash completion of type=click.Choice for Options and17- Arguments. See #535.18-- The user is now presented with the available choices if prompt=True and19- type=click.Choice in a click.option. The choices are listed within20- parenthesis like 'Choose fruit (apple, orange): '.21-- The exception objects now store unicode properly.22-- Added the ability to hide commands and options from help.23-- Added Float Range in Types.24-- `secho`'s first argument can now be `None`, like in `echo`.25-- Usage errors now hint at the `--help` option.26-- ``launch`` now works properly under Cygwin. See #650.27-- `CliRunner.invoke` now may receive `args` as a string representing28- a Unix shell command. See #664.29-- Fix bug that caused bashcompletion to give improper completions on30- chained commands. See #774.31-- Add support for bright colors.32-- 't' and 'f' are now converted to True and False.33-- Fix bug that caused bashcompletion to give improper completions on34- chained commands when a required option/argument was being completed.35- See #790.36-- Allow autocompletion function to determine whether or not to return37- completions that start with the incomplete argument.38-- Add native ZSH autocompletion support See #323.39-- Add support for auto-completion documentation. See #866.40-- Subcommands that are named by the function now automatically have the41- underscore replaced with a dash. So if you register a function named42- `my_command` it becomes `my-command` in the command line interface.43-- Stdout is now automatically set to non blocking.44-- Use realpath to convert atomic file internally into its full canonical45- path so that changing working directories does not harm it.46-- Force stdout/stderr writable. This works around issues with badly patched47- standard streams like those from jupyter.48-49-.. _#1027: https://github.com/pallets/click/pull/102750-.. _#1012: https://github.com/pallets/click/pull/101251-.. _#447: https://github.com/pallets/click/issues/44752-53-54-55-Version 6.856------------57-58-(bugfix release; yet to be released)59-60-- Disabled sys._getframes() on Python interpreters that don't support it. See61- #728.62-- Fix bug in test runner when calling ``sys.exit`` with ``None``. See #739.63-- Fix crash on Windows console, see #744.64-- Fix bashcompletion on chained commands. See #754.65-- Fix option naming routine to match documentation. See #79366-- Fixed the behavior of click error messages with regards to unicode on 2.x67- and 3.x respectively. Message is now always unicode and the str and unicode68- special methods work as you expect on that platform.69-70-Version 6.771------------72-73-(bugfix release; released on January 6th 2017)74-75-- Make `click.progressbar` work with `codecs.open` files. See #637.76-- Fix bug in bash completion with nested subcommands. See #639.77-- Fix test runner not saving caller env correctly. See #644.78-- Fix handling of SIGPIPE. See #62679-- Deal with broken Windows environments such as Google App Engine's. See #711.80-81-Version 6.682------------83-84-(bugfix release; released on April 4th 2016)85-86-- Fix bug in `click.Path` where it would crash when passed a `-`. See #551.87-88-Version 6.489------------90-91-(bugfix release; released on March 24th 2016)92-93-- Fix bug in bash completion where click would discard one or more trailing94- arguments. See #471.95-96-Version 6.397------------98-99-(bugfix release; released on February 22 2016)100-101-- Fix argument checks for interpreter invoke with `-m` and `-c`102- on Windows.103-- Fixed a bug that cased locale detection to error out on Python 3.104-105-Version 6.2106------------107-108-(bugfix release, released on November 27th 2015)109-110-- Correct fix for hidden progress bars.111-112-Version 6.1113------------114-115-(bugfix release, released on November 27th 2015)116-117-- Resolved an issue with invisible progress bars no longer rendering.118-- Disable chain commands with subcommands as they were inherently broken.119-- Fix `MissingParameter` not working without parameters passed.120-121-Version 6.0122------------123-124-(codename "pow pow", released on November 24th 2015)125-126-- Optimized the progressbar rendering to not render when it did not127- actually change.128-- Explicitly disallow nargs=-1 with a set default.129-- The context is now closed before it's popped from the stack.130-- Added support for short aliases for the false flag on toggles.131-- Click will now attempt to aid you with debugging locale errors132- better by listing with the help of the OS what locales are133- available.134-- Click used to return byte strings on Python 2 in some unit-testing135- situations. This has been fixed to correctly return unicode strings136- now.137-- For Windows users on Python 2, Click will now handle Unicode more138- correctly handle Unicode coming in from the system. This also has139- the disappointing side effect that filenames will now be always140- unicode by default in the `Path` type which means that this can141- introduce small bugs for code not aware of this.142-- Added a `type` parameter to `Path` to force a specific string type143- on the value.144-- For users running Python on Windows the `echo`) and `prompt` functions145- now work with full unicode functionality in the Python windows console146- by emulating an output stream. This also applies to getting the147- virtual output and input streams via `click.get_text_stream(...)`.148-- Unittests now always force a certain virtual terminal width.149-- Added support for allowing dashes to indicate standard streams to the150- `Path` type.151-- Multi commands in chain mode no longer propagate arguments left over152- from parsing to the callbacks. It's also now disallowed through an153- exception when optional arguments are attached to multi commands if chain154- mode is enabled.155-- Relaxed restriction that disallowed chained commands to have other156- chained commands as child commands.157-- Arguments with positive nargs can now have defaults implemented.158- Previously this configuration would often result in slightly unexpected159- values be returned.160-161-Version 5.1162------------163-164-(bugfix release, released on 17th August 2015)165-166-- Fix a bug in `pass_obj` that would accidentally pass the context too.167-168-Version 5.0169------------170-171-(codename "tok tok", released on 16th August 2015)172-173-- Removed various deprecated functionality.174-- Atomic files now only accept the `w` mode.175-- Change the usage part of help output for very long commands to wrap176- their arguments onto the next line, indented by 4 spaces.177-- Fix a bug where return code and error messages were incorrect when178- using ``CliRunner``.179-- added `get_current_context`.180-- added a `meta` dictionary to the context which is shared across the181- linked list of contexts to allow click utilities to place state there.182-- introduced `Context.scope`.183-- The `echo` function is now threadsafe: It calls the `write` method of the184- underlying object only once.185-- `prompt(hide_input=True)` now prints a newline on `^C`.186-- Click will now warn if users are using ``unicode_literals``.187-- Click will now ignore the ``PAGER`` environment variable if it is empty or188- contains only whitespace.189-- The `click-contrib` GitHub organization was created.190-191-Version 4.1192------------193-194-(bugfix release, released on July 14th 2015)195-196-- Fix a bug where error messages would include a trailing `None` string.197-- Fix a bug where Click would crash on docstrings with trailing newlines.198-- Support streams with encoding set to `None` on Python 3 by barfing with199- a better error.200-- Handle ^C in less-pager properly.201-- Handle return value of `None` from `sys.getfilesystemencoding`202-- Fix crash when writing to unicode files with `click.echo`.203-- Fix type inference with multiple options.204-205-Version 4.0206------------207-208-(codename "zoom zoom", released on March 31st 2015)209-210-- Added `color` parameters to lots of interfaces that directly or indirectly211- call into echoing. This previously was always autodetection (with the212- exception of the `echo_via_pager` function). Now you can forcefully213- enable or disable it, overriding the auto detection of Click.214-- Added an `UNPROCESSED` type which does not perform any type changes which215- simplifies text handling on 2.x / 3.x in some special advanced usecases.216-- Added `NoSuchOption` and `BadOptionUsage` exceptions for more generic217- handling of errors.218-- Added support for handling of unprocessed options which can be useful in219- situations where arguments are forwarded to underlying tools.220-- Added `max_content_width` parameter to the context which can be used to221- change the maximum width of help output. By default Click will not format222- content for more than 80 characters width.223-- Added support for writing prompts to stderr.224-- Fix a bug when showing the default for multiple arguments.225-- Added support for custom subclasses to `option` and `argument`.226-- Fix bug in ``clear()`` on Windows when colorama is installed.227-- Reject ``nargs=-1`` for options properly. Options cannot be variadic.228-- Fixed an issue with bash completion not working properly for commands with229- non ASCII characters or dashes.230-- Added a way to manually update the progressbar.231-- Changed the formatting of missing arguments. Previously the internal232- argument name was shown in error messages, now the metavar is shown if233- passed. In case an automated metavar is selected, it's stripped of234- extra formatting first.235-236-Version 3.3237------------238-239-(bugfix release, released on September 8th 2014)240-241-- Fixed an issue with error reporting on Python 3 for invalid forwarding242- of commands.243-244-Version 3.2245------------246-247-(bugfix release, released on August 22nd 2014)248-249-- Added missing `err` parameter forwarding to the `secho` function.250-- Fixed default parameters not being handled properly by the context251- invoke method. This is a backwards incompatible change if the function252- was used improperly. See :ref:`upgrade-to-3.2` for more information.253-- Removed the `invoked_subcommands` attribute largely. It is not possible254- to provide it to work error free due to how the parsing works so this255- API has been deprecated. See :ref:`upgrade-to-3.2` for more information.256-- Restored the functionality of `invoked_subcommand` which was broken as257- a regression in 3.1.258-259-Version 3.1260------------261-262-(bugfix release, released on August 13th 2014)263-264-- Fixed a regression that caused contexts of subcommands to be265- created before the parent command was invoked which was a266- regression from earlier Click versions.267-268-Version 3.0269------------270-271-(codename "clonk clonk", released on August 12th 2014)272-273-- formatter now no longer attempts to accomodate for terminals274- smaller than 50 characters. If that happens it just assumes275- a minimal width.276-- added a way to not swallow exceptions in the test system.277-- added better support for colors with pagers and ways to278- override the autodetection.279-- the CLI runner's result object now has a traceback attached.280-- improved automatic short help detection to work better with281- dots that do not terminate sentences.282-- when definining options without actual valid option strings283- now, Click will give an error message instead of silently284- passing. This should catch situations where users wanted to285- created arguments instead of options.286-- Restructured Click internally to support vendoring.287-- Added support for multi command chaining.288-- Added support for defaults on options with `multiple` and289- options and arguments with `nargs != 1`.290-- label passed to `progressbar` is no longer rendered with291- whitespace stripped.292-- added a way to disable the standalone mode of the `main`293- method on a Click command to be able to handle errors better.294-- added support for returning values from command callbacks.295-- added simplifications for printing to stderr from `echo`.296-- added result callbacks for groups.297-- entering a context multiple times defers the cleanup until298- the last exit occurs.299-- added `open_file`.300-301-Version 2.6302------------303-304-(bugfix release, released on August 11th 2014)305-306-- Fixed an issue where the wrapped streams on Python 3 would be reporting307- incorrect values for seekable.308-309-Version 2.5310------------311-312-(bugfix release, released on July 28th 2014)313-314-- Fixed a bug with text wrapping on Python 3.315-316-Version 2.4317------------318-319-(bugfix release, released on July 4th 2014)320-321-- Corrected a bug in the change of the help option in 2.3.322-323-Version 2.3324------------325-326-(bugfix release, released on July 3rd 2014)327-328-- Fixed an incorrectly formatted help record for count options.'329-- Add support for ansi code stripping on Windows if colorama330- is not available.331-- restored the Click 1.0 handling of the help parameter for certain332- edge cases.333-334-Version 2.2335------------336-337-(bugfix release, released on June 26th 2014)338-339-- fixed tty detection on PyPy.340-- fixed an issue that progress bars were not rendered when the341- context manager was entered.342-343-Version 2.1344------------345-346-(bugfix release, released on June 14th 2014)347-348-- fixed the :func:`launch` function on windows.349-- improved the colorama support on windows to try hard to not350- screw up the console if the application is interrupted.351-- fixed windows terminals incorrectly being reported to be 80352- characters wide instead of 79353-- use colorama win32 bindings if available to get the correct354- dimensions of a windows terminal.355-- fixed an issue with custom function types on Python 3.356-- fixed an issue with unknown options being incorrectly reported357- in error messages.358-359-Version 2.0360------------361-362-(codename "tap tap tap", released on June 6th 2014)363-364-- added support for opening stdin/stdout on Windows in365- binary mode correctly.366-- added support for atomic writes to files by going through367- a temporary file.368-- introduced :exc:`BadParameter` which can be used to easily perform369- custom validation with the same error messages as in the type system.370-- added :func:`progressbar`; a function to show progress bars.371-- added :func:`get_app_dir`; a function to calculate the home folder372- for configs.373-- Added transparent handling for ANSI codes into the :func:`echo`374- function through `colorama`.375-- Added :func:`clear` function.376-- Breaking change: parameter callbacks now get the parameter object377- passed as second argument. There is legacy support for old callbacks378- which will warn but still execute the script.379-- Added :func:`style`, :func:`unstyle` and :func:`secho` for ANSI380- styles.381-- Added an :func:`edit` function that invokes the default editor.382-- Added an :func:`launch` function that launches browsers and applications.383-- nargs of -1 for arguments can now be forced to be a single item through384- the required flag. It defaults to not required.385-- setting a default for arguments now implicitly makes it non required.386-- changed "yN" / "Yn" to "y/N" and "Y/n" in confirmation prompts.387-- added basic support for bash completion.388-- added :func:`getchar` to fetch a single character from the terminal.389-- errors now go to stderr as intended.390-- fixed various issues with more exotic parameter formats like DOS/Windows391- style arguments.392-- added :func:`pause` which works similar to the Windows ``pause`` cmd393- built-in but becomes an automatic noop if the application is not run394- through a terminal.395-- added a bit of extra information about missing choice parameters.396-- changed how the help function is implemented to allow global overriding397- of the help option.398-- added support for token normalization to implement case insensitive handling.399-- added support for providing defaults for context settings.400-401-Version 1.1402------------403-404-(bugfix release, released on May 23rd 2014)405-406-- fixed a bug that caused text files in Python 2 to not accept407- native strings.408-409-Version 1.0410------------411-412-(no codename, released on May 21st 2014)413-414-- Initial release.added:CHANGES.rst+445 added
1+Click Changelog2+===============3+4+This contains all major version changes between Click releases.5+6+Version 7.07+-----------8+9+(upcoming release with new features, release date to be decided)10+11+- 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`_)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`_)20+- Documented how `auto_envar_prefix` works with command groups. (`#1011`_)21+- Add native ZSH completion script. (`#865`_)(`#323`_)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+- Added support for bash completions containing spaces. See #773.26+- Added support for dynamic bash completion from a user-supplied callback.27+ See #755.28+- Added support for bash completion of type=click.Choice for Options and29+ Arguments. See #535.30+- The user is now presented with the available choices if prompt=True and31+ type=click.Choice in a click.option. The choices are listed within32+ parenthesis like 'Choose fruit (apple, orange): '.33+- The exception objects now store unicode properly.34+- Added the ability to hide commands and options from help.35+- Added Float Range in Types.36+- `secho`'s first argument can now be `None`, like in `echo`.37+- Usage errors now hint at the `--help` option.38+- ``launch`` now works properly under Cygwin. See #650.39+- `CliRunner.invoke` now may receive `args` as a string representing40+ a Unix shell command. See #664.41+- Fix bug that caused bashcompletion to give improper completions on42+ chained commands. See #774.43+- Add support for bright colors.44+- 't' and 'f' are now converted to True and False.45+- Fix bug that caused bashcompletion to give improper completions on46+ chained commands when a required option/argument was being completed.47+ See #790.48+- Allow autocompletion function to determine whether or not to return49+ completions that start with the incomplete argument.50+- Add native ZSH autocompletion support See #323.51+- Add support for auto-completion documentation. See #866.52+- Subcommands that are named by the function now automatically have the53+ underscore replaced with a dash. So if you register a function named54+ `my_command` it becomes `my-command` in the command line interface.55+- Stdout is now automatically set to non blocking.56+- Use realpath to convert atomic file internally into its full canonical57+ path so that changing working directories does not harm it.58+- Force stdout/stderr writable. This works around issues with badly patched59+ standard streams like those from jupyter.60+61+.. _#1027: https://github.com/pallets/click/pull/102762+.. _#1012: https://github.com/pallets/click/pull/101263+.. _#447: https://github.com/pallets/click/issues/44764+.. _#1022: https://github.com/pallets/click/pull/102265+.. _#869: https://github.com/pallets/click/pull/86966+.. _#866: https://github.com/pallets/click/issues/86667+.. _#514: https://github.com/pallets/click/issues/51468+.. _#1020: https://github.com/pallets/click/pull/102069+.. _#795: https://github.com/pallets/click/issues/79570+.. _#1016: https://github.com/pallets/click/pull/101671+.. _#725: https://github.com/pallets/click/issues/72572+.. _#1000: https://github.com/pallets/click/pull/100073+.. _#202: https://github.com/pallets/click/issues/20274+.. _#1013: https://github.com/pallets/click/pull/101375+.. _#1011: https://github.com/pallets/click/pull/101176+.. _#865: https://github.com/pallets/click/pull/86577+.. _#202: https://github.com/pallets/click/issues/32378+.. _#1009: https://github.com/pallets/click/pull/100979+.. _#949: https://github.com/pallets/click/issues/94980+.. _#1010: https://github.com/pallets/click/pull/101081+.. _#949: https://github.com/pallets/click/issues/33482+83+84+85+86+Version 6.887+-----------88+89+(bugfix release; yet to be released)90+91+- Disabled sys._getframes() on Python interpreters that don't support it. See92+ #728.93+- Fix bug in test runner when calling ``sys.exit`` with ``None``. See #739.94+- Fix crash on Windows console, see #744.95+- Fix bashcompletion on chained commands. See #754.96+- Fix option naming routine to match documentation. See #79397+- Fixed the behavior of click error messages with regards to unicode on 2.x98+ and 3.x respectively. Message is now always unicode and the str and unicode99+ special methods work as you expect on that platform.100+101+Version 6.7102+-----------103+104+(bugfix release; released on January 6th 2017)105+106+- Make `click.progressbar` work with `codecs.open` files. See #637.107+- Fix bug in bash completion with nested subcommands. See #639.108+- Fix test runner not saving caller env correctly. See #644.109+- Fix handling of SIGPIPE. See #626110+- Deal with broken Windows environments such as Google App Engine's. See #711.111+112+Version 6.6113+-----------114+115+(bugfix release; released on April 4th 2016)116+117+- Fix bug in `click.Path` where it would crash when passed a `-`. See #551.118+119+Version 6.4120+-----------121+122+(bugfix release; released on March 24th 2016)123+124+- Fix bug in bash completion where click would discard one or more trailing125+ arguments. See #471.126+127+Version 6.3128+-----------129+130+(bugfix release; released on February 22 2016)131+132+- Fix argument checks for interpreter invoke with `-m` and `-c`133+ on Windows.134+- Fixed a bug that cased locale detection to error out on Python 3.135+136+Version 6.2137+-----------138+139+(bugfix release, released on November 27th 2015)140+141+- Correct fix for hidden progress bars.142+143+Version 6.1144+-----------145+146+(bugfix release, released on November 27th 2015)147+148+- Resolved an issue with invisible progress bars no longer rendering.149+- Disable chain commands with subcommands as they were inherently broken.150+- Fix `MissingParameter` not working without parameters passed.151+152+Version 6.0153+-----------154+155+(codename "pow pow", released on November 24th 2015)156+157+- Optimized the progressbar rendering to not render when it did not158+ actually change.159+- Explicitly disallow nargs=-1 with a set default.160+- The context is now closed before it's popped from the stack.161+- Added support for short aliases for the false flag on toggles.162+- Click will now attempt to aid you with debugging locale errors163+ better by listing with the help of the OS what locales are164+ available.165+- Click used to return byte strings on Python 2 in some unit-testing166+ situations. This has been fixed to correctly return unicode strings167+ now.168+- For Windows users on Python 2, Click will now handle Unicode more169+ correctly handle Unicode coming in from the system. This also has170+ the disappointing side effect that filenames will now be always171+ unicode by default in the `Path` type which means that this can172+ introduce small bugs for code not aware of this.173+- Added a `type` parameter to `Path` to force a specific string type174+ on the value.175+- For users running Python on Windows the `echo`) and `prompt` functions176+ now work with full unicode functionality in the Python windows console177+ by emulating an output stream. This also applies to getting the178+ virtual output and input streams via `click.get_text_stream(...)`.179+- Unittests now always force a certain virtual terminal width.180+- Added support for allowing dashes to indicate standard streams to the181+ `Path` type.182+- Multi commands in chain mode no longer propagate arguments left over183+ from parsing to the callbacks. It's also now disallowed through an184+ exception when optional arguments are attached to multi commands if chain185+ mode is enabled.186+- Relaxed restriction that disallowed chained commands to have other187+ chained commands as child commands.188+- Arguments with positive nargs can now have defaults implemented.189+ Previously this configuration would often result in slightly unexpected190+ values be returned.191+192+Version 5.1193+-----------194+195+(bugfix release, released on 17th August 2015)196+197+- Fix a bug in `pass_obj` that would accidentally pass the context too.198+199+Version 5.0200+-----------201+202+(codename "tok tok", released on 16th August 2015)203+204+- Removed various deprecated functionality.205+- Atomic files now only accept the `w` mode.206+- Change the usage part of help output for very long commands to wrap207+ their arguments onto the next line, indented by 4 spaces.208+- Fix a bug where return code and error messages were incorrect when209+ using ``CliRunner``.210+- added `get_current_context`.211+- added a `meta` dictionary to the context which is shared across the212+ linked list of contexts to allow click utilities to place state there.213+- introduced `Context.scope`.214+- The `echo` function is now threadsafe: It calls the `write` method of the215+ underlying object only once.216+- `prompt(hide_input=True)` now prints a newline on `^C`.217+- Click will now warn if users are using ``unicode_literals``.218+- Click will now ignore the ``PAGER`` environment variable if it is empty or219+ contains only whitespace.220+- The `click-contrib` GitHub organization was created.221+222+Version 4.1223+-----------224+225+(bugfix release, released on July 14th 2015)226+227+- Fix a bug where error messages would include a trailing `None` string.228+- Fix a bug where Click would crash on docstrings with trailing newlines.229+- Support streams with encoding set to `None` on Python 3 by barfing with230+ a better error.231+- Handle ^C in less-pager properly.232+- Handle return value of `None` from `sys.getfilesystemencoding`233+- Fix crash when writing to unicode files with `click.echo`.234+- Fix type inference with multiple options.235+236+Version 4.0237+-----------238+239+(codename "zoom zoom", released on March 31st 2015)240+241+- Added `color` parameters to lots of interfaces that directly or indirectly242+ call into echoing. This previously was always autodetection (with the243+ exception of the `echo_via_pager` function). Now you can forcefully244+ enable or disable it, overriding the auto detection of Click.245+- Added an `UNPROCESSED` type which does not perform any type changes which246+ simplifies text handling on 2.x / 3.x in some special advanced usecases.247+- Added `NoSuchOption` and `BadOptionUsage` exceptions for more generic248+ handling of errors.249+- Added support for handling of unprocessed options which can be useful in250+ situations where arguments are forwarded to underlying tools.251+- Added `max_content_width` parameter to the context which can be used to252+ change the maximum width of help output. By default Click will not format253+ content for more than 80 characters width.254+- Added support for writing prompts to stderr.255+- Fix a bug when showing the default for multiple arguments.256+- Added support for custom subclasses to `option` and `argument`.257+- Fix bug in ``clear()`` on Windows when colorama is installed.258+- Reject ``nargs=-1`` for options properly. Options cannot be variadic.259+- Fixed an issue with bash completion not working properly for commands with260+ non ASCII characters or dashes.261+- Added a way to manually update the progressbar.262+- Changed the formatting of missing arguments. Previously the internal263+ argument name was shown in error messages, now the metavar is shown if264+ passed. In case an automated metavar is selected, it's stripped of265+ extra formatting first.266+267+Version 3.3268+-----------269+270+(bugfix release, released on September 8th 2014)271+272+- Fixed an issue with error reporting on Python 3 for invalid forwarding273+ of commands.274+275+Version 3.2276+-----------277+278+(bugfix release, released on August 22nd 2014)279+280+- Added missing `err` parameter forwarding to the `secho` function.281+- Fixed default parameters not being handled properly by the context282+ invoke method. This is a backwards incompatible change if the function283+ was used improperly. See :ref:`upgrade-to-3.2` for more information.284+- Removed the `invoked_subcommands` attribute largely. It is not possible285+ to provide it to work error free due to how the parsing works so this286+ API has been deprecated. See :ref:`upgrade-to-3.2` for more information.287+- Restored the functionality of `invoked_subcommand` which was broken as288+ a regression in 3.1.289+290+Version 3.1291+-----------292+293+(bugfix release, released on August 13th 2014)294+295+- Fixed a regression that caused contexts of subcommands to be296+ created before the parent command was invoked which was a297+ regression from earlier Click versions.298+299+Version 3.0300+-----------301+302+(codename "clonk clonk", released on August 12th 2014)303+304+- formatter now no longer attempts to accomodate for terminals305+ smaller than 50 characters. If that happens it just assumes306+ a minimal width.307+- added a way to not swallow exceptions in the test system.308+- added better support for colors with pagers and ways to309+ override the autodetection.310+- the CLI runner's result object now has a traceback attached.311+- improved automatic short help detection to work better with312+ dots that do not terminate sentences.313+- when definining options without actual valid option strings314+ now, Click will give an error message instead of silently315+ passing. This should catch situations where users wanted to316+ created arguments instead of options.317+- Restructured Click internally to support vendoring.318+- Added support for multi command chaining.319+- Added support for defaults on options with `multiple` and320+ options and arguments with `nargs != 1`.321+- label passed to `progressbar` is no longer rendered with322+ whitespace stripped.323+- added a way to disable the standalone mode of the `main`324+ method on a Click command to be able to handle errors better.325+- added support for returning values from command callbacks.326+- added simplifications for printing to stderr from `echo`.327+- added result callbacks for groups.328+- entering a context multiple times defers the cleanup until329+ the last exit occurs.330+- added `open_file`.331+332+Version 2.6333+-----------334+335+(bugfix release, released on August 11th 2014)336+337+- Fixed an issue where the wrapped streams on Python 3 would be reporting338+ incorrect values for seekable.339+340+Version 2.5341+-----------342+343+(bugfix release, released on July 28th 2014)344+345+- Fixed a bug with text wrapping on Python 3.346+347+Version 2.4348+-----------349+350+(bugfix release, released on July 4th 2014)351+352+- Corrected a bug in the change of the help option in 2.3.353+354+Version 2.3355+-----------356+357+(bugfix release, released on July 3rd 2014)358+359+- Fixed an incorrectly formatted help record for count options.'360+- Add support for ansi code stripping on Windows if colorama361+ is not available.362+- restored the Click 1.0 handling of the help parameter for certain363+ edge cases.364+365+Version 2.2366+-----------367+368+(bugfix release, released on June 26th 2014)369+370+- fixed tty detection on PyPy.371+- fixed an issue that progress bars were not rendered when the372+ context manager was entered.373+374+Version 2.1375+-----------376+377+(bugfix release, released on June 14th 2014)378+379+- fixed the :func:`launch` function on windows.380+- improved the colorama support on windows to try hard to not381+ screw up the console if the application is interrupted.382+- fixed windows terminals incorrectly being reported to be 80383+ characters wide instead of 79384+- use colorama win32 bindings if available to get the correct385+ dimensions of a windows terminal.386+- fixed an issue with custom function types on Python 3.387+- fixed an issue with unknown options being incorrectly reported388+ in error messages.389+390+Version 2.0391+-----------392+393+(codename "tap tap tap", released on June 6th 2014)394+395+- added support for opening stdin/stdout on Windows in396+ binary mode correctly.397+- added support for atomic writes to files by going through398+ a temporary file.399+- introduced :exc:`BadParameter` which can be used to easily perform400+ custom validation with the same error messages as in the type system.401+- added :func:`progressbar`; a function to show progress bars.402+- added :func:`get_app_dir`; a function to calculate the home folder403+ for configs.404+- Added transparent handling for ANSI codes into the :func:`echo`405+ function through `colorama`.406+- Added :func:`clear` function.407+- Breaking change: parameter callbacks now get the parameter object408+ passed as second argument. There is legacy support for old callbacks409+ which will warn but still execute the script.410+- Added :func:`style`, :func:`unstyle` and :func:`secho` for ANSI411+ styles.412+- Added an :func:`edit` function that invokes the default editor.413+- Added an :func:`launch` function that launches browsers and applications.414+- nargs of -1 for arguments can now be forced to be a single item through415+ the required flag. It defaults to not required.416+- setting a default for arguments now implicitly makes it non required.417+- changed "yN" / "Yn" to "y/N" and "Y/n" in confirmation prompts.418+- added basic support for bash completion.419+- added :func:`getchar` to fetch a single character from the terminal.420+- errors now go to stderr as intended.421+- fixed various issues with more exotic parameter formats like DOS/Windows422+ style arguments.423+- added :func:`pause` which works similar to the Windows ``pause`` cmd424+ built-in but becomes an automatic noop if the application is not run425+ through a terminal.426+- added a bit of extra information about missing choice parameters.427+- changed how the help function is implemented to allow global overriding428+ of the help option.429+- added support for token normalization to implement case insensitive handling.430+- added support for providing defaults for context settings.431+432+Version 1.1433+-----------434+435+(bugfix release, released on May 23rd 2014)436+437+- fixed a bug that caused text files in Python 2 to not accept438+ native strings.439+440+Version 1.0441+-----------442+443+(no codename, released on May 21st 2014)444+445+- Initial release.