Skip to content
Myr

CHANGES

This file

Path

CHANGES

385 lines · 14.1 KiB

Last changed by

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3

History of this file

Take it

The walk stopped after 200 commits: lines older than 8691636 point at it.

Merge branch '3.x-maintenance'Armin Ronacherbefore adoption8691636

lines 1–5why, one step back
1Click Changelog
2===============34This contains all major version changes between Click releases.5

This is 7.0-devArmin Ronacherbefore adoptiona6a6964

lines 6–9why, one step back
6Version 7.0
7-----------89(upcoming release with new features, release date to be decided)

Merge pull request #773 from stopthatcow/feature/allow_spaces_in_completionsMarkus Unterwaditzerbefore adoption6f4eb1e

line 10why, one step back
10- Added support for bash completions containing spaces. See #773.

Merge pull request #755 from stopthatcow/feature/bash_autocompletion_6.6Markus Unterwaditzerbefore adoption5f2ff4f

line 11why, one step back
11- Added support for dynamic bash completion from a user-supplied callback.

Merge branch 'stopthatcow-feature/fix_chained_args_completion'Markus Unterwaditzerbefore adoptionb224988

line 12why, one step back
12 See #755.

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

lines 13–14why, one step back
13- Added support for bash completion of type=click.Choice for Options and
14 Arguments. See #535.

Merge branch 'Rovanion-master'Markus Unterwaditzerbefore adoption67f39e4

lines 15–16why, one step back
15- The user is now presented with the available choices if prompt=True and
16 type=click.Choice in a click.option. The choices are listed within

Merge pull request #755 from stopthatcow/feature/bash_autocompletion_6.6Markus Unterwaditzerbefore adoption5f2ff4f

line 17why, one step back
17 parenthesis like 'Choose fruit (apple, orange): '.

Store unicode strings properly in exceptionsArmin Ronacherbefore adoption8c6c150

line 18why, one step back
18- The exception objects now store unicode properly.

Update CHANGESArmin Ronacherbefore adoption7d1f4ab

line 19why, one step back
19- Added the ability to hide commands and options from help.

Merge pull request #538 from DenisCarriere/masterMarkus Unterwaditzerbefore adoptioncdea8fc

line 20why, one step back
20- Added Float Range in Types.

Merge branch 'her0e1c1-fix-secho'Markus Unterwaditzerbefore adoption2899795

line 21why, one step back
21- `secho`'s first argument can now be `None`, like in `echo`.

Changelog for #557Markus Unterwaditzerbefore adoptionae5386b

line 22why, one step back
22- Usage errors now hint at the `--help` option.

Changelog for #650Markus Unterwaditzerbefore adoption30fc626

line 23why, one step back
23- ``launch`` now works properly under Cygwin. See #650.

Merge pull request #664 from menegazzo/masterMarkus Unterwaditzerbefore adoptiond3f36e8

lines 24–25why, one step back
24- `CliRunner.invoke` now may receive `args` as a string representing
25 a Unix shell command. See #664.

Merge branch 'stopthatcow-feature/fix_chained_args_completion'Markus Unterwaditzerbefore adoptionb224988

lines 26–27why, one step back
26- Fix bug that caused bashcompletion to give inproper completions on
27 chained commands. See #774.

Store unicode strings properly in exceptionsArmin Ronacherbefore adoption8c6c150

line 28why, one step back
28

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption8d9dd46

lines 29–35why, one step back
29Version 6.8
30-----------3132(bugfix release; yet to be released)3334- Disabled sys._getframes() on Python interpreters that don't support it. See35 #728.

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoptionbbcac04

line 36why, one step back
36- Fix bug in test runner when calling ``sys.exit`` with ``None``. See #739.

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption7d51d98

line 37why, one step back
37- Fix crash on Windows console, see #744.

Merge branch 'stopthatcow-feature/fix_chained_args_completion'Markus Unterwaditzerbefore adoptionb224988

line 38why, one step back
38- Fix bashcompletion on chained commands. See #754.

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption945b4d3

line 39why, one step back
39- Fix option naming routine to match documentation. See #793

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption8d9dd46

line 40why, one step back
40

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption51fadbe

lines 41–43why, one step back
41Version 6.7
42-----------43

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoptiona50befd

line 44why, one step back
44(bugfix release; released on January 6th 2017)

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption51fadbe

lines 45–46why, one step back
45
46- Make `click.progressbar` work with `codecs.open` files. See #637.

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption764541f

line 47why, one step back
47- Fix bug in bash completion with nested subcommands. See #639.

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption5f9d432

line 48why, one step back
48- Fix test runner not saving caller env correctly. See #644.

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption702acf7

line 49why, one step back
49- Fix handling of SIGPIPE. See #626

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoptiona50befd

line 50why, one step back
50- Deal with broken Windows environments such as Google App Engine's. See #711.

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption51fadbe

line 51why, one step back
51

Fix broken mergeMarkus Unterwaditzerbefore adoption6f4d267

line 52why, one step back
52Version 6.6

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoptiond40fc8c

lines 53–54why, one step back
53-----------
54

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoptiondac66dc

line 55why, one step back
55(bugfix release; released on April 4th 2016)

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoptiond40fc8c

lines 56–58why, one step back
56
57- Fix bug in `click.Path` where it would crash when passed a `-`. See #551.58

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption4d0e098

lines 59–61why, one step back
59Version 6.4
60-----------61

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoptionbc9bb70

line 62why, one step back
62(bugfix release; released on March 24th 2016)

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption4d0e098

lines 63–66why, one step back
63
64- Fix bug in bash completion where click would discard one or more trailing65 arguments. See #471.66

Merge branch '6.x-maintenance'Armin Ronacherbefore adoptionabec2b0

lines 67–69why, one step back
67Version 6.3
68-----------69

Merge branch '6.x-maintenance'Markus Unterwaditzerbefore adoption598ad33

line 70why, one step back
70(bugfix release; released on February 22 2016)

Merge branch '6.x-maintenance'Armin Ronacherbefore adoptionabec2b0

lines 71–73why, one step back
71
72- Fix argument checks for interpreter invoke with `-m` and `-c`73 on Windows.

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption5aeff2d

line 74why, one step back
74- Fixed a bug that cased locale detection to error out on Python 3.

Merge branch '6.x-maintenance'Armin Ronacherbefore adoptionabec2b0

line 75why, one step back
75

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption607f015

lines 76–82why, one step back
76Version 6.2
77-----------7879(bugfix release, released on November 27th 2015)8081- Correct fix for hidden progress bars.82

This is 6.1-devArmin Ronacherbefore adoption3978d0e

lines 83–85why, one step back
83Version 6.1
84-----------85

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption6fcda3e

line 86why, one step back
86(bugfix release, released on November 27th 2015)

This is 6.1-devArmin Ronacherbefore adoption3978d0e

line 87why, one step back
87

Fixed invisible progressbars.Armin Ronacherbefore adoptionb47b117

line 88why, one step back
88- Resolved an issue with invisible progress bars no longer rendering.

Merge branch '6.x-maintenance'Armin Ronacherbefore adoption6fcda3e

lines 89–90why, one step back
89- Disable chain commands with subcommands as they were inherently broken.
90- Fix `MissingParameter` not working without parameters passed.

Fixed invisible progressbars.Armin Ronacherbefore adoptionb47b117

line 91why, one step back
91

Optimize progressbar renderin. This fixes #418Armin Ronacherbefore adoptionc4c9eb2

lines 92–94why, one step back
92Version 6.0
93-----------94

Release date is todayArmin Ronacherbefore adoptionda43b23

line 95why, one step back
95(codename "pow pow", released on November 24th 2015)

Optimize progressbar renderin. This fixes #418Armin Ronacherbefore adoptionc4c9eb2

lines 96–98why, one step back
96
97- Optimized the progressbar rendering to not render when it did not98 actually change.

Disallow nargs=-1 with a default set.Armin Ronacherbefore adoption7f1d70c

line 99why, one step back
99- Explicitly disallow nargs=-1 with a set default.

Pop the context after closing and not before. This fixes #412Armin Ronacherbefore adoption851ce7f

line 100why, one step back
100- The context is now closed before it's popped from the stack.

Make it possible to define aliases for the secondary option of boolean flags. This fixes #420Armin Ronacherbefore adoption89d3bfd

line 101why, one step back
101- Added support for short aliases for the false flag on toggles.

Print out supported locales in the python 3 error. This improves #448Armin Ronacherbefore adoptioncf31c15

lines 102–104why, one step back
102- Click will now attempt to aid you with debugging locale errors
103 better by listing with the help of the OS what locales are104 available.

Always work on Unicode in Python 2.Armin Ronacherbefore adoption7951a73

lines 105–107why, one step back
105- Click used to return byte strings on Python 2 in some unit-testing
106 situations. This has been fixed to correctly return unicode strings107 now.

Merge pull request #451 from mitsuhiko/feature/unicode-cmdArmin Ronacherbefore adoptionde79af1

lines 108–114why, one step back
108- For Windows users on Python 2, Click will now handle Unicode more
109 correctly handle Unicode coming in from the system. This also has110 the disappointing side effect that filenames will now be always111 unicode by default in the `Path` type which means that this can112 introduce small bugs for code not aware of this.113- Added a `type` parameter to `Path` to force a specific string type114 on the value.

Also use the console emulation on Python 3. Refs #442Armin Ronacherbefore adoption2be872b

lines 115–118why, one step back
115- For users running Python on Windows the `echo`) and `prompt` functions
116 now work with full unicode functionality in the Python windows console117 by emulating an output stream. This also applies to getting the118 virtual output and input streams via `click.get_text_stream(...)`.

Force virtual terminal width in testsArmin Ronacherbefore adoption5112cf9

line 119why, one step back
119- Unittests now always force a certain virtual terminal width.

Optionally allow dashes to Path. This fixes #444Armin Ronacherbefore adoptioned978a6

lines 120–121why, one step back
120- Added support for allowing dashes to indicate standard streams to the
121 `Path` type.

Disallow arguments in chain mode and no longer expose leftover args.Armin Ronacherbefore adoption1c7e1d3

lines 122–123why, one step back
122- Multi commands in chain mode no longer propagate arguments left over
123 from parsing to the callbacks. It's also now disallowed through an

Support non optional arguments on commands.Armin Ronacherbefore adoptione68766c

lines 124–125why, one step back
124 exception when optional arguments are attached to multi commands if chain
125 mode is enabled.

Implemented nesting below chain commands.Armin Ronacherbefore adoption0a2919f

lines 126–127why, one step back
126- Relaxed restriction that disallowed chained commands to have other
127 chained commands as child commands.

Implemented defaults for args with nargs > 1.Armin Ronacherbefore adoption5f98f57

lines 128–130why, one step back
128- Arguments with positive nargs can now have defaults implemented.
129 Previously this configuration would often result in slightly unexpected130 values be returned.

Optimize progressbar renderin. This fixes #418Armin Ronacherbefore adoptionc4c9eb2

line 131why, one step back
131

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

lines 132–134why, one step back
132Version 5.1
133-----------134

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoptionb5b452e

line 135why, one step back
135(bugfix release, released on 17th August 2015)

Merge branch '5.x-maintenance'Markus Unterwaditzerbefore adoption41cb9c9

lines 136–138why, one step back
136
137- Fix a bug in `pass_obj` that would accidentally pass the context too.138

This is 5.0-devArmin Ronacherbefore adoptionb5466bd

lines 139–141why, one step back
139Version 5.0
140-----------141

Version 5.0Markus Unterwaditzerbefore adoption7e8da55

line 142why, one step back
142(codename "tok tok", released on 16th August 2015)

This is 5.0-devArmin Ronacherbefore adoptionb5466bd

line 143why, one step back
143

Removed deprecated functionality.Armin Ronacherbefore adoption0d9731e

line 144why, one step back
144- Removed various deprecated functionality.

Some usability stuff for atomic writesMarkus Unterwaditzerbefore adoptionf4961a8

line 145why, one step back
145- Atomic files now only accept the `w` mode.

Merge pull request #359 from markbt/help-formattingMarkus Unterwaditzerbefore adoption8056132

lines 146–147why, one step back
146- Change the usage part of help output for very long commands to wrap
147 their arguments onto the next line, indented by 4 spaces.

Merge pull request #363 from torfuspolymorphus/fix_362Markus Unterwaditzerbefore adoption189d616

lines 148–149why, one step back
148- Fix a bug where return code and error messages were incorrect when
149 using ``CliRunner``.

Documented the use of get_current_contextArmin Ronacherbefore adoption421e46a

line 150why, one step back
150- added `get_current_context`.

Added Context.metaArmin Ronacherbefore adoption86facdb

lines 151–152why, one step back
151- added a `meta` dictionary to the context which is shared across the
152 linked list of contexts to allow click utilities to place state there.

Added Context.scopeArmin Ronacherbefore adoption8e31125

line 153why, one step back
153- introduced `Context.scope`.

Merge pull request #388 from untitaker/threadsafe-echoMarkus Unterwaditzerbefore adoptionccba374

lines 154–155why, one step back
154- The `echo` function is now threadsafe: It calls the `write` method of the
155 underlying object only once.

Password prompt now prints a newline on `^C`.Markus Unterwaditzerbefore adoption36f83d9

line 156why, one step back
156- `prompt(hide_input=True)` now prints a newline on `^C`.

Warn about the use of unicode_literalsArmin Ronacherbefore adoption5f33770

line 157why, one step back
157- Click will now warn if users are using ``unicode_literals``.

Ignore broken PAGER valuesMarkus Unterwaditzerbefore adoption349875d

lines 158–159why, one step back
158- Click will now ignore the ``PAGER`` environment variable if it is empty or
159 contains only whitespace.

Merge pull request #408 from untitaker/contrib-docsMarkus Unterwaditzerbefore adoption11ca58b

line 160why, one step back
160- The `click-contrib` GitHub organization was created.

Removed deprecated functionality.Armin Ronacherbefore adoption0d9731e

line 161why, one step back
161

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoption8e90f7e

lines 162–164why, one step back
162Version 4.1
163-----------164

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoption9c57c9e

line 165why, one step back
165(bugfix release, released on July 14th 2015)

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoption8e90f7e

lines 166–167why, one step back
166
167- Fix a bug where error messages would include a trailing `None` string.

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoption099b549

line 168why, one step back
168- Fix a bug where Click would crash on docstrings with trailing newlines.

Merge branch '4.x-maintenance'Armin Ronacherbefore adoptionc1944e5

lines 169–170why, one step back
169- Support streams with encoding set to `None` on Python 3 by barfing with
170 a better error.

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoptione0e7031

line 171why, one step back
171- Handle ^C in less-pager properly.

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoptiond65f32f

line 172why, one step back
172- Handle return value of `None` from `sys.getfilesystemencoding`

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoptiona0d426d

line 173why, one step back
173- Fix crash when writing to unicode files with `click.echo`.

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoption750ba75

line 174why, one step back
174- Fix type inference with multiple options.

Merge branch '4.x-maintenance'Markus Unterwaditzerbefore adoption8e90f7e

line 175why, one step back
175

Merge branch '3.x-maintenance'Armin Ronacherbefore adoption8691636

lines 176–178why, one step back
176Version 4.0
177-----------178

Updated date for 4.0 release.Armin Ronacherbefore adoption01ec368

line 179why, one step back
179(codename "zoom zoom", released on March 31st 2015)

Merge branch '3.x-maintenance'Armin Ronacherbefore adoption8691636

line 180why, one step back
180

Added support for explicit color control.Armin Ronacherbefore adoption5cf7f2d

line 181why, one step back
181- Added `color` parameters to lots of interfaces that directly or indirectly

Merge branch 'master' of github.com:mitsuhiko/clickArmin Ronacherbefore adoption6d02117

line 182why, one step back
182 call into echoing. This previously was always autodetection (with the

Added support for explicit color control.Armin Ronacherbefore adoption5cf7f2d

lines 183–184why, one step back
183 exception of the `echo_via_pager` function). Now you can forcefully
184 enable or disable it, overriding the auto detection of Click.

Implemented UNPROCESSED type.Armin Ronacherbefore adoption563017b

lines 185–186why, one step back
185- Added an `UNPROCESSED` type which does not perform any type changes which
186 simplifies text handling on 2.x / 3.x in some special advanced usecases.

Added missing changelog entries.Armin Ronacherbefore adoptionbe17393

lines 187–190why, one step back
187- Added `NoSuchOption` and `BadOptionUsage` exceptions for more generic
188 handling of errors.189- Added support for handling of unprocessed options which can be useful in190 situations where arguments are forwarded to underlying tools.

Implemented max_content_width. This fixes #216Armin Ronacherbefore adoptionf1c2ce9

lines 191–193why, one step back
191- Added `max_content_width` parameter to the context which can be used to
192 change the maximum width of help output. By default Click will not format193 content for more than 80 characters width.

Added changelog entry.Armin Ronacherbefore adoption4866bd8

line 194why, one step back
194- Added support for writing prompts to stderr.

Changelog for #252Markus Unterwaditzerbefore adoption3a2585c

line 195why, one step back
195- Fix a bug when showing the default for multiple arguments.

Changelog for #285Markus Unterwaditzerbefore adoption61de694

line 196why, one step back
196- Added support for custom subclasses to `option` and `argument`.

Changelog for #288Markus Unterwaditzerbefore adoptionf5bf284

line 197why, one step back
197- Fix bug in ``clear()`` on Windows when colorama is installed.

Error on nargs=-1 for options. This fixes #222Armin Ronacherbefore adoption9da1791

line 198why, one step back
198- Reject ``nargs=-1`` for options properly. Options cannot be variadic.

Fixed generated bash complete function name. This fixes #221Armin Ronacherbefore adoption7c138a6

lines 199–200why, one step back
199- Fixed an issue with bash completion not working properly for commands with
200 non ASCII characters or dashes.

Added support for manually advancing progressbars.Armin Ronacherbefore adoption90d7ee9

line 201why, one step back
201- Added a way to manually update the progressbar.

Refactor missing parameter handling.Armin Ronacherbefore adoption64f57fe

lines 202–205why, one step back
202- Changed the formatting of missing arguments. Previously the internal
203 argument name was shown in error messages, now the metavar is shown if204 passed. In case an automated metavar is selected, it's stripped of205 extra formatting first.

Added support for explicit color control.Armin Ronacherbefore adoption5cf7f2d

line 206why, one step back
206

Merge branch '3.x-maintenance'Armin Ronacherbefore adoptionf1249f8

lines 207–214why, one step back
207Version 3.3
208-----------209210(bugfix release, released on September 8th 2014)211212- Fixed an issue with error reporting on Python 3 for invalid forwarding213 of commands.214

Merge branch '3.x-maintenance'Armin Ronacherbefore adoption8691636

lines 215–217why, one step back
215Version 3.2
216-----------217

Merge branch '3.x-maintenance'Armin Ronacherbefore adoptionb3f0a13

line 218why, one step back
218(bugfix release, released on August 22nd 2014)

Merge branch '3.x-maintenance'Armin Ronacherbefore adoption8691636

lines 219–220why, one step back
219
220- Added missing `err` parameter forwarding to the `secho` function.

Merge branch '3.x-maintenance'Armin Ronacherbefore adoptiondd51a1d

lines 221–223why, one step back
221- Fixed default parameters not being handled properly by the context
222 invoke method. This is a backwards incompatible change if the function223 was used improperly. See :ref:`upgrade-to-3.2` for more information.

Merge branch '3.x-maintenance'Armin Ronacherbefore adoption733d5fa

lines 224–228why, one step back
224- Removed the `invoked_subcommands` attribute largely. It is not possible
225 to provide it to work error free due to how the parsing works so this226 API has been deprecated. See :ref:`upgrade-to-3.2` for more information.227- Restored the functionality of `invoked_subcommand` which was broken as228 a regression in 3.1.

Merge branch '3.x-maintenance'Armin Ronacherbefore adoption8691636

lines 229–385why, one step back
229
230Version 3.1231-----------232233(bugfix release, released on August 13th 2014)234235- Fixed a regression that caused contexts of subcommands to be236 created before the parent command was invoked which was a237 regression from earlier Click versions.238239Version 3.0240-----------241242(codename "clonk clonk", released on August 12th 2014)243244- formatter now no longer attempts to accomodate for terminals245 smaller than 50 characters. If that happens it just assumes246 a minimal width.247- added a way to not swallow exceptions in the test system.248- added better support for colors with pagers and ways to249 override the autodetection.250- the CLI runner's result object now has a traceback attached.251- improved automatic short help detection to work better with252 dots that do not terminate sentences.253- when definining options without actual valid option strings254 now, Click will give an error message instead of silently255 passing. This should catch situations where users wanted to256 created arguments instead of options.257- Restructured Click internally to support vendoring.258- Added support for multi command chaining.259- Added support for defaults on options with `multiple` and260 options and arguments with `nargs != 1`.261- label passed to `progressbar` is no longer rendered with262 whitespace stripped.263- added a way to disable the standalone mode of the `main`264 method on a Click command to be able to handle errors better.265- added support for returning values from command callbacks.266- added simplifications for printing to stderr from `echo`.267- added result callbacks for groups.268- entering a context multiple times defers the cleanup until269 the last exit occurs.270- added `open_file`.271272Version 2.6273-----------274275(bugfix release, released on August 11th 2014)276277- Fixed an issue where the wrapped streams on Python 3 would be reporting278 incorrect values for seekable.279280Version 2.5281-----------282283(bugfix release, released on July 28th 2014)284285- Fixed a bug with text wrapping on Python 3.286287Version 2.4288-----------289290(bugfix release, released on July 4th 2014)291292- Corrected a bug in the change of the help option in 2.3.293294Version 2.3295-----------296297(bugfix release, released on July 3rd 2014)298299- Fixed an incorrectly formatted help record for count options.'300- Add support for ansi code stripping on Windows if colorama301 is not available.302- restored the Click 1.0 handling of the help parameter for certain303 edge cases.304305Version 2.2306-----------307308(bugfix release, released on June 26th 2014)309310- fixed tty detection on PyPy.311- fixed an issue that progress bars were not rendered when the312 context manager was entered.313314Version 2.1315-----------316317(bugfix release, released on June 14th 2014)318319- fixed the :func:`launch` function on windows.320- improved the colorama support on windows to try hard to not321 screw up the console if the application is interrupted.322- fixed windows terminals incorrectly being reported to be 80323 characters wide instead of 79324- use colorama win32 bindings if available to get the correct325 dimensions of a windows terminal.326- fixed an issue with custom function types on Python 3.327- fixed an issue with unknown options being incorrectly reported328 in error messages.329330Version 2.0331-----------332333(codename "tap tap tap", released on June 6th 2014)334335- added support for opening stdin/stdout on Windows in336 binary mode correctly.337- added support for atomic writes to files by going through338 a temporary file.339- introduced :exc:`BadParameter` which can be used to easily perform340 custom validation with the same error messages as in the type system.341- added :func:`progressbar`; a function to show progress bars.342- added :func:`get_app_dir`; a function to calculate the home folder343 for configs.344- Added transparent handling for ANSI codes into the :func:`echo`345 function through `colorama`.346- Added :func:`clear` function.347- Breaking change: parameter callbacks now get the parameter object348 passed as second argument. There is legacy support for old callbacks349 which will warn but still execute the script.350- Added :func:`style`, :func:`unstyle` and :func:`secho` for ANSI351 styles.352- Added an :func:`edit` function that invokes the default editor.353- Added an :func:`launch` function that launches browsers and applications.354- nargs of -1 for arguments can now be forced to be a single item through355 the required flag. It defaults to not required.356- setting a default for arguments now implicitly makes it non required.357- changed "yN" / "Yn" to "y/N" and "Y/n" in confirmation prompts.358- added basic support for bash completion.359- added :func:`getchar` to fetch a single character from the terminal.360- errors now go to stderr as intended.361- fixed various issues with more exotic parameter formats like DOS/Windows362 style arguments.363- added :func:`pause` which works similar to the Windows ``pause`` cmd364 built-in but becomes an automatic noop if the application is not run365 through a terminal.366- added a bit of extra information about missing choice parameters.367- changed how the help function is implemented to allow global overriding368 of the help option.369- added support for token normalization to implement case insensitive handling.370- added support for providing defaults for context settings.371372Version 1.1373-----------374375(bugfix release, released on May 23rd 2014)376377- fixed a bug that caused text files in Python 2 to not accept378 native strings.379380Version 1.0381-----------382383(no codename, released on May 21st 2014)384385- Initial release.