Releases: nameko/nameko-sqlalchemy
Releases · nameko/nameko-sqlalchemy
Release 1.5.0
- The
retry_transaction
decorator now accepts arguments, allowing multiple retries after a delay.
Release 1.4.0
- New
database
pytest fixture to make it easier to test theDatabase
DependencyProvider with Nameko'sworker_factory
andreplace_dependencies
helpers.
Release 1.3.0
- Both DependencyProviders now accept engine_options and session_options parameters for configuring the SQLAlchemy engine and sessions respectively.
Release 1.2.0
Release 1.1.0
- Added
transaction_retry
decorator to reattempt transactions after temporary loss of connectivity to the database - Added missing cleanup that left connections open on kill (fixes #12)
Release 1.0.0
Adds a second DependencyProvider that will create sessions on demand, including via a context manager that commits or rolls back on close.
Release 0.1.0
- Added
db_engine_options
fixture. - Switch to semantic versioning
Release 0.0.4
- Fix packaging so pytest fixtures added in 0.0.3 are included.
Release 0.0.3
- Added pytest fixtures for managing session in tests.
Release 0.0.2
- Create engine once at setup, and dispose of it again on stop