Tortoise-orm

Latest version: v0.20.1

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

Scan your dependencies

Page 4 of 23

0.17

====

0.17.0

-------
- Add date part extract filtering.
- Add `Manager` support.
- Add db router support.
- Add `nowait`, `skip_locked`, `of` parameters to `queryset.select_for_update`.
- Add field name to validation exceptions.
- Compatible with `asyncmy <https://github.com/long2ice/asyncmy>`_.
- Replace pypika to `pypika-tortoise <https://github.com/tortoise/pypika-tortoise>`_.

0.16.21

-------
- Fixed validating JSON before decoding. (623)
- Add model method `update_or_create`.
- Add `batch_size` parameter for `bulk_create` method.
- Fix save with F expression and field with source_field.

0.16.20

-------
- Add model field validators.
- Allow function results in group by. (608)

0.16.19

-------
- Replace set `TZ` environment variable to `TIMEZONE` to avoid affecting global timezone.
- Allow passing module objects to `models_paths` param of `Tortoise.init_models()`. (561)
- Implement `PydanticMeta.backward_relations`. (536)
- Allow overriding `PydanticMeta` in `PydanticModelCreator`. (536)
- Fixed make_native typo to make_naive in timezone module

0.16.18

-------
- Support custom function in update. (537)
- Add `Model.refresh_from_db`. (549)
- Add timezone support, **be careful to upgrade to this version**, see `docs <https://tortoise-orm.readthedocs.io/en/latest/timezone.html>`_ for details. (#335)
- Remove `aerich` in case of cyclic dependency. (558)

Page 4 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.