New features: - Accept `os.PathLike` in `FileHistory` (typing fix).
Fixes: - Fix memory leak in filters. - Improve performance of progress bar formatters. - Fix compatibility when a SIGINT handler is installed by non-Python (Rust, C). - Limit number of completions in buffer to 10k by default (for performance).
3.0.43
------------------
Fixes: - Fix regression on Pypy: Don't use `ctypes.pythonapi` to restore SIGINT if not available.
3.0.42
------------------
Fixes: - Fix line wrapping in `patch_stdout` on Windows. - Make `formatted_text.split_lines()` accept an iterable instead of lists only. - Disable the IPython workaround (from 3.0.41) for IPython >= 8.18. - Restore signal.SIGINT handler between prompts.
Fixes: - Improved Python 3.12 support (fixes event loop `DeprecationWarning`).
New features: - Vi key bindings: `control-t` and `control-d` for indent/unindent in insert mode. - Insert partial suggestion when `control+right` is pressed, similar to Fish. - Use sphinx-nefertiti theme for the docs.
3.0.39
------------------
Fixes: - Fix `RuntimeError` when `__breakpointhook__` is called from another thread. - Fix memory leak in filters usage. - Ensure that key bindings are handled in the right context (when using contextvars).
New features: - Accept `in_thread` keyword in `prompt_toolkit.shortcuts.prompt()`. - Support the `NO_COLOR` environment variable.