Saffier

Latest version: v1.4.1

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

Scan your dependencies

Page 7 of 8

0.6.0

Added

- Support for SQLAlchemy 2.

Changed

- Moved from `databases` to its fork `databasez` and updated internal references.
- `DatabaseClient` is now being directly used from [Databasez test client](https://databasez.tarsild.io/test-client/).

Fixed

- Updated requirements.

0.5.0

Changed

- Updated requirements to support Esmerald >= 1.1.0 for testing.
- Updated testing and docs requirements.

Added

- Metaclass option to support database tables reflection. Allowing reading tables from existing database. [35](https://github.com/tarsil/saffier/pull/35)
- Documentation regarding the reflection of tables. [37](https://github.com/tarsil/saffier/pull/37)

Fixed

- Typos in documentation

0.4.0

Changed

- Fixed mypy typing in the codebase [26](https://github.com/tarsil/saffier/pull/26)
- Updated pyproject.toml requirements [26](https://github.com/tarsil/saffier/pull/26)

Added

- UniqueConstraint object for the unique_together [29](https://github.com/tarsil/saffier/pull/29)
- UniqueConstraint documentation [29](https://github.com/tarsil/saffier/pull/29)

0.3.0

Added

- Integrated the support for [native migrations](https://saffier.tarsild.io/migrations.md) with Saffier.

* This brings native generated migrations within Saffier under Alembic's package, allowing
a seemless integration and cross-compatibility with any framework using Saffier.

- Added new [DatabaseTestClient](https://saffier.tarsild.io/test-client.md) delegating the creating of the `test` database
for each connection string provided.

* No more needed to manually create two separate databases thanks to the client that does the
automatic management for you.

0.2.1

Changed

- This was supposed to go in the release 0.2.0 and it was missed. Updated queryset lookup
for functions allowing accesing the model functions from the manager directly.

0.2.0

Added

- New [Index](https://saffier.tarsild.io/models.md#indexes) object allowing the creation of internal SQLAlchemy indexes.

Changed

- Updated metaclass to validate the fields being added to `indexes`.

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.