Skip to content

Releases: tarsil/saffier

Version 0.3.0

01 Mar 17:54
Compare
Choose a tag to compare

Added

  • Integrated the support for native migrations 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 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.

Version 0.2.1

20 Feb 23:37
Compare
Choose a tag to compare

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.

Version 0.2.0

20 Feb 19:39
3e04a4d
Compare
Choose a tag to compare

Added

  • New Index object allowing the creation of internal SQLAlchemy indexes.

Changed

  • Updated metaclass to validate the fields being added to indexes.

Version 0.1.0

20 Feb 19:40
Compare
Choose a tag to compare

Added

This is the initial release of Saffier.

  • Model inheritance - For those cases where you don't want to repeat yourself while maintaining
    intregity of the models.
  • Abstract classes - That's right! Sometimes you simply want a model that holds common fields
    that doesn't need to created as a table in the database.
  • Meta classes - If you are familiar with Django, this is not new to you and Saffier offers this
    in the same fashion.
  • Managers - Versatility at its core, you can have separate managers for your models to optimise
    specific queries and querysets at ease.
  • Filters - Filter by any field you want and need.
  • Model operators - Classic operations such as update, get, get_or_none, bulk_create,
    bulk_update and a lot more.
  • Relationships made it easy - Support for OneToOne and ForeignKey in the same Django style.
  • Constraints - Unique constraints through meta fields.