Saffier

Latest version: v1.4.1

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

Scan your dependencies

Page 4 of 8

0.15.0

Added

- [SaffierExtra](https://saffier.tarsild.io/extras.md) class allowing the use of Saffier tools without depending on the `Migrate` object.

0.14.2

Fixed

- AsyncIO event loop blocking the reflection.

0.14.1

Fixed

- Remove super init from `Registry`.

0.14.0

Changed

- Update Saffier core to start using [Pydantic 2.0](https://docs.pydantic.dev/2.0/) and improved
performance.

0.13.0

Changed

- `fields` are now imported in a different path. **This is a breaking change**. [PR 62](https://github.com/tarsil/saffier/pull/63) by [tarsil](https://github.com/tarsil/)

**Before**

python
from saffier import fields


**Now**

python
from saffier.db.models import fields


Added

- Added `server_default` option for fields allowing to specify if the value should be generated from the DB and how to.
- Added support for `save()` of the model. [PR 62](https://github.com/tarsil/saffier/pull/62) by [tarsil](https://github.com/tarsil/)

0.12.0

Added

- New version of the [`declarative()`](https://saffier.tarsild.io/declarative-models.md).
PR [59](https://github.com/tarsil/saffier/pull/60) by [tarsil](https://github.com/tarsil).
- `ManyToMany` and `OneToOne` added as alternatives to `ManyToManyField` and `OneToOneField`.
The latter will always exist but you can also import the `ManyToMany` and `OneToOne` as alternative
instead.

Fixed

- Registry now allowing the `lru_caching` to happen properly.

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.