From ca3229d8b9093963a9eead4f3ba4ce74ea82ccd6 Mon Sep 17 00:00:00 2001 From: Jonathan Slenders Date: Wed, 27 Aug 2025 15:21:37 +0000 Subject: [PATCH] Release 3.0.52 --- CHANGELOG | 16 ++++++++++++++++ docs/conf.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index d312ea3ee..aba20450f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,22 @@ CHANGELOG ========= +3.0.52: 2025-08-27 +------------------ + +New features: +- Add `choice()` shortcut for selecting an option amongst a list of choices + (see documentation for examples). +- Add support for ANSI dim text formatting. +- Add `frame=...` option for `prompt()` and `choice()` shortcuts to allow for + displaying a frame around the input prompt. + +Fixes: +- Fix button width when non English characters are displayed. +- Implement flushing in Windows VT100 input. +- Fix signal handling for GraalPy. +- Fix handling of zero sized dimensions. + 3.0.51: 2025-04-15 ------------------ diff --git a/docs/conf.py b/docs/conf.py index 886a3da9e..b0e980728 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,9 +54,9 @@ # --------------------------------------------------------------------- # Versions. # The short X.Y version. -version = "3.0.51" +version = "3.0.52" # The full version, including alpha/beta/rc tags. -release = "3.0.51" +release = "3.0.52" # 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. diff --git a/pyproject.toml b/pyproject.toml index e29a49b40..f10c899b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "prompt_toolkit" -version = "3.0.51" # Also update in `docs/conf.py`. +version = "3.0.52" # Also update in `docs/conf.py`. description="Library for building powerful interactive command lines in Python" readme = "README.rst" authors = [{ name = "Jonathan Slenders" }]