Skip to content

Commit

Permalink
release version 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Feb 27, 2017
1 parent 472894c commit d71afea
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 16 deletions.
30 changes: 21 additions & 9 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,20 +1,32 @@
Changelog
=========

Here you can see the full list of changes between each Flask-SQLAlchemy
release.

Version 3.0
Version 2.2
-----------

In development, codename Dubnium
Released on February 27, 2017, codename Dubnium

- 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.
- Fix minimum SQLAlchemy version requirement (0.8 or above), due to use
of ``sqlalchemy.inspect``.
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.
the app context and its teardown event. (`#461`_)
- Tablename generation logic no longer accesses class properties unless they
are ``declared_attr``. (`#467`_)

.. _#328: https://github.com/mitsuhiko/flask-sqlalchemy/pull/328
.. _#364: https://github.com/mitsuhiko/flask-sqlalchemy/pull/364
.. _#373: https://github.com/mitsuhiko/flask-sqlalchemy/pull/373
.. _#409: https://github.com/mitsuhiko/flask-sqlalchemy/pull/409
.. _#443: https://github.com/mitsuhiko/flask-sqlalchemy/pull/443
.. _#460: https://github.com/mitsuhiko/flask-sqlalchemy/pull/460
.. _#461: https://github.com/mitsuhiko/flask-sqlalchemy/pull/461
.. _#467: https://github.com/mitsuhiko/flask-sqlalchemy/pull/467

Version 2.1
-----------
Expand Down
8 changes: 4 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include LICENSE CHANGES *.py
recursive-include docs *
recursive-exclude docs *.pyc
recursive-exclude docs *.pyo
include LICENSE CHANGES tox.ini test_sqlalchemy.py
graft docs
prune docs/_build
prune docs/_themes/.git
recursive-exclude docs *.pyc
recursive-exclude docs *.pyo
2 changes: 1 addition & 1 deletion flask_sqlalchemy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

from ._compat import iteritems, itervalues, string_types, xrange

__version__ = '3.0-dev'
__version__ = '2.2'

# the best timer function for the platform
if sys.platform == 'win32':
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tag_build = .dev
tag_date = 1

[aliases]
release = egg_info -RDb ''
release = egg_info -Db ''

[tool:pytest]
norecursedirs = .* _* scripts {args}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='Flask-SQLAlchemy',
version='3.0',
version='2.2',
url='http://github.com/mitsuhiko/flask-sqlalchemy',
license='BSD',
author='Armin Ronacher',
Expand Down

0 comments on commit d71afea

Please sign in to comment.