Skip to content

Commit

Permalink
Release 2.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanslenders committed Oct 30, 2018
1 parent 5698a66 commit a2a5d4d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG
@@ -1,6 +1,28 @@
CHANGELOG
=========

2.0.7: 2018-10-30
-----------------

Bug fixes:
- Fixed assertion in PromptSession: the style_transformation check was wrong.
- Removed 'default' attribute in PromptSession. Only ask for it in the
`prompt()` method. This fixes the issue that passing `default` once, will
store it for all consequent calls in the `PromptSession`.
- Ensure that `__pt_formatted_text__` always returns a `FormattedText`
instance. This fixes an issue with `print_formatted_text`.

New features:
- Improved handling of situations where stdin or stdout are not a terminal.
(Print warning instead of failing with an assertion.)
- Added `print_container` utility.
- Sound bell when attempting to edit read-only buffer.
- Handle page-down and page-up keys in RadioList.
- Accept any `collections.abc.Sequence` for HSplit/VSplit children (instead of
lists only).
- Improved Vi key bindings: return to navigation mode when Insert is pressed.


2.0.6: 2018-10-12
-----------------

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -51,9 +51,9 @@
# built documents.
#
# The short X.Y version.
version = '2.0.6'
version = '2.0.7'
# The full version, including alpha/beta/rc tags.
release = '2.0.6'
release = '2.0.7'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion prompt_toolkit/__init__.py
Expand Up @@ -20,7 +20,7 @@


# Don't forget to update in `docs/conf.py`!
__version__ = '2.0.6'
__version__ = '2.0.7'

# Version tuple.
VERSION = tuple(__version__.split('.'))
Expand Down

0 comments on commit a2a5d4d

Please sign in to comment.