Skip to content

Commit 49562c2

Browse files
committed
bumped version
1 parent 9672e17 commit 49562c2

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGES

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

4+
0.22.0
5+
------
6+
* An error is now raised if a user tries to create a Piccolo app using
7+
``piccolo app new`` with the same name as a builtin Python module, as it
8+
will cause strange bugs.
9+
* Fixing a strange bug where using an expression such as
10+
``Concert.band_1.manager.id`` in a query would cause an error. It only
11+
happened if multiple joins were involved, and the last column in the chain
12+
was ``id``.
13+
* ``where`` clauses can now accept ``Table`` instances. For example:
14+
``await Band.select().where(Band.manager == some_manager).run()``, instead
15+
of having to explicity reference the ``id``.
16+
417
0.21.2
518
------
619
Fixing a bug with serialising ``Enum`` instances in migrations. For example:

piccolo/__init__.py

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

0 commit comments

Comments
 (0)