unstale

pypi / prompt-toolkit

prompt-toolkit

What changed in prompt-toolkit 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

2 breaking1 new APIs and options1 performance7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

prompt-toolkit 311 changes

Breaking changes 2

  • Adds support for Python 3.14 and 3.15 and sets the minimum Python version to 3.10.

    3.0.53release notes

  • Sets a missing minimum requirement for wcwidth.

    3.0.53release notes

New APIs and options 1

  • Allows specifying show_numbers in ChoiceInput.

    3.0.53release notes

Performance 1

Fixes and other changes 7

  • Treats OSError from add_reader as EOFError on macOS kqueue.

    3.0.53release notes

  • Updates return types to include None when a dialog shortcut is cancelled.

    3.0.53release notes

  • Handles surrogate pairs when storing strings in file history.

    3.0.53release notes

  • Updates the meta_dict type hint to match WordCompleter.

    3.0.53release notes

  • Fixes the behavior of get_word_before_cursor.

    3.0.53release notes

  • Handles ASCII decode errors when decoding terminal types in the telnet protocol.

    3.0.53release notes

  • Fixes the 6x6x6 color cube range and adds missing grayscale shades 232 and 254–255.

    3.0.53release notes