Skip to content

Commit 77b3d27

Browse files
committed
bumped version
1 parent 48768ba commit 77b3d27

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGES

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

4+
0.46.0
5+
------
6+
Added the fixture app. This is used to dump data from a database to a JSON
7+
file, and then reload it again. It's useful for seeding a database with
8+
essential data, whether that's a colleague setting up their local environment,
9+
or deploying to production.
10+
11+
To create a fixture:
12+
13+
.. code-block:: bash
14+
15+
piccolo fixture dump --apps=blog > fixture.json
16+
17+
To load a fixture:
18+
19+
.. code-block:: bash
20+
21+
piccolo fixture load fixture.json
22+
23+
As part of this change, Piccolo's Pydantic support was brought into this
24+
library (prior to this it only existed within the ``piccolo_api`` library). At
25+
a later date, the ``piccolo_api`` library will be updated, so it's Pydantic
26+
code just proxies to what's within the main ``piccolo`` library.
27+
428
0.45.1
529
------
630
Improvements to ``piccolo schema generate``. It's now smarter about which

piccolo/__init__.py

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

0 commit comments

Comments
 (0)