All Versions
86
Latest Version
Avg Release Cycle
41 days
Latest Release
57 days ago

Changelog History
Page 2

  • v3.0.10 Changes

    January 08, 2021

    ๐Ÿ†• New features:

    • ๐Ÿ‘Œ Improved WordCompleter: accept display_dict. Also accept formatted text for both display_dict and meta_dict.
    • ๐Ÿ‘ Allow customization of button arrows.

    ๐Ÿ›  Fixes:

    • ๐Ÿ Correctly recognize backtab on Windows.
    • ๐Ÿ‘‰ Show original display text in fuzzy completer if no filtering was done.
  • v3.0.9 Changes

    January 05, 2021

    ๐Ÿ†• New features:

    • ๐Ÿง Handle c-tab for TERM=linux.

    ๐Ÿ›  Fixes:

    • Improve rendering speed of print_formatted_text. (Don't render styling attributes to output between fragments that have identical styling.)
    • Gracefully handle FileHistory decoding errors.
    • ๐Ÿ—„ Prevent asyncio deprecation warnings.
  • v3.0.8 Changes

    October 12, 2020

    ๐Ÿ†• New features:

    • โž• Added validator parameter to input_dialog.

    ๐Ÿ›  Fixes:

    • Cope with stdout not having a working fileno.
    • ๐Ÿ– Handle situation when /dev/null is piped into stdin, or when stdin is closed somehow.
    • ๐Ÿ›  Fix for telnet/ssh server: isatty method was not implemented.
    • Display correct error when a tuple is passed into to_formatted_text.
    • Pass along WORD parameter in Document._is_word_before_cursor_complete. Fixes some key bindings.
    • ๐Ÿ”ฆ Expose ProgressBarCounter in shortcuts module.
  • v3.0.7 Changes

    August 29, 2020

    ๐Ÿ†• New features:

    • ๐Ÿ†• New "placeholder" parameter added to PromptSession.

    Other changes:

    • ๐Ÿšš The "respond to CPR" logic has been moved from the Input to Output classes (this does clean up some code).

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Bugfix in shift-selection key bindings.
    • ๐Ÿ›  Fix hight calculation of FormattedTextControl when line wrapping is turned on.
    • ๐Ÿ›  Fixes for SSH server:
      • Missing encoding property.
      • Fix failure in "set_line_mode" call.
      • Handle BrokenPipeError.
  • v3.0.6 Changes

    August 10, 2020

    ๐Ÿ†• New features:

    • โ™ป๏ธ The SSH/Telnet adaptors have been refactored and improved in several ways. See issues #876 and PR #1150 and #1184 on GitHub.
      • Handle terminal types for both telnet and SSH sessions.
      • Added pipe input abstraction. (base class for PosixPipeInput and Win32PipeInput).
      • The color depth logic has been refactored and moved to the Output implementations. Added get_default_color_depth method to Output objects.
      • All line feets are now preceded by a carriage return in the telnet connection stdout.
    • Introduce REPLACE_SINGLE input mode for Vi key bindings.
    • ๐Ÿ‘Œ Improvements to the checkbox implementation:
      • Hide the scrollbar for a single checkbox.
      • Added a "checked" setter to the checkbox.
    • Expose KeyPressEvent in key_binding/init.py (often used in type annotations).
    • โšก๏ธ The renderer has been optimized so that no trailing spaces are generated (this improves copying in some terminals).

    ๐Ÿ›  Fixes:

    • 0๏ธโƒฃ Ignore F21..F24 key bindings by default.
    • ๐Ÿ›  Fix auto_suggest key bindings when suggestion text is empty.
    • ๐Ÿ›  Bugfix in SIGWINCH handling.
    • ๐Ÿ– Handle bug in HSplit/VSplit when the number of children is zero.
    • ๐Ÿ›  Bugfix in CPR handling in renderer. Proper cancellation of pending tasks.
    • Ensure rprompt aligns with input.
    • ๐Ÿ‘‰ Use sys.stdin.encoding for decoding stdin stream.
  • v3.0.5 Changes

    March 26, 2020

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Bugfix in mouse handling on Windows.
  • v3.0.4 Changes

    March 06, 2020

    ๐Ÿ†• New features:

    • โž• Added many more vt100 ANSI sequences and keys.
    • ๐Ÿ‘Œ Improved control/shift key support in Windows.
    • No Mypy errors in prompt_toolkit anymore.
    • ๐Ÿ‘ป Added set_exception_handler optional argument to PromptSession.prompt().

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Bugfix in invalidate code. PromptSession was invalidating the UI continuously.
    • Add uvloop support (was broken due to an issue in our call_soon_threadsafe).
    • ๐Ÿ‘ป Forwarded set_exception_handler in Application.run to the run_async call.
    • ๐Ÿ›  Bugfix in NestedCompleter when there is a leading space.

    ๐Ÿ’ฅ Breaking changes:

    • ShiftControl has been replaced with ControlShift and s-c with c-s in key bindings. Aliases for backwards-compatibility have been added.
  • v3.0.3 Changes

    January 26, 2020

    ๐Ÿ†• New features:

    • ๐Ÿ‘Œ Improved support for "dumb" terminals.
    • โž• Added support for new keys (vt100 ANSI sequences): Alt + home/end/page-up/page-down/insert.
    • ๐Ÿ‘ Better performance for the "regular languages compiler". Generate fewer and better regular expressions. This should improve the start-up time for applications using this feature.
    • ๐Ÿ‘ Better detection of default color depth.
    • ๐Ÿ‘Œ Improved the progress bar:
      • Set "time left" to 0 when done or stopped.
      • Added ProgressBarCounter.stopped.
    • Accept callables for scroll_offset, min_brightness and max_brightness.
    • Added always_prefer_tty parameters to create_input() and create_output().
    • Create a new event loop in Application.run() if get_event_loop() raises Runtimeerror.

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Correct cancellation of flush timers for input. (Fixes resource leak where too many useless coroutines were created.)
    • ๐Ÿ‘Œ Improved the Win32 input event loop. This fixes a bug where the prompt_toolkit application is stopped by something other than user input. (In that case, the application would hang, waiting for input.) This also fixes a RuntimeError in the progress bar code.
    • ๐Ÿ›  Fixed line-number.current style. (was current-line-number.)
    • ๐Ÿ– Handle situation where stdout is no longer a tty (fix bug in get_size).
    • ๐Ÿ›  Fix parsing of true color in ANSI strings.
    • Ignore invalidate() if the application is not running.
  • v3.0.2 Changes

    November 30, 2019

    ๐Ÿ›  Fixes:

  • v3.0.1 Changes

    November 28, 2019

    ๐Ÿ†• New features:

    • Added new_eventloop_with_inputhook function.
    • ๐Ÿ‘ป Set exception handler from within Application.run_async.
    • ๐Ÿ’… Applied Black code style.

    ๐Ÿ›  Fixes:

    • No longer expect a working event loop in the History classes. (Fix for special situations when a ThreadedHistory is created before the event loop has been set up.)
    • Accept an empty prompt continuation.
    • ๐Ÿ›  A few fixes to the Buffer tempfile code.