- Support SQLAlchemy 2.x (thanks @aemitos)
-
Support for multiple databases (thanks @dingyaguang117)
- Drop
session_factory
andmake_session_factory
in favor of the newSQLAlchemy
instance - Drop
declarative_base
in favor of the newSQLAlchemy.Model
property - Allow models to be associated to separate databases using
__bind_key__
- Drop
-
[Please refer to UPGRADING.md for help with upgrading.]
- Pass
SessionMixin
arguments 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
SessionMixin
to suportself.session
- Use
__call__
pattern ondeclarative_base
- Add more test cases
- Improve documentation and example code
- Limit
use_native_unicode
only to PostgreSQL connections - Update example code
- Set
default_max_workers
default value to CPU count
- Minor improvements to
setup.py
- Include README and LICENSE files in the package
- Support SQLAlchemy's
use_native_unicode
argument - Remove unused code
- Improve documentation
- Add default value for
pool_size
argument - Add request handler test cases
- Introduce
SessionFactory
class - Support
session_events
- Replace
wrap_in_future
withas_future
- Update documentation
- Initial release