Click Changelog =============== This contains all major version changes between click releases. Version 2.2 ----------- (bugfix release, released on June 26th 2014) - fixed tty detection on PyPy. - fixed an issue that progress bars were not rendered when the context manager was entered. Version 2.1 ----------- (bugfix release, released on June 14th 2014) - fixed the :func:`launch` function on windows. - improved the colorama support on windows to try hard to not screw up the console if the application is interrupted. - fixed windows terminals incorrectly being reported to be 80 characters wide instead of 79 - use colorama win32 bindings if available to get the correct dimensions of a windows terminal. - fixed an issue with custom function types on Python 3. - fixed an issue with unknown options being incorrectly reported in error messages. Version 2.0 ----------- (codename "tap tap tap", released on June 6th 2014) - added support for opening stdin/stdout on Windows in binary mode correctly. - added support for atomic writes to files by going through a temporary file. - introduced :exc:`BadParameter` which can be used to easily perform custom validation with the same error messages as in the type system. - added :func:`progressbar`; a function to show progress bars. - added :func:`get_app_dir`; a function to calculate the home folder for configs. - Added transparent handling for ANSI codes into the :func:`echo` function through `colorama`. - Added :func:`clear` function. - Breaking change: parameter callbacks now get the parameter object passed as second argument. There is legacy support for old callbacks which will warn but still execute the script. - Added :func:`style`, :func:`unstyle` and :func:`secho` for ANSI styles. - Added an :func:`edit` function that invokes the default editor. - Added an :func:`launch` function that launches browsers and applications. - nargs of -1 for arguments can now be forced to be a single item through the required flag. It defaults to not required. - setting a default for arguments now implicitly makes it non required. - changed "yN" / "Yn" to "y/N" and "Y/n" in confirmation prompts. - added basic support for bash completion. - added :func:`getchar` to fetch a single character from the terminal. - errors now go to stderr as intended. - fixed various issues with more exotic parameter formats like DOS/Windows style arguments. - added :func:`pause` which works similar to the Windows ``pause`` cmd built-in but becomes an automatic noop if the application is not run through a terminal. - added a bit of extra information about missing choice parameters. - changed how the help function is implemented to allow global overriding of the help option. - added support for token normalization to implement case insensitive handling. - added support for providing defaults for context settings. Version 1.1 ----------- (bugfix release, released on May 23rd 2014) - fixed a bug that caused text files in Python 2 to not accept native strings. Version 1.0 ----------- (no codename, released on May 21st 2014) - Initial release.