14
0
forked from pool/python-click
Denisart Benjamin
2015-12-03 14:03:21 +00:00
committed by Git OBS Bridge
parent f680404e60
commit db32ba6582

View File

@@ -1,101 +1,75 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 3 13:21:05 UTC 2015 - ronisbr@gmail.com Thu Dec 3 13:21:05 UTC 2015 - ronisbr@gmail.com
- Update to version 6.2. - Update to version 6.2
- Changelog between versions 4.1 and 6.2: * Correct fix for hidden progress bars.
- Changes from version 6.1
Version 6.2 * Resolved an issue with invisible progress bars no longer
----------- rendering.
(bugfix release, released on November 27th 2015) * Disable chain commands with subcommands as they were
inherently broken.
- Correct fix for hidden progress bars. * Fix `MissingParameter` not working without parameters passed.
- Changes from version 6.0
Version 6.1 * Optimized the progressbar rendering to not render when it did
----------- not actually change.
* Explicitly disallow nargs=-1 with a set default.
(bugfix release, released on November 27th 2015) * The context is now closed before it's popped from the stack.
* Added support for short aliases for the false flag on
- Resolved an issue with invisible progress bars no longer toggles.
rendering. * Click will now attempt to aid you with debugging locale
- Disable chain commands with subcommands as they were errors better by listing with the help of the OS what locales
inherently broken. are available.
- Fix `MissingParameter` not working without parameters passed. * Click used to return byte strings on Python 2 in some
unit-testing situations. This has been fixed to correctly
Version 6.0 return unicode strings now.
----------- * For Windows users on Python 2, Click will now handle Unicode
more correctly handle Unicode coming in from the system.
(codename "pow pow", released on November 24th 2015) This also has the disappointing side effect that filenames
will now be always unicode by default in the `Path` type
- Optimized the progressbar rendering to not render when it did which means that this can introduce small bugs for code not
not actually change. aware of this.
- Explicitly disallow nargs=-1 with a set default. * Added a `type` parameter to `Path` to force a specific string
- The context is now closed before it's popped from the stack. type on the value.
- Added support for short aliases for the false flag on * For users running Python on Windows the `echo`) and `prompt`
toggles. functions now work with full unicode functionality in the
- Click will now attempt to aid you with debugging locale Python windows console by emulating an output stream. This
errors better by listing with the help of the OS what locales also applies to getting the virtual output and input streams
are available. via `click.get_text_stream(...)`.
- Click used to return byte strings on Python 2 in some * Unittests now always force a certain virtual terminal width.
unit-testing situations. This has been fixed to correctly * Added support for allowing dashes to indicate standard
return unicode strings now. streams to the `Path` type.
- For Windows users on Python 2, Click will now handle Unicode * Multi commands in chain mode no longer propagate arguments
more correctly handle Unicode coming in from the system. left over from parsing to the callbacks. It's also now
This also has the disappointing side effect that filenames disallowed through an exception when optional arguments are
will now be always unicode by default in the `Path` type attached to multi commands if chain mode is enabled.
which means that this can introduce small bugs for code not * Relaxed restriction that disallowed chained commands to have
aware of this. other chained commands as child commands.
- Added a `type` parameter to `Path` to force a specific string * Arguments with positive nargs can now have defaults
type on the value. implemented. Previously this configuration would often
- For users running Python on Windows the `echo`) and `prompt` result in slightly unexpected values be returned.
functions now work with full unicode functionality in the - Changes from version 5.1
Python windows console by emulating an output stream. This * Fix a bug in `pass_obj` that would accidentally pass the
also applies to getting the virtual output and input streams context too.
via `click.get_text_stream(...)`. - Changes from version 5.0
- Unittests now always force a certain virtual terminal width. * Removed various deprecated functionality.
- Added support for allowing dashes to indicate standard * Atomic files now only accept the `w` mode.
streams to the `Path` type. * Change the usage part of help output for very long commands
- Multi commands in chain mode no longer propagate arguments to wrap their arguments onto the next line, indented by 4
left over from parsing to the callbacks. It's also now spaces.
disallowed through an exception when optional arguments are * Fix a bug where return code and error messages were incorrect
attached to multi commands if chain mode is enabled. when using ``CliRunner``.
- Relaxed restriction that disallowed chained commands to have * added `get_current_context`.
other chained commands as child commands. * added a `meta` dictionary to the context which is shared
- Arguments with positive nargs can now have defaults across the linked list of contexts to allow click utilities
implemented. Previously this configuration would often to place state there.
result in slightly unexpected values be returned. * introduced `Context.scope`.
* The `echo` function is now threadsafe: It calls the `write`
Version 5.1 method of the underlying object only once.
----------- * `prompt(hide_input=True)` now prints a newline on `^C`.
* Click will now warn if users are using ``unicode_literals``.
(bugfix release, released on 17th August 2015) * Click will now ignore the ``PAGER`` environment variable if
it is empty or contains only whitespace.
- Fix a bug in `pass_obj` that would accidentally pass the * The `click-contrib` GitHub organization was created.
context too.
Version 5.0
-----------
(codename "tok tok", released on 16th August 2015)
- Removed various deprecated functionality.
- Atomic files now only accept the `w` mode.
- Change the usage part of help output for very long commands
to wrap their arguments onto the next line, indented by 4
spaces.
- Fix a bug where return code and error messages were incorrect
when using ``CliRunner``.
- added `get_current_context`.
- added a `meta` dictionary to the context which is shared
across the linked list of contexts to allow click utilities
to place state there.
- introduced `Context.scope`.
- The `echo` function is now threadsafe: It calls the `write`
method of the underlying object only once.
- `prompt(hide_input=True)` now prints a newline on `^C`.
- Click will now warn if users are using ``unicode_literals``.
- Click will now ignore the ``PAGER`` environment variable if
it is empty or contains only whitespace.
- The `click-contrib` GitHub organization was created.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jul 18 17:17:10 UTC 2015 - aloisio@gmx.com Sat Jul 18 17:17:10 UTC 2015 - aloisio@gmx.com