Skip to content

Commit d71afea

Browse files
committed
release version 2.2
1 parent 472894c commit d71afea

File tree

5 files changed

+28
-16
lines changed

5 files changed

+28
-16
lines changed

CHANGES

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,32 @@
11
Changelog
22
=========
33

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
85
-----------
96

10-
In development, codename Dubnium
7+
Released on February 27, 2017, codename Dubnium
118

9+
- Minimum SQLAlchemy version is 0.8 due to use of ``sqlalchemy.inspect``.
1210
- 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`_)
1617
- 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
1830

1931
Version 2.1
2032
-----------

MANIFEST.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
include LICENSE CHANGES *.py
2-
recursive-include docs *
3-
recursive-exclude docs *.pyc
4-
recursive-exclude docs *.pyo
1+
include LICENSE CHANGES tox.ini test_sqlalchemy.py
2+
graft docs
53
prune docs/_build
64
prune docs/_themes/.git
5+
recursive-exclude docs *.pyc
6+
recursive-exclude docs *.pyo

flask_sqlalchemy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
from ._compat import iteritems, itervalues, string_types, xrange
3434

35-
__version__ = '3.0-dev'
35+
__version__ = '2.2'
3636

3737
# the best timer function for the platform
3838
if sys.platform == 'win32':

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ tag_build = .dev
33
tag_date = 1
44

55
[aliases]
6-
release = egg_info -RDb ''
6+
release = egg_info -Db ''
77

88
[tool:pytest]
99
norecursedirs = .* _* scripts {args}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
setup(
1919
name='Flask-SQLAlchemy',
20-
version='3.0',
20+
version='2.2',
2121
url='http://github.com/mitsuhiko/flask-sqlalchemy',
2222
license='BSD',
2323
author='Armin Ronacher',

0 commit comments

Comments
 (0)