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_classandmodel_classas args to theSQLAlchemyconstructor. (#328) - Allow listening to SQLAlchemy events on
db.session. (#364) - Allow
__bind_key__on abstract models. (#373) - Allow
SQLALCHEMY_ECHOto be a string. (#409) - Warn when
SQLALCHEMY_DATABASE_URIis 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)