# What changed in prompt-toolkit

> 11 changes in prompt-toolkit 3 from its official release notes, upgrade guides and advisories: 2 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/pypi/prompt-toolkit/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## prompt-toolkit 3

### Breaking changes

- Adds support for Python 3.14 and 3.15 and sets the minimum Python version to 3.10. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)
- Sets a missing minimum requirement for wcwidth. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)

### New APIs and options

- Allows specifying show_numbers in ChoiceInput. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)

### Performance

- Loads __version__ lazily. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)

### Fixes and other changes

- Treats OSError from add_reader as EOFError on macOS kqueue. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)
- Updates return types to include None when a dialog shortcut is cancelled. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)
- Handles surrogate pairs when storing strings in file history. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)
- Updates the meta_dict type hint to match WordCompleter. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)
- Fixes the behavior of get_word_before_cursor. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)
- Handles ASCII decode errors when decoding terminal types in the telnet protocol. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)
- Fixes the 6x6x6 color cube range and adds missing grayscale shades 232 and 254–255. (3.0.53) — [release notes](https://github.com/prompt-toolkit/python-prompt-toolkit/releases/tag/3.0.53)
