Skip to content

Commit 26c1ccc

Browse files
committed
bumped version
1 parent 1ce52f9 commit 26c1ccc

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGES

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

4+
0.35.0
5+
------
6+
7+
* Improved ``ForeignKey`` deprecation warning (courtesy @tonybaloney).
8+
* Added ``piccolo schema generate`` which creates a Piccolo schema from an
9+
existing database.
10+
* Added ``piccolo tester run`` which is a wrapper around pytest, and
11+
temporarily sets ``PICCOLO_CONF``, so a test database is used.
12+
* Added the ``get`` convenience method (courtesy @aminalaee). It returns the
13+
first matching record, or ``None`` if there's no match. For example:
14+
15+
.. code-block:: python
16+
17+
manager = await Manager.objects().get(Manager.name == 'Guido').run()
18+
19+
# This is equivalent to:
20+
manager = await Manager.objects().where(Manager.name == 'Guido').first().run()
21+
422
0.34.0
523
------
624
Added the ``get_or_create`` convenience method (courtesy @aminalaee). Example

piccolo/__init__.py

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

0 commit comments

Comments
 (0)