Skip to content

Commit

Permalink
bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Apr 8, 2022
1 parent 2ba0891 commit ffe173d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
Changes
=======

0.73.0
------

You can now specify extra nodes for a database. For example, if you have a
read replica.

.. code-block:: python
DB = PostgresEngine(
config={'database': 'main_db'},
extra_nodes={
'read_replica_1': PostgresEngine(
config={
'database': 'main_db',
'host': 'read_replica_1.my_db.com'
}
)
}
)
And can then run queries on these other nodes:

.. code-block:: python
>>> await MyTable.select().run(node="read_replica_1")
See `PR 481 <https://github.com/piccolo-orm/piccolo/pull/481>`_. Thanks to
@dashsatish for suggesting this feature.

Also, the ``targ`` library has been updated so it tells users about the
``--trace`` argument which can be used to get a full traceback when a CLI
command fails.

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

0.72.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__ = "0.72.0"
__VERSION__ = "0.73.0"

0 comments on commit ffe173d

Please sign in to comment.