Piccolo

Latest version: v1.5.0

Safety actively analyzes 626983 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 48

0.93.0

Not secure
------

* Fixed a bug with nullable ``JSON`` / ``JSONB`` columns and
``create_pydantic_model`` - thanks to eneacosta for this fix.
* Made the ``Time`` column type importable from ``piccolo.columns``.
* Python 3.11 is now supported.
* Postgres 9.6 is no longer officially supported, as it's end of life, but
Piccolo should continue to work with it just fine for now.
* Improved docs for transactions, added docs for the ``as_of`` clause in
CockroachDB (thanks to gnat for this), and added docs for
``add_raw_backwards``.

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

0.92.0

Not secure
------

Added initial support for Cockroachdb (thanks to gnat for this massive
contribution).

Fixed Pylance warnings (thanks to MiguelGuthridge for this).

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

0.91.0

Not secure
------

Added support for Starlite. If you use ``piccolo asgi new`` you'll see it as
an option for a router.

Thanks to sinisaos for adding this, and peterschutt for helping debug ASGI
mounting.

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

0.90.0

Not secure
------

Fixed an edge case, where a migration could fail if:

* 5 or more tables were being created at once.
* They all contained foreign keys to each other, as shown below.

.. code-block:: python

class TableA(Table):
pass

class TableB(Table):
fk = ForeignKey(TableA)

class TableC(Table):
fk = ForeignKey(TableB)

class TableD(Table):
fk = ForeignKey(TableC)

class TableE(Table):
fk = ForeignKey(TableD)


Thanks to sumitsharansatsangi for reporting this issue.

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

0.89.0

Not secure
------

Made it easier to access the ``Email`` columns on a table.

.. code-block:: python

>>> MyTable._meta.email_columns
[MyTable.email_column_1, MyTable.email_column_2]

This was added for Piccolo Admin.

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

0.88.0

Not secure
------

Fixed a bug with migrations - when using ``db_column_name`` it wasn't being
used in some alter statements. Thanks to theelderbeever for reporting this
issue.

.. code-block:: python

class Concert(Table):
We use `db_column_name` when the column name is problematic - e.g. if
it clashes with a Python keyword.
in_ = Varchar(db_column_name='in')

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

Page 9 of 48

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.