Skip to content

Commit 9a96177

Browse files
committed
django-tree-queries 0.20
1 parent 26d2813 commit 9a96177

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@ Change log
44
Next version
55
~~~~~~~~~~~~
66

7-
- Added Python 3.13, Django 5.1 and 5.2a1 to the testsuite.
7+
0.20 (2025-06-11)
8+
~~~~~~~~~~~~~~~~~
9+
10+
- Added Python 3.13, Django 5.1 and 5.2 to the testsuite.
811
- Added tests showing that ``.descendants().update(...)`` doesn't work, but
912
``.filter(pk__in=....descendants()).update(...)`` does.
1013
- Added Python 3.13 to the testsuite.
1114
- Converted the tests to use pytest.
12-
- Added a ``tree_info`` template tag.
15+
- Added a ``tree_info`` template tag and a ``recursetree`` template block.
16+
- Optimized the performance by avoiding the rank table altogether in the simple
17+
case of an ascending ordering on a single field. If that's not possible, the
18+
README now documents using ``.tree_filter()`` and ``.tree_exclude()`` to
19+
filter the queryset before running the recursive CTE.
20+
- Improved the test coverage.
1321

1422

1523
0.19 (2024-04-25)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ deps =
1212
dj42: Django>=4.2,<5.0
1313
dj50: Django>=5.0,<5.1
1414
dj51: Django>=5.1,<5.2
15-
dj52: Django>=5.2a1,<6.0
15+
dj52: Django>=5.2,<6.0
1616
djmain: https://github.com/django/django/archive/main.tar.gz
1717
postgresql: psycopg2-binary
1818
mysql: mysqlclient

tree_queries/__init__.py

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

0 commit comments

Comments
 (0)