Tortoise-orm

Latest version: v0.20.1

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

Scan your dependencies

Page 22 of 23

0.9.2

Not secure
-----
- ``JSONField`` is now promoted to a standard field.
- Fixed ``DecimalField`` and ``BooleanField`` to work as expected on SQLite.
- Added ``FloatField``.
- Minimum supported version of PostgreSQL is 9.4
- Added ``.get(...)`` shortcut on query set.
- ``values()`` and ``values_list()`` now converts field values to python types

0.9.1

Not secure
-----
- Fixed ``through`` parameter honouring for ``ManyToManyField``

0.9

===========

0.9.0

Not secure
-----
* Added support for nested queries for ``values`` and ``values_list``:

.. code-block:: python3

result = await Event.filter(id=event.id).values('id', 'name', tournament='tournament__name')
result = await Event.filter(id=event.id).values_list('id', 'participants__name')

- Fixed ``DatetimeField`` and ``DateField`` to work as expected on SQLite.
- Added ``PyLint`` plugin.
- Added test class to mange DB state for testing isolation.

0.8.0

Not secure
-----
- Added PostgreSQL ``JSONField``

0.7.0

Not secure
-----
- Added ``.annotate()`` method and basic aggregation funcs

Page 22 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.