Releases: pallets-eco/flask-sqlalchemy
Releases · pallets-eco/flask-sqlalchemy
Dubnium
Install or upgrade
Install from PyPI with pip:
pip install -U Flask-SQLAlchemy
Changelog
- Minimum SQLAlchemy version is 0.8 due to use of
sqlalchemy.inspect
. - Added support for custom
query_class
andmodel_class
as args to theSQLAlchemy
constructor. (#328) - Allow listening to SQLAlchemy events on
db.session
. (#364) - Allow
__bind_key__
on abstract models. (#373) - Allow
SQLALCHEMY_ECHO
to be a string. (#409) - Warn when
SQLALCHEMY_DATABASE_URI
is not set. (#443) - Don't let pagination generate invalid page numbers. (#460)
- Drop support of Flask < 0.10. This means the db session is always tied to the app context and its teardown event. (#461)
- Tablename generation logic no longer accesses class properties unless they are
declared_attr
. (#467)