Skip to content

Commit 9a17867

Browse files
committed
Bump version to 4.4.7 with upstream cherry-picks
Includes upstream PRs dbcli#1573 (force-quit), dbcli#1595 (sqlparse limits), dbcli#1596 (PG* env in tox). Also applies ruff format on sqlcompletion.py after dbcli#1595 cherry-pick.
1 parent 28f1add commit 9a17867

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

changelog.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
4.4.7 (2026-05-18) - upstream: 4.4.0
2+
=====================================
3+
4+
Upstream cherry-picks:
5+
----------------------
6+
* Allow force-quit when a transaction is running (upstream #1573).
7+
Pressing Ctrl-D or running ``\q`` now offers to exit even with an
8+
active transaction, instead of leaving the user stuck.
9+
* Let ``sqlparse`` accept arbitrarily-large queries by disabling
10+
``MAX_GROUPING_DEPTH`` and ``MAX_GROUPING_TOKENS`` (upstream #1595).
11+
Fixes crashes when parsing very large SQL.
12+
13+
Internal:
14+
---------
15+
* Pass ``PG*`` env variables to integration tests via ``tox.ini``
16+
``passenv`` (upstream #1596). Fixes integration test breakage
17+
introduced by #1560.
18+
119
4.4.6 (2026-05-11) - upstream: 4.4.0
220
=====================================
321

pgcli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.4.6"
1+
__version__ = "4.4.7"

pgcli/packages/sqlcompletion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
sqlparse.engine.grouping.MAX_GROUPING_DEPTH = None
1111
sqlparse.engine.grouping.MAX_GROUPING_TOKENS = None
1212

13+
1314
class Special(NamedTuple):
1415
pass
1516

0 commit comments

Comments
 (0)