Ormar

Latest version: v0.20.1

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

Scan your dependencies

Page 9 of 14

0.7.4

Not secure
* Allow multiple relations to the same related model/table.
* Fix for wrong relation column used in many_to_many relation joins (fix [73][73])
* Fix for wrong relation population for m2m relations when also fk relation present for same model.
* Add check if user provide related_name if there are multiple relations to same table on one model.
* More eager cleaning of the dead weak proxy models.

0.7.3

Not secure
* Fix for setting fetching related model with UUDI pk, which is a string in raw (fix [71][71])

0.7.2

Not secure
* Fix for overwriting related models with pk only in `Model.update() with fields passed as parameters` (fix [70][70])

0.7.1

Not secure
* Fix for overwriting related models with pk only in `Model.save()` (fix [68][68])

0.7.0

Not secure
* **Breaking:** QuerySet `bulk_update` method now raises `ModelPersistenceError` for unsaved models passed instead of `QueryDefinitionError`
* **Breaking:** Model initialization with unknown field name now raises `ModelError` instead of `KeyError`
* Added **Signals**, with pre-defined list signals and decorators: `post_delete`, `post_save`, `post_update`, `pre_delete`,
`pre_save`, `pre_update`
* Add `py.typed` and modify `setup.py` for mypy support
* Performance optimization
* Updated docs

0.6.2

Not secure
* Performance optimization
* Fix for bug with `pydantic_only` fields being required
* Add `property_field` decorator that registers a function as a property that will
be included in `Model.model_dump()` and in `fastapi` response
* Update docs

Page 9 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.