Skip to content

Commit ff831cf

Browse files
committed
bumped version
1 parent 7a93765 commit ff831cf

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

CHANGES

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
Changes
22
=======
33

4+
0.41.0
5+
------
6+
Fixed a bug where if ``all_columns`` was used two or more levels deep, it would
7+
fail. Thanks to @wmshort for reporting this issue.
8+
9+
Here's an example:
10+
11+
.. code-block:: python
12+
13+
Concert.select(
14+
Concert.venue.name,
15+
*Concert.band_1.manager.all_columns()
16+
).run_sync()
17+
18+
Also, the ``ColumnsDelegate`` has now been tweaked, so unpacking of
19+
``all_columns`` is optional.
20+
21+
.. code-block:: python
22+
23+
# This now works the same as the code above (we have omitted the *)
24+
Concert.select(
25+
Concert.venue.name,
26+
Concert.band_1.manager.all_columns()
27+
).run_sync()
28+
429
0.40.1
530
------
631
Loosen the ``typing-extensions`` requirement, as it was causing issues when

piccolo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__VERSION__ = "0.40.1"
1+
__VERSION__ = "0.41.0"

0 commit comments

Comments
 (0)