There was an error while loading. Please reload this page.
1 parent 7a6746d commit 5aea0fdCopy full SHA for 5aea0fd
2 files changed
CHANGES.rst
@@ -1,6 +1,25 @@
1
Changes
2
=======
3
4
+0.69.3
5
+------
6
+
7
+The ``where`` clause now raises a ``ValueError`` if a boolean value is
8
+passed in by accident. This was possible in the following situation:
9
10
+.. code-block:: python
11
12
+ await Band.select().where(Band.has_drummer is None)
13
14
+Piccolo can't override the ``is`` operator because Python doesn't allow it,
15
+so ``Band.has_drummer is None`` will always equal ``False``. Thanks to
16
+@trondhindenes for reporting this issue.
17
18
+We've also put a lot of effort into improving documentation throughout the
19
+project.
20
21
+-------------------------------------------------------------------------------
22
23
0.69.2
24
------
25
piccolo/__init__.py
@@ -1 +1 @@
-__VERSION__ = "0.69.2"
+__VERSION__ = "0.69.3"
0 commit comments