Skip to content

Commit

Permalink
Release 3.0.49 (#1964)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanslenders authored Jan 20, 2025
1 parent c6ce1a5 commit ace74db
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
CHANGELOG
=========

3.0.49: 2025-01-20
------------------

New features:
- On Windows, use virtual terminal input when available.
- Support for multiline suggestions.

Fixes:
- Handle `InvalidStateError` during termination when using
`run_in_terminal`/`patch_stdout`. This can happen in some cases during
cancellation, probably when using anyio.
- Fix cursor that remains in hidden state when the application exits. This can
happen when the application doesn't show the cursor and `erase_when_done` is
being used.

Breaking changes:
- Drop support for Python 3.7:


3.0.48: 2024-09-25
------------------

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# ---------------------------------------------------------------------
# Versions.
# The short X.Y version.
version = "3.0.48"
version = "3.0.49"
# The full version, including alpha/beta/rc tags.
release = "3.0.48"
release = "3.0.49"
# The URL pattern to match releases to ReadTheDocs URLs.
docs_fmt_url = "https://python-prompt-toolkit.readthedocs.io/en/{release}/"
# The list of releases to include in the dropdown.
Expand Down
2 changes: 1 addition & 1 deletion src/prompt_toolkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from .shortcuts import PromptSession, print_formatted_text, prompt

# Don't forget to update in `docs/conf.py`!
__version__ = "3.0.48"
__version__ = "3.0.49"

assert pep440.match(__version__)

Expand Down

0 comments on commit ace74db

Please sign in to comment.