- Support for multiple databases (thanks @dingyaguang117!)
- Drop
session_factoryandmake_session_factoryin favor of the newSQLAlchemyinstance - Drop
declarative_basein favor of the newSQLAlchemy.Modelproperty - Allow models to be associated to separate databases using
__bind_key__
- Drop
- [Please refer to UPGRADING.rst for help with upgrading.]
- Pass
SessionMixinarguments directly tocreate_engine - Format code using
black - Add test cases for concurrent session usage
- Avoid initializing the pool executor at import time
- Drop support for Python 3.3 and 3.4
- Improve documentation and example code
- Update README
- Drop support for Python 2
- Extend
SessionMixinto suportself.session - Use
__call__pattern ondeclarative_base - Add more test cases
- Improve documentation and example code
- Limit
use_native_unicodeonly to PostgreSQL connections - Update example code
- Set
default_max_workersdefault value to CPU count
- Minor improvements to
setup.py
- Include README and LICENSE files in the package
- Support SQLAlchemy's
use_native_unicodeargument - Remove unused code
- Improve documentation
- Add default value for
pool_sizeargument - Add request handler test cases
- Introduce
SessionFactoryclass - Support
session_events - Replace
wrap_in_futurewithas_future - Update documentation
- Initial release