Skip to content

Commit 75f2390

Browse files
Release 3.0.6
1 parent 13ab67c commit 75f2390

File tree

3 files changed

+37
-3
lines changed

3 files changed

+37
-3
lines changed

CHANGELOG

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,46 @@
11
CHANGELOG
22
=========
33

4+
3.0.6: 2020-08-10
5+
-----------------
6+
7+
New features:
8+
- The SSH/Telnet adaptors have been refactored and improved in several ways.
9+
See issues #876 and PR #1150 and #1184 on GitHub.
10+
* Handle terminal types for both telnet and SSH sessions.
11+
* Added pipe input abstraction. (base class for `PosixPipeInput` and
12+
`Win32PipeInput`).
13+
* The color depth logic has been refactored and moved to the `Output`
14+
implementations. Added `get_default_color_depth` method to `Output`
15+
objects.
16+
* All line feets are now preceded by a carriage return in the telnet
17+
connection stdout.
18+
- Introduce `REPLACE_SINGLE` input mode for Vi key bindings.
19+
- Improvements to the checkbox implementation:
20+
* Hide the scrollbar for a single checkbox.
21+
* Added a "checked" setter to the checkbox.
22+
- Expose `KeyPressEvent` in key_binding/__init__.py (often used in type
23+
annotations).
24+
- The renderer has been optimized so that no trailing spaces are generated
25+
(this improves copying in some terminals).
26+
27+
Fixes:
28+
- Ignore F21..F24 key bindings by default.
29+
- Fix auto_suggest key bindings when suggestion text is empty.
30+
- Bugfix in SIGWINCH handling.
31+
- Handle bug in HSplit/VSplit when the number of children is zero.
32+
- Bugfix in CPR handling in renderer. Proper cancellation of pending tasks.
33+
- Ensure rprompt aligns with input.
34+
- Use `sys.stdin.encoding` for decoding stdin stream.
35+
36+
437
3.0.5: 2020-03-26
538
-----------------
639

740
Fixes:
841
- Bugfix in mouse handling on Windows.
942

43+
1044
3.0.4: 2020-03-06
1145
-----------------
1246

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
# built documents.
5252
#
5353
# The short X.Y version.
54-
version = '3.0.5'
54+
version = '3.0.6'
5555
# The full version, including alpha/beta/rc tags.
56-
release = '3.0.5'
56+
release = '3.0.6'
5757

5858
# The language for content autogenerated by Sphinx. Refer to documentation
5959
# for a list of supported languages.

prompt_toolkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from .shortcuts import PromptSession, print_formatted_text, prompt
1919

2020
# Don't forget to update in `docs/conf.py`!
21-
__version__ = "3.0.5"
21+
__version__ = "3.0.6"
2222

2323
# Version tuple.
2424
VERSION = tuple(__version__.split("."))

0 commit comments

Comments
 (0)