Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ Features:

Bug fixes:
----------
* Require ``sqlparse`` 0.6.0 or newer. Every 0.5.x release is affected by the
denial-of-service and string-escaping advisories fixed in 0.6.0
(CVE-2026-59893, CVE-2026-54284, CVE-2026-71491 and CVE-2026-59894), and the
``>=0.3.0`` floor let an existing installation keep a vulnerable version
across a pgcli upgrade.
* Fix special commands being broken while explain mode (F5) is on. Every input
was prefixed with ``EXPLAIN (...)`` and sent to the server as SQL, including
backslash commands and the bare words ``exit``/``quit``, so ``\q``, ``\d``,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies = [
"prompt_toolkit>=2.0.6,<4.0.0",
"psycopg >= 3.0.14; sys_platform != 'win32'",
"psycopg-binary >= 3.0.14; sys_platform == 'win32'",
"sqlparse >=0.3.0,<0.7",
"sqlparse >=0.6.0,<0.7",
"configobj >= 5.0.6",
"cli_helpers[styles] >= 2.4.0",
# setproctitle is used to mask the password when running `ps` in command line.
Expand Down
Loading