From 1b645cb5a1b30282ca2f72b184c721f1dc8175d1 Mon Sep 17 00:00:00 2001 From: Daniel Townsend Date: Sun, 22 Aug 2021 20:01:46 +0100 Subject: [PATCH] bumped version --- CHANGES | 11 +++++++++++ piccolo/__init__.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 42448ba4d..096ba2d57 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,17 @@ Changes ======= +0.34.0 +------ +Added the ``get_or_create`` convenience method (courtesy @aminalaee). Example +usage: + +.. code-block:: python + + manager = await Manager.objects().get_or_create( + Manager.name == 'Guido' + ).run() + 0.33.1 ------ * Bug fix, where ``compare_dicts`` was failing in migrations if any ``Column`` diff --git a/piccolo/__init__.py b/piccolo/__init__.py index 7a60ac51c..0f5f2bb33 100644 --- a/piccolo/__init__.py +++ b/piccolo/__init__.py @@ -1 +1 @@ -__VERSION__ = "0.33.1" +__VERSION__ = "0.34.0"