- when using Flask Unchained, support loading from the root "db" and/or "db/fixtures" directories
- support filtering for existing models by date/datetime in the SQLAlchemy factory (thanks to @westonplatter)
- fix filtering for existing models on the singular side of a o2m relationship in the SQLAlchemy factory (thanks to @westonplatter)
- add tests for usage with standalone SQLAlchemy
- add integration tests for usage with Flask Unchained
- document known limitations
- support Flask Unchained v0.8
- support Faker v3
- let factories support duplicate identifiers across model classes
- add
django.contrib.auth.hashers.make_password
ashash_password
to jinja env - add basic integration test for django
- add support for datetime.timedelta to SQLAlchemyModelFactory
- fix bugs in
date_factory
anddatetime_factory
functions, add tests - support loading multiple models from individual files named
fixtures.yml
orfixtures.yaml
- fix bugs with loading fixtures using stock SQLAlchemy
- add Django support
- add Flask Unchained support
- improve docs
- add support for loading fixtures from one or more directories
- add back support for optional YAML list syntax when the number of identifiers is two or more
- add support for determining the correct order to instantiate models (
py-yaml-fixtures
should now work with complex relationships) - major refactor to simplify the
FixturesLoader
class - add
random_model
andrandom_models
Jinja helper functions
- Add support for Flask-SQLAlchemy-Unchained
- support multi-line identifier strings
- support empty identifier strings (only a class name without any key)
- add documentation
- fix
datetime_factory
anddate_factory
utility functions when passed None
- fix release (misconfigured
include_packages
insetup.py
)
- initial release