|
1 | 1 | Changes |
2 | 2 | ======= |
3 | 3 |
|
| 4 | +1.31.0 |
| 5 | +------ |
| 6 | + |
| 7 | +* Added official Postgres 18 support. |
| 8 | +* Removed graphlib backport (no longer needed in supported Python versions). |
| 9 | +* Improved documentation for column kwargs. |
| 10 | +* Updated README to mention other parts of the Piccolo ecosystem (thanks to |
| 11 | + @sinisaos for this). |
| 12 | +* Table instances can now be compared using the ``==`` operator, and will |
| 13 | + return ``True`` if they have the same primary key value (thanks to @aarcex3 |
| 14 | + and @Skelmis for this). |
| 15 | +* Fixed missing import for auto migrations when tables use |
| 16 | + ``LazyTableReference`` (thanks to @sinisaos for this). |
| 17 | +* Improved docs for the auto generated primary key (thanks to @badlydrawnrob |
| 18 | + for this). |
| 19 | +* Improved ``Table._table_str`` (this is most obvious in the playground, where |
| 20 | + the table definitions printed out now show more information - thanks to |
| 21 | + @badlydrawnrob for raising this issue). |
| 22 | +* Fixed a bug with ``ModelBuilder`` when using ``Array`` columns with |
| 23 | + ``choices`` defined. |
| 24 | +* ``add_m2m`` now returns the id of the joining table row, to match the docs |
| 25 | + (thanks to @diklios5768 for reporting this). |
| 26 | +* Improved the docs for ``UUID`` columns (what the ``UUID4`` default value |
| 27 | + does). |
| 28 | +* Moved connection pooling to its own page in the docs. |
| 29 | +* Improved the ``on_conflict`` clause - a ``target`` must be specified if |
| 30 | + using ``DO UPDATE`` (thanks to @mafuyuuu1 for raising this issue, and |
| 31 | + @sinisaos for this fix). |
| 32 | +* Changed Esmerald to Ravyn in the ASGI templates (thanks to @sinisaos for |
| 33 | + this). |
| 34 | +* Fixed a bug with auto migrations when changing a column to a foreign key - an |
| 35 | + exception was being raised (thanks to @gsavchuk for raising this issue and |
| 36 | + @sinisaos for this fix). |
| 37 | +* ``Array(Numeric())`` columns now work with SQLite (thanks to @sinisaos for |
| 38 | + this). |
| 39 | +* UUID columns now use the built-in ``gen_random_uuid()`` function in Postgres |
| 40 | + to generate a default value, instead of using the ``uuid-ossp`` extension |
| 41 | + (thanks to @sinisaos for this). See |
| 42 | + :ref:`this tutorial <UUIDColumnsMigrationTutorial>` for more details. |
| 43 | + |
| 44 | +------------------------------------------------------------------------------- |
| 45 | + |
4 | 46 | 1.30.0 |
5 | 47 | ------ |
6 | 48 |
|
|
0 commit comments