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