|
1 | 1 | Changelog |
2 | 2 | ========= |
3 | 3 |
|
4 | | -Here you can see the full list of changes between each Flask-SQLAlchemy |
5 | | -release. |
6 | | - |
7 | | -Version 3.0 |
| 4 | +Version 2.2 |
8 | 5 | ----------- |
9 | 6 |
|
10 | | -In development, codename Dubnium |
| 7 | +Released on February 27, 2017, codename Dubnium |
11 | 8 |
|
| 9 | +- Minimum SQLAlchemy version is 0.8 due to use of ``sqlalchemy.inspect``. |
12 | 10 | - Added support for custom ``query_class`` and ``model_class`` as args |
13 | | - to the ``SQLAlchemy`` constructor. |
14 | | -- Fix minimum SQLAlchemy version requirement (0.8 or above), due to use |
15 | | - of ``sqlalchemy.inspect``. |
| 11 | + to the ``SQLAlchemy`` constructor. (`#328`_) |
| 12 | +- Allow listening to SQLAlchemy events on ``db.session``. (`#364`_) |
| 13 | +- Allow ``__bind_key__`` on abstract models. (`#373`_) |
| 14 | +- Allow ``SQLALCHEMY_ECHO`` to be a string. (`#409`_) |
| 15 | +- Warn when ``SQLALCHEMY_DATABASE_URI`` is not set. (`#443`_) |
| 16 | +- Don't let pagination generate invalid page numbers. (`#460`_) |
16 | 17 | - Drop support of Flask < 0.10. This means the db session is always tied to |
17 | | - the app context and its teardown event. |
| 18 | + the app context and its teardown event. (`#461`_) |
| 19 | +- Tablename generation logic no longer accesses class properties unless they |
| 20 | + are ``declared_attr``. (`#467`_) |
| 21 | + |
| 22 | +.. _#328: https://github.com/mitsuhiko/flask-sqlalchemy/pull/328 |
| 23 | +.. _#364: https://github.com/mitsuhiko/flask-sqlalchemy/pull/364 |
| 24 | +.. _#373: https://github.com/mitsuhiko/flask-sqlalchemy/pull/373 |
| 25 | +.. _#409: https://github.com/mitsuhiko/flask-sqlalchemy/pull/409 |
| 26 | +.. _#443: https://github.com/mitsuhiko/flask-sqlalchemy/pull/443 |
| 27 | +.. _#460: https://github.com/mitsuhiko/flask-sqlalchemy/pull/460 |
| 28 | +.. _#461: https://github.com/mitsuhiko/flask-sqlalchemy/pull/461 |
| 29 | +.. _#467: https://github.com/mitsuhiko/flask-sqlalchemy/pull/467 |
18 | 30 |
|
19 | 31 | Version 2.1 |
20 | 32 | ----------- |
|
0 commit comments