Skip to content

Commit

Permalink
bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Jul 30, 2024
1 parent 8c1563e commit bb37027
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
Changes
=======

1.15.0
------

Improved ``refresh`` - it now works with prefetched objects. For example:

.. code-block:: python
>>> band = await Band.objects(Band.manager).first()
>>> band.manager.name
"Guido"
# If the manager has changed in the database, when we refresh the band, the
# manager object will also be updated:
>>> await band.refresh()
>>> band.manager.name
"New name"
Also, improved the error messages when creating a ``BaseUser`` - thanks to
@haaavk for this.

-------------------------------------------------------------------------------

1.14.0
------

Expand Down
2 changes: 1 addition & 1 deletion piccolo/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__VERSION__ = "1.14.0"
__VERSION__ = "1.15.0"

0 comments on commit bb37027

Please sign in to comment.