Skip to content

Latest commit

 

History

History
106 lines (67 loc) · 2.12 KB

CHANGELOG.md

File metadata and controls

106 lines (67 loc) · 2.12 KB

Release Notes

Version 2.0.0

Released 2023-12-11

  • Updated project to modern standards and reformatted code
  • Dropped support for Python 2.7, 3.4, 3.5, 3.6, 3.7
  • Added support for Python 3.8, 3.9, 3.10
  • Switched from flake8 + pylint to isort + ruff + mypy
  • Updated tox to 4+
  • Moved package config from setup.py to pyproject.toml
  • Moved CI from travis to github actions

Version 1.5.0

Released 2019-02-26

  • Theretry_transaction decorator now accepts arguments, allowing multiple retries after a delay.

Version 1.4.0

Released 2018-05-16

  • New database pytest fixture to make it easier to test the Database DependencyProvider with Nameko's worker_factory and replace_dependencies helpers.

Version 1.3.0

Released 2018-04-18

  • Both DependencyProviders now accept engine_options and session_options parameters for configuring the SQLAlchemy engine and sessions respectively.

Version 1.2.0

Released 2018-03-15

  • Fix context manager so transactions are rolled back on commit errors (fixes #25)
  • Change default behaviour of context manager so sessions are closed on worker teardown rather than context manager exit (closes #24)

Version 1.1.0

Released 2018-02-24

  • 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)

Version 1.0.0

Released 2017-12-07

  • Added a new dependency with on demand worker scoped session and with a session context manager

Version 0.1.0

Released 2017-02-20

  • Added db_engine_options fixture.
  • Switched to semantic versioning.

Version 0.0.4

Released 2016-09-02

  • Fix packaging so pytest fixtures added in 0.0.3 are included.

Version 0.0.3

Released 2016-08-26

  • Added pytest fixtures for managing session in tests.

Version 0.0.2

Released 2016-05-11

  • Create engine once at setup, and dispose of it again on stop.

Version 0.0.1

Released 2015-04-01

  • Initial release.