Skip to content

Dubnium

Compare
Choose a tag to compare
@davidism davidism released this 27 Feb 15:51
d71afea

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 and model_class as args to the SQLAlchemy 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)